This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

binutils-2.9.* on hppa-1.1-hpux10.20 (fwd)


From gcc@sunburst.rose.hp.com  Wed Jul 28 10:37:56 1999
Return-Path: <gcc@sunburst.rose.hp.com>
Delivered-To: hjl@lucon.org
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ocean.lucon.org (Postfix) with ESMTP id 715CE57B9
	for <hjl@lucon.org>; Wed, 28 Jul 1999 10:37:55 -0700 (PDT)
Received: from sunburst.rose.hp.com (sunburst.rose.hp.com [15.43.208.47])
	by atlrel2.hp.com (8.8.6 (PHNE_17135)/8.8.5tis) with ESMTP id NAA23368
	for <hjl@lucon.org>; Wed, 28 Jul 1999 13:37:16 -0400 (EDT)
Received: from localhost (gcc@localhost) by sunburst.rose.hp.com with ESMTP (8.8.6 (PHNE_14041)/8.7.1) id KAA22556 for <hjl@lucon.org>; Wed, 28 Jul 1999 10:33:50 -0700 (PDT)
Date: Wed, 28 Jul 1999 10:33:49 -0700 (PDT)
From: Gcc <gcc@sunburst.rose.hp.com>
To: hjl@lucon.org
Subject: binutils-2.9.* on hppa-1.1-hpux10.20
Message-ID: <Pine.HPX.4.10.9907281026310.19283-100000@sunburst.rose.hp.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Mr. Lu,
	Hi!  I have a problem to report with binutil-2.9's
strip on hppa-1.1-hpux10.20.  It seems to destory
shared libraries, it's alright for executables.

sunburst$ uname -a
HP-UX sunburst B.10.20 C 9000/778 2005197566 32-user license
sunburst$ ls -al /usr/lib/libfcman.sl
-rwxr-xr-x   1 bin        bin        1685493 Jul 28 10:25 /usr/lib/libfcman.sl
sunburst$ chatr FCInstall
 ---snipped---
         shared library list:
             dynamic   /usr/lib/libfcman.sl
             dynamic   /usr/lib/libfcman1.sl
             dynamic   /usr/lib/libstd.1
 ---snipped---
sunburst$ ./FCInstall
Fibre Channel Manager 3.0: [Hewlett-Packard Unix]
Installation Program
sunburst$ /usr/local/bin/strip -V
GNU strip 2.9.5
Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
sunburst$ /usr/ccs/bin/strip /usr/lib/libfcman.sl <--- use native
sunburst$ ./FCInstall
Fibre Channel Manager 3.0: [Hewlett-Packard Unix]
Installation Program
sunburst$ /usr/local/bin/strip /usr/lib/libfcman.sl <-- use binutil's
sunburst$ ./FCInstall
Memory fault(coredump)


This can easily be produced with by stripping any other program's
shared libraries. I am pretty sure this bug existed in 2.9.1 series too.
In programs like eggdrop which it dynamic loads stripped shared library,
it hangs.

Thanks,
Sammy Yu








-- 
H.J. Lu (hjl@gnu.org)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]