[PATCH] 2.31 breaks build of 'gold' for x86_64-w64-mingw32

Alexey Neyman stilor@att.net
Sun Oct 7 20:50:00 GMT 2018


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Restore-build-on-x86_64-w64-mingw32.patch
Type: text/x-patch
Size: 3922 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20181007/9223d250/attachment.bin>


More information about the Binutils mailing list