From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 19 15:10:09 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B02B816A4CE for ; Fri, 19 Mar 2004 15:10:09 -0800 (PST) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C815E43D2F for ; Fri, 19 Mar 2004 15:10:08 -0800 (PST) (envelope-from adridg@cs.kun.nl) Received: from odin.cs.kun.nl [131.174.33.33] (helo=localhost) by pandora.cs.kun.nl (8.12.10/3.67) with ESMTP id i2JNA7Jx018006 for ; Sat, 20 Mar 2004 00:10:07 +0100 (MET) From: Adriaan de Groot To: freebsd-amd64@freebsd.org Date: Sat, 20 Mar 2004 00:10:01 +0100 User-Agent: KMail/1.6.51 References: <200403192053.55584.adridg@cs.kun.nl> <20040319214512.GA54549@dragon.nuxi.com> In-Reply-To: <20040319214512.GA54549@dragon.nuxi.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200403200010.07287.adridg@cs.kun.nl> Subject: Re: A different buildworld failure X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 23:10:09 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 19 March 2004 22:45, David O'Brien wrote: > On Fri, Mar 19, 2004 at 08:53:50PM +0100, Adriaan de Groot wrote: > > that, and lots of other similar messages. Any ideas what's going on > > there? I don't _think_ I'm saving any weird bits of the old world - I do > > run cleanworld before makeworld. > > You're linking in two objects that define the same symbol. Maybe you > have old libs laying around, maybe you did a 'make -DNOCLEAN'. You've Well I can see _that_. I'll have to experiment a little, perhaps having=20 CFLAGS=3D-g -fPIC in make.conf isn't such a bright idea - other than that, = rm=20 =2D -rf /usr/obj ; make cleanworld buildworld keeps on giving up at this sa= me=20 place. > seen the tenderbox builds don't have this problem, nor do I on 3 > different machines. Well, that assumes the tinderboxes get far enough to try to _build_ pam.=20 Anyway, let's not quibble on a friday night. I can see that several of the= =20 pam modules in contrib/openpam/modules contain pam_sm_chauthtok: /pam_deny/pam_deny.c:pam_sm_chauthtok(pam_handle_t *pamh, int flags, =2E/pam_permit/pam_permit.c:pam_sm_chauthtok(pam_handle_t *pamh, int flags, =2E/pam_unix/pam_unix.c:pam_sm_chauthtok(pam_handle_t *pamh, int flags, after which in openpam/lib/ it tries to link everything together in a stati= c=20 lib: ld -o openpam_static_modules.o -r --whole-archive=20 openpam_static.o ../modules/pam_chroot/libpam_chroot.a ../modules/pam_deny/= libpam_deny.a ../modules/pam_echo/libpam_echo.a ../modules/pam_exec/libpam_= exec.a ../modules/pam_ftpusers/libpam_ftpusers.a ../modules/pam_group/libpa= m_group.a ../modules/pam_guest/libpam_guest.a ../modules/pam_krb5/libpam_kr= b5.a ../modules/pam_ksu/libpam_ksu.a ../modules/pam_lastlog/libpam_lastlog.= a ../modules/pam_login_access/libpam_login_access.a ../modules/pam_nologin/= libpam_nologin.a ../modules/pam_opie/libpam_opie.a ../modules/pam_opieacces= s/libpam_opieaccess.a ../modules/pam_passwdqc/libpam_passwdqc.a ../modules/= pam_permit/libpam_permit.a ../modules/pam_radius/libpam_radius.a ../modules= /pam_rhosts/libpam_rhosts.a ../modules/pam_rootok/libpam_rootok.a ../module= s/pam_securetty/libpam_securetty.a ../modules/pam_self/libpam_self.a ../mod= ules/pam_ssh/libpam_ssh.a ../modules/pam_tacplus/libpam_tacplus.a ../module= s/pam_unix/libpam_unix.a which of course pulls in those multiple definitions.=20 > Probably not. The amd64 GENERIC is kept fairly in sync with the i386 > one. I'm guessing the i386 GENERIC doesn't have 'ucom' eihter. Indeed, none of them have ucom. Weird. =2D --=20 pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot Would you like a freem? =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAW33PdqzuAf6io/4RAmv8AJ9NxbB2Gl/8VIByBLP0ruqIzZOzNwCfUw8e enmxXc7sj74OZlAu/eHkTjc=3D =3Dpg1u =2D----END PGP SIGNATURE-----