Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[SOLVED] LLVM Profile - Help Needed Failed Emerges

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
MajorJalepino
n00b
n00b
Posts: 39
Joined: Tue Jul 26, 2022 2:52 pm
Location: Australia

[SOLVED] LLVM Profile - Help Needed Failed Emerges

  • Quote

Post by MajorJalepino » Fri May 23, 2025 9:37 am

Hello geniuses,

I'm having trouble with my LLVM profile installation - I know that GCC and it's supporting packages can't be compiled by clang and the LLVM libraries, but I can't seem to get a fallback environment working either. This is from my latest emerge --update with cmake, but I suspect whatever issues I'm having here are also causing issues with GCC, glibc and others.

Outputs:

Code: Select all

emerge --info '=dev-build/cmake-3.31.7-r1::gentoo' 

https://0x0.st/8wRN.7-r1::ge

Code: Select all

emerge -pqv '=dev-build/cmake-3.31.7-r1::gentoo'
http://0x0.st/8wRq.7-r1::ge

Code: Select all

/var/tmp/portage/dev-build/cmake-3.31.7-r1/temp/build.log
http://0x0.st/8wRc.log

Other information:
  • 1. Installing from WSL
    2. Custom Profile (should be reflected in emerge --info, yes? Or is this still a bug?)
Last edited by MajorJalepino on Fri May 23, 2025 10:15 am, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31977
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri May 23, 2025 9:41 am

Code: Select all

[ 84%] [32mBuilding CXX object Source/CursesDialog/CMakeFiles/ccmake.dir/cmCursesLongMessageForm.cxx.o[0m
cd /var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7_build/Source/CursesDialog && /usr/lib/llvm/19/bin/clang++  -I/var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7_build/Utilities -I/var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7_build/Source -I/var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7/Source -I/var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7/Source/LexerParser -isystem /var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7/Utilities/std -isystem /var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7/Utilities -isystem /usr/include/jsoncpp  -O3 -march=znver3 -pipe -Werror=odr -Werror=strict-aliasing -std=c++17 -Wno-deprecated-declarations -MD -MT Source/CursesDialog/CMakeFiles/ccmake.dir/cmCursesLongMessageForm.cxx.o -MF CMakeFiles/ccmake.dir/cmCursesLongMessageForm.cxx.o.d -o CMakeFiles/ccmake.dir/cmCursesLongMessageForm.cxx.o -c /var/tmp/portage/dev-build/cmake-3.31.7-r1/work/cmake-3.31.7/Source/CursesDialog/cmCursesLongMessageForm.cxx
ld.lld: [0;31merror: [0mundefined symbol: Json::Value::Value(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
>>> referenced by cmBuildDatabase.cxx
>>>               cmBuildDatabase.cxx.o:(cmBuildDatabase::Write(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const) in archive libCMakeLib.a
>>> referenced by cmBuildDatabase.cxx
>>>               cmBuildDatabase.cxx.o:(cmBuildDatabase::Write(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const) in archive libCMakeLib.a
>>> referenced by cmBuildDatabase.cxx
>>>               cmBuildDatabase.cxx.o:(cmBuildDatabase::Write(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const) in archive libCMakeLib.a
>>> referenced 228 more times
Try to rebuild dev-libs/jsoncpp package.
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
Top
MajorJalepino
n00b
n00b
Posts: 39
Joined: Tue Jul 26, 2022 2:52 pm
Location: Australia

  • Quote

Post by MajorJalepino » Fri May 23, 2025 9:43 am

Thank you,

That worked flawlessly - do you need any outputs from that?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri May 23, 2025 1:41 pm

I see this thread marked as solved, but the preceding post does not directly say that rebuilding jsoncpp solved the original problem, so I will ask: Is there anything more to do here? I think fedeliallalinea's expectation was that after rebuilding jsoncpp, the original error would go away. I suspect, based on the solved marker, that it did go away. If not, and you still need more help, show us the new failure.
Top
sam_
Developer
Developer
User avatar
Posts: 2808
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri May 23, 2025 10:11 pm

You cannot safely use a "GCC fallback" on an LLVM profile because the LLVM profiles use libcxx. I have tried to explain this on the gentoo.org downloads page as well as the wiki but people seem to keep missing it.
Top
pietinger
Moderator
Moderator
Posts: 6608
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat May 24, 2025 12:26 am

Moved from Portage & Programming to Unsupported Software.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Post Reply

6 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy