llvm icon indicating copy to clipboard operation
llvm copied to clipboard

llvm-base's configure step produces inconsistent linker flags

Open NathanHowell opened this issue 11 years ago • 3 comments

If the library search path and regular PATH variables point to different versions of LLVM the package configuration file will point to multiple versions of LLVM.

See http://projects.haskell.org/pipermail/haskell-llvm/2013-May/000327.html for details.

NathanHowell avatar May 17 '13 19:05 NathanHowell

I think that llvm-base should exclusively ask 'llvm-config'. However I know there were issues with llvm-config mixing dynamic and static libraries in its answers. That's why configure.ac had code to filter some files out.

amigalemming avatar May 17 '13 19:05 amigalemming

A pure llvm-config approach has been implemented for Windows support in 1f9574dc1538a9c362e885bd104ae30f8150ff74, and appears to function adequately. In light of that, I think we should revisit the decision to use autoconf on other platforms.

Ralith avatar Jun 10 '13 07:06 Ralith

On Mon, 10 Jun 2013, Benjamin Saunders wrote:

A pure llvm-config approach has been implemented for Windows support, and appears to function adequately.

How does it work?

amigalemming avatar Jun 10 '13 12:06 amigalemming