http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342
--- Comment #9 from simon at pushface dot org 2012-05-07 21:13:48 UTC --- (In reply to comment #8) > $srcdir/configure CC="gcc -D_FORTIFY_SOURCE=0” Unfortunately doing this means that “gcc -v” with the built compiler contains the ‘CC="gcc -D_FORTIFY_SOURCE=0”’ text in the Configured with: line, which confuses gprconfig (part of AdaCore’s gprbuild tool). So the way I’ve adopted for 4.7.0 is to start by $ export CC="gcc -D_FORTIFY_SOURCE=0” $ $srcdir/configure ... $ make