This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/19444] build failures with -O1 due to -Wmaybe-uninitialized
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Jan 2016 20:58:39 +0000
- Subject: [Bug build/19444] build failures with -O1 due to -Wmaybe-uninitialized
- Auto-submitted: auto-generated
- References: <bug-19444-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19444
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
In theory glibc is unbuildable at anything bug -O2. The reason being that
various parts of the dynamic loader *require* inlining to avoid PLT indirection
when the PLT has not yet been initialized.
Having said that, various people have tried to build at -Os and succeeded, but
I'm not sure all of the markings we need are in place to make the build run
successfully.
Why are you trying to build at -O1? Debugging?
I'm using `__attribute__ ((noinline, optimize (0)))` to mark specific functions
I'm interested in debugging, otherwise the entire behaviour of the library
begins to deviate drastically from that which you put into production.
--
You are receiving this mail because:
You are on the CC list for the bug.