[Issue 17833] compiling dmd on x86 linux fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 3 07:45:52 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17833

--- Comment #8 from Seb <greeenify at gmail.com> ---
Thanks that works in reproducing the segfault :/

Command Line: ../dmd/generated/linux/release/32/dmd -conf= -c -o- -Isrc
-Iimport -Hfimport/core/sync/barrier.di src/core/sync/barrier.d

(gdb) bt full
#0  0x00861f61 in _d_dso_registry ()
No symbol table info available.
#1  0x007b53cf in ?? ()
No symbol table info available.
#2  0x0087d97b in __libc_csu_init ()
No symbol table info available.
#3  0xb7aecfd3 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x0065d601 in _start ()
No symbol table info available.

However, there's a workaround:

Instead of using AUTO_BOOTSTRAP=1, you can use make -f posix.mak -j8
HOST_DMD=ldmd
 to compile dmd. With this druntime and phobos compile fine.
So I guess it's just an issue that the release binaries aren't fully working
with 32-bit anymore?

--


More information about the Digitalmars-d-bugs mailing list