Open
Description
Brad Roberts reported this on 2018-02-24T04:51:35Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=18515
CC List
- Walter Bright
- Jonathan M Davis
Description
DMD uses 'gcc' to perform the link step. On freebsd 11 (and likely other earlier versions, unexplored), gcc -m32 fails to link, looking at 64 bit library paths instead.
This combination results in freebsd 11 32 non-functional. Either 'clang' or 'cc' work just fine. For the auto-testers, they're currently running with CC set to cc in their environment. That's not particularly acceptable an out of the box experience for users of that platform.
IMHO, DMD needs to use 'cc' by default rather than gcc. Without having double checked, I suspect that will work on any relatively modern platform without causing regressions.