NetBSD-Bugs archive

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

bin/47954: readelf sees corrupt notes in evbarm libraries



>Number:         47954
>Category:       bin
>Synopsis:       readelf sees corrupt notes in evbarm libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 23 05:10:00 +0000 2013
>Originator:     Michael van Elst
>Release:        NetBSD 6.99.19
>Organization:
        
>Environment:
        
        
System: NetBSD twitty 6.99.19 NetBSD 6.99.19 (TWITTY) #1: Wed May 22 19:52:07 
CEST 2013 
mlelstv@pussyfoot:/home/netbsd-current/obj.evbarm/home/netbsd-current/src/sys/arch/evbarm/compile/TWITTY
 evbarm
Architecture: earm
Machine: evbarm
>Description:
When you use readelf to dump the sections of a shared library compiled
for evbarm with either old or EABI, it prints warnings:

readelf: Warning: corrupt note found at offset 18 into core notes
readelf: Warning:  type: 0, namesize: 00000000, descsize: 00000000
readelf: Warning: corrupt note found at offset 20 into core notes
readelf: Warning:  type: 0, namesize: 00000000, descsize: 00000000

This is either a problem in the linker or readelf being too picky.

You can copy the library to another system, for example netbsd-6/i386,
and readelf there will show the same warnings.

>How-To-Repeat:
readelf -a /lib/libc.so >/dev/null
>Fix:
        


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index