Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2010 03:30:05 GMT
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        gnome@FreeBSD.org
Subject:   Re: ports/144139: failure in building x11/xscreensaver-gnome
Message-ID:  <201002230330.o1N3U5js084588@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/144139; it has been noted by GNATS.

From: "Jeremy Messenger" <mezz7@cox.net>
To: "Tsurutani Naoki" <turutani@scphys.kyoto-u.ac.jp>,
 bug-followup@freebsd.org, mezz@freebsd.org
Cc: gnome@freebsd.org
Subject: Re: ports/144139: failure in building x11/xscreensaver-gnome
Date: Mon, 22 Feb 2010 21:22:31 -0600

 On Mon, 22 Feb 2010 20:43:57 -0600, Tsurutani Naoki  
 <turutani@scphys.kyoto-u.ac.jp> wrote:
 
 > mezz@FreeBSD.org wrote:
 >
 >> We don't support custom CFLAGS. The default is: -O2  
 >> -fno-strict-aliasing -pipe
 >>
 >> The '-fno-strict-aliasing' is a must. If you want to do the custom  
 >> CFLAGS,
 >> you have to fix the bug by yourself.
 >
 > make.conf(5) says "Optimization levels other than -O and -O2 are not  
 > supported".
 > If any CFLAGS are not supported, you should not allow setting them in  
 > make.conf,
 > or at least refer to that fact.
 > If this is the problem specific to this port, port should check CFLAGS  
 > in Makefile,
 > or add any messages to users to change CFLAGS only while building this  
 > port.
 
 In your comment, you said that you were using -O1. But after looked at the  
 error log and looks like you are using -O. Anyway, looks like it's GCC  
 bug? You can try the patch over at  
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34215 .. If it fixes for you  
 then I can ask kan@ or/and someone to see if they can commit fix for GCC.  
 Don't know if patch is GPLv3 or not.
 
 Cheers,
 Mezz
 
 
 -- 
 mezz7@cox.net  -  mezz@FreeBSD.org
 FreeBSD GNOME Team
 http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



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