[LLVMdev] how to compile llvm-gcc whith lto support for ARM

Anton Korobeynikov anton at korobeynikov.info
Sun Apr 11 12:14:22 PDT 2010


>  ../configure  --target=arm-unknown-linux-gnueabi --program-prefix=arm-
> --prefix=/home/kursh/arm --enable-gold --enable-plugins
> --with-sysroot=/home/kursh/arms/sys-root
It seems you've configured binutils with gold...

> /home/kursh/arm/arm-unknown-linux-gnueabi/bin/ranlib ./libgcc_eh.a
> /home/kursh/arm/bin/arm-ld: error: libgcc/./_udivsi3_s.o: unsupported reloc
> 40 against local symbol
But gold for ARM is known to be incomplete/broken/WIP

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

More information about the llvm-dev mailing list