Summary: | dev-lang/spidermonkey-1.8.5-r1: Build failure | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Naohiro Aota <naota> |
Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mozilla |
Priority: | Normal | Keywords: | InOverlay, InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430072 | ||
Attachments: |
complete build.log
spidermonkey-1.8.5-freebsd-pthreadnp.patch |
Created attachment 326792 [details, diff]
spidermonkey-1.8.5-freebsd-pthreadnp.patch
With this patch applied, building pass both on Linux and FreeBSD.
Feel free to land on tree, patch is fine and has already been landed upstream. Thanks for reporting, patch is landed for both 1.8.{5,7}. Patch is also avaliable in the mozilla overlay |
Created attachment 326790 [details] complete build.log Build failed with: i686-gentoo-freebsd9.0-g++ -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -march=native -pipe -fomit-frame-pointer -g -fno-strict-aliasing -pipe -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -fPIC -shared -Wl,-z,defs -Wl,-h,libmozjs185.so -o libmozjs185.so jsanalyze.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jsclone.o jscntxt.o jscompartment.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfriendapi.o jsfun.o jsgc.o jsgcchunk.o jsgcstats.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnativestack.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsproxy.o jsprf.o jsprobes.o jspropertycache.o jspropertytree.o jsreflect.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jstypedarray.o jsutil.o jswrapper.o jsxdrapi.o jsxml.o prmjtime.o sharkctl.o jstracer.o Assembler.o Allocator.o CodeAlloc.o Containers.o Fragmento.o LIR.o njconfig.o RegAlloc.o avmplus.o Nativei386.o jsbuiltins.o VMPI.o Writer.o MethodJIT.o StubCalls.o Compiler.o FrameState.o FastArithmetic.o FastOps.o StubCompiler.o MonoIC.o PolyIC.o ImmutableSync.o InvokeHelpers.o Retcon.o TrampolineCompiler.o checks.o conversions.o diy-fp.o v8-dtoa.o fast-dtoa.o platform.o utils.o Assertions.o ExecutableAllocatorPosix.o ExecutableAllocatorWin.o ExecutableAllocatorOS2.o ExecutableAllocator.o ARMAssembler.o Logging.o MacroAssemblerARM.o MacroAssemblerX86Common.o RegexCompiler.o RegexJIT.o pcre_compile.o pcre_exec.o pcre_tables.o pcre_xclass.o pcre_ucp_searchfuncs.o jsperf.o pm_stub.o -pthread -Wl,-O1 -Wl,--as-needed -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/lib -Wl,-R/usr/lib -L/usr/lib -lplds4 -lplc4 -lnspr4 -pthread -Wl,-soname,libmozjs185.so.1.0 -lm -pthread jsnativestack.o: In function `js::GetNativeStackBaseImpl()': /var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src/jsnativestack.cpp:201: undefined reference to `pthread_attr_get_np' /usr/lib/gcc/i686-gentoo-freebsd9.0/4.7.2/../../../../i686-gentoo-freebsd9.0/bin/ld: libmozjs185.so: hidden symbol `pthread_attr_get_np' isn't defined /usr/lib/gcc/i686-gentoo-freebsd9.0/4.7.2/../../../../i686-gentoo-freebsd9.0/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status gmake[1]: *** [libmozjs185.so] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src' gmake: *** [default] Error 2