Thank you Louis, now it compiles and links perfectly.

Regards,
/Daniel


ons 10 feb. 2016 kl 21:56 skrev Louis Santillan <[email protected]>:

> You're querying gcc but your build is using clang.  You can disable
> clang by doing `make x64.debug  GYPFLAGS=-Dclang=0`
>
> On Wed, Feb 10, 2016 at 11:30 AM, Daniel Brahneborg <[email protected]>
> wrote:
> > I'm trying to build v8 in Linux, on a quite recent CentOS.
> >
> > # cat /etc/centos-release
> > CentOS Linux release 7.2.1511 (Core)
> >
> > # rpm -q gcc
> > gcc-4.8.5-4.el7.x86_64
> >
> > # rpm -qa|grep stdc
> > libstdc++-4.8.5-4.el7.i686
> > libstdc++-devel-4.8.5-4.el7.i686
> > compat-libstdc++-33-3.2.3-72.el7.x86_64
> > libstdc++-4.8.5-4.el7.x86_64
> > libstdc++-devel-4.8.5-4.el7.x86_64
> > compat-libstdc++-33-3.2.3-72.el7.i686
> >
> > The "make x64.debug" command runs for a while, compiling lots
> > of files, and then starts to fail with this. How can it not  find
> libstdc++?
> > What have I missed?
> >
> > make[1]: Entering directory `/home/danbra/src/v8/v8/out'
> >
> > /home/danbra/src/v8/v8/third_party/llvm-build/Release+Asserts/bin/clang++
> > -B/home/danbra/src/v8/v8/third_party/binutils/Linux_x64/Release/bin
> -pthread
> > -fuse-ld=gold
> > -B/home/danbra/src/v8/v8/third_party/binutils/Linux_x64/Release/bin
> > -fuse-ld=gold
> > -B/home/danbra/src/v8/v8/third_party/binutils/Linux_x64/Release/bin -m64
> > -m64 -rdynamic -rdynamic -Wl,--threads -Wl,--thread-count=4 -Wl,--threads
> > -Wl,--thread-count=4  -o /home/danbra/src/v8/v8/out/x64.debug/mksnapshot
> > -Wl,--start-group
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/mksnapshot/src/snapshot/mksnapshot.o
> > /home/danbra/src/v8/v8/out/x64.debug/obj.target/tools/gyp/libv8_base.a
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/tools/gyp/libv8_nosnapshot.a
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/tools/gyp/libv8_libplatform.a
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/third_party/icu/libicui18n.a
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/third_party/icu/libicuuc.a
> > /home/danbra/src/v8/v8/out/x64.debug/obj.target/tools/gyp/libv8_libbase.a
> >
> /home/danbra/src/v8/v8/out/x64.debug/obj.target/third_party/icu/libicudata.a
> > -Wl,--end-group -ldl -lrt
> >
> /home/danbra/src/v8/v8/third_party/binutils/Linux_x64/Release/bin/ld.gold:
> > error: cannot find -lstdc++
> >
> > /Daniel
> >
> > --
> > --
> > v8-users mailing list
> > [email protected]
> > http://groups.google.com/group/v8-users
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "v8-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/v8-users/dLSMRRHo9Mk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to