Discussion:
[PATCH] 2.31 breaks build of 'gold' for x86_64-w64-mingw32
Alexey Neyman
2018-10-19 22:44:48 UTC
Permalink
[ping - no response in 2 weeks]

Hi,

Canadian cross for x86_64-w64-mingw32 host (in crosstool-NG) has been
failing to build gold because the mkdtemp and link functions are not
available.

Patch attached. Replacement code for mkdtemp stolen from
binutils/bucomm.c; link() call is just placed under an appropriate
ifdef, as the function already has a fallback (copying the file).

Regards,
Alexey.

Loading...