#8931: Install llvm-3.9.1 in /opt for rust.
-------------------------+-----------------------
Reporter: ken@… | Owner: ken@…
Type: enhancement | Status: assigned
Priority: normal | Milestone: 8.1
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by ken@…):
One further comment - until now I've been building shared and static llvm,
but actually using static llvm for rust. So I first tried slimming the
build down to only static - that works, but it offends me (although not
much more than rust's shipped static llvm).
So then I tried enabling dynamic llvm and hiding the static libs. That
built ok, but the (DESTDIR) install failed to link -lLLVM-3.9 which is a
shared lib in /opt/llvm3/lib, and that is in /etc/ld.so.conf. That is for
error_index_generator. I added LDFLAGS=-L/opt/llvm3/lib and got past that,
but then the same error in rustbook. I remembered that fedora had
previously commented that it uses gcc for the linker, so I tried adding
that to CFLAGS as well : now it failed again at error_index_generator.
I also note that Arch no longer enable llvm-link-shared. So, static it is.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/8931#comment:10>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page