[LLVMdev] llvm-gcc-4.2-2.5 fails to build from source on arm: MACHO_DYNAMIC_NO_PIC_P undeclared

Anton Korobeynikov anton at korobeynikov.info
Tue Aug 4 05:33:49 PDT 2009


Hello, Martin

> llvm-gcc-4.2-2.5 is failing to build from source on arm, sparc,
> powerpc and ia64, only succeeding on i386 and amd64:
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=llvm-gcc-4.2;dist=unstable
> so it looks like the 2.5 release was never properly tested before it
> was published.
Unfortunately, ia64 and sparc were never considered as a 'tier-1'
targets for llvm-gcc, there was noone who cared about it. Also, our
linux resources are pretty limited, thus both ppc and arm were broken
at the time for 2.5 release.

Hopefully things will be much better with the coming 2.6 release, at
least one might expect arm and ppc to be more or less ok. ia64 support
was completely dropped and sparc should be brokens as of time of 2.5.

> If the issues and fixes are "known", can you make them known to the
> public, for example by producing a 2.5.1 with the worst bugs fixed, or
> by documenting the issues and patches in the "Known problems" section?
> It would be a big help to all the distro maintainers.
You might want to stick with next 2.6 release, which is scheduled to
be out within next 1.5 months

I would like to comment on some other bugs as well:
478535: there are no plans to support of legacy IBM S390 platform,
only 64 bit one (that's s390x in tartget triple). The current plans
are to use clang only, not llvm-gcc, however I might be able to find
few hours to give llvm-gcc a try.
539496: There are no plans to support ARMv4 in LLVM. As for ToT ARM
builds of llvm-gcc (both for bare-metal arm-elf and normal
arm-none-linux-gnueabi triples) is broken due to two PRs: 4680, 4681
511721: I believe it should be fixed on ToT.
518592: Sounds like compiler / linker problem, it's not LLVM related at all

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list