ports/144139: failure in building x11/xscreensaver-gnome
Jeremy Messenger
mezz7 at cox.net
Tue Feb 23 03:30:05 UTC 2010
The following reply was made to PR ports/144139; it has been noted by GNATS.
From: "Jeremy Messenger" <mezz7 at cox.net>
To: "Tsurutani Naoki" <turutani at scphys.kyoto-u.ac.jp>,
bug-followup at freebsd.org, mezz at freebsd.org
Cc: gnome at 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 at scphys.kyoto-u.ac.jp> wrote:
> mezz at 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 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list