Status: New
Owner: ----
New issue 2448 by [email protected]: Linking failure: /usr/bin/ld: final
link failed: Nonrepresentable section on output
http://code.google.com/p/v8/issues/detail?id=2448
When building on FreeBSD, I get the following error:
/usr/bin/ld: final link failed: Nonrepresentable section on output
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[1]: *** [/root/v8/out/x64.release/cctest] Error 1
gmake[1]: Leaving directory `/root/v8/out'
gmake: *** [x64.release] Error 2
I needed to use gmake rather than make, and I added the following to use
clang:
setenv CC /usr/bin/clang
setenv CXX /usr/bin/clang++
setenv GYP_DEFINES "clang=1"
Some version info:
# clang -v
FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
Target: x86_64-unknown-freebsd9.0
Thread model: posix
# gmake -v
GNU Make 3.82
Built for amd64-portbld-freebsd9.1
command used to checkout v8 code:
# svn checkout http://v8.googlecode.com/svn/trunk/ v8
# uname -a
FreeBSD thug 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC
2012 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev