Re: lang/spidermonkey17 won't build on Sun Blade 2000 /stock 7.0.2
Kurt Lidl <[email protected]> Fri, 11 Nov 2016 20:32:56 -0500
| Newsgroups | gmane.os.freebsd.devel.sparc |
|---|---|
| Message-ID | <[email protected]> |
On 11/11/16 1:37 PM, Gordon Zaft wrote: > I'm trying to build MATE on my SB2K with a stock 7.0.2. After about 24 > hours of churning I got the following error in lang/spidermonkey17: > > jsalloc.cpp > > c++ -o jsalloc.o -c -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API > -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. > -I./dist/include -I/usr/pkg/include/nspr -I. -I./assembler -I./yarr > -fPIC -DPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr > -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type > -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings > -Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -O2 > -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/nspr -Dunix -fno-rtti > -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe > -DNDEBUG -DTRIMMED -g -O -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 > -DENABLE_ASSEMBLER=1 -I/usr/include -I/usr/pkg/include > -I/usr/pkg/include/nspr -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF > .deps/jsalloc.o.pp > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsalloc.cpp > > In file included from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsapi.h:23:0, > > from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jscntxt.h:17, > > from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsalloc.cpp:9: > > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsval.h:307:13: > error: 'jsuword' does not name a type > > jsuword word; > > ^ > > In file included from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jspropertycache.h:15:0, > > from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jscntxt.h:23, > > from > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/jsalloc.cpp:9: > > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/vm/String.h:398:24: > warning: inline function 'static void JSString::writeBarrierPost(JSString*, > void*)' used but never defined [enabled by default] > > static inline void writeBarrierPost(JSString *str, void *addr); > > ^ > > /usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src/vm/String.h:397:24: > warning: inline function 'static void JSString::writeBarrierPre(JSString*)' > used but never defined [enabled by default] > > static inline void writeBarrierPre(JSString *str); > > ^ > > config/rules.mk:1017: recipe for target 'jsalloc.o' failed > > gmake[1]: *** [jsalloc.o] Error 1 > > gmake[1]: Leaving directory > '/usr/pkgsrc/lang/spidermonkey17/work/mozjs17.0.0/js/src' > > config/rules.mk:576: recipe for target 'all' failed > > gmake: *** [all] Error 2 > > *** Error code 2 > > > Stop. > > make[1]: stopped in /usr/pkgsrc/lang/spidermonkey17 > > *** Error code 1 > > > Stop. > > make: stopped in /usr/pkgsrc/lang/spidermonkey17 > > > This is with the stock gcc, 4.8.4 and most recent (this morning) pkgsrc. > > > File a bug? I'd appreciate if someone would tell me what SOP is for this > stuff. Thanks! > > > G > Are you sure this is FreeBSD you're running, and not NetBSD? 7.0.2 looks like a current version of NetBSD, but 11.0 is the current version of FreeBSD. Also, /usr/pkgsrc is a NetBSD thing, whereas /usr/ports is what FreeBSD does... -Kurt _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 To unsubscribe, send any mail to "[email protected]"