Subject: port-alpha/5585: strip twice gives error on alpha
To: None <firstname.lastname@example.org>
From: Charlie Root <email@example.com>
Date: 06/14/1998 04:26:22
>Synopsis: strip twice gives error on alpha
>Responsible: gnats-admin (GNATS administrator)
>Arrival-Date: Sun Jun 14 04:20:01 1998
>Originator: Charlie Root
Tim Rightnour - firstname.lastname@example.org
>Release: 6-10-98<NetBSD-current source date>
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386
Attempted to build and install freeze. Build went just fine.. install gave
the following error:
===> Installing for freeze-2.5
install -c -s -o root -g wheel -m 555 freeze /usr/pkg/bin/freeze
strip: /usr/pkg/bin/freeze: section `.note': error in private data: Memory exhausted
install: stripping /usr/pkg/bin/freeze: No such file or directory
*** Error code 1
I manually compiled the freeze bin, and stripped it twice. It gave me the
same error. So I built a different bin:
rigel# file arc
arc: ELF 64-bit LSB executable, Alpha, version 1
rigel# strip arc
rigel# strip arc
strip: arc: section `.note': error in private data: Memory exhausted
Thats hosed. The freeze pkg strips binaries twice. Once during the build,
and once during the make install. Its effectively useless for it to do so,
however, on alpha, for some reason.. it breaks badly.
Strip something twice on an alpha.
/* $NetBSD: strip.c,v 1.19 1998/02/20 09:27:20 mycroft Exp $ */
Thats from today's sup. It doesn't appear to have been touched in awhile.
I certainly don't know enough about ELF object formats to even look at it
The workaround is the simple: well then, don't *do* that.