Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2005 01:56:14 +0100
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        Vizion <vizion@vizion.occoxmail.com>, freebsd-ports@freebsd.org
Cc:        gnome@freebsd.org, ports@freebsd.org, Clint Olsen <clint@0lsen.net>, Michael Johnson <buhnux@gmail.com>, Simon Barner <barner@freebsd.org>
Subject:   Re: Build failure for www/firefox (c++ failure)
Message-ID:  <FFCFFE44E16ACF89616C1188@palle.girgensohn.se>
In-Reply-To: <200512021646.38066.vizion@vizion.occoxmail.com>
References:  <20051201182225.GA30641@0lsen.net> <23D996FB-FD0F-485B-B007-7C48840D6D15@ahze.net> <20051202081704.GI30754@0lsen.net> <200512021646.38066.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--On fredag, december 02, 2005 16.46.25 -0800 Vizion 
<vizion@vizion.occoxmail.com> wrote:

> On Friday 02 December 2005 00:17,  the author Clint Olsen contributed to
> the  dialogue on-
>  Re: Build failure for www/firefox (c++ failure):
>
>> The patch worked for me as well.  Thanks a lot!
>
> and for me Thanks again
>
> david
>>
>> -Clint
>>
>> On Dec 01, Michael Johnson wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On Dec 1, 2005, at 1:35 PM, Simon Barner wrote:
>>> > Clint Olsen wrote:
>>> >> Has anyone else seen this?
>>> >>
>>> >> -Clint
>>> >>
>>> >> c++ -o nsSVGCairoGradient.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=
>>> >> \"FreeBSD5\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -
>>> >> DMOZ_ENABLE_GTK2 -I../../../../../gfx/src  -I../../../../../gfx/
>>> >> src/gtk -I../../../../../dist/include/xpcom -I../../../../../dist/
>>> >> include/widget -I../../../../../dist/include/pref -I../../../../../
>>> >> dist/include/gfx -I../../../../../dist/include/imglib2 -
>>> >> I../../../../../dist/include/string -I../../../../../dist/include/
>>> >> dom -I../../../../../dist/include/content -I../../../../../dist/
>>> >> include/necko -I../../../../../dist/include/util -I../../../../../
>>> >> dist/include/uconv -I../../../../../dist/include/windowwatcher -
>>> >> I../../../../../dist/include/locale -I../../../../../dist/include/
>>> >> layout -I../../../../../dist/include/cairo -I../../../../../dist/
>>> >> include/libpixman -I../../../../../dist/include/gksvgcairo -
>>> >> I../../../../../dist/include -I/usr/local/include/nspr -I/usr/
>>> >> local/include -I/usr/local/include  -I../../../../../dist/sdk/
>>> >> include -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include  -I/usr/
>>> >> X11R6/insSVGCairoGradient.cpp: In function `cairo_pattern_t*
>>> >> CairoGradient(cairo_t*, nsISVGGradient*, nsISVGGeometrySource*)':
>>> >> nsSVGCairoGradient.cpp:843: internal compiler error: in
>>> >> make_decl_rtl, at varasm.c:752
>>>
>>> This builds for me on 5.4 but could you guys test http://
>>> people.freebsd.org/~ahze/firefox.diff

Well, the patch will surely work for many, since it removes svg 
functionality, where the problem is. I found another way to get past the 
"internal compiler error" - I just ran the problematic c++ line, with 
removed the -O2 and replaced it with -O. That make the compiler happy. 
Since my CFLAGS="-O -pipe", I'm also humbly wondering how come it still 
builds with -O2. (although I know it is hopeless to get linux-centric 
software not to build with -O2... sometimes it annoyes me a bit).

[...]
>>> > Are you using FreeBSD 5.x?
>>> >
>>> > There's already a PR on this:
>>> >
>>> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/89786

Longest PR in history ;-)  didn't really find the clue there, though.  My 
system has

# make -V OSVERSION
504103

so it appears the port expects svg to work for me; well, it doesn't, unless 
I build that specific file with no more than -O1.  (Just posted similar 
info to gnome@).

/Palle



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