From owner-freebsd-current@FreeBSD.ORG Tue Jun 7 07:58:44 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 DDB5E16A41C; Tue, 7 Jun 2005 07:58:44 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DDFD43D48; Tue, 7 Jun 2005 07:58:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j577wgIb061125; Tue, 7 Jun 2005 10:58:42 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 53712-15; Tue, 7 Jun 2005 10:58:41 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j577wfNS061122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jun 2005 10:58:41 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j577x8LY031138; Tue, 7 Jun 2005 10:59:08 +0300 (EEST) (envelope-from ru) Date: Tue, 7 Jun 2005 10:59:08 +0300 From: Ruslan Ermilov To: Dag-Erling Smorgrav Message-ID: <20050607075908.GG30490@ip.net.ua> References: <20050607030750.0375D7306E@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iAL9S67WQOXgEPD9" Content-Disposition: inline In-Reply-To: <20050607030750.0375D7306E@freebsd-current.sentex.ca> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: amd64@FreeBSD.org, current@FreeBSD.org Subject: Re: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 07 Jun 2005 07:58:45 -0000 --iAL9S67WQOXgEPD9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi DES, I'm getting exactly the same failure failure when compiling on amd64. You cannot just link .a with the shared objects on amd64. I suggest that you revert your changes which made libssh an internal library, as it causes more pain than a gain. (I've been experimenting with various patches that fix-up now redundant dependencies after you made libssh an internal lib when I was caught by this.) Another option is to build a special PIC library, and use it to compile pam_ssh.so. You decide if you want it the hard way or not. :-) On Mon, Jun 06, 2005 at 11:07:50PM -0400, FreeBSD Tinderbox wrote: > TB --- 2005-06-07 02:32:25 - tinderbox 2.3 running on freebsd-current.sen= tex.ca > TB --- 2005-06-07 02:32:25 - starting CURRENT tinderbox run for amd64/amd= 64 > TB --- 2005-06-07 02:32:25 - cleaning the object tree > TB --- 2005-06-07 02:32:59 - checking out the source tree > TB --- 2005-06-07 02:32:59 - cd /home/tinderbox/CURRENT/amd64/amd64 > TB --- 2005-06-07 02:32:59 - /usr/bin/cvs -f -R -q -d/home/ncvs update -P= d -A src > TB --- 2005-06-07 02:39:07 - building world (CFLAGS=3D-O2 -pipe) > TB --- 2005-06-07 02:39:07 - cd /home/tinderbox/CURRENT/amd64/amd64/src > TB --- 2005-06-07 02:39:07 - /usr/bin/make -B buildworld > >>> Building an up-to-date make(1) > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > [...] > =3D=3D=3D> lib/libpam/modules/pam_self (all) > cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam= /modules/pam_self/../../../../contrib/openpam/include -I/tinderbox/CURRENT/= amd64/amd64/src/lib/libpam/modules/pam_self/../../libpam -Wsystem-headers -= Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -= Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strin= gs -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wno-uninitialized -c = /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_self/pam_self.c -= o pam_self.So > building shared library pam_self.so.2 > =3D=3D=3D> lib/libpam/modules/pam_ssh (all) > cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/amd64/amd64/src/lib/libpam= /modules/pam_ssh/../../../../crypto/openssh -I/tinderbox/CURRENT/amd64/amd6= 4/src/lib/libpam/modules/pam_ssh/../../../../contrib/openpam/include -I/tin= derbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../libpam -c = /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/pam_ssh.c -o = pam_ssh.So > building shared library pam_ssh.so.2 > /home/tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd= 64/src/tmp/usr/bin/ld: /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/C= URRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh/../../../../secure/lib/li= bssh/libssh.a(authfile.o): relocation R_X86_64_32 can not be used when maki= ng a shared object; recompile with -fPIC > /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/sr= c/lib/libpam/modules/pam_ssh/../../../../secure/lib/libssh/libssh.a: could = not read symbols: Bad value > *** Error code 1 >=20 > Stop in /tinderbox/CURRENT/amd64/amd64/src/lib/libpam/modules/pam_ssh. > *** Error code 1 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --iAL9S67WQOXgEPD9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpVPMqRfpzJluFF4RAtAVAKCAW51s2mni+m8DGB7wu3YnukvgKwCfRJSy 50SeX7ZrQ7FKqFqWBYL4xQQ= =Zeit -----END PGP SIGNATURE----- --iAL9S67WQOXgEPD9--