iam on a musl/llvm profile and recently had to install gcc to bootstrap rust (i need it for the kernel to use nova because of nvidia reasons). After depcleaning it, gcc still left the /etc/clang/gentoo-gcc-install.cfg residue file back like it typically does wuth the stale —gcc-install-dir variable which led to issues. with clang not working correctly. I then removed the file (which probaply wasnt smart) and added a empty one back because clang was complaining, which stopped clang complaining. But now, when running clang++ -v i get the error
Code: Select all
ld.lld: error: undefined symbol: main
>>> referenced by /lib/Scrt1.o: (_start_c)