Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928612 - sys-libs/libcxxabi-18.1.2 fails to compile: <command line>:5:9: error: _LIBCPP_HARDENING_MODE macro redefined [-Werror,-Wmacro-redefined]
Summary: sys-libs/libcxxabi-18.1.2 fails to compile: <command line>:5:9: error: _LIBCP...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 02:34 UTC by Agostino Sarubbo
Modified: 2024-04-05 02:34 UTC (History)
0 users

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


Attachments
build.log (build.log,571.17 KB, text/plain)
2024-04-05 02:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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]