dockcross: x86-linux/i686 ld broken/confuses autoconf
/usr/bin/x86_64-linux-gnu-ld: unrecognised emulation mode: 32
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om i386pep i386pe
This leads to autoconf being confused and not wanting to use the linker:
checking if the linker (i686-linux-gnu-ld) is GNU ld... no
This appears to be caused by the .sh wrapper wrongly adding “-m32”
Workaround: set LD=ld on your autoconf line
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19
Not stale, but fixed
That one works! Why are there two 32 bit x86 options?
i686 image has been merged in please try building with linux-i686
Sorry, been away… I don’t believe this is related to #730 as i didn’t modify any LD symlinks. Those where already present in the code base. However issues like this is why I thought it was beneficial to go to a standalone i686 toolchain
I’ve not used dockcross before about an hour before I reported this issue What would be an image/command that I could pull before 730? I’m not that experienced with docker yet