[llvm-dev] compiler-rt: inconsistant build of i386 support on x86_64

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Tue May 3 08:44:05 PDT 2016


Hi Brooks,

Sorry for the delayed response.

There actually isn’t a single flag that controls target architectures, it is driven by a sequence of compiler checks. When you configure compiler-rt and the i386 architecture doesn’t get configured, you’ll likely have some errors logged in the CMakeError.log file.

I’m working on some significant re-working of the compiler-rt build system which will (among other things) make it more explicit what target you’re building for. Hopefully this will get better in the near future.

Which compiler-rt libraries are you expecting for each architecture?

Thanks,
-Chris

> On Apr 27, 2016, at 1:27 AM, Brooks Davis via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> I'm the maintainer of FreeBSD's llvm packages and I'm running into
> trouble building compiler-rt in a consistent way.  In particular,
> when building on FreeBSD amd64, the x86_64 libraries always build (as
> expected), but depending on something about the build environment, i386
> libraries are sometimes built.  My knowledge of CMakeFiles has proved
> insufficient to either figure out why this might happen or disable this
> behavior.
> 
> What cmake flag(s) control the targets that are supported?
> 
> Thanks,
> Brooks
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list