Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-19 Thread Aurelien Jarno
reassign 556951 libc6-dev
thanks

On Thu, Nov 19, 2009 at 05:41:24AM +0100, Aurelien Jarno wrote:
 On Wed, Nov 18, 2009 at 09:57:34PM -0600, Matthias Klose wrote:
  On 18.11.2009 21:43, Aurelien Jarno wrote:
  On Wed, Nov 18, 2009 at 07:58:47PM -0600, Matthias Klose wrote:
  I only see this when upgrading to current glibc in unstable; not with 
  testing.
 
 
  Could you be more precise with the versions? glibc in testing and
  unstable have the same version.
 
  sorry, no. it probably was -5, but I'm not sure.
 
 
 I have been able to reproduce the problem here, it seems to be due to
 the way crt*.o files are stripped. I have lost the .deb of -5, so I need
 to do a rebuild of eglibc for more investigation.
 

It is due to the use of --strip-unneeded when stripping .o objects. This
will be fixed in the next upload of eglibc.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-19 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 556951 libc6-dev
Bug #556951 [binutils] [binutils] objcopy fails with 'Invalid operation'
Bug reassigned from package 'binutils' to 'libc6-dev'.
Bug No longer marked as found in versions binutils/2.20-4.
 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-18 Thread Matthias Klose

On 18.11.2009 14:54, Peter Fritzsche wrote:

forwarded 556951 http://sourceware.org/bugzilla/show_bug.cgi?id=10982
thanks

Matthias Klose wrote:
[]

`debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_cl
ient': Invalid operation dh_strip: objcopy returned exit code 1

Is this a known problem with binutils-gold?


yes, I did see this as well recently.

Could it be that it is new with 2.20-3 or 2.20-4? I think I didn't saw that in
earlier version. I think I saw it the first time when compiling batctl - which
I compiled right after update of my Sources file. This was after the 11.
November.

I wanted to write a bug report right now but haven't a glue why it fails.

objcopy --only-keep-debug debian/batctl/usr/sbin/batctl 
debian/batctl-dbg/usr/lib/debug//usr/sbin/batctl

seems to work without any problems. The real problem is

objcopy --add-gnu-debuglink debian/batctl-dbg/usr/lib/debug//usr/sbin/batctl 
debian/batctl/usr/sbin/batctl

So a small test would be:

$ echo 'int main() { return 0; }'  test.c  \
  gcc -g3 test.c -o test  \
  objcopy --only-keep-debug test test.dbg  \
  objcopy --add-gnu-debuglink=./test.dbg test  echo cool it works
objcopy:stCdJOm4: cannot create debug link section `./test.dbg': Invalid 
operation

This works with the old linker, but not with binutils-gold

So I build the cvs version of the linker and objcopy and it is the same here.
So it is propably an upstream bug.


I only see this when upgrading to current glibc in unstable; not with testing.

  Matthias


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-18 Thread Aurelien Jarno
On Wed, Nov 18, 2009 at 07:58:47PM -0600, Matthias Klose wrote:
 On 18.11.2009 14:54, Peter Fritzsche wrote:
 forwarded 556951 http://sourceware.org/bugzilla/show_bug.cgi?id=10982
 thanks

 Matthias Klose wrote:
 []
 `debian/sauerbraten-dbg/usr/lib/debug//usr/lib/games/sauerbraten/sauer_cl
 ient': Invalid operation dh_strip: objcopy returned exit code 1

 Is this a known problem with binutils-gold?

 yes, I did see this as well recently.
 Could it be that it is new with 2.20-3 or 2.20-4? I think I didn't saw that 
 in
 earlier version. I think I saw it the first time when compiling batctl - 
 which
 I compiled right after update of my Sources file. This was after the 11.
 November.

 I wanted to write a bug report right now but haven't a glue why it fails.

 objcopy --only-keep-debug debian/batctl/usr/sbin/batctl 
 debian/batctl-dbg/usr/lib/debug//usr/sbin/batctl

 seems to work without any problems. The real problem is

 objcopy --add-gnu-debuglink debian/batctl-dbg/usr/lib/debug//usr/sbin/batctl 
 debian/batctl/usr/sbin/batctl

 So a small test would be:

 $ echo 'int main() { return 0; }'  test.c  \
   gcc -g3 test.c -o test  \
   objcopy --only-keep-debug test test.dbg  \
   objcopy --add-gnu-debuglink=./test.dbg test  echo cool it works
 objcopy:stCdJOm4: cannot create debug link section `./test.dbg': Invalid 
 operation

 This works with the old linker, but not with binutils-gold

 So I build the cvs version of the linker and objcopy and it is the same here.
 So it is propably an upstream bug.

 I only see this when upgrading to current glibc in unstable; not with testing.


Could you be more precise with the versions? glibc in testing and
unstable have the same version.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-18 Thread Matthias Klose

On 18.11.2009 21:43, Aurelien Jarno wrote:

On Wed, Nov 18, 2009 at 07:58:47PM -0600, Matthias Klose wrote:

I only see this when upgrading to current glibc in unstable; not with testing.



Could you be more precise with the versions? glibc in testing and
unstable have the same version.


sorry, no. it probably was -5, but I'm not sure.

  Matthias


--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Bug#556951: [binutils] objcopy fails with 'Invalid operation'

2009-11-18 Thread Aurelien Jarno
On Wed, Nov 18, 2009 at 09:57:34PM -0600, Matthias Klose wrote:
 On 18.11.2009 21:43, Aurelien Jarno wrote:
 On Wed, Nov 18, 2009 at 07:58:47PM -0600, Matthias Klose wrote:
 I only see this when upgrading to current glibc in unstable; not with 
 testing.


 Could you be more precise with the versions? glibc in testing and
 unstable have the same version.

 sorry, no. it probably was -5, but I'm not sure.


I have been able to reproduce the problem here, it seems to be due to
the way crt*.o files are stripped. I have lost the .deb of -5, so I need
to do a rebuild of eglibc for more investigation.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org