View previous topic :: View next topic |
Author |
Message |
powerN00b n00b
Joined: 11 Jul 2024 Posts: 6
|
Posted: Wed Oct 02, 2024 2:39 am Post subject: clang-18.1.8 error adding symbols: file in wrong format |
|
|
Can't build clang on x86/23.0/i686/desktop:
Code: | /usr/lib/llvm/18/lib/libLLVM.so.18.1 && :
/usr/lib/gcc/i686-pc-linux-gnu/13/../../../../i686-pc-linux-gnu/bin/ld: lib/libclangAST.a: error adding symbols: file in wrong
format
collect2: error: ld returned 1 exit status |
emerge --info
https://0x0.st/Xg6w.txt
emerge -pqv-clang-18.1.8
https://0x0.st/Xg6y.8.txt
sys-devel:clang-18.1.8:20241001-163856.log
https://0x0.st/Xg6t.log
Looks like a bug. Any suggestion? |
|
Back to top |
|
|
powerN00b n00b
Joined: 11 Jul 2024 Posts: 6
|
Posted: Thu Oct 03, 2024 1:31 pm Post subject: |
|
|
Turned out clang cant be build with LTO. I'm going to write a bug report.
upd: I forgot to turn on swap so it could be just a OOM, i see "killed signal terminated" in my logs...
i will try to build clang with lto and ~x86 before making any reports |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9824 Location: almost Mile High in the USA
|
Posted: Thu Oct 03, 2024 2:30 pm Post subject: |
|
|
I was suspecting possible OOM without running into the oom-killer but it looks like you did run out of ram without swap enabled.
Bunch of us are seeing inability to link clang on x86 machines: https://bugs.gentoo.org/932815 _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|