Open takusuman opened 2 days ago
Looks like cgnutools is missing zlib. A possible workaround would possibly copy/link zlib library from llvmtools?
Looks like cgnutools is missing zlib. A possible workaround would possibly copy/link zlib library from llvmtools?
Well, that what I was going to mention: there's no mention of compiling (nor sym'linking) zlib to cgnutools in the first place at the zlib-ng recipe file.
Didn't this happen before on your builds?
As I said in #91, I rewrote the manual for the CMLFS toolchain as Copacabana pkgbuild scripts (just plain shell scripts, nothing to worry about), and, since then, I started getting the same error at the 79%:
Before you ask: yes, I tried using
-Wl,-rpath=/llvmtools/lib
along with the already mentioned-Wl,-rpath=/cgnutools/lib
, tried to use-L/llvmtools/lib
, used-DCMAKE_C_FLAGS
and-DCMAKE_CXX_FLAGS
instead ofexport CFLAGS CXXFLAGS
, even broke some rules and tookCLLVM+="-DZLIB_INCLUDE_DIR=/llvmtools/include "
andCLLVM+="-DZLIB_LIBRARY_RELEASE=/llvmtools/lib/libz.so "
from the second stage. Zero success. Nothing. Zilch. This last build was made per using-Wl,--verbose
along with-v
, so I could get a more complete log (I would also recommend doing this for new maintainers both at CMLFS and Copacabana --- or glaucus, or Andes, or any other new Linux distribution part of this new movement) and, as per what I understood, it seems likeld
just plain ignores the/llvmtools
path after not encounteringlibm
,libgcc_s
norlibstdc++
. I would like to know how much of this is my fault and if this is just a error from LLVM 17.0.1 on this specific setup.