Date: 14 Mar 2002 01:37:28 -0000 From: Peter van Dijk <peter@dataloss.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/35878: /usr/bin/strip resets ABI type to FreeBSD Message-ID: <20020314013728.97407.qmail@useful.dataloss.nl>
next in thread | raw e-mail | index | archive | help
>Number: 35878 >Category: gnu >Synopsis: /usr/bin/strip resets ABI type to FreeBSD >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 13 17:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Peter van Dijk >Release: FreeBSD 4.4-RELEASE-p4 i386 >Organization: - >Environment: System: FreeBSD useful.dataloss.nl 4.4-RELEASE-p4 FreeBSD 4.4-RELEASE-p4 #3: Fri Jan 25 01:34:19 CET 2002 root@useful.dataloss.nl:/home/usr2/obj/usr/src/sys/USEFUL i386 >Description: /usr/bin/strip resets the ABI type to FreeBSD when stripping a binary. >How-To-Repeat: (zone2sql is a statically compiled linux binary) bash$ file zone2sql zone2sql: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped bash$ strip zone2sql bash$ file zone2sql zone2sql: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped >Fix: workaround: brandelf -t Linux after stripping. proposed fix: preserve ABI type while stripping. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020314013728.97407.qmail>
