Date: Tue, 21 Apr 2009 21:34:03 -0400 From: Dan Langille <dan@langille.org> To: ports@freebsd.org Subject: www/firefox build error: FIXED Message-ID: <49EE740B.3030604@langille.org>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For the archives: I had trouble building firefox tonight. I fixed the following problem by commenting out the following lines from /etc/make.conf: #CC= /usr/local/bin/gcc44 #CC?= /usr/local/bin/gcc44 #USE_GCC= 4.4 # which gcc /usr/bin/gcc # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] # uname -a FreeBSD laptop.example.org 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Jan 12 10:52:35 EST 2009 dan@laptop.example.org:/usr/obj/usr/src/sys/LAPTOP amd6 - -- gmake[3]: Entering directory `/usr/ports/www/firefox3/work/mozilla' gmake[3]: `js/src/fdlibm/Makefile' is up to date. gmake[3]: `js/src/Makefile' is up to date. gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake[3]: Entering directory `/usr/ports/www/firefox3/work/mozilla/js/src/fdlibm' gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/js/src/fdlibm' gmake[3]: Entering directory `/usr/ports/www/firefox3/work/mozilla/js/src' rm -f libmozjs.so gcc44 -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused - -Wpointer-arith -Wcast-align -W -Wno-long-long -O2 -fno-strict-aliasing - -pipe -O2 -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -Os - -fstrict-aliasing -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs.so -o libmozjs.so jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o prmjtime.o -pthread -Wl,-rpath-link,../../dist/bin -lm - -pthread -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -Wl,-Bsymbolic - -lc -lm -pthread -pthread -L/usr/local/lib -liconv Creating ../../dist/sdk/lib jsnum.o(.text+0xefc): In function `js_InitNumberClass': : undefined reference to `fedisableexcept' jsnum.o(.text+0x18ac): In function `js_InitRuntimeNumberState': : undefined reference to `fedisableexcept' /usr/bin/ld: libmozjs.so: hidden symbol `fedisableexcept' isn't defined collect2: ld returned 1 exit status gmake[3]: *** [libmozjs.so] Error 1 gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/js/src' gmake[2]: *** [libs_tier_js] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake[1]: *** [tier_js] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake: *** [default] Error 2 *** Error code 1 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. [root@laptop /usr/ports/www/firefox3]# apropos fedisableexcept feclearexcept(3), fegetexceptflag(3), feraiseexcept(3), fesetexceptflag(3), fetestexcept(3), fegetround(3), fesetround(3), fegetenv(3), feholdexcept(3), fesetenv(3), feupdateenv(3), feenableexcept(3), fedisableexcept(3), fegetexcept(3) - floating-point environment control feenableexcept(3), fedisableexcept(3), fegetexcept(3) - floating-point exception masking [root@laptop /usr/ports/www/firefox3]# Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknudAoACgkQCgsXFM/7nTyX6wCg7eVV2ilxaihWIZyzm9GhKNcX Ri0AoMbv4CTxM6x36vppLOl0o+iPAMOL =6r0r -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EE740B.3030604>