digitalmars.D.learn - DMD linking fails because of missing _adCmp2 and _adEq2
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (21/21) Jan 18 2014 I regularly rebuild and use DMD git master locally on Ubuntu
I regularly rebuild and use DMD git master locally on Ubuntu 13.10. Yesterday my toolchain dmd fails to link all D programs with the error: Example compilation output from dmd /home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/secti ns_linux.d:function _D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14s ctions_linux3DSOZb: error: undefined reference to '_adEq2' /home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/secti ns_linux.d:function _D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14s ctions_linux3DSOZb: error: undefined reference to '_adEq2' /home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/secti ns_linux.d:function _D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14s ctions_linux3DSOZb: error: undefined reference to '_adEq2' /home/per/opt/x86_64-unknown-linux-gnu/dmd/bin/../lib/libphobos2.a(sections_linux_4c8_e6.o):src/rt/secti ns_linux.d:function _D2rt14sections_linux3DSO11__xopEqualsFKxS2rt14sections_linux3DSOKxS2rt14s ctions_linux3DSOZb: error: undefined reference to '_adEq2' collect2: error: ld returned 1 exit status When I grep for it only dmd binary matches this symbol, not libphobos. Both my dmd and phobos are up-to-date. I've tried both ld.bfd and ld.gold. What is wrong?
Jan 18 2014