Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 12:44:04 +0100
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        gnome@freebsd.org
Subject:   invalid include directories
Message-ID:  <20110130124404.19219qgei7k4iuio@avocado.salatschuessel.net>

next in thread | raw e-mail | index | archive | help
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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110130124404.19219qgei7k4iuio>