Output of arm-unknown-linux-uclibcgnueabi-as -version:
GNU assembler (GNU Binutils) 2.21
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `arm-unknown-linux-uclibcgnueabi'
Created attachment 23786
reduced testcase
Hello,
I tried to crosscompile openssl to arm and it stopped with the following error message:
{standard input}: Assembler messages:
{standard input}:113: Error: can't resolve `.LC4' {.rodata.str1.1 section} - `.LPIC4' {*UND* section}
This happens only if I try to compile the file with "-Os -fPIC".
/data/br- build/host/ usr/bin/ arm-unknown- linux-uclibcgnu eabi-gcc -fPIC -Os -c pkeyparam.out.i
Output of arm-unknown- linux-uclibcgnu eabi-gcc -v:
COLLECT_ GCC=/data/ br-build/ host/usr/ bin/arm- unknown- linux-uclibcgnu eabi-gcc LTO_WRAPPER= /data/br- build/host/ usr/libexec/ gcc/arm- unknown- linux-uclibcgnu eabi/4. 6.0/lto- wrapper linux-uclibcgnu eabi build/toolchain /gcc-4. 6.0/configure --prefix= /home/data/ br-build/ host/usr --build= x86_64- unknown- linux-gnu --host= x86_64- unknown- linux-gnu --target= arm-unknown- linux-uclibcgnu eabi --enable- languages= c --with- sysroot= /data/br- build/host/ usr/arm- unknown- linux-uclibcgnu eabi/sysroot --with- build-time- tools=/ data/br- build/host/ usr/arm- unknown- linux-uclibcgnu eabi/bin --disable- __cxa_atexit --enable- target- optspace --with-gnu-ld --disable-libssp --disable-multilib --disable-tls --enable-shared --with- gmp=/data/ br-build/ host/usr --with- mpfr=/data/ br-build/ host/usr --with- mpc=/data/ br-build/ host/usr --enable-threads --disable- decimal- float --with-float=soft --with- abi=aapcs- linux --with- pkgversion= 'Buildroot 2011.05-git-dirty' --with-bugurl=http:// bugs.buildroot. net/
COLLECT_
Target: arm-unknown-
Configured with: /data/br-
Thread model: posix
gcc version 4.6.0 (Buildroot 2011.05-git-dirty)
Output of arm-unknown- linux-uclibcgnu eabi-as -version:
GNU assembler (GNU Binutils) 2.21 linux-uclibcgnu eabi'
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `arm-unknown-
Regards,
Gerhard