Error while linking Thrust

41 views
Skip to first unread message

Wolfgang Faust

unread,
Feb 2, 2015, 12:36:53 PM2/2/15
to breac...@googlegroups.com
I'm trying to compile Thrust from source. I got as far as linking, but then I get the following error:

$ ./scripts/build.py
ninja
: Entering directory `out/Release'
[1/1] LINK thrust_shell
FAILED: /usr/bin/clang++ -rpath \$ORIGIN -rdynamic -Wl,--no-keep-memory -o thrust_shell -Wl,--start-group obj/src/app/thrust_shell.main.o obj/libthrust_shell_lib.a obj/vendor/brightray/libbrightray.a  -Wl,--end-group -lpthread -ldl -lm -lX11 -lXrandr -lXext -lgconf-2 /home/vagrant/thrust/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so /home/vagrant/thrust/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumviews.a -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfontconfig -lfreetype -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -ldbus-1 -lX11 -lXrandr -lXext -lgconf-2 -lglib-2.0
obj/src/renderer/visitedlink/thrust_shell_lib.visitedlink_slave.o: In function `
base::SharedMemory::Map(unsigned int)':
/home/vagrant/thrust/out/Release/../../vendor/brightray/vendor/download/libchromiumcontent/src/base/memory/shared_memory.h:166: undefined reference to `base::SharedMemory::MapAt(long, unsigned int)'

clang
: error: linker command failed with exit code 1 (use -v to see invocation)
ninja
: build stopped: subcommand failed.


I don't know enough C++ to diagnose this issue. I tried bisecting, but I have the same problem as far back as v0.7.0, which implies that it's not just a broken commit.


The exact steps to reproduce:

vagrant init ubuntu/trusty32
vagrant up
vagrant ssh
# Now, in the VM:
sudo apt
-get update
sudo apt
-get install python2.7 git libgtk2.0-dev libnotify-dev libdbus-1-dev libgconf2-dev clang libnss3
sudo ln
-s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
git clone http
://github.com/breach/thrust.git
cd thrust
./scripts/bootstrap.py
./scripts/update.py
./scripts/build.py


Mathias Rohnstock

unread,
Mar 20, 2015, 3:04:50 AM3/20/15
to breac...@googlegroups.com
Hi Wolfgang,

I'm hitting the same issue with Ubuntu 14.04 x86. Did you find a way to compile thrust successfully?
Thank!

- Mathias

Wolfgang Faust

unread,
Mar 20, 2015, 9:12:23 AM3/20/15
to Mathias Rohnstock, breac...@googlegroups.com
I haven't had a chance to look into this further; if I figure something out before anyone else I'll be sure to post it.

--
You received this message because you are subscribed to the Google Groups "breach-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breach-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
The views expressed above are exclusively mine, if anyone's.
Reply all
Reply to author
Forward
0 new messages