Closed dslm4515 closed 6 months ago
According to bugzilla ticket for binutils:
You are overwriting the ld program in your PATH, which was also configured to use for building.
The problem is installation order: ld is being installed before libctf, but ld uses libctf and thus if libctf is relinked for any reason by the install phase, ld might find itself calling on symbols that aren't in the libctf already present on the system (if it even is there).
if I make /usr/bin/ld
unavailable:
mv -v /usr/bin/ld{,.disabled}
binutuils compiles with no errors.
libctf fails to compile:
Current system linker:
/usr/bin/ld
(symlink to LLD) Current system compiler: clang (LLVM-17.0.5)