[LLVMdev] 32-bit in-tree Polly build with CMake

Ondřej Hošek ondra.hosek at gmail.com
Thu Jun 7 06:49:11 PDT 2012


On Thu, Jun 7, 2012 at 3:26 PM, Tobias Grosser <tobias at grosser.es> wrote:
> First of all, is this problem platform specific?
> We have a 32bit buildbot [1] and it does not report any problems. Do you
> understand why.

I think so. This is an i?86 build on a x86_64 machine, i.e. with -m32.
(gcc specifically, but I am sure that clang would raise the same
issue, since this is about passing (or not passing) the correct flags
to the linker. The LLVM_BUILD_32_BITS option seems to be the canonical
way to request an i?86 build on a x86_64 machine when using CMake to
build LLVM.)

> I would go for option 1 as Polly itself is used not as a shared library, but
> as a module. Would you be able to provide a patch?

Sure; I have attached it.

Cheers,
~~ Ondra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-build32bits-module-m32.patch
Type: application/octet-stream
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120607/82abfe3d/attachment.obj>


More information about the llvm-dev mailing list