bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with strip (binutils-2.11.2)


From: Beat Mueller
Subject: Re: Problem with strip (binutils-2.11.2)
Date: Wed, 10 Oct 2001 09:59:49 +0200 (MET DST)

Hi Nick

>   [I have restored the CC to the bug-binutils list.  Other people
>    should be given a chance to see this conversation.]

oops...

>
> > I used GNU-strip 2.11.2 (i. e. the most recent one). Since I have
> > written you the first time I upgraded from gcc 2.95.2 to 3.0.1, but
> > the problem persists.
>
> Hmmm.  Do you have FTP or web access ?  If so, you might like to try
> downloading the latest CVS snapshot and see if that fixes the problem.

I downloaded binutils-011009.tar.bz2 and compiled it with gcc 3.0.1.
The results when stripping 'strings' from the same package are still
the same:

13c13
<   Start of section headers:          462348 (bytes into file)
---
>   Start of section headers:          443972 (bytes into file)
25c25
<   [ 1] .interp           PROGBITS        000100d4 0700d4 000011 00   A  0   0 
 1
---
>   [ 1] .interp           PROGBITS        000100d4 0000d4 000011 00   A  0   0 
>  1
29c29
<   [ 5] .SUNW_version     PROGBITS        00017014 007014 000020 00   A  0   1 
 4
---
>   [ 5] .SUNW_version     VERNEED         00017014 007014 000020 00   A  4   1 
>  4
45,46c45,46
<   [21] .comment          PROGBITS        00000000 0700e5 000c66 00      0   0 
 1
<   [22] .shstrtab         STRTAB          00000000 070d4b 0000be 00      0   0 
 1
---
>   [21] .comment          PROGBITS        00000000 06b8f4 000c66 00      0   0 
>  1
>   [22] .shstrtab         STRTAB          00000000 06c55a 0000e8 00      0   0 
>  1
54,59c54,59
<   PHDR           0x000034 0x00010034 0x00000000 0x000a0 0x000a0 R E 0x4
<   INTERP         0x000000 0x000100d4 0x000100d4 0x00011 0x00011 R   0x1
<       [Requesting program interpreter: ELF`a`]
<   LOAD           0x000000 0x00010000 0x00010014 0x6b357 0x6b357 R E 0x10000
<   LOAD           0x06b358 0x0008b358 0x0008b358 0x0059c 0x009a0 RWE 0x10000
<   DYNAMIC        0x06b70c 0x0008b70c 0x0008b70c 0x000b0 0x000b0 RWE 0x4
---
>   PHDR           0x000034 0x00010034 0x00000000 0x000a0 0x000a0 R E 0
>   INTERP         0x0000d4 0x00000000 0x00000000 0x00011 0x00000 R   0
>       [Requesting program interpreter: /usr/lib/ld.so.1]
>   LOAD           0x000000 0x00010000 0x00000000 0x6b357 0x6b357 R E 0x10000
>   LOAD           0x06b358 0x0008b358 0x00000000 0x0059c 0x009a0 RWE 0x10000
>   DYNAMIC        0x06b70c 0x0008b70c 0x00000000 0x000b0 0x00000 RWE 0
64c64
<    01     .interp
---
>    01
67c67
<    04     .dynamic
---
>    04
846c846,849
< No version information found in this file.
---
> Version needs section '.SUNW_version' contains 1 entries:
>  Addr: 0x0000000000017014  Offset: 0x007014  Link to section: 4 (.dynstr)
>   000000: Version: 1  File: libc.so.1  Cnt: 1
>   0x0010: Name: SUNW_1.1  Flags: none  Version: 0

> Ok, so one more questions.  Did you use any command line switches
> when you invoked strip on string ?

No, just a plain 'strip'.

To be sure I recompiled the whole distribution with Solaris cc (Workshop cc 5.0)
but nothing changes... I checked the patches on my Solaris box but it is quite
well patched and considering that strip fails with cc and gcc I suspect that
something with the source could be wrong.

Cheers & have a nice day
Beat
--
Beat Müller
Institut für Elektronik
ETH Zürich - Schweiz
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]