Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2010 21:22:31 -0600
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
Message-ID:  <op.u8j80hml9aq2h7@localhost>
In-Reply-To: <201002230243.AA01240@POLYMER5.scphys.kyoto-u.ac.jp>
References:  <201002211805.o1LI5mh9023848@freefall.freebsd.org> <201002230243.AA01240@POLYMER5.scphys.kyoto-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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?op.u8j80hml9aq2h7>