pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55456: pkgsrc/www/firefox 78.0 build failure on NetBSD/i386 9.0
>Number: 55456
>Category: pkg
>Synopsis: pkgsrc/www/firefox 78.0 build failure on NetBSD/i386 9.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 04 14:10:01 +0000 2020
>Originator: Izumi Tsutsui
>Release: NetBSD 9.0
>Organization:
>Environment:
System: NetBSD mirage 9.0 NetBSD 9.0 (GENERIC) #23: Wed May 13 04:08:16 JST 2020 tsutsui@mirage:/s/netbsd-9/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/www/firefox 78.0 build fails on NetBSD/i386 9.0:
---
gmake[3]: Entering directory '/s/obj.i386/pkgsrc/www/firefox/work.i386/build/js/xpconnect/shell'
js/xpconnect/shell/xpcshell
/s/obj.i386/pkgsrc/www/firefox/work.i386/.cwrapper/bin/c++ -std=gnu++17 -o ../../../dist/bin/xpcshell -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Qunused-arguments -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/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautologic!
al-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -D_FORTIFY_SOURCE=2 -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/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/X11R7/include/freetype2 -march=i586 -mstackrealign -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables /s/ob!
j.i386/pkgsrc/www/firefox/work.i386/build/js/xpconnect/shell/x!
pcshell.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 -L/usr/pkg/lib/ffmpeg4 -Wl,-R/usr/pkg/lib/ffmpeg4 -L/usr/pkg/lib/pulseaudio -Wl,-R/usr/pkg/lib/pulseaudio -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -fstack-protector-strong -rdynamic -Wl,-rpath-link,/s/obj.i386/pkgsrc/www/firefox/work.i386/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib -Wl,--export-dynamic -pie ../../../toolkit/library/build/libxul.so -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -L/usr/pkg/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl
/usr/bin/ld: ../../toolkit/library/build/libxul.so: undefined reference to `__atomic_load'
/usr/bin/ld: ../../../toolkit/library/build/libxul.so: undefined reference to `__atomic_load'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/rules.mk:460: ../../../dist/bin/xpcshell] Error 1
gmake[3]: Leaving directory '/s/obj.i386/pkgsrc/www/firefox/work.i386/build/js/xpconnect/shell'
gmake[3]: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/rules.mk:460: ../../dist/bin/plugin-container] Error 1
gmake[3]: Leaving directory '/s/obj.i386/pkgsrc/www/firefox/work.i386/build/ipc/app'
gmake[2]: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/recurse.mk:74: js/xpconnect/shell/target] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/recurse.mk:74: ipc/app/target] Error 2
gmake[2]: Leaving directory '/s/obj.i386/pkgsrc/www/firefox/work.i386/build'
gmake[1]: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/s/obj.i386/pkgsrc/www/firefox/work.i386/build'
gmake: *** [/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/config/rules.mk:390: all] Error 2
*** Error code 2
Stop.
make[2]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1
---
__atomic_load() comes from ./build/dom/media/Unified_cpp_dom_media8.cpp
and it includes various files with atomic ops.
---
#define MOZ_UNIFIED_BUILD
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamTrack.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamTrack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamTrack.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamWindowCapturer.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamWindowCapturer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaStreamWindowCapturer.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTimer.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTimer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTimer.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrack.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrack.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackGraph.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackGraph.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackGraph.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
#include "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackList.cpp"
#ifdef PL_ARENA_CONST_ALIGN_MASK
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackList.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
#undef PL_ARENA_CONST_ALIGN_MASK
#endif
#ifdef INITGUID
#error "/s/obj.i386/pkgsrc/www/firefox/work.i386/firefox-78.0/dom/media/MediaTrackList.cpp defines INITGUID, so it cannot be built in unified mode."
#undef INITGUID
#endif
---
>How-To-Repeat:
Build pkgsrc/www/firefox on NetBSD/i386 9.0.
>Fix:
No idea. Avoid assuming gcc builtin __atomic_load()?
Home |
Main Index |
Thread Index |
Old Index