ports/177728: firefox-20.0,1 requires a GCC 4.7 or later
Jan Beich
jbeich at tormail.org
Wed Apr 10 00:10:01 UTC 2013
The following reply was made to PR ports/177728; it has been noted by GNATS.
From: Jan Beich <jbeich at tormail.org>
To: Mark Andrews <marka at isc.org>
Cc: bug-followup at freebsd.org
Subject: Re: ports/177728: firefox-20.0,1 requires a GCC 4.7 or later
Date: Wed, 10 Apr 2013 02:55:05 +0300
Mark Andrews <marka at isc.org> writes:
> In message <1UPZxS-0009eJ-2K at internal.tormail.org>, Jan Beich writes:
>
>> Mark Andrews <marka at isc.org> writes:
>>
>> >>Environment:
>> > System: FreeBSD sex.dv.isc.org 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE
>> > #28 r249035M: Wed Apr 3 14:24:08 EST 2013
>> > marka at sex.dv.isc.org:/usr/obj/usr/src/sys/DEBUG i386
>> >>Description:
>> > Firefox tries to include <new> which is not available until
>> > GCC 4.7.
>> >>How-To-Repeat:
>> > Attempt to build firefox on FreeBSD 8.4.
>>
>> It builds fine on pointyhat with default options and using poudriere
>> with GIO and LOGGING unset. Provide more details.
>>
>> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20130404090506.poin
>> tyhat/firefox-20.0,1.log
>> http://ompldr.org/vaTFnMg/firefox-20.0,1.log.gz
>
> See http://users.isc.org/~marka/177728 for failing build.
[...]
> checking compiler version... gcc46 (FreeBSD Ports Collection) 4.6.4 20120831 (prerelease)
That corresponds to lang/gcc46 snapshot from September. While firefox
should build fine with any (maintained) gcc version selectively
upgrading ports is not really supported.
> /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp:9:54: fatal error: new: No such file or directory
> compilation terminated.
> gmake[3]: *** [mozalloc.o] Error 1
base-gcc and clang (without -stdlib=libc++) use /usr/include/c++/4.2/new.
gccXY from ports use /usr/local/lib/gccXY/include/c++/new which can
be confirmed by looking at pointyhat packages e.g.,
# same version as you're using
$ tar tf gcc-4.6.4.20120831.tbz | fgrep c++/new
lib/gcc46/include/c++/new
# latest snapshot
$ tar tf gcc-4.6.4.20130215.tbz | fgrep c++/new
lib/gcc46/include/c++/new
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/lang/gcc-4.6.4.20120831.tbz
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.4-release/lang/gcc-4.6.4.20130215.tbz
More information about the freebsd-gecko
mailing list