invalid include directories

Oliver Lehmann lehmann at ans-netz.de
Sun Jan 30 12:10:46 UTC 2011


Hi,

maybe it makes sense fixing this somehow? I'm talking about invalid
INCLUDE compiler flags which are comming from several pkg-config (gio,  
dbus, gthread, gdk-pixbuf....) calls like:

# pkg-config --cflags dbus-glib-1
-D_REENTRANT -I/usr/local/include/dbus-1.0  
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0  
-I/usr/local/lib/glib-2.0/include


/usr/local/lib/glib-2.0/include  does of course not exist ;)




Oliver Lehmann <lehmann at ans-netz.de> wrote:

>  CC     libtumbler_1_la-tumbler-provider-factory.lo
> cc1: internal compiler error: Segmentation fault: 11cc1: internal  
> compiler error: Segmentation fault: 11

I fixed it by removing --enable-debug in the CONFIGURE_ARGS of xfce4-tumbler.
This caused the adding of -Wmissing-include-dirs to the compiler flags.
Various gnome ports are comming with invalid include directories like
-I/usr/local/lib/glib-2.0/include like specified in their .pc files.

This compiler flag is known as causing segmentation faults.

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-10/msg00433.html

Removing --enable-debug fixes this for now.



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the freebsd-gnome mailing list