NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/41503 (netbsd-5 LDSTATIC=-static amd build does not)



Synopsis: netbsd-5 LDSTATIC=-static amd build does not

State-Changed-From-To: open->feedback
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Mon, 20 Oct 2025 03:26:18 +0000
State-Changed-Why:
Is this still reproducible?  I can't reproduce it in an isolated
makewrapper invocation.  Tried, in a clang build (so HAVE_LLVM is
defined and HAVE_GCC is not -- these cover the -Wl,--fatal-warnings
addition now):

$ cd external/bsd/am-utils/bin/amd
$ $TOOLDIR/bin/nbmake-evbarm64 -v _LDFLAGS.amd
 --sysroot=/home/riastradh/netbsd/current/src/../obj.arm64-clang/destdir.evbarm   -pie  -Wl,--fatal-warnings -Wl,--warn-shared-textrel -Wl,-z,relro
$ LDSTATIC=-static $TOOLDIR/bin/nbmake-evbarm64 -v _LDFLAGS.amd
 --sysroot=/home/riastradh/netbsd/current/src/../obj.arm64-clang/destdir.evbarm    -Wl,--warn-shared-textrel -Wl,-z,relro

Maybe build.sh is clobbering LDSTATIC in the environment somehow, but I
don't see a mechanism by which it could do that.

(Also, the patents expired long ago at this point and the separate
libcrypto_idea library is long since gone.)





Home | Main Index | Thread Index | Old Index