This is the mail archive of the libc-alpha@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] |
On Thursday 31 May 2012 14:48:52 Joseph S. Myers wrote: > Oh, and one other point about release testing: > > GCC routinely gets tested before release by full GNU/Linux distribution > rebuilds - is anyone able to test distribution rebuilds with new glibc > after we freeze for 4.6? This may be less likely to show up problems than > rebuilds with new GCC are, but it could still be useful. in testing glibc-2.16 and building up a new chroot, i've noticed two issues: - a lot of gnulib packages fail with gets() errors ... the gnulib project has fixed this, but it'll take a while for that to trickle down into all the respective projects. i've just added patches like this to fix it: http://sources.gentoo.org/app-arch/gzip/files/gzip-1.4-no-gets.patch - the fortify warning change wrt optimization is too noisy. i glanced through gcc to see if the fortify-by-default could be made to work in a different way, but couldn't see a clean way of doing it. instead, i'll just carry this in Gentoo: --- a/include/features.h +++ b/include/features.h @@ -325,10 +325,11 @@ # define __USE_REENTRANT 1 #endif +#if !defined __OPTIMIZE__ || __OPTIMIZE__ <= 0 +# undef _FORTIFY_SOURCE +#endif #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 -# if !defined __OPTIMIZE__ || __OPTIMIZE__ <= 0 -# warning _FORTIFY_SOURCE requires compiling with optimization (-O) -# elif !__GNUC_PREREQ (4, 1) +# if !__GNUC_PREREQ (4, 1) # warning _FORTIFY_SOURCE requires GCC 4.1 or later # elif _FORTIFY_SOURCE > 1 # define __USE_FORTIFY_LEVEL 2 -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |