NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: failure to build Firefox 54
In Message <e49c94ad-af34-1a6f-73e1-e416ec3e3e7e%libero.it@localhost>,
Riccardo Mottola <riccardo.mottola%libero.it@localhost>wrote:
=>Hi,
=>
=>building Firefox fails for me due to undefined symbol. Error below. this
=>is on x86
=>How is it for others?
I'm on x86_64, but I get a similar symptom from xenkernel4[68].
It looks like cwrappers is overriding -fno-stack-protection, leading to
the errors.
Gary Duzan
=>Thanks - Riccardo
=>
=>
=>Executing: ../../../../.cwrapper/bin/c++ -std=gnu++11 -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 -I/usr/pkg/include/ffmpeg3 -Wall
=>-Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual
=>-Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code
=>-Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized
=>-Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -O2
=>-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/X11R7/include/freetype2
=>-I/usr/pkg/include/ffmpeg3 -march=i586 -mstackrealign -fno-exceptions
=>-fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno
=>-pthread -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -fPIC -DPIC
=>-shared -Wl,-soname,libmozsqlite3.so -o libmozsqlite3.so -lpthread
=>-Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib
=>-L/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4
=>-Wl,-R/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -L/usr/pkg/gcc49/lib
=>-Wl,-R/usr/pkg/gcc49/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/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack
=>-Wl,-z,text -Wl,--build-id
=>-Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin
=>-Wl,-rpath-link,/usr/pkg/lib
=>/usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpdvYoWO.list
=>-Wl,--version-script,libmozsqlite3.so.symbols
=>/usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpdvYoWO.list:
=> INPUT("../../../db/sqlite3/src/sqlite3.o")
=>
=>../../../db/sqlite3/src/sqlite3.o: In function `putVarint64':
=>sqlite3.c:(.text+0x140f): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `remove_diacritic':
=>sqlite3.c:(.text+0x7547): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `readMasterJournal':
=>sqlite3.c:(.text+0xa79d): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `vdbePmaWriteVarint':
=>sqlite3.c:(.text+0xda65): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `readJournalHdr':
=>sqlite3.c:(.text+0xf161): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o:sqlite3.c:(.text+0x1637d): more
=>undefined references to `__stack_chk_fail_local' follow
=>/usr/bin/ld: libmozsqlite3.so: hidden symbol `__stack_chk_fail_local'
=>isn't defined
=>/usr/bin/ld: final link failed: Bad value
=>collect2: error: ld returned 1 exit status
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/rules.mk:804: recipe
=>for target 'libmozsqlite3.so' failed
=>gmake[3]: *** [libmozsqlite3.so] Error 1
=>gmake[3]: Leaving directory
=>'/usr/pkgsrc/www/firefox/work/build/config/external/sqlite'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/recurse.mk:71: recipe
=>for target 'config/external/sqlite/target' failed
=>gmake[2]: *** [config/external/sqlite/target] Error 2
=>gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/recurse.mk:32: recipe
=>for target 'compile' failed
=>gmake[1]: *** [compile] Error 2
=>gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/rules.mk:525: recipe
=>for target 'all' failed
=>gmake: *** [all] Error 2
=>*** Error code 2
=>
=>
Home |
Main Index |
Thread Index |
Old Index