[Mesa-dev] [Bug 70410] egl-static/Makefile: linking fails with llvm >= 3.4

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 8 16:00:48 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=70410

--- Comment #9 from Krzysztof A. Sobiecki <sobkas at gmail.com> ---
(In reply to comment #8)
> llvm-config now has this parameter:
> 
>   --system-libs     System Libraries needed to link against LLVM components.
> 
> And on my system it outputs:
> 
>   -lz -lpthread -lffi -lcurses -ldl -lm
> 
> This should be added to LDFLAGS when you are statically linking to llvm
> libraries. Because of this, libclc is also broken.

What output this command produces?
llvm-config-3.5 --system-libs|wc -l

On my system llvm-config-3.5 --system-libs adds a problematic new line, that
breaks generated Makefile. Thus an ugly hack might be needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140109/0919dd76/attachment.html>


More information about the mesa-dev mailing list