[Bug build/33734] New: glibc configure messes up on clang because of -Werror
dilfridge at gentoo dot org
sourceware-bugzilla@sourceware.org
Sun Dec 21 17:55:09 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33734
Bug ID: 33734
Summary: glibc configure messes up on clang because of -Werror
Product: glibc
Version: 2.41
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: dilfridge at gentoo dot org
CC: carlos at redhat dot com
Target Milestone: ---
Bug report from memory...
When I tried to configure glibc from master with CC=clang CXX=clang++ for the
first time (clang-21), configuration failed with odd problems.
Digging into configure.log, what happened was that
* clang unconditionally received linker flags of the type -Wl,...
* these led to a warning about unused command line arguments during compilation
* which were turned into errors by -Werror
* resulting in random configure test results.
My workaround for Gentoo was to add -Wno-unused-command-line-argument
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list