[Issue 22581] DMD not able to build itself on Solaris
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 9 17:40:49 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22581
--- Comment #1 from jkruth at telecolumbus.net ---
Sorry for double posting, but I have a small but important update:
1. I found that I had previously made some changes in druntime which might be
the cause for the initial failure.
2. I pulled in the latest updates to gdc, and repeated the procedure.
One of these two things fixed the initial issue.
This patch was also applied to the dmd.conf:
https://github.com/dlang/dmd/pull/13409
Now the following error occurs:
gmake -C src -f posix.mak all
gmake[1]: Verzeichnis „/export/home/User/dlang/dmd/src“ wird betreten
posix.mak:42: ===== DEPRECATION NOTICE =====
posix.mak:43: ===== DEPRECATION: posix.mak is deprecated. Please use
src/build.d instead.
posix.mak:44: ==============================
/export/home/User/Documents/Gits/dmd/generated/solaris/release/64/dmd
-of../generated/build -g build.d
/usr/bin/ld:
/export/home/User/Documents/Gits/dmd/generated/solaris/release/64/../../../../../phobos/generated/solaris/release/64/libphobos2.a(socket_6a6_2c33.o):
undefined reference to symbol 'gethostbyaddr@@SUNW_0.7'
/usr/bin/ld: /lib/amd64/libnsl.so.1: error adding symbols: DSO missing from
command line
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
gmake[1]: *** [posix.mak:111: ../generated/build] Fehler 1
gmake[1]: Verzeichnis „/export/home/User/dlang/dmd/src“ wird verlassen
--
More information about the Digitalmars-d-bugs
mailing list