Alexey Neyman
2018-10-07 20:50:14 UTC
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.
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.