public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27922]  New: final link failed: Nonrepresentable section on output
@ 2006-06-06 19:42 kristoffer_e1 at hotmail dot com
  2006-06-06 23:31 ` [Bug target/27922] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kristoffer_e1 at hotmail dot com @ 2006-06-06 19:42 UTC (permalink / raw)
  To: gcc-bugs

Greetings,

Using OpenEmbedded (crosscompilation environment) to port applications from x86
to sh3 (SuperH arch). 

GCC
---
Using built-in specs.
Target: sh3-linux
Configured with:
/work/jlime/dev/donkey/6xx/build/tmp/work/i686-linux/gcc-cross-4.1.1-r2/gcc-4.1.1/configure
--build=i686-linux --host=i686-linux --target=sh3-linux
--prefix=/work/jlime/dev/donkey/6xx/build/tmp/cross
--exec_prefix=/work/jlime/dev/donkey/6xx/build/tmp/cross
--bindir=/work/jlime/dev/donkey/6xx/build/tmp/cross/bin
--sbindir=/work/jlime/dev/donkey/6xx/build/tmp/cross/bin
--libexecdir=/work/jlime/dev/donkey/6xx/build/tmp/cross/libexec
--datadir=/work/jlime/dev/donkey/6xx/build/tmp/cross/share
--sysconfdir=/work/jlime/dev/donkey/6xx/build/tmp/cross/etc
--sharedstatedir=/work/jlime/dev/donkey/6xx/build/tmp/cross/com
--localstatedir=/work/jlime/dev/donkey/6xx/build/tmp/cross/var
--libdir=/work/jlime/dev/donkey/6xx/build/tmp/cross/lib
--includedir=/work/jlime/dev/donkey/6xx/build/tmp/cross/include
--oldincludedir=/work/jlime/dev/donkey/6xx/build/tmp/cross/include
--infodir=/work/jlime/dev/donkey/6xx/build/tmp/cross/share/info
--mandir=/work/jlime/dev/donkey/6xx/build/tmp/cross/share/man --with-gnu-ld
--enable-shared --enable-target-optspace --enable-languages=c,c++,
--enable-threads=posix --enable-multilib --enable-c99 --enable-long-long
--enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=sh3-linux-
--with-local-prefix=/work/jlime/dev/donkey/6xx/build/tmp/cross/sh3-linux
--with-gxx-include-dir=/work/jlime/dev/donkey/6xx/build/tmp/cross/sh3-linux/include/c++
--enable-__cxa_atexit --disable-libssp
--with-mpfr=/work/jlime/dev/donkey/6xx/build/tmp/staging/i686-linux
Thread model: posix
gcc version 4.1.1

ld
Colossus bin # ./sh3-linux-ld -v
GNU ld version 2.15.94.0.1 20041121



Compilation
-----------
| sh3-linux-g++ -ml -m3
-isystem/work/jlime/dev/donkey/6xx/build/tmp/staging/sh3-linux/include -O2
-fpermissive -fno-exceptions -fno-rtti -nostdinc++ -fno-threadsafe-statics
-Wl,-rpath-link -Wl,/work/jlime/dev/donkey/6xx/build/tmp/staging/sh3-linux/lib
-Wl,-O1 -o kjs/.libs/testkjs testkjs.o cxx.o 
-L/work/jlime/dev/donkey/6xx/build/tmp/staging/sh3-linux/lib
kjs/.libs/libjscore.so
/work/jlime/dev/donkey/6xx/build/tmp/staging/sh3-linux/lib/libglib-2.0.so
-lpthread
|
/work/jlime/dev/donkey/6xx/build/tmp/cross/lib/gcc/sh3-linux/4.1.1/../../../../sh3-linux/bin/ld:
kjs/.libs/testkjs: hidden symbol `__udivsi3' in
/work/jlime/dev/donkey/6xx/build/tmp/cross/lib/gcc/sh3-linux/4.1.1/libgcc.a(_udivsi3.o)
is referenced by DSO
|
/work/jlime/dev/donkey/6xx/build/tmp/cross/lib/gcc/sh3-linux/4.1.1/../../../../sh3-linux/bin/ld:
final link failed: Nonrepresentable section on output
| collect2: ld returned 1 exit status
| make[2]: *** [kjs/testkjs] Error 1
| make[2]: Leaving directory
`/work/jlime/dev/donkey/6xx/build/tmp/work/sh3-linux/osb-jscore-0.5.0+cvs20060212-r0/JavaScriptCore'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/work/jlime/dev/donkey/6xx/build/tmp/work/sh3-linux/osb-jscore-0.5.0+cvs20060212-r0/JavaScriptCore'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/work/jlime/dev/donkey/6xx/build/tmp/work/sh3-linux/osb-jscore-0.5.0+cvs20060212-r0/temp/log.do_compile.32376
NOTE: package osb-jscore-0.5.0+cvs20060212-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package osb-jscore-0.5.0+cvs20060212: failed
ERROR: Build of osb-jscore failed


-- 
           Summary: final link failed: Nonrepresentable section on output
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kristoffer_e1 at hotmail dot com
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: sh3-linux


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


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

* [Bug target/27922] final link failed: Nonrepresentable section on output
  2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
@ 2006-06-06 23:31 ` pinskia at gcc dot gnu dot org
  2006-06-09  7:42 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-06 23:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-06-06 23:27 -------
First is how did you build the shared libraries libjscore.so and
libglib-2.0.so.
Second, 

kjs/.libs/testkjs: hidden symbol `__udivsi3' in
/work/jlime/dev/donkey/6xx/build/tmp/cross/lib/gcc/sh3-linux/4.1.1/libgcc.a(_udivsi3.o)
is referenced by DSO

usually means you built one of those shared libraries directly with ld instead
of invoking gcc.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target


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


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

* [Bug target/27922] final link failed: Nonrepresentable section on output
  2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
  2006-06-06 23:31 ` [Bug target/27922] " pinskia at gcc dot gnu dot org
@ 2006-06-09  7:42 ` pinskia at gcc dot gnu dot org
  2006-07-06 18:34 ` kristoffer_e1 at hotmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-09  7:42 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/27922] final link failed: Nonrepresentable section on output
  2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
  2006-06-06 23:31 ` [Bug target/27922] " pinskia at gcc dot gnu dot org
  2006-06-09  7:42 ` pinskia at gcc dot gnu dot org
@ 2006-07-06 18:34 ` kristoffer_e1 at hotmail dot com
  2006-09-14  0:57 ` kkojima at gcc dot gnu dot org
  2006-09-14  1:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: kristoffer_e1 at hotmail dot com @ 2006-07-06 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from kristoffer_e1 at hotmail dot com  2006-07-06 18:34 -------
Created an attachment (id=11846)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11846&action=view)
Log of osb-jscore build


-- 


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


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

* [Bug target/27922] final link failed: Nonrepresentable section on output
  2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
                   ` (2 preceding siblings ...)
  2006-07-06 18:34 ` kristoffer_e1 at hotmail dot com
@ 2006-09-14  0:57 ` kkojima at gcc dot gnu dot org
  2006-09-14  1:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-09-14  0:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from kkojima at gcc dot gnu dot org  2006-09-14 00:57 -------
This is an osb-jscore problem, not a gcc problem.  osb-jscore uses
aclocal.m4 which looks made from the old libtool.m4 and doesn't set
lt_cv_deplibs_check_method to pass_all for sh*-*-linux-gnu targets.


-- 


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


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

* [Bug target/27922] final link failed: Nonrepresentable section on output
  2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
                   ` (3 preceding siblings ...)
  2006-09-14  0:57 ` kkojima at gcc dot gnu dot org
@ 2006-09-14  1:16 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-14  1:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-09-14 01:16 -------
Closing as invalid then, not a GCC bug.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2006-09-14  1:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06 19:42 [Bug c++/27922] New: final link failed: Nonrepresentable section on output kristoffer_e1 at hotmail dot com
2006-06-06 23:31 ` [Bug target/27922] " pinskia at gcc dot gnu dot org
2006-06-09  7:42 ` pinskia at gcc dot gnu dot org
2006-07-06 18:34 ` kristoffer_e1 at hotmail dot com
2006-09-14  0:57 ` kkojima at gcc dot gnu dot org
2006-09-14  1:16 ` pinskia at gcc dot gnu dot 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).