Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Failed to emerge llvm-core/libclc-19.1.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CptClyde
n00b
n00b


Joined: 18 Jan 2023
Posts: 18

PostPosted: Fri May 09, 2025 3:54 pm    Post subject: [SOLVED] Failed to emerge llvm-core/libclc-19.1.7 Reply with quote

Having trouble updating my system. Keeps failing with the below error message, but I do not see the actual problem. Any pointers would be greatly appreciated.

Code:
>>> Failed to emerge llvm-core/libclc-19.1.7, Log file:
r/tmp/portage/llvm-core/libclc-19.1.7/work/libclc_build/obj.libclc.dir/spirv64-mesa3d-/generic/lib/geometric/fast_normalize.cl.bc /var/tmp/portage/llvm-core/libclc-19.1.7/work/libclc_build/obj.libclc.dir/spirv64-mesa3d-/generic/lib/geometr>>>  '/var/tmp/portage/llvm-core/libclc-19.1.7/temp/build.log'
ic/lib/integer/rotate.cl.bc /var/tmp/portage/llvm-core/libclc-19.1.7/work/libclc_build/obj.libclc.dir/spirv64-mesa3d-/generic/lib/integer/mad_sat.cl.bc /var/tmp/portage/llvm-core/libclc-19.1.7/work/libclc_build/obj.libclc.dir/spirv64-mesa3 * Messages for package app-office/libreoffice-24.2.7.2-r2:

 * If you plan to use Base application you must enable USE base.
 * Without USE java, several wizards are not going to be available.

 * Messages for package llvm-core/libclc-19.1.7:

 * ERROR: llvm-core/libclc-19.1.7::gentoo failed (compile phase):
 *   ninja -v -j4 -l4 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2642:  Called cmake_src_compile
 *   environment, line 1184:  Called cmake_build
 *   environment, line 1151:  Called eninja
 *   environment, line 1479:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=llvm-core/libclc-19.1.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=llvm-core/libclc-19.1.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/llvm-core/libclc-19.1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/llvm-core/libclc-19.1.7/temp/environment'.
 * Working directory: '/var/tmp/portage/llvm-core/libclc-19.1.7/work/libclc_build'
 * S: '/var/tmp/portage/llvm-core/libclc-19.1.7/work/libclc'


emerge --info '=llvm-core/libclc-19.1.7::gentoo'` output here:
https://termbin.com/ehn6


Last edited by CptClyde on Mon May 12, 2025 2:01 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23608

PostPosted: Fri May 09, 2025 4:27 pm    Post subject: Reply with quote

There is no usable error message in the fragment you posted. If you need support, please follow the instructions that Portage printed, which you quoted.
Back to top
View user's profile Send private message
CptClyde
n00b
n00b


Joined: 18 Jan 2023
Posts: 18

PostPosted: Fri May 09, 2025 4:50 pm    Post subject: Reply with quote

I posted the suggested output for support, a termbin paste on the last line of my post. Is that not sufficient?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23608

PostPosted: Fri May 09, 2025 4:56 pm    Post subject: Reply with quote

It is not. You posted the first element of a comma-separated line-wrapped list of 3 elements. You have not shown the complete build log nor the output of emerge -pqv.
Back to top
View user's profile Send private message
CptClyde
n00b
n00b


Joined: 18 Jan 2023
Posts: 18

PostPosted: Fri May 09, 2025 5:05 pm    Post subject: Reply with quote

Thank you for your patience.

Code:
emerge -pqv '=llvm-core/libclc-19.1.7::gentoo'
[ebuild   R   ] llvm-core/libclc-19.1.7  USE="spirv -verify-sig" LLVM_SLOT="19 -17 -18" VIDEO_CARDS="-nvidia -r600 -radeonsi*"

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


cat /var/tmp/portage/llvm-core/libclc-19.1.7/temp/build.log
https://termbin.com/8olo


cat /var/tmp/portage/llvm-core/libclc-19.1.7/temp/environment
https://termbin.com/7upk
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31726
Location: here

PostPosted: Fri May 09, 2025 5:13 pm    Post subject: Reply with quote

Code:
: && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs     -Wl,--gc-sections  -Wl,--dependency-file=CMakeFiles/prepare_builtins.dir/link.d CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o -o prepare_builtins  -Wl,-rpath,"\$ORIGIN/../lib64:/usr/lib/llvm/19/lib64"  /usr/lib/llvm/19/lib64/libLLVM.so.19.1 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/llvm/19/lib64/libLLVM.so.19.1: undefined reference to `__cxa_call_terminate@CXXABI_1.3.15'
collect2: error: ld returned 1 exit status

See undefined reference to `__cxa_call_terminate@CXXABI_1.3.15' topic.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
CptClyde
n00b
n00b


Joined: 18 Jan 2023
Posts: 18

PostPosted: Fri May 09, 2025 5:43 pm    Post subject: Reply with quote

Excellent thank you so much, trying solution now.
Back to top
View user's profile Send private message
CptClyde
n00b
n00b


Joined: 18 Jan 2023
Posts: 18

PostPosted: Mon May 12, 2025 2:00 am    Post subject: [solved] Reply with quote

Thank you for the help. The error was gcc version related. I needed to set gcc profile to use 14 instead of 13 as described in the reply above.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum