From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 09:10:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82B3A16A4CE for ; Sun, 4 Jul 2004 09:10:15 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 435E443D53 for ; Sun, 4 Jul 2004 09:10:15 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i649A9CZ024368; Sun, 4 Jul 2004 05:10:09 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8BBA854303; Sun, 4 Jul 2004 02:10:11 -0700 (PDT) Date: Sun, 4 Jul 2004 02:10:11 -0700 From: Kris Kennaway To: Scott Long Message-ID: <20040704091011.GA81143@xor.obsecurity.org> References: <20040704023714.GA73697@xor.obsecurity.org> <40E7B878.3070203@samsco.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <40E7B878.3070203@samsco.org> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org cc: Kris Kennaway Subject: Re: Odd linker errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 09:10:15 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 04, 2004 at 01:57:44AM -0600, Scott Long wrote: > Kris Kennaway wrote: > >A number of ports are starting to fail with errors like: > > > >net/clusterit: > > > > > >>cc -O -pipe -DCLUSTERS -o dsh dsh.o ../common/common.o > >>dsh.o(.text+0x86): In function `main': > >>: undefined reference to `malloc_options' > > >=20 > The addition of files/patch-dsh-dsh.c seems to be triggering this. > It appears to declare the 'malloc_options' symbol. Looking at stdlib.h, > the real name should be '_malloc_options' (and including stdlib.h is the > better way to get this declaration). This is also documented correctly > in the malloc(2) manpage. Ah, okay..I was checking 4.x's malloc(3), which says: char * malloc_options; > >net/mopd: > > > > > >>file.o(.text+0x623): In function `GetAOutFileInfo': > >>: undefined reference to `le32toh' > >>file.o(.text+0x63b): In function `GetAOutFileInfo': > >>: undefined reference to `le32toh' > > >=20 > I can't reproduce this here. However, netbooting a VAX probably isn't > a terribly common occurrance these days. I couldn't even find where it was calling le32toh. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA58lzWry0BWjoQKURAt9AAJ9oHQWqpcg3Qog5tj+Pt8jMzbctMwCgh9EM S2c3BxPYMlmOfDg5akf3AOI= =iN35 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--