v2: The GNU C Library 2.16 release plan
Mike Frysinger
vapier@gentoo.org
Thu May 31 20:32:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120531/b7dc1f38/attachment.sig>
More information about the Libc-alpha
mailing list