Le vendredi 21 novembre 2008 à 10:27 +0100, Rémi Cardona a écrit : > Le 19/11/2008 19:50, Frederic Crozat a écrit : > > Hi, > > > > I'm currently upgrading Metisse in cooker to version 0.4.0 and it seems > > to not like _FORTIFY_SOURCE=2 : > > > > This is caused by a "recent" addition to fortify to prevent using open > > with only 2 parameters when O_CREAT mode is used (cf > > http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00675.html ) but I haven't > > found where is the problematic call. > > This is indeed a weird bug as that module uses (almost) only glib and > gtk functions. I'm surprised that the bug only shows up here. > > I rebuilt metisse with C(XX)FLAGS="-g -pipe -Wp,-D_FORTIFY_SOURCE=2" but > I can't reproduce the error. Weird indeed. > > I'm not sure what to do here :) > > FWIW, I use a snapshot of glibc 2.8 dating from 2008-06-02.
Ok, I found the cause of the problem : you are overridding default C(XX)FLAGS : Makefile.am in FvwmConfig in adding -std=c99 to CFLAGS and this is the one thing breaking the build with FORTIFY=2. -- Frederic Crozat <[EMAIL PROTECTED]> Mandriva _______________________________________________ Metisse mailing list [email protected] http://lists.lri.fr/mailman/listinfo/metisse
