Skip to contentSkip to conversation

New: Configuring Mesa to use shared libLLVM.so fails

Bug 75929 [email protected] 1 participant 5 messages Mar 8, 2014 – Mar 18, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 75929
Assignee: [email protected]
Summary: Configuring Mesa to use shared libLLVM.so fails
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 95379
--> https://bugs.freedesktop.org/attachment.cgi?id=95379&action=edit
Patch for configure.ac to fix building against libLLVM.so

Configuring Mesa to build on Fedora 20 with the shared libLLVM.so is ignoring the new --enable-llvm-shared-libs option. It looks like two references to "with_llvm_shared_libs" were missed in configure.ac.

I have attached a patch.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 75929] Configuring Mesa to use shared libLLVM.so fails

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

--- Comment #1 from Emil Velikov <[email protected]> --- Hi Chris

I have a similar patch [1] which also clears up the remaining messages. It's queued up and I'm planning to commit it shortly. Thanks for the heads up.

[1] http://lists.freedesktop.org/archives/mesa-dev/2014-March/055316.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 75929] Configuring Mesa to use shared libLLVM.so fails

In reply to [email protected]

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

--- Comment #2 from Dave Witbrodt <[email protected]> --- I've been having lots of trouble building Mesa for RadeonSI with recent LLVM 3.5 snapshots. I am happy to report that applying Emil's patch from comment 1, in combination with attachment 95368 (from bug 75919), gets everything working for me again. (Without 95368, I get static linkage to LLVM instead of shared, which is comical since my build errors out unless I use the "--enable-llvm-shared-libs" config option.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 75929] Configuring Mesa to use shared libLLVM.so fails

In reply to [email protected]

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

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Emil Velikov <[email protected]> --- Just committed the patch to master, so one should be able to enable/disable the option on demand.

AFAICS one could do some clean-up wrt LLVM handling in configure.ac although I'd rather leave that to someone more experienced in that area.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 75929] Configuring Mesa to use shared libLLVM.so fails

In reply to [email protected]

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

--- Comment #4 from Dave Witbrodt <[email protected]> --- Emil's patch (now applied in Mesa 9.2.0-devel), along with an LLVM 3.5 build with the proper symlinks (bug 75919), nearly allows me to build Mesa for RadeonSI. In my scrambling about to get the build working again, I forgot that I also had to apply a patch from bug 70410 to get the build working.

Anyway, glad to see this bug closed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel