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

Martin Guy martinwguy at gmail.com
Sun Aug 2 15:36:10 PDT 2009


Hi
   The fix is very simple: the defaulting of this macro to 0 in
gcc/config/arm/arm.h, present in 2.2 has been omitted in 2.5.

The attached patch puts the defaulting clause back, the same as it was in 2.2

    M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-arm-default-MACHO_DYNAMIC_NO_PIC_P.patch
Type: text/x-diff
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090802/2673b4ab/attachment.patch>


More information about the llvm-dev mailing list