Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928612

Summary: sys-libs/libcxxabi-18.1.2 fails to compile: <command line>:5:9: error: _LIBCPP_HARDENING_MODE macro redefined [-Werror,-Wmacro-redefined]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-04-05 02:34:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libcxxabi-18.1.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-05 02:34:40 UTC
Created attachment 889479 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-05 02:34:40 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Clang (missing: Clang_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
AssertionError: Trying to enable compiler flag -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE, which is not supported. stdout was:
FAILED: libcxxabi/test/CMakeFiles/check-cxxabi /var/tmp/portage/sys-libs/libcxxabi-18.1.2/work/runtimes_build-abi_x86_64.amd64/libcxxabi/test/CMakeFiles/check-cxxabi 
<command line>:5:9: error: '_LIBCPP_HARDENING_MODE' macro redefined [-Werror,-Wmacro-redefined]