Build failure for www/firefox (c++ failure)
Palle Girgensohn
girgen at FreeBSD.org
Tue Dec 6 00:56:18 GMT 2005
--On fredag, december 02, 2005 16.46.25 -0800 Vizion
<vizion at 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
More information about the freebsd-ports
mailing list