linux-mips-fnet
[Top] [All Lists]

Re: Cobalt Qube / Egcs?

To: ralf@uni-koblenz.de
Subject: Re: Cobalt Qube / Egcs?
From: Greg <damin@cleveland.lug.net>
Date: Tue, 17 Nov 1998 23:58:47 -0500 (EST)
Cc: linux-mips@fnet.fr
In-reply-to: <19981117103820.T1517@uni-koblenz.de>

On Tue, 17 Nov 1998 ralf@uni-koblenz.de wrote:

> On Mon, Nov 16, 1998 at 05:27:02PM -0500, Greg wrote:
> 
> > /usr/lib/libbfd.so.2.8.1: undefined symbol: __ucmpdi2
> 
> This means that the old libbfd.so apparently has been linked against a
> dynamic libgcc, a corrupt libgcc or maybe not linked against libgcc at
> all.  If you're still using Cobalt's development tools - this might also
> be the result of a modification - not bug - of their development environment.
> In any case that report is the first of it's kind.

[root@acct /root]# rpm --verify binutils-2.8.1-1C1
[root@acct /root]#

If it's corrupt, the RPM database doesn't think so. And yes, I haven't
modified the Compiler tools or anything from the stock Qube distribution.

> Which compiler did you use?  Did you upgrade it?  Since the kernel of the
> Qube is 2.0 based it's a bad idea to use the unmodified srpm from sgi.com.

[root@acct /root]# rpm -qva | grep cc
gcc-2.7.2-C1
gcc-c++-2.7.2-C1
gcc-objc-2.7.2-C1
[root@acct /root]# rpm -qi gcc
Name        : gcc                         Distribution: (none)
Version     : 2.7.2                             Vendor: (none)
Release     : C1                            Build Date: Wed Mar 25 23:39:59 1998
Install date: Wed Jul  1 22:09:07 1998      Build Host: elan
Group       : Development/Languages         Source RPM: gcc-2.7.2-C1.src.rpm
Size        : 10176944                         License: GPL
Summary     : GNU C Compiler
Description :
The GNU C compiler -- a full featured ANSI C compiler, with support
for K&R C as well. GCC provides many levels of source code error
checking tradionaly provided by other tools (such as lint), produces
debugging information, and can perform many different optimizations to
the resulting object code. This contains the back end for C++ and
Objective C compilers as well.
 
> Actually the binutils' installation command sequence is buggy as well,
> they should use LD_LIBRARY_PATH but don't if I haven't missed anything ...
> 
> Could you run
> 
>   objdump --private-headers /usr/bin/ranlib
>   objdump --private-headers /usr/lib/libbfd.so
> 
> and send me the output?

/usr/bin/ranlib:     file format elf32-littlemips

Program Header:
    PHDR off    0x0000000000000034 vaddr 0x0000000000400034 paddr 
0x0000000000400034 align 2**2
         filesz 0x00000000000000c0 memsz 0x00000000000000c0 flags r-x
  INTERP off    0x0000000000000114 vaddr 0x0000000000400114 paddr 
0x0000000000400114 align 2**0
         filesz 0x000000000000000d memsz 0x000000000000000d flags r--
0x70000000 off    0x0000000000000130 vaddr 0x0000000000400130 paddr 
0x0000000000400130 align 2**4
         filesz 0x0000000000000018 memsz 0x0000000000000018 flags r--
    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 
0x0000000000400000 align 2**12
         filesz 0x000000000000d34c memsz 0x000000000000d34c flags r-x
    LOAD off    0x000000000000d350 vaddr 0x000000001000d350 paddr 
0x000000001000d350 align 2**12
         filesz 0x0000000000000394 memsz 0x0000000000000610 flags rw-
 DYNAMIC off    0x0000000000000150 vaddr 0x0000000000400150 paddr 
0x0000000000400150 align 2**4
         filesz 0x00000000000017b7 memsz 0x00000000000017b7 flags r--

Dynamic Section:
  NEEDED      libbfd.so.2.8.1
  NEEDED      libc.so.6
  NEEDED      ld.so.1
  RPATH       /usr/lib
  INIT        0x403680
  FINI        0x40d320
  HASH        0x401460
  STRTAB      0x400230
  SYMTAB      0x4009d0
  STRSZ       0x797
  SYMENT      0x10
  0x70000016  0x1000d430
  PLTGOT      0x1000d440
  REL         0x0
  RELSZ       0x0
  RELENT      0x8
  0x7000000b  0x0
  0x70000010  0x0
  0x70000001  0x1
  0x70000005  0x2
  0x70000006  0x400000
  0x7000000a  0x7
  0x70000011  0xa9
  0x70000012  0x9
  0x70000013  0x9
  0x70000014  0x5

/usr/lib/libbfd.so:     file format elf32-littlemips

Program Header:
0x70000000 off    0x00000000000000e0 vaddr 0x000000005ffe00e0 paddr 
0x000000005ffe00e0 align 2**4
         filesz 0x0000000000000018 memsz 0x0000000000000018 flags r--
    LOAD off    0x0000000000000000 vaddr 0x000000005ffe0000 paddr 
0x000000005ffe0000 align 2**12
         filesz 0x0000000000097a3c memsz 0x0000000000097a3c flags r-x
    LOAD off    0x0000000000097a40 vaddr 0x0000000060087a40 paddr 
0x0000000060087a40 align 2**12
         filesz 0x00000000000049e4 memsz 0x0000000000005338 flags rw-
 DYNAMIC off    0x0000000000000100 vaddr 0x000000005ffe0100 paddr 
0x000000005ffe0100 align 2**4
         filesz 0x000000000000602f memsz 0x000000000000602f flags r--
0x70000001 off    0x0000000000000000 vaddr 0x0000000000000000 paddr 
0x0000000000000000 align 2**12
         filesz 0x0000000000000000 memsz 0x000000000000b9c0 flags r--

Dynamic Section:
  SONAME      libbfd.so.2.8.1
  INIT        0x5ffee7c0
  FINI        0x60077a10
  HASH        0x5ffe50b0
  STRTAB      0x5ffe01c0
  SYMTAB      0x5ffe2f40
  STRSZ       0x2d77
  SYMENT      0x10
  TEXTREL     0x0
  PLTGOT      0x6008bbc0
  REL         0x5ffeb1a0
  RELSZ       0x3620
  RELENT      0x8
  0x7000000b  0x0
  0x70000010  0x0
  0x70000001  0x1
  0x70000005  0x2
  0x70000006  0x5ffe0000
  0x7000000a  0x10
  0x70000011  0x217
  0x70000012  0x9
  0x70000013  0x10
  0x70000014  0xe



<Prev in Thread] Current Thread [Next in Thread>