public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/17311] New: Wrong libgcc_s.so.1 is used by lt-gij
@ 2004-09-03 20:27 hjl at lucon dot org
  2004-09-03 20:46 ` [Bug libgcj/17311] " mckinlay at redhat dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 28+ messages in thread
From: hjl at lucon dot org @ 2004-09-03 20:27 UTC (permalink / raw)
  To: java-prs

libtool doesn't put the right path in lt-gij when building it to be used during
build:

# readelf -d ia64-unknown-linux-gnu/libjava/.libs/lt-gij

                                                                                
Dynamic section at offset 0x2460 contains 33 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libgcj.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6.1]
 0x0000000000000001 (NEEDED)             Shared library: [libunwind.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6.1]
 0x000000000000000f (RPATH)              Library rpath:
[/export/build/gnu/gcc-3.4-redhat/build-ia64-linux/ia64-unknown-linux-gnu/libjava/.libs:/usr/gcc-3.4-redhat/lib]
 0x000000000000000c (INIT)               0x4000000000000980
 0x000000000000000d (FINI)               0x4000000000001ac0
 0x0000000000000019 (INIT_ARRAY)         0x6000000000002418
 0x000000000000001b (INIT_ARRAYSZ)       24 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x6000000000002430
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x0000000000000004 (HASH)               0x4000000000000238
 0x0000000000000005 (STRTAB)             0x4000000000000560
 0x0000000000000006 (SYMTAB)             0x40000000000002f0
 0x000000000000000a (STRSZ)              584 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000070000000 (IA_64_PLT_RESERVE)  0x60000000000026c8 -- 0x60000000000026e0
 0x0000000000000003 (PLTGOT)             0x60000000000026c8
 0x0000000000000002 (PLTRELSZ)           264 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x4000000000000878
 0x0000000000000007 (RELA)               0x4000000000000800
 0x0000000000000008 (RELASZ)             120 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x40000000000007e0
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x40000000000007a8
 0x0000000000000000 (NULL)               0x0

The gcc build directory needs to be in DT_RPATH. Otherwise, the wrong
libgcc_s.so will be used.

-- 
           Summary: Wrong libgcc_s.so.1 is used by lt-gij
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <bug-17311-682@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-03-02  7:09 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-03 20:27 [Bug libgcj/17311] New: Wrong libgcc_s.so.1 is used by lt-gij hjl at lucon dot org
2004-09-03 20:46 ` [Bug libgcj/17311] " mckinlay at redhat dot com
2004-09-03 20:52 ` hjl at lucon dot org
2004-09-09  3:42 ` pinskia at gcc dot gnu dot org
2004-09-09 16:25 ` hjl at lucon dot org
2004-09-14 18:42 ` hjl at lucon dot org
2004-09-16  0:11 ` hjl at lucon dot org
2004-10-11 20:13 ` tromey at gcc dot gnu dot org
2004-10-11 20:32 ` hjl at lucon dot org
2004-10-11 20:49 ` tromey at gcc dot gnu dot org
2004-10-11 21:01 ` hjl at lucon dot org
2004-10-11 21:27 ` tromey at gcc dot gnu dot org
2004-10-12 19:52 ` hjl at lucon dot org
2005-08-17  3:12 ` pinskia at gcc dot gnu dot org
2005-08-17 18:06 ` hjl at lucon dot org
     [not found] <bug-17311-682@http.gcc.gnu.org/bugzilla/>
2006-02-06 18:24 ` Ralf dot Wildenhues at gmx dot de
2006-02-06 19:03 ` hjl at lucon dot org
2006-02-07  5:48 ` Ralf dot Wildenhues at gmx dot de
2006-02-07 16:16 ` hjl at lucon dot org
2006-02-07 16:28 ` Ralf dot Wildenhues at gmx dot de
2006-02-07 16:48 ` hjl at lucon dot org
2006-02-07 17:18 ` Ralf dot Wildenhues at gmx dot de
2006-02-07 17:25 ` hjl at lucon dot org
2006-02-07 17:43 ` Ralf dot Wildenhues at gmx dot de
2006-02-07 18:45 ` hjl at lucon dot org
2006-03-01 17:39 ` hjl at gcc dot gnu dot org
2006-03-01 17:42 ` hjl at lucon dot org
2006-03-02  7:09 ` Ralf dot Wildenhues at gmx dot de

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).