From owner-freebsd-current@FreeBSD.ORG Wed Jan 11 14:28:36 2006 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 18DCE16A420; Wed, 11 Jan 2006 14:28:36 +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 A8A3443D7E; Wed, 11 Jan 2006 14:28:10 +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 k0BERkCl056162; Wed, 11 Jan 2006 16:27:46 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 30253-01; Wed, 11 Jan 2006 16:27:42 +0200 (EET) 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 k0BEN03U055930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2006 16:23:01 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k0BEN35C035869; Wed, 11 Jan 2006 16:23:03 +0200 (EET) (envelope-from ru) Date: Wed, 11 Jan 2006 16:23:02 +0200 From: Ruslan Ermilov To: Harti Brandt , Peter Wemm , Poul-Henning Kamp Message-ID: <20060111142302.GA34661@ip.net.ua> References: <20060111073859.457C37302F@freebsd-current.sentex.ca> <20060111090039.N760@beagle.kn.op.dlr.de> <200601110853.19622.jhb@freebsd.org> <20060111150808.P760@beagle.kn.op.dlr.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <20060111150808.P760@beagle.kn.op.dlr.de> 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: [head 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: Wed, 11 Jan 2006 14:28:36 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 11, 2006 at 03:08:58PM +0100, Harti Brandt wrote: > On Wed, 11 Jan 2006, John Baldwin wrote: >=20 > JB>On Wednesday 11 January 2006 03:03 am, Harti Brandt wrote: > JB>> On Wed, 11 Jan 2006, FreeBSD Tinderbox wrote: > JB>> > JB>> FT>TB --- 2006-01-11 06:07:43 - tinderbox 2.3 running on > JB>> freebsd-current.sentex.ca FT>TB --- 2006-01-11 06:07:43 - starting H= EAD > JB>> tinderbox run for amd64/amd64 FT>TB --- 2006-01-11 06:07:43 - cleani= ng the > JB>> object tree > JB>> FT>TB --- 2006-01-11 06:08:05 - checking out the source tree > JB>> FT>TB --- 2006-01-11 06:08:05 - cd /tinderbox/HEAD/amd64/amd64 > JB>> FT>TB --- 2006-01-11 06:08:05 - /usr/bin/cvs -f -R -q -d/home/ncvs u= pdate > JB>> -Pd -A src FT>TB --- 2006-01-11 06:19:05 - building world (CFLAGS=3D= -O2 > JB>> -pipe) > JB>> FT>TB --- 2006-01-11 06:19:05 - cd /src > JB>> FT>TB --- 2006-01-11 06:19:05 - /usr/bin/make -B buildworld > JB>> FT>>>> Rebuilding the temporary build tree > JB>> FT>>>> stage 1.1: legacy release compatibility shims > JB>> FT>>>> stage 1.2: bootstrap tools > JB>> FT>>>> stage 2.1: cleaning up the object tree > JB>> FT>>>> stage 2.2: rebuilding the object tree > JB>> FT>>>> stage 2.3: build tools > JB>> FT>>>> stage 3: cross tools > JB>> FT>>>> stage 4.1: building includes > JB>> FT>>>> stage 4.2: building libraries > JB>> FT>>>> stage 4.3: make dependencies > JB>> FT>>>> stage 4.4: building everything > JB>> FT>[...] > JB>> FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG > JB>> -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_sour= ce -I. > JB>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parame= ter > JB>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-ty= pe > JB>> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > JB>> -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs > JB>> -Wredundant-decls -c > JB>> /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c -o > JB>> hostres_storage_tbl.So FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG > JB>> -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_sour= ce -I. > JB>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parame= ter > JB>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-ty= pe > JB>> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > JB>> -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs > JB>> -Wredundant-decls -c > JB>> /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c = -o > JB>> hostres_swinstalled_tbl.So FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG > JB>> -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_sour= ce -I. > JB>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parame= ter > JB>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-ty= pe > JB>> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > JB>> -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs > JB>> -Wredundant-decls -c > JB>> /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c -o > JB>> hostres_swrun_tbl.So FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG > JB>> -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_sour= ce -I. > JB>> -c > JB>> /src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source= /printc > JB>>ap.c -o printcap.So FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG > JB>> -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_sour= ce -I. > JB>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parame= ter > JB>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-ty= pe > JB>> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > JB>> -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs > JB>> -Wredundant-decls -c hostres_tree.c -o hostres_tree.So FT>building s= hared > JB>> library snmp_hostres.so.4 > JB>> FT>/obj/amd64/src/tmp/usr/bin/ld: > JB>> /obj/amd64/src/tmp/usr/lib/libdisk.a(disk.o): relocation R_X86_64_32= S can > JB>> not be used when making a shared object; recompile with -fPIC > JB>> FT>/obj/amd64/src/tmp/usr/lib/libdisk.a: could not read symbols: Bad= value > JB>> > JB>> Can anybody of the binutils folk explain what's happening here? > JB>> Why does this compile on all other architectures but not on amd64? > JB> > JB>Because the .o files in libdisk.a are not compiled with -fPIC but the = =2Eo files=20 > JB>in your shared object that is linking against it are? I think amd64 i= s more=20 > JB>picky about not mixing and matching those. >=20 > Wouldn't it then make sense just to build a shared libdisk? Is there a=20 > reason not to have one? >=20 Here's the original reason. I'm not sure if it still holds. peter@ and phk@ Cc:ed. : RCS file: /home/ncvs/src/lib/libdisk/Makefile,v : Working file: Makefile : head: 1.44 : branch: : locks: strict : access list: : keyword substitution: kv : total revisions: 65; selected revisions: 1 : description: : ---------------------------- : revision 1.12 : date: 1996/03/17 19:02:07; author: peter; state: Exp; lines: +1 -0 : Repository copy src/release/libdisk to src/lib/libdisk as per recent : discussion on -core about disk partitioning tools etc. :=20 : Add NOPIC=3Dyes to Makefile to prevent any possibility of version mismatch : because of the potential grave consequences. (as suggested by phk) :=20 : Note that this is also on RELENG_2_1_0, since the sysinstall stuff is : hopefully going to remain in sync. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDxRTGqRfpzJluFF4RAkqCAJwJtgcDsZxeBfEKlsamTAoFTryUrwCgl5tK 31gbhDA1Py3UoN8/1JpBR+E= =VUUv -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--