digitalmars.D.bugs - [Issue 18515] New: freebsd 11 ships with gcc unable to link 32 bit
- d-bugmail puremagic.com (25/25) Feb 23 2018 https://issues.dlang.org/show_bug.cgi?id=18515
https://issues.dlang.org/show_bug.cgi?id=18515 Issue ID: 18515 Summary: freebsd 11 ships with gcc unable to link 32 bit binaries, dmd uses it by default Product: D Version: D2 Hardware: x86 OS: FreeBSD Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: braddr puremagic.com 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. --
Feb 23 2018