NetBSD Problem Report #47954
From mlelstv@serpens.de Sun Jun 23 05:05:54 2013
Return-Path: <mlelstv@serpens.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 93936715B8
for <gnats-bugs@gnats.NetBSD.org>; Sun, 23 Jun 2013 05:05:54 +0000 (UTC)
Message-Id: <201306230505.r5N55XVO027187@serpens.de>
Date: Sun, 23 Jun 2013 07:05:35 +0200 (MEST)
From: mlelstv@serpens.de
Reply-To: mlelstv@serpens.de
To: gnats-bugs@NetBSD.org
Subject: readelf sees corrupt notes in evbarm libraries
X-Send-Pr-Version: 3.95
>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:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.