[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 anonymous4 changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #11 from anonymous4 --- *** This issue has been marked as a duplicate of issue 19116 *** --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 Basile-z changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #10 from Basile-z --- Still ? --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 --- Comment #9 from deep42thought --- thanks for your prompt reply - the workaround works :-) --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 --- Comment #8 from Seb --- 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? --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 --- Comment #7 from deep42thought --- We have an archlinux32 image for vagrant which you can use to reproduce the issue. The commands are: > mkdir arch32-builder > cd arch32-builder > vagrant init archlinux32/archlinux32 > vagrant up > ssh vagrant@127.0.0.1 -p -o StrictHostKeyChecking=Off -o > IdentityFile=.vag$ >> sudo pacman -Syu base-devel curl git make libcurl-gnutls >> sudo reboot > ssh vagrant@127.0.0.1 -p -o StrictHostKeyChecking=Off -o > IdentityFile=.vag$ >> mkdir dlang >> cd dlang/ >> git clone https://github.com/dlang/dmd >> git clone https://github.com/dlang/druntime >> git clone https://github.com/dlang/phobos >> git clone https://github.com/dlang/tools >> cd ~/dlang/dmd >> make -f posix.mak -j8 AUTO_BOOTSTRAP=1 >> cd ~/dlang/phobos >> make -f posix.mak -j8 (fails with segfault) --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 --- Comment #6 from deep42thought --- still fails for me. I ran: > mkdir dlang > cd ~/dlang/ > git clone https://github.com/dlang/dmd > git clone https://github.com/dlang/druntime > git clone https://github.com/dlang/phobos > git clone https://github.com/dlang/tools > cd ~/dlang/dmd > make -f posix.mak -j8 AUTO_BOOTSTRAP=1 > cd ~/dlang/phobos > make -f posix.mak -j8 inside an archlinux32 virtual box. See above for a list of installed packages on that box. --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 --- Comment #5 from deep42thought --- Created attachment 1708 --> https://issues.dlang.org/attachment.cgi?id=1708=edit installed packages --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 greenify changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #4 from greenify --- Hmm building DMD on Linux 32 works on our CIs (e.g. https://auto-tester.puremagic.com/platform-history.ghtml?projectid=1=Linux_32), so I'm not sure what this is related to. The dmd-cxx branch was just an experiment, but it was never fully finished. Do you still get a segfault when using AUTO_BOOTSTRAP=1? (since 2.081 at least 2.074 is required to build DMD) --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 Tyler Dencechanged: What|Removed |Added CC||tyz...@archlinux32.org --- Comment #3 from Tyler Dence --- Bumping this issue, since this is triggering the removal of this package from the archlinux32 repos. --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 Thomas Maderchanged: What|Removed |Added CC||ibuc...@gdcproject.org, ||thomas.ma...@gmail.com --- Comment #2 from Thomas Mader --- I am having the same problem when trying to build dmd 2.075.1 with the dmd-cxx branch version at commit 7f7dd837f1cf92e3fd51fabbb95868b4b297ad37 as bootstrap dmd. The error message is: gmake[2]: *** [posix.mak:147: import/core/sync/barrier.di] Segmentation fault Switching back to 2.067.1 as bootstrap compiler makes it work again. @ibuclaw: Do you happen to know what the problem might be? --
[Issue 17833] compiling dmd on x86 linux fails
https://issues.dlang.org/show_bug.cgi?id=17833 Andreas Baumannchanged: What|Removed |Added CC||abaum...@yahoo.com --- Comment #1 from Andreas Baumann --- See also https://bbs.archlinux32.org/viewtopic.php?id=65 --