acheam changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://vid.puffyan.us/1tQKW9aquT0
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
<sad_plan> theres a bootstrap script here https://github.com/konimex/kiss-llvm if thats what youre looking for anyway
angerisagift has quit [Ping timeout: 246 seconds]
<rfaa> copied the llvm from the kiss community repo and added the LLVM_BINUTILS_INCDIR in the build, haven't compiled yet.. :D
<rfaa> i'm thinking i need to add that parameter for it to generate the LLVMgold.so?
<sad_plan> hm. strange. could you perhaps disable it though?
<sad_plan> I dont even have llvmgold.so on my system. although I also dont have binutils gold. not sure if thats related
<sad_plan> it seems you were on to something; https://releases.llvm.org/3.0/docs/GoldPlugin.html
<sad_plan> atleast for enabling gold for llvm.
<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)
<rfaa> make[2]: *** [CMakeFiles/mold.dir/build.make:660: mold] Error 1
<rfaa> make[1]: *** [CMakeFiles/Makefile2:240: CMakeFiles/mold.dir/all] Error 2
<rfaa> make: *** [Makefile:166: all] Error 2
<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]
yamchah2 has joined #kisslinux
sad_plan has quit [Quit: nyaa~]
angerisagift has joined #kisslinux
heartburn has quit [Ping timeout: 240 seconds]
heartburn has joined #kisslinux
mla has joined #kisslinux
rfaa has quit [*.net *.split]
dontmindmee has quit [*.net *.split]
op_4 has quit [*.net *.split]
op_4 has joined #kisslinux
rfaa has joined #kisslinux