Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 09:03:00 +0100 (CET)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        current@freebsd.org
Cc:        amd64@freebsd.org
Subject:   Re: [head tinderbox] failure on amd64/amd64
Message-ID:  <20060111090039.N760@beagle.kn.op.dlr.de>
In-Reply-To: <20060111073859.457C37302F@freebsd-current.sentex.ca>

index | next in thread | previous in thread | raw e-mail

On Wed, 11 Jan 2006, FreeBSD Tinderbox wrote:

FT>TB --- 2006-01-11 06:07:43 - tinderbox 2.3 running on freebsd-current.sentex.ca
FT>TB --- 2006-01-11 06:07:43 - starting HEAD tinderbox run for amd64/amd64
FT>TB --- 2006-01-11 06:07:43 - cleaning the object tree
FT>TB --- 2006-01-11 06:08:05 - checking out the source tree
FT>TB --- 2006-01-11 06:08:05 - cd /tinderbox/HEAD/amd64/amd64
FT>TB --- 2006-01-11 06:08:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
FT>TB --- 2006-01-11 06:19:05 - building world (CFLAGS=-O2 -pipe)
FT>TB --- 2006-01-11 06:19:05 - cd /src
FT>TB --- 2006-01-11 06:19:05 - /usr/bin/make -B buildworld
FT>>>> Rebuilding the temporary build tree
FT>>>> stage 1.1: legacy release compatibility shims
FT>>>> stage 1.2: bootstrap tools
FT>>>> stage 2.1: cleaning up the object tree
FT>>>> stage 2.2: rebuilding the object tree
FT>>>> stage 2.3: build tools
FT>>>> stage 3: cross tools
FT>>>> stage 4.1: building includes
FT>>>> stage 4.2: building libraries
FT>>>> stage 4.3: make dependencies
FT>>>> stage 4.4: building everything
FT>[...]
FT>cc -fpic -DPIC -O2 -pipe  -DNDEBUG -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c -o hostres_storage_tbl.So
FT>cc -fpic -DPIC -O2 -pipe  -DNDEBUG -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c -o hostres_swinstalled_tbl.So
FT>cc -fpic -DPIC -O2 -pipe  -DNDEBUG -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c -o hostres_swrun_tbl.So
FT>cc -fpic -DPIC -O2 -pipe -DNDEBUG -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source -I. -c /src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source/printcap.c -o printcap.So
FT>cc -fpic -DPIC -O2 -pipe  -DNDEBUG -I/src/usr.sbin/bsnmpd/modules/snmp_hostres/../../../lpr/common_source -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c hostres_tree.c -o hostres_tree.So
FT>building shared library snmp_hostres.so.4
FT>/obj/amd64/src/tmp/usr/bin/ld: /obj/amd64/src/tmp/usr/lib/libdisk.a(disk.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
FT>/obj/amd64/src/tmp/usr/lib/libdisk.a: could not read symbols: Bad value

Can anybody of the binutils folk explain what's happening here?
Why does this compile on all other architectures but not on amd64?

harti


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111090039.N760>