Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947034 - llvm-runtimes/libcxxabi-19.1.6 fails to build with certain use flags
Summary: llvm-runtimes/libcxxabi-19.1.6 fails to build with certain use flags
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 17:26 UTC by Mamadou Babaei
Modified: 2024-12-29 16:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,8.08 KB, text/x-log)
2024-12-27 17:26 UTC, Mamadou Babaei
Details
emerge pqv (emerge-pqv.txt,118 bytes, text/plain)
2024-12-27 17:27 UTC, Mamadou Babaei
Details
emerge info (emerge-info.txt,6.32 KB, text/plain)
2024-12-27 17:27 UTC, Mamadou Babaei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mamadou Babaei 2024-12-27 17:26:13 UTC
When I do the following, it fails to build (otherwise it builds):

echo 'llvm-core/clang-common default-compiler-rt default-libcxx default-lld' > /etc/portage/package.use/llvm-core_clang-common
echo 'llvm-core/clang default-compiler-rt default-libcxx static-analyzer WebAssembly' > /etc/portage/package.use/llvm-core_clang
echo 'llvm-core/clang-runtime compiler-rt -crt libcxx openmp sanitize' > /etc/portage/package.use/llvm-core_clang-runtime
echo 'llvm-core/llvm -exegesis gold libedit libffi ncurses sanitize xar xml WebAssembly' > /etc/portage/package.use/llvm-core_llvm
echo 'llvm-runtimes/compiler-rt clang' > /etc/portage/package.use/llvm-runtimes_compiler-rt
echo 'llvm-runtimes/libcxx -clang libcxxabi -libcxxrt -libunwind' > /etc/portage/package.use/llvm-runtimes_libcxx
echo 'llvm-runtimes/libcxxabi -clang -libunwind' > /etc/portage/package.use/llvm-runtimes_libcxxabi
echo '# abi_x86_32 abi_x86_64 is a remedy for https://bugs.gentoo.org/834490' > /etc/portage/package.use/sys-libs_libunwind
echo 'sys-libs/libunwind abi_x86_32 abi_x86_64 debug-frame -libatomic lzma static-libs' >> /etc/portage/package.use/sys-libs_libunwind

# static libs are required with libs that statically depend on libunwind
echo 'app-arch/xz-utils static-libs' > /etc/portage/package.use/app-arch_xz-utils
echo 'sys-libs/zlib static-libs' > /etc/portage/package.use/sys-libs_zlib

emerge -atuv llvm-core/llvm llvm-core/clang llvm-core/lldb llvm-core/lld
emerge -1atv app-arch/xz-utils sys-libs/zlib


Reproducible: Always

Steps to Reproduce:
1.Enable the use flags in the description section
2. emerge -uDN @world
3.
Actual Results:  
The build fails

Expected Results:  
It should build

I'll attach the logs
Comment 1 Mamadou Babaei 2024-12-27 17:26:46 UTC
Created attachment 915298 [details]
build log
Comment 2 Mamadou Babaei 2024-12-27 17:27:01 UTC
Created attachment 915299 [details]
emerge pqv
Comment 3 Mamadou Babaei 2024-12-27 17:27:15 UTC
Created attachment 915300 [details]
emerge info