Hi,

I'm currently upgrading Metisse in cooker to version 0.4.0 and it seems
to not like _FORTIFY_SOURCE=2 :

 Entering directory
`/home/fcrozat/packages/metisse/BUILD/metisse-0.4.0/fvwm-insitu/modules/FvwmConfig'
gcc -DHAVE_CONFIG_H -I. -I../..    -DORBIT2=1 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libglade-2.0 -I/usr/include/libxml2   -std=c99
-DGLADEDIR=\"/usr/share/metisse/glade\" -I../.. -Wall -Wno-implicit-int
-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586
-mtune=generic -fasynchronous-unwind-tables -MT FvwmConfig-main.o -MD
-MP -MF .deps/FvwmConfig-main.Tpo -c -o FvwmConfig-main.o `test -f
'main.c' || echo './'`main.c
/usr/include/bits/fcntl2.h: In function 'open':
/usr/include/bits/fcntl2.h:44: error: invalid use of
'__builtin_va_arg_pack_len ()'
/usr/include/bits/fcntl2.h:57: error: invalid use of
'__builtin_va_arg_pack_len ()'
/usr/include/bits/fcntl2.h:60: error: invalid use of
'__builtin_va_arg_pack ()'

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.

-- 
Frederic Crozat <[EMAIL PROTECTED]>
Mandriva

_______________________________________________
Metisse mailing list
[email protected]
http://lists.lri.fr/mailman/listinfo/metisse

Reply via email to