Open lolbinarycat opened 5 months ago
adding
postConfigure = ''
sed -ie '/^COMPAT_OBJS/s/strtoul.o//' Makefile
'';
fixed the the duplicate symbol error, but now i'm getting this:
/nix/store/37phs74i2zf4vx500nvvp1zfjvqc3i6g-x86_64-unknown-linux-musl-binutils-2.41/bin/x86_64-unknown-linux-musl-ld: /nix/store/crpqrn5cmgkl8zkxh2gfdxv5k75p87q2-x86_64-unknown-linux-musl-gcc-13.2.0/lib/gcc/x86_64-unknown-linux-musl/13.2.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol '__TMC_END__' can not be used when making a shared object
which might be beyond my capabilities
digging deeper, it seems that tcl is getting built statically, but itcl (which has a seperate Makefile, generated by a configure script called by the main makefile) is not getting the memo.
in both cases, it seems the SHLIB_LD variable is getting set to a string that contains -shared
, even when --enable-shared=no
is passed to the makefile.
Steps To Reproduce
Steps to reproduce the behavior:
pkgsStatic.tcl
Build log
initially the log was just a simple eval failure, which was simple enough to fix, but after that it started throwing errors about duplicate symbols
Additional context
i took a shot at fixing
pkgs/development/interpreters/tcl/generic.nix
, this is the best i could manage so far:Notify maintainers
@agbrooks
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.