[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
Mon Aug 3 11:49:29 PDT 2009


Thanks. Do you have fixes for the other ARM bloopers? This is the
forthcoming Debian version and it's now dying on arm-gnueabi when it
links cc2-dummy saying

libbackend.a(arm.o): In function `current_file_function_operand':
/home/martin/arm/llvm-gcc-4.2-2.5/build-gcc/gcc/../../llvm-gcc-4.2-2.5/gcc/config/arm/arm.c:3506:
undefined reference to `ENCODED_SHORT_CALL_ATTR_P'
libbackend.a(arm.o): In function `arm_is_longcall_p':
/home/martin/arm/llvm-gcc-4.2-2.5/build-gcc/gcc/../../llvm-gcc-4.2-2.5/gcc/config/arm/arm.c:3581:
undefined reference to `ENCODED_LONG_CALL_ATTR_P'
collect2: ld returned 1 exit status

cheers

   M



More information about the llvm-dev mailing list