From owner-freebsd-ports@FreeBSD.ORG Tue Dec 6 00:56:18 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46D7A16A41F; Tue, 6 Dec 2005 00:56:18 +0000 (GMT) (envelope-from girgen@FreeBSD.org) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC2243D4C; Tue, 6 Dec 2005 00:56:16 +0000 (GMT) (envelope-from girgen@FreeBSD.org) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep02.bredband.com with ESMTP id <20051206005615.WZIY17186.mxfep02.bredband.com@ironport.bredband.com>; Tue, 6 Dec 2005 01:56:15 +0100 Received: from c-dec2e255.022-2016-73746f39.cust.bredbandsbolaget.se (HELO palle.girgensohn.se) ([85.226.194.222]) by ironport.bredband.com with ESMTP; 06 Dec 2005 01:56:43 +0100 X-BrightmailFiltered: true X-IronPort-AV: i="3.99,218,1131318000"; d="scan'208"; a="15747529:sNHT39504672" Received: from palle.girgensohn.se (palle.girgensohn.se [127.0.0.1]) by palle.girgensohn.se (Postfix) with ESMTP id D83E817BA7; Tue, 6 Dec 2005 01:56:14 +0100 (CET) Date: Tue, 06 Dec 2005 01:56:14 +0100 From: Palle Girgensohn To: Vizion , freebsd-ports@freebsd.org Message-ID: 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> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: gnome@freebsd.org, ports@freebsd.org, Clint Olsen , Michael Johnson , Simon Barner Subject: Re: Build failure for www/firefox (c++ failure) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 00:56:18 -0000 --On fredag, december 02, 2005 16.46.25 -0800 Vizion 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