pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox-41.0 build fails on netbsd-7/i386
On Sat, 26 Sep 2015, John D. Baker wrote:
> And the CPPFLAGS/CXXFLAGS correction (ieffective though it may be) came
> just after the branch was tagged. I've haxxor3d my "mozilla-common.mk"
> to correct the variable name and use "-march=i586" instead. Building
> now (netbsd-6/i386 on a pentium-III).
A faster pentium-4 system failed first. Examining the command line
seems to indicate that the "-march=i586" I put in "mozilla-common.mk"
is either being transformed into "-march=i486" or discarded as the
additional "-mstackrealign" follows it, just as in the varable assignments.
Or perhaps that part of the distribution Makefile is not being properly
augmented with CXXFLAGS?
[...]
Executing: c++ -o plugin-container -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -march=i486 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer /d0/build/pkgsrc/www/firefox/work/build/ipc/app/tmpl2ZnNX.list -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -rdynamic -Wl,-rpath-link,/d0/build/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib -pie ../../toolkit/library/libxul.so -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -pthread -Wl,--export-dynamic
/d0/build/pkgsrc/www/firefox/work/build/ipc/app/tmpl2ZnNX.list:
INPUT("GMPLoader.o")
INPUT("MozillaRuntimeMain.o")
INPUT("../../mozglue/build/SSE.o")
INPUT("../../mozglue/build/dummy.o")
INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
INPUT("../../mozglue/misc/StackWalk.o")
INPUT("../../mozglue/misc/TimeStamp.o")
INPUT("../../mozglue/misc/TimeStamp_posix.o")
INPUT("../../mfbt/Compression.o")
INPUT("../../mfbt/Decimal.o")
INPUT("../../mfbt/Unified_cpp_mfbt0.o")
INPUT("../../memory/fallible/fallible.o")
../../toolkit/library/libxul.so: undefined reference to `__atomic_load_8'
../../toolkit/library/libxul.so: undefined reference to `__atomic_store_8'
../../toolkit/library/libxul.so: undefined reference to `__atomic_fetch_add_8'
/d0/build/pkgsrc/www/firefox/work/mozilla-release/config/rules.mk:666: recipe for target 'plugin-container' failed
gmake[3]: *** [plugin-container] Error 1
[...]
Executing: c++ -o xpcshell -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -march=i486 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer /d0/build/pkgsrc/www/firefox/work/build/js/xpconnect/shell/tmpb5zYWU.list -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -rdynamic -Wl,-rpath-link,/d0/build/pkgsrc/www/firefox/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib ../../../xpcom/glue/libxpcomglue_s.a -pie ../../../toolkit/library/libxul.so -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -pthread -Wl,--export-dynamic
/d0/build/pkgsrc/www/firefox/work/build/js/xpconnect/shell/tmpb5zYWU.list:
INPUT("xpcshell.o")
INPUT("../../../mozglue/build/SSE.o")
INPUT("../../../mozglue/build/dummy.o")
INPUT("../../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
INPUT("../../../mozglue/misc/StackWalk.o")
INPUT("../../../mozglue/misc/TimeStamp.o")
INPUT("../../../mozglue/misc/TimeStamp_posix.o")
INPUT("../../../mfbt/Compression.o")
INPUT("../../../mfbt/Decimal.o")
INPUT("../../../mfbt/Unified_cpp_mfbt0.o")
INPUT("../../../memory/fallible/fallible.o")
# $NetBSD: mozilla-common.mk,v 1.62 2015/09/23 06:44:41 ryoon Exp $
../../../toolkit/library/libxul.so: undefined reference to `__atomic_load_8'
../../../toolkit/library/libxul.so: undefined reference to `__atomic_store_8'
../../../toolkit/library/libxul.so: undefined reference to `__atomic_fetch_add_8'
/d0/build/pkgsrc/www/firefox/work/mozilla-release/config/rules.mk:666: recipe for target 'xpcshell' failed
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index