public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48308] New: crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section}
@ 2011-03-28  5:20 dev-gcc-20110327-b588 at gheift dot de
  2011-03-28  8:13 ` [Bug target/48308] " mikpe at it dot uu.se
                   ` (30 more replies)
  0 siblings, 31 replies; 32+ messages in thread
From: dev-gcc-20110327-b588 at gheift dot de @ 2011-03-28  5:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48308

           Summary: crosscompiling to arm fails with assembler: can't
                    resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4'
                    {*UND* section}
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dev-gcc-20110327-b588@gheift.de


Created attachment 23786
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=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-uclibcgnueabi-gcc -fPIC -Os -c
pkeyparam.out.i

Output of arm-unknown-linux-uclibcgnueabi-gcc -v:

COLLECT_GCC=/data/br-build/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
COLLECT_LTO_WRAPPER=/data/br-build/host/usr/libexec/gcc/arm-unknown-linux-uclibcgnueabi/4.6.0/lto-wrapper
Target: arm-unknown-linux-uclibcgnueabi
Configured with: /data/br-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-uclibcgnueabi
--enable-languages=c
--with-sysroot=/data/br-build/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot
--with-build-time-tools=/data/br-build/host/usr/arm-unknown-linux-uclibcgnueabi/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/
Thread model: posix
gcc version 4.6.0 (Buildroot 2011.05-git-dirty)

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'

Regards,
  Gerhard


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2013-04-05  8:32 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28  5:20 [Bug c/48308] New: crosscompiling to arm fails with assembler: can't resolve '.LC4' {.rodata.str1.1 section} - '.LPIC4' {*UND* section} dev-gcc-20110327-b588 at gheift dot de
2011-03-28  8:13 ` [Bug target/48308] " mikpe at it dot uu.se
2011-03-28 12:45 ` dev-gcc-20110327-b588 at gheift dot de
2011-03-28 13:21 ` mikpe at it dot uu.se
2011-03-28 23:43 ` mikpe at it dot uu.se
2011-03-28 23:54 ` mikpe at it dot uu.se
2011-03-29 15:44 ` ibolton at gcc dot gnu.org
2011-06-22 15:15 ` m.k.edwards at gmail dot com
2011-06-24  9:15 ` [Bug target/48308] [4.6 regression] " ramana at gcc dot gnu.org
2011-08-01 14:26 ` rguenth at gcc dot gnu.org
2011-08-17 20:51 ` [Bug target/48308] [4.6/4.7 Regression] " jsm28 at gcc dot gnu.org
2011-09-07  7:55 ` pinskia at gcc dot gnu.org
2011-09-07 10:56 ` ramana at gcc dot gnu.org
2011-09-13  6:32 ` ramana at gcc dot gnu.org
2011-10-26 17:55 ` jakub at gcc dot gnu.org
2011-11-02 11:39 ` madhu_k515 at yahoo dot co.in
2011-11-02 11:42 ` ramana at gcc dot gnu.org
2011-12-22 16:09 ` jakub at gcc dot gnu.org
2011-12-22 16:21 ` michael.hope at linaro dot org
2012-01-05 17:48 ` jakub at gcc dot gnu.org
2012-01-06 16:04 ` rearnsha at gcc dot gnu.org
2012-01-11 18:17 ` ramana at gcc dot gnu.org
2012-01-13  9:11 ` ramana at gcc dot gnu.org
2012-01-25  9:47 ` ramana at gcc dot gnu.org
2012-03-01 15:28 ` jakub at gcc dot gnu.org
2012-05-31  0:53 ` [Bug target/48308] [4.6/4.7/4.8 " breakpoint at runbox dot com
2012-12-31  9:56 ` pinskia at gcc dot gnu.org
2013-03-10  9:20 ` mh+gcc at glandium dot org
2013-03-13 20:55 ` [Bug target/48308] [4.6 " steven at gcc dot gnu.org
2013-03-22  8:29 ` sebastian.huber@embedded-brains.de
2013-03-22 10:00 ` ramana at gcc dot gnu.org
2013-04-05  8:32 ` ramana at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).