[Bug build/31928] New: glibc doesn't compile if the compiler already define _FORTIFY_SOURCE
simon.chopin at canonical dot com
sourceware-bugzilla@sourceware.org
Tue Jun 25 15:06:57 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31928
Bug ID: 31928
Summary: glibc doesn't compile if the compiler already define
_FORTIFY_SOURCE
Product: glibc
Version: 2.39
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: simon.chopin at canonical dot com
CC: carlos at redhat dot com
Target Milestone: ---
In Ubuntu, GCC has been modified to define _FORTIFY_SOURCE in the preprocessor
driver, resulting in failures to build glibc, with the following error (with
--disable-werror):
syslog.c: In function ‘__vsyslog_internal’:
syslog.c:95:30: error: inlining failed in call to ‘always_inline’ ‘syslog’:
function not inlinable
95 | ldbl_strong_alias (__syslog, syslog)
We're shipping a patch to adress this in 2.39, I still need to rebase it and
clean it up:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc/tree/debian/patches/ubuntu/fix-fortify-source.patch
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list