From owner-freebsd-ports Thu Jul 19 4:49:34 2001 Delivered-To: freebsd-ports@freebsd.org Received: from smtp3.port.ru (mx3.port.ru [194.67.23.37]) by hub.freebsd.org (Postfix) with ESMTP id 03B3F37B401; Thu, 19 Jul 2001 04:49:28 -0700 (PDT) (envelope-from kabaev@mail.ru) Received: from adsl-141-154-21-243.bostma.adsl.bellatlantic.net ([141.154.21.243] helo=kan.dnsalias.net) by smtp3.port.ru with esmtp (Exim 3.14 #1) id 15NCIt-000A3X-00; Thu, 19 Jul 2001 15:49:16 +0400 Received: (from kan@localhost) by kan.dnsalias.net (8.11.4/8.11.4) id f6JBmds03743; Thu, 19 Jul 2001 07:48:39 -0400 (EDT) (envelope-from kan) Message-ID: X-Mailer: XFMail 1.4.7p2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010719175717.A22035@zeus.theinternet.com.au> Date: Thu, 19 Jul 2001 07:48:38 -0400 (EDT) Reply-To: ak03@gte.com From: Alexander Kabaev To: Andrew Kenneth Milton Subject: Re: netpbm broken on current crtn.o new binutils ? Cc: ports@FreeBSD.ORG, current@FreeBSD.ORG, Manfred Antar Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I did not test this myself, but adding -lz to the LFDLAGS in pnmtopng linking command or removing bogus empty -L before existing -lz switch might help to work around the problem. The bug is triggered by the code in ld which tries to determine what other shared libraries binary should depend on in addition to ones specified on the linker command line. If one specifies all the libraries explicitly on whe command line when linking a binary, the buggy code section should be skipped and the problem should disappear. On 19-Jul-2001 Andrew Kenneth Milton wrote: > +-------[ Andrew Kenneth Milton ]---------------------- >| +-------[ Manfred Antar ]---------------------- >| | The port netpbm builds and installs fine on current. >| | When trying to build the docs in /usr/docs the program peps calls >| | /usr/local/bin/pnmtopng >| | This is from the netpbm port. >| >| I don't think it's isolated to netpbm... trying to build the latest >| xawtv (not from ports)... > > I rebuilt libpng and libxpm from ports and I can link... > perhaps rebuild some older libs in the ldd list. > > -- > Totally Holistic Enterprises Internet| | Andrew Milton > The Internet (Aust) Pty Ltd | | > ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon > PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message ---------------------------------- E-Mail: Alexander Kabaev Date: 19-Jul-2001 Time: 07:37:04 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message