From owner-freebsd-sparc64@freebsd.org Sat Nov 12 01:32:58 2016 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2332BC3A7CD for ; Sat, 12 Nov 2016 01:32:58 +0000 (UTC) (envelope-from lidl@pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254:11::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F34711865 for ; Sat, 12 Nov 2016 01:32:57 +0000 (UTC) (envelope-from lidl@pix.net) Received: from torb.pix.net (torb.pix.net [192.168.16.32]) (authenticated bits=0) by hydra.pix.net (8.16.0.19/8.15.2) with ESMTPA id uAC1WuPl044845; Fri, 11 Nov 2016 20:32:56 -0500 (EST) (envelope-from lidl@pix.net) Subject: Re: lang/spidermonkey17 won't build on Sun Blade 2000 /stock 7.0.2 To: freebsd-sparc64@freebsd.org References: From: Kurt Lidl Message-ID: Date: Fri, 11 Nov 2016 20:32:56 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2016 01:32:58 -0000 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