ehawkvu has quit [Remote host closed the connection]
sad_plan has joined #kisslinux
<sad_plan>
hi
<sad_plan>
rfaa: llvm should already find /usr/include, as its a default path for include. anyway, did you fork llvm, and bootstrap it? am assuming youre trying to replace gcc here initially
<rfaa>
yeah it just finished compiling, installing it now, will see if the gold file is included
<rfaa>
yep, there it is
<sad_plan>
nice
<rfaa>
trying to build mold again with -flto=thin now, seems to be working so far
<sad_plan>
I dont really see how mold would error out on llvm stuff though. are you using llvm instead of gcc?
<rfaa>
binutils in the repo is configured with --enable-gold but it seems like llvm needs the LLVMgold.so to be able to use it, perhaps the LLVM_BINUTILS_INCDIR should be added to the build for llvm? don't know the procedure here but i could look into creating a pull request if it seems like a good idea
<rfaa>
yeah llvm
<rfaa>
oops, [100%] Linking CXX executable mold
<rfaa>
clang-16: error: unable to execute command: Segmentation fault
<rfaa>
clang-16: error: linker command failed due to signal (use -v to see invocation)
<sad_plan>
if youre using llvm instead of gcc, I dont really think thats applicable for the upstream. but you could always ping one of the maintainers. or make a pr for it on codeberg
<rfaa>
thanks, i'll look into it after i get this sorted :) i'm basically just trying out llvm/clang/mold to see if it speeds up this old machine
<sad_plan>
lld is faster than binutils. and I belive mold is even faster, so yeah, one would assume that would be generally faster. lld is also packaged in community, if you rather wanna use lld instead of binutils ld or gold
yamchah2 has quit [Remote host closed the connection]
yamchah2 has joined #kisslinux
yamchah2 has quit [Remote host closed the connection]