armel FTBFS with gcc 4.5 org 4.6 O2 and fPIC
Bug #836588 reported by
Jani Monoses
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Medium
|
Ramana Radhakrishnan | ||
4.6 |
Fix Released
|
Medium
|
Ramana Radhakrishnan | ||
gcc |
Fix Released
|
Medium
|
|||
gcc-4.5 (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
gcc-4.6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
gmime2.4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A reference to an inexistent label in the asm file causes FTBFS.
Using -O1 or dropping -fPIC works fine, so does gcc-4.4 with O2 and fPIC on.
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../util -DGMIME_
/tmp/ccDqUYcb.s: Assembler messages:
/tmp/ccDqUYcb.
Changed in gcc-4.5 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gcc-4.6 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Invalid |
Changed in gcc: | |
importance: | Medium → Unknown |
status: | Invalid → Unknown |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
Changed in gcc-linaro: | |
status: | Triaged → In Progress |
no longer affects: | gcc |
no longer affects: | gmime |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
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