This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19444] build failures with -O1 due to -Wmaybe-uninitialized


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]