On Tue, Dec 11, 2012 at 5:55 AM, Tom Evans <tevans...@googlemail.com> wrote: > On Mon, Dec 10, 2012 at 6:30 PM, Robert Simmons <rsimmo...@gmail.com> wrote: >> I'm having a problem building google v8 on FreeBSD with clang. I get >> this 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" > > setenv LINK /usr/bin/clang++ > > (as grokked from the v8 ports makefile - there are also patches in > there to fix building on fbsd10 and adding pthread to the libraries to > link to, which may help you next...)
I got past the problems above by building with GCC 4.6 from ports. V8 built just fine, and so did pyv8 the python wrapper. Now, when I try to use it in a python script, I get this error: ImportError: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /root/.python-eggs/PyV8-1.0-py2.7-freebsd-9.1-RELEASE-amd64.egg-tmp/_PyV8.so not found How can I update the gnu libc++ to the right version that this needs? _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"