[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to use objcopy on AIX
From: |
Tristan Gingold |
Subject: |
Re: Unable to use objcopy on AIX |
Date: |
Thu, 18 Nov 2010 16:34:59 +0100 |
> I was trying to use the objcopy with following arguments to copy the debug
> information to another file..
> bash-3.2#./objcopy --only-keep-debug testvolumeinfocollector
> testvolumeinfocollector.dbg
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `volumeinfocollector/unix/volumeinfocollectorinfo.h'
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `volumeinfocollector/unix/volumeinfocollectorinfo.h'
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.4/include/c++/bits/stl_tree.h'
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.4/include/c++/bits/stl_tree.h'
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `volumeinfocollector/unix/volumeinfocollectorinfo.h'
> BFD: testvolumeinfocollector: Unrecognized storage class 0 for *ABS* symbol
> `volumeinfocollector/unix/volumeinfocollectorinfo.h'
This slightly rings a bell. IIRC, gcc could generates buggy stabs entries that
creates this kinds of errors.
>
> I want to know following things like.
> 1. Is objcopy is supported on AIX platform to the fullest exetent?
> 2. If I want to strip the debug information to a seperate file does AIX has
> any native command? I have seen strip command that comes along with AIX, but
> the stripped symbols cannot be stored in a seperate file. I need the symbol
> information in seperate file because i need to attach the symbols while
> debugging the application in case of any problems.
Which debugger do you plan to use to do that ? I am not sure you could
generate a separate file on XCOFF.
Tristan.