From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 21 00:01:17 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEC701065678; Sun, 21 Sep 2008 00:01:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 958118FC15; Sun, 21 Sep 2008 00:01:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L01FlF074395; Sat, 20 Sep 2008 20:01:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L01Fbk086858; Sat, 20 Sep 2008 20:01:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9BD507303E; Sat, 20 Sep 2008 20:01:15 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080921000115.9BD507303E@freebsd-current.sentex.ca> Date: Sat, 20 Sep 2008 20:01:15 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 00:01:18 -0000 TB --- 2008-09-21 00:00:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-09-21 00:00:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-09-21 00:00:00 - cleaning the object tree TB --- 2008-09-21 00:00:39 - cvsupping the source tree TB --- 2008-09-21 00:00:39 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-09-21 00:00:44 - building world (CFLAGS=-O -pipe) TB --- 2008-09-21 00:00:44 - cd /src TB --- 2008-09-21 00:00:44 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 21 00:00:46 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools [...] /src/usr.bin/ar/acpyacc.y:505: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_mlist2argv': /src/usr.bin/ar/acpyacc.y:621: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:622: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_free_argv': /src/usr.bin/ar/acpyacc.y:631: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:632: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:634: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /src/usr.bin/ar. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-09-21 00:01:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-09-21 00:01:15 - ERROR: failed to build world TB --- 2008-09-21 00:01:15 - tinderbox aborted TB --- 18.53 user 6.70 system 75.11 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 21 00:20:33 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 597F9106567D; Sun, 21 Sep 2008 00:20:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2067A8FC25; Sun, 21 Sep 2008 00:20:32 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L0KVFc075192; Sat, 20 Sep 2008 20:20:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L0KUPU096877; Sat, 20 Sep 2008 20:20:30 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id CC79B73039; Sat, 20 Sep 2008 20:20:30 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080921002030.CC79B73039@freebsd-current.sentex.ca> Date: Sat, 20 Sep 2008 20:20:30 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner1 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 00:20:33 -0000 TB --- 2008-09-21 00:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-09-21 00:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-09-21 00:20:00 - cleaning the object tree TB --- 2008-09-21 00:20:02 - cvsupping the source tree TB --- 2008-09-21 00:20:02 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-09-21 00:20:08 - building world (CFLAGS=-O -pipe) TB --- 2008-09-21 00:20:08 - cd /src TB --- 2008-09-21 00:20:08 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 21 00:20:09 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools [...] /src/usr.bin/ar/acpyacc.y:505: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_mlist2argv': /src/usr.bin/ar/acpyacc.y:621: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:622: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_free_argv': /src/usr.bin/ar/acpyacc.y:631: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:632: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:634: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /src/usr.bin/ar. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-09-21 00:20:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-09-21 00:20:30 - ERROR: failed to build world TB --- 2008-09-21 00:20:30 - tinderbox aborted TB --- 17.29 user 2.61 system 30.45 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 21 00:40:33 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA0CE106564A; Sun, 21 Sep 2008 00:40:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 913278FC12; Sun, 21 Sep 2008 00:40:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L0eVbs076007; Sat, 20 Sep 2008 20:40:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8L0eVJr006116; Sat, 20 Sep 2008 20:40:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 6477E73039; Sat, 20 Sep 2008 20:40:31 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080921004031.6477E73039@freebsd-current.sentex.ca> Date: Sat, 20 Sep 2008 20:40:31 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 00:40:33 -0000 TB --- 2008-09-21 00:40:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-09-21 00:40:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-09-21 00:40:00 - cleaning the object tree TB --- 2008-09-21 00:40:03 - cvsupping the source tree TB --- 2008-09-21 00:40:03 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-09-21 00:40:08 - building world (CFLAGS=-O -pipe) TB --- 2008-09-21 00:40:08 - cd /src TB --- 2008-09-21 00:40:08 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 21 00:40:09 UTC 2008 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools [...] /src/usr.bin/ar/acpyacc.y:505: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_mlist2argv': /src/usr.bin/ar/acpyacc.y:621: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:622: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y: In function 'arscp_free_argv': /src/usr.bin/ar/acpyacc.y:631: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:632: error: dereferencing pointer to incomplete type /src/usr.bin/ar/acpyacc.y:634: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /src/usr.bin/ar. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-09-21 00:40:31 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-09-21 00:40:31 - ERROR: failed to build world TB --- 2008-09-21 00:40:31 - tinderbox aborted TB --- 17.20 user 2.73 system 30.90 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 00:03:33 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94ABD106566B; Mon, 22 Sep 2008 00:03:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 425758FC1C; Mon, 22 Sep 2008 00:03:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m8M03UaJ039638; Sun, 21 Sep 2008 20:03:30 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8M03U9a008103; Sun, 21 Sep 2008 20:03:30 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 585C773039; Sun, 21 Sep 2008 20:03:30 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080922000330.585C773039@freebsd-current.sentex.ca> Date: Sun, 21 Sep 2008 20:03:30 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner4 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 00:03:33 -0000 TB --- 2008-09-21 23:00:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-09-21 23:00:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-09-21 23:00:00 - cleaning the object tree TB --- 2008-09-21 23:00:53 - cvsupping the source tree TB --- 2008-09-21 23:00:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-09-21 23:01:00 - building world (CFLAGS=-O -pipe) TB --- 2008-09-21 23:01:00 - cd /src TB --- 2008-09-21 23:01:00 - /usr/bin/make -B buildworld >>> World build started on Sun Sep 21 23:01:02 UTC 2008 >>> 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 >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -I/src/sbin/ipf/ipresend/../../../contrib/ipfilter -I/src/sbin/ipf/ipresend/../../../contrib/ipfilter/tools -I/src/sbin/ipf/ipresend/../../../sys -I/src/sbin/ipf/ipresend/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -o ipresend ipresend.o ip.o resend.o sbpf.o sock.o 44arp.o /obj/amd64/src/sbin/ipf/ipresend/../libipf/libipf.a -lkvm gzip -cn /src/sbin/ipf/ipresend/../../../contrib/ipfilter/ipsend/ipresend.1 > ipresend.1.gz ===> sbin/ipfw (all) cc -O -pipe -fstack-protector -Wno-pointer-sign -c /src/sbin/ipfw/ipfw2.c /src/sbin/ipfw/ipfw2.c: In function 'table_handler': /src/sbin/ipfw/ipfw2.c:5877: error: 'a' undeclared (first use in this function) /src/sbin/ipfw/ipfw2.c:5877: error: (Each undeclared identifier is reported only once /src/sbin/ipfw/ipfw2.c:5877: error: for each function it appears in.) *** Error code 1 Stop in /src/sbin/ipfw. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-09-22 00:03:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-09-22 00:03:30 - ERROR: failed to build world TB --- 2008-09-22 00:03:30 - tinderbox aborted TB --- 2705.29 user 334.16 system 3809.83 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 04:23:09 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD96C1065673; Mon, 22 Sep 2008 04:23:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 58C598FC14; Mon, 22 Sep 2008 04:23:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m8M4N7jt048858; Mon, 22 Sep 2008 00:23:07 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id m8M4N7AL041338; Mon, 22 Sep 2008 00:23:07 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2ECB673039; Mon, 22 Sep 2008 00:23:07 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080922042307.2ECB673039@freebsd-current.sentex.ca> Date: Mon, 22 Sep 2008 00:23:07 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 04:23:09 -0000 TB --- 2008-09-22 03:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-09-22 03:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-09-22 03:20:00 - cleaning the object tree TB --- 2008-09-22 03:20:28 - cvsupping the source tree TB --- 2008-09-22 03:20:28 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-09-22 03:20:36 - building world (CFLAGS=-O -pipe) TB --- 2008-09-22 03:20:36 - cd /src TB --- 2008-09-22 03:20:36 - /usr/bin/make -B buildworld >>> World build started on Mon Sep 22 03:20:39 UTC 2008 >>> 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 >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -I/src/sbin/ipf/ipresend/../../../contrib/ipfilter -I/src/sbin/ipf/ipresend/../../../contrib/ipfilter/tools -I/src/sbin/ipf/ipresend/../../../sys -I/src/sbin/ipf/ipresend/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -o ipresend ipresend.o ip.o resend.o sbpf.o sock.o 44arp.o /obj/amd64/src/sbin/ipf/ipresend/../libipf/libipf.a -lkvm gzip -cn /src/sbin/ipf/ipresend/../../../contrib/ipfilter/ipsend/ipresend.1 > ipresend.1.gz ===> sbin/ipfw (all) cc -O -pipe -fstack-protector -Wno-pointer-sign -c /src/sbin/ipfw/ipfw2.c /src/sbin/ipfw/ipfw2.c: In function 'table_handler': /src/sbin/ipfw/ipfw2.c:5877: error: 'a' undeclared (first use in this function) /src/sbin/ipfw/ipfw2.c:5877: error: (Each undeclared identifier is reported only once /src/sbin/ipfw/ipfw2.c:5877: error: for each function it appears in.) *** Error code 1 Stop in /src/sbin/ipfw. *** Error code 1 Stop in /src/sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-09-22 04:23:07 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-09-22 04:23:07 - ERROR: failed to build world TB --- 2008-09-22 04:23:07 - tinderbox aborted TB --- 2707.03 user 330.81 system 3786.29 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 05:41:15 2008 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE7911065670; Mon, 22 Sep 2008 05:41:15 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0758FC12; Mon, 22 Sep 2008 05:41:14 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl83-215.kln.forthnet.gr [77.49.50.215]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m8M5L7Rf001434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Sep 2008 08:21:15 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id m8M5L78I002484; Mon, 22 Sep 2008 08:21:07 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id m8M5L6l1002483; Mon, 22 Sep 2008 08:21:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: FreeBSD Tinderbox References: <20080922042307.2ECB673039@freebsd-current.sentex.ca> Date: Mon, 22 Sep 2008 08:21:06 +0300 In-Reply-To: <20080922042307.2ECB673039@freebsd-current.sentex.ca> (FreeBSD Tinderbox's message of "Mon, 22 Sep 2008 00:23:07 -0400 (EDT)") Message-ID: <877i94n4cd.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m8M5L7Rf001434 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.853, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.55, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No X-Mailman-Approved-At: Mon, 22 Sep 2008 11:19:14 +0000 Cc: amd64@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 05:41:16 -0000 On Mon, 22 Sep 2008 00:23:07 -0400 (EDT), FreeBSD Tinderbox wrote: > ===> sbin/ipfw (all) > cc -O -pipe -fstack-protector -Wno-pointer-sign -c /src/sbin/ipfw/ipfw2.c > /src/sbin/ipfw/ipfw2.c: In function 'table_handler': > /src/sbin/ipfw/ipfw2.c:5877: error: 'a' undeclared (first use in this function) > /src/sbin/ipfw/ipfw2.c:5877: error: (Each undeclared identifier is reported only once > /src/sbin/ipfw/ipfw2.c:5877: error: for each function it appears in.) > *** Error code 1 Should be fixed in revision /head@183263 ... From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 06:43:29 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4FD51065672; Mon, 22 Sep 2008 06:43:29 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7198FC0A; Mon, 22 Sep 2008 06:43:29 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8M6hTxF068783; Mon, 22 Sep 2008 06:43:29 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8M6hT54068779; Mon, 22 Sep 2008 06:43:29 GMT (envelope-from edwin) Date: Mon, 22 Sep 2008 06:43:29 GMT Message-Id: <200809220643.m8M6hT54068779@freefall.freebsd.org> To: hakcenter@gmail.com, edwin@FreeBSD.org, freebsd-amd64@FreeBSD.org From: edwin@FreeBSD.org X-Mailman-Approved-At: Mon, 22 Sep 2008 11:25:14 +0000 Cc: Subject: Re: amd64/127129: mdconfig(8) is core dumping with Segmentation Fault 11 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 06:43:29 -0000 Synopsis: mdconfig(8) is core dumping with Segmentation Fault 11 State-Changed-From-To: open->feedback State-Changed-By: edwin State-Changed-When: Mon Sep 22 06:37:15 UTC 2008 State-Changed-Why: This sounds more like a upgrade which went wrong than a problem with mdconfig(8) since I have a lot of people saying that it works for them. Can you give the output of "ident `which mdconfig`" ? http://www.freebsd.org/cgi/query-pr.cgi?pr=127129 From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 11:06:49 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D6D21065675 for ; Mon, 22 Sep 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6D66C8FC08 for ; Mon, 22 Sep 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8MB6nw5015293 for ; Mon, 22 Sep 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8MB6m8R015289 for freebsd-amd64@FreeBSD.org; Mon, 22 Sep 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Sep 2008 11:06:48 GMT Message-Id: <200809221106.m8MB6m8R015289@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org X-Mailman-Approved-At: Mon, 22 Sep 2008 11:25:28 +0000 Cc: Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o amd64/127492 amd64 [zfs] System hang on ZFS input-output o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes f amd64/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 f amd64/125943 amd64 Serial Consoles do not work on amd64 freebsd o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125820 amd64 [k8temp] [patch] sysctl dev.k8temp.*.sensor1.* are inv o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/121439 amd64 [boot] Installation of FreeBSD 7.0 fails: ACPI problem o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119936 amd64 [install] FreeBSD 7.0-RC1 amd64 and i386 installer dis o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V f amd64/116670 amd64 [ata] onboard SATA RAID1 controllers not supported for o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on f amd64/116457 amd64 [install] can't install freebsd on dv9420us o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/114111 amd64 [nfs] System crashes while writing on NFS-mounted shar f amd64/113021 amd64 [re] ASUS M2A-VM onboard NIC does not work o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number f amd64/111992 amd64 [boot] BTX failed - HP Laptop dv2315nr o amd64/110655 amd64 [threads] 32 bit threaded applications crash on amd64 o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105629 amd64 [re] TrendNet TEG-BUSR 10/100/1000 disables itself on f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv f amd64/103259 amd64 [ar] Cannot use ataraid on nvidia nForce4+amd64 o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP f amd64/94989 amd64 [boot] BTX Halts on Sun Fire X2100 w/6.1-BETA4 (amd64) o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff f amd64/91492 amd64 [boot] BTX halted o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87977 amd64 [busdma] [panic] amd64 busdma dflt_lock called (by ata o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in f amd64/87258 amd64 [smp] [boot] cannot boot with SMP and Areca ARC-1160 r f amd64/86080 amd64 [radeon] [hang] radeon DRI causes system hang on amd64 s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not o amd64/73322 amd64 [msdosfs] [hang] unarchiving /etc to msdosfs locks up 76 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 22:06:35 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18417106568B; Mon, 22 Sep 2008 22:06:35 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E18FD8FC15; Mon, 22 Sep 2008 22:06:34 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8MM6Ytn020596; Mon, 22 Sep 2008 22:06:34 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8MM6Y60020592; Mon, 22 Sep 2008 22:06:34 GMT (envelope-from edwin) Date: Mon, 22 Sep 2008 22:06:34 GMT Message-Id: <200809222206.m8MM6Y60020592@freefall.freebsd.org> To: hakcenter@gmail.com, edwin@FreeBSD.org, freebsd-amd64@FreeBSD.org From: edwin@FreeBSD.org X-Mailman-Approved-At: Mon, 22 Sep 2008 22:14:22 +0000 Cc: Subject: Re: amd64/127129: mdconfig(8) is core dumping with Segmentation Fault 11 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 22:06:35 -0000 Synopsis: mdconfig(8) is core dumping with Segmentation Fault 11 State-Changed-From-To: feedback->open State-Changed-By: edwin State-Changed-When: Mon Sep 22 22:05:57 UTC 2008 State-Changed-Why: Feedback received http://www.freebsd.org/cgi/query-pr.cgi?pr=127129 From owner-freebsd-amd64@FreeBSD.ORG Mon Sep 22 22:10:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2DB1065675 for ; Mon, 22 Sep 2008 22:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3805B8FC1F for ; Mon, 22 Sep 2008 22:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8MMA3pY020674 for ; Mon, 22 Sep 2008 22:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8MMA3xE020673; Mon, 22 Sep 2008 22:10:03 GMT (envelope-from gnats) Date: Mon, 22 Sep 2008 22:10:03 GMT Message-Id: <200809222210.m8MMA3xE020673@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Curtis Hacker X-Mailman-Approved-At: Mon, 22 Sep 2008 22:38:35 +0000 Cc: Subject: Re: amd64/127129: mdconfig(8) is core dumping with Segmentation Fault 11 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Curtis Hacker List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 22:10:04 -0000 The following reply was made to PR amd64/127129; it has been noted by GNATS. From: Curtis Hacker To: edwin@FreeBSD.org Cc: Subject: Re: amd64/127129: mdconfig(8) is core dumping with Segmentation Fault 11 Date: Mon, 22 Sep 2008 13:37:50 -0700 amd64 box ident /sbin/mdconfig /sbin/mdconfig: $FreeBSD: src/lib/csu/amd64/crti.S,v 1.7 2004/03/21 01:39:01 peter Exp $ $FreeBSD: src/lib/csu/amd64/crtn.S,v 1.6 2004/03/21 01:39:01 peter Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 13:43:43 kib Exp $ $FreeBSD: src/lib/csu/amd64/crt1.c,v 1.15 2005/10/07 22:13:17 bde Exp $ i386 box ident /sbin/mdconfig /sbin/mdconfig: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1 2007/12/06 13:43:43 kib Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.15 2005/10/07 22:13:17 bde Exp $ ive got 3 total bsd boxes, on the latest stable sup (7.1 pre-release) and only amd64 is giving me problems with mdconfig. I guess I could nuke my make.conf and rebuild just mdconfig edwin@FreeBSD.org wrote: > Synopsis: mdconfig(8) is core dumping with Segmentation Fault 11 > > State-Changed-From-To: open->feedback > State-Changed-By: edwin > State-Changed-When: Mon Sep 22 06:37:15 UTC 2008 > State-Changed-Why: > This sounds more like a upgrade which went wrong than a problem > with mdconfig(8) since I have a lot of people saying that it works > for them. > > Can you give the output of "ident `which mdconfig`" ? > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=127129 > > From owner-freebsd-amd64@FreeBSD.ORG Thu Sep 25 21:00:03 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECAF61065693 for ; Thu, 25 Sep 2008 21:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C45B08FC16 for ; Thu, 25 Sep 2008 21:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8PL03AQ007971 for ; Thu, 25 Sep 2008 21:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8PL0310007967; Thu, 25 Sep 2008 21:00:03 GMT (envelope-from gnats) Resent-Date: Thu, 25 Sep 2008 21:00:03 GMT Resent-Message-Id: <200809252100.m8PL0310007967@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Briggs Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E18E106568B for ; Thu, 25 Sep 2008 20:50:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8918FC15 for ; Thu, 25 Sep 2008 20:50:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8PKohQc095843 for ; Thu, 25 Sep 2008 20:50:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id m8PKohFr095842; Thu, 25 Sep 2008 20:50:43 GMT (envelope-from nobody) Message-Id: <200809252050.m8PKohFr095842@www.freebsd.org> Date: Thu, 25 Sep 2008 20:50:43 GMT From: Jonathan Briggs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Thu, 25 Sep 2008 22:46:17 +0000 Cc: Subject: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 21:00:04 -0000 >Number: 127640 >Category: amd64 >Synopsis: GCC will not build shared libraries with -fprofile-generate on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 25 21:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jonathan Briggs >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD freebsd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I was porting a specialized database library to FreeBSD and the build failed with this error: /usr/bin/ld: /usr/lib/libgcov.a(_gcov_merge_add.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/libgcov.a: could not read symbols: Bad value The library uses -fprofile-generate, runs a test set, then rebuilds with -fprofile-use. It's worth a few ms per lookup. Also, this builds very well on i386 FreeBSD 7.0 and on many varieties of Linux and their GCC builds (Debian ia64, Gentoo amd64, CentOS 5.2, Fedora 5, 8, 9). I can work around the problem by just not doing a profile build. >How-To-Repeat: Put the following in a shell script: #!/bin/sh cat < int counter(int count) { int i; for(i=0; iFix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 14:05:20 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 986EA10656A2; Fri, 26 Sep 2008 14:05:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 187718FC0C; Fri, 26 Sep 2008 14:05:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8QE4dH8007656; Fri, 26 Sep 2008 10:05:10 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Fri, 26 Sep 2008 10:01:43 -0400 User-Agent: KMail/1.9.7 References: <200809252050.m8PKohFr095842@www.freebsd.org> In-Reply-To: <200809252050.m8PKohFr095842@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809261001.44340.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Fri, 26 Sep 2008 10:05:11 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8343/Fri Sep 26 05:43:08 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jonathan Briggs , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 14:05:20 -0000 On Thursday 25 September 2008 04:50:43 pm Jonathan Briggs wrote: > > >Number: 127640 > >Category: amd64 > >Synopsis: GCC will not build shared libraries with -fprofile-generate on amd64 > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Sep 25 21:00:03 UTC 2008 > >Closed-Date: > >Last-Modified: > >Originator: Jonathan Briggs > >Release: 7.0-RELEASE > >Organization: > >Environment: > FreeBSD freebsd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > I was porting a specialized database library to FreeBSD and the build failed with this error: > > /usr/bin/ld: /usr/lib/libgcov.a(_gcov_merge_add.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > /usr/lib/libgcov.a: could not read symbols: Bad value > > The library uses -fprofile-generate, runs a test set, then rebuilds with -fprofile-use. It's worth a few ms per lookup. > > Also, this builds very well on i386 FreeBSD 7.0 and on many varieties of Linux and their GCC builds (Debian ia64, Gentoo amd64, CentOS 5.2, Fedora 5, 8, 9). > > I can work around the problem by just not doing a profile build. > >How-To-Repeat: > Put the following in a shell script: > > #!/bin/sh > cat < #include > > int counter(int count) > { > int i; > > for(i=0; i printf("loop %d\n", i); > } > return i; > } > EOF > gcc -O2 -shared -fprofile-generate -fPIC -o t1.so -x c - What if you add -fPIC as the message suggests? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 14:10:05 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8943B1065693 for ; Fri, 26 Sep 2008 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 76CD68FC08 for ; Fri, 26 Sep 2008 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8QEA5Mp035452 for ; Fri, 26 Sep 2008 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8QEA5YX035451; Fri, 26 Sep 2008 14:10:05 GMT (envelope-from gnats) Date: Fri, 26 Sep 2008 14:10:05 GMT Message-Id: <200809261410.m8QEA5YX035451@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 14:10:05 -0000 The following reply was made to PR amd64/127640; it has been noted by GNATS. From: John Baldwin To: freebsd-amd64@freebsd.org Cc: Jonathan Briggs , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 Date: Fri, 26 Sep 2008 10:01:43 -0400 On Thursday 25 September 2008 04:50:43 pm Jonathan Briggs wrote: > > >Number: 127640 > >Category: amd64 > >Synopsis: GCC will not build shared libraries with -fprofile-generate on amd64 > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Sep 25 21:00:03 UTC 2008 > >Closed-Date: > >Last-Modified: > >Originator: Jonathan Briggs > >Release: 7.0-RELEASE > >Organization: > >Environment: > FreeBSD freebsd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > I was porting a specialized database library to FreeBSD and the build failed with this error: > > /usr/bin/ld: /usr/lib/libgcov.a(_gcov_merge_add.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC > /usr/lib/libgcov.a: could not read symbols: Bad value > > The library uses -fprofile-generate, runs a test set, then rebuilds with -fprofile-use. It's worth a few ms per lookup. > > Also, this builds very well on i386 FreeBSD 7.0 and on many varieties of Linux and their GCC builds (Debian ia64, Gentoo amd64, CentOS 5.2, Fedora 5, 8, 9). > > I can work around the problem by just not doing a profile build. > >How-To-Repeat: > Put the following in a shell script: > > #!/bin/sh > cat < #include > > int counter(int count) > { > int i; > > for(i=0; i printf("loop %d\n", i); > } > return i; > } > EOF > gcc -O2 -shared -fprofile-generate -fPIC -o t1.so -x c - What if you add -fPIC as the message suggests? -- John Baldwin From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 14:14:42 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75BFD1065690; Fri, 26 Sep 2008 14:14:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 18B9C8FC26; Fri, 26 Sep 2008 14:14:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KjE5g-000BZS-0g; Fri, 26 Sep 2008 17:14:40 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QEEUqT069607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 17:14:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QEETxQ032504; Fri, 26 Sep 2008 17:14:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id m8QEET70032503; Fri, 26 Sep 2008 17:14:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Sep 2008 17:14:29 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20080926141429.GW47828@deviant.kiev.zoral.com.ua> References: <200809252050.m8PKohFr095842@www.freebsd.org> <200809261001.44340.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2Stxnv0JS2q2nyCF" Content-Disposition: inline In-Reply-To: <200809261001.44340.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KjE5g-000BZS-0g 053a08fa4b52a47bac4cf19a31631199 X-Terabit: YES Cc: Jonathan Briggs , freebsd-amd64@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 14:14:42 -0000 --2Stxnv0JS2q2nyCF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 26, 2008 at 10:01:43AM -0400, John Baldwin wrote: > On Thursday 25 September 2008 04:50:43 pm Jonathan Briggs wrote: > >=20 > > >Number: 127640 > > >Category: amd64 > > >Synopsis: GCC will not build shared libraries with -fprofile-gen= erate=20 > on amd64 > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-amd64 > > >State: open > > >Quarter: =20 > > >Keywords: =20 > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Thu Sep 25 21:00:03 UTC 2008 > > >Closed-Date: > > >Last-Modified: > > >Originator: Jonathan Briggs > > >Release: 7.0-RELEASE > > >Organization: > > >Environment: > > FreeBSD freebsd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:= 36=20 > UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC = =20 > amd64 > >=20 > > >Description: > > I was porting a specialized database library to FreeBSD and the build f= ailed=20 > with this error: > >=20 > > /usr/bin/ld: /usr/lib/libgcov.a(_gcov_merge_add.o): relocation R_X86_64= _32=20 > can not be used when making a shared object; recompile with -fPIC > > /usr/lib/libgcov.a: could not read symbols: Bad value > >=20 > > The library uses -fprofile-generate, runs a test set, then rebuilds=20 > with -fprofile-use. It's worth a few ms per lookup. > >=20 > > Also, this builds very well on i386 FreeBSD 7.0 and on many varieties o= f=20 > Linux and their GCC builds (Debian ia64, Gentoo amd64, CentOS 5.2, Fedora= 5,=20 > 8, 9). > >=20 > > I can work around the problem by just not doing a profile build. > > >How-To-Repeat: > > Put the following in a shell script: > >=20 > > #!/bin/sh > > cat < > #include > >=20 > > int counter(int count) > > { > > int i; > >=20 > > for(i=3D0; i > printf("loop %d\n", i); > > } > > return i; > > } > > EOF > > gcc -O2 -shared -fprofile-generate -fPIC -o t1.so -x c - >=20 > What if you add -fPIC as the message suggests? Note that libgcov needs to be recompiled with -fPIC. The R_X86_64_32 issue is systematic on amd64. When you build a shared object, better make sure that all .o are compiled with -fPIC. --2Stxnv0JS2q2nyCF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkjc7kUACgkQC3+MBN1Mb4hyxQCgtU49iN4tL4qrrbyWJglCIGWW olsAoKjx60c0jcOcRmf5lsPUuyDy+JjV =PdcL -----END PGP SIGNATURE----- --2Stxnv0JS2q2nyCF-- From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 15:17:13 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD6C10656D4 for ; Fri, 26 Sep 2008 15:17:13 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id DD2958FC25 for ; Fri, 26 Sep 2008 15:17:11 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m8QFH4S64918 for freebsd-amd64@freebsd.org; Fri, 26 Sep 2008 08:17:04 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id PAA12380; Fri, 26 Sep 2008 15:13:20 GMT Message-Id: <200809261513.PAA12380@sopwith.solgatos.com> To: freebsd-amd64@freebsd.org In-reply-to: Your message of "Fri, 26 Sep 2008 17:14:29 +0300." <20080926141429.GW47828@deviant.kiev.zoral.com.ua> Date: Fri, 26 Sep 2008 08:13:20 +0100 From: Dieter Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 15:17:13 -0000 > Note that libgcov needs to be recompiled with -fPIC. > The R_X86_64_32 issue is systematic on amd64. When you build a shared > object, better make sure that all .o are compiled with -fPIC. So shouldn't the system come with both static and shared versions of all the libraries? From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 15:37:29 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13219106568D for ; Fri, 26 Sep 2008 15:37:29 +0000 (UTC) (envelope-from zlynx@acm.org) Received: from zlynx.org (threatwall.zlynx.org [199.45.143.218]) by mx1.freebsd.org (Postfix) with ESMTP id E077E8FC29 for ; Fri, 26 Sep 2008 15:37:28 +0000 (UTC) (envelope-from zlynx@acm.org) Received: from [199.45.143.231] (helo=pc12.internal) by zlynx.org with esmtpa (envelope-from ) id 1KjF8T-0003Ga-MK ; Fri, 26 Sep 2008 09:21:37 -0600 Message-ID: <48DCFE02.90502@acm.org> Date: Fri, 26 Sep 2008 09:21:38 -0600 From: Zan Lynx User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Kostik Belousov References: <200809252050.m8PKohFr095842@www.freebsd.org> <200809261001.44340.jhb@freebsd.org> <20080926141429.GW47828@deviant.kiev.zoral.com.ua> In-Reply-To: <20080926141429.GW47828@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Envelope-From: zlynx@acm.org X-Spam-Id: 20080926/1KjF8T-0003Ga-MK-freebsd-amd64@freebsd.org:zlynx@acm.org:199.45.143.218 X-Mailman-Approved-At: Fri, 26 Sep 2008 16:05:14 +0000 Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 15:37:29 -0000 Kostik Belousov wrote: > On Fri, Sep 26, 2008 at 10:01:43AM -0400, John Baldwin wrote: >> On Thursday 25 September 2008 04:50:43 pm Jonathan Briggs wrote: >>>> Number: 127640 >>>> Category: amd64 >>>> Synopsis: GCC will not build shared libraries with -fprofile-generate >> on amd64 >>>> Confidential: no >>>> Severity: non-critical >>>> Priority: low >>>> Responsible: freebsd-amd64 >>>> State: open >>>> Quarter: >>>> Keywords: >>>> Date-Required: >>>> Class: sw-bug >>>> Submitter-Id: current-users >>>> Arrival-Date: Thu Sep 25 21:00:03 UTC 2008 >>>> Closed-Date: >>>> Last-Modified: >>>> Originator: Jonathan Briggs >>>> Release: 7.0-RELEASE >>>> Organization: >>>> Environment: >>> FreeBSD freebsd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 >> UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >> amd64 >>>> Description: >>> I was porting a specialized database library to FreeBSD and the build failed >> with this error: >>> /usr/bin/ld: /usr/lib/libgcov.a(_gcov_merge_add.o): relocation R_X86_64_32 >> can not be used when making a shared object; recompile with -fPIC >>> /usr/lib/libgcov.a: could not read symbols: Bad value >>> >>> The library uses -fprofile-generate, runs a test set, then rebuilds >> with -fprofile-use. It's worth a few ms per lookup. >>> Also, this builds very well on i386 FreeBSD 7.0 and on many varieties of >> Linux and their GCC builds (Debian ia64, Gentoo amd64, CentOS 5.2, Fedora 5, >> 8, 9). >>> I can work around the problem by just not doing a profile build. >>>> How-To-Repeat: >>> Put the following in a shell script: >>> >>> #!/bin/sh >>> cat <>> #include >>> >>> int counter(int count) >>> { >>> int i; >>> >>> for(i=0; i>> printf("loop %d\n", i); >>> } >>> return i; >>> } >>> EOF >>> gcc -O2 -shared -fprofile-generate -fPIC -o t1.so -x c - >> What if you add -fPIC as the message suggests? > > Note that libgcov needs to be recompiled with -fPIC. > The R_X86_64_32 issue is systematic on amd64. When you build a shared > object, better make sure that all .o are compiled with -fPIC. I was using only pre-built binary packages from 7.0-RELEASE. Rebuilding from source using ports would probably solve the problem but I believe that the binaries should still be fixed, eventually. From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 17:10:25 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA931065686 for ; Fri, 26 Sep 2008 17:10:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id D5E1F8FC1F for ; Fri, 26 Sep 2008 17:10:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KjGpi-0007w0-FB; Fri, 26 Sep 2008 20:10:22 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QHAJ89081248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 20:10:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QHAJSS087461; Fri, 26 Sep 2008 20:10:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id m8QHAJKe087460; Fri, 26 Sep 2008 20:10:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Sep 2008 20:10:18 +0300 From: Kostik Belousov To: Dieter Message-ID: <20080926171018.GX47828@deviant.kiev.zoral.com.ua> References: <20080926141429.GW47828@deviant.kiev.zoral.com.ua> <200809261513.PAA12380@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Sl61CI1LVv3DiL8h" Content-Disposition: inline In-Reply-To: <200809261513.PAA12380@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KjGpi-0007w0-FB b458169fc36f74da4f6e015d75b0f3d4 X-Terabit: YES Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 17:10:25 -0000 --Sl61CI1LVv3DiL8h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 26, 2008 at 08:13:20AM +0100, Dieter wrote: > > Note that libgcov needs to be recompiled with -fPIC. > > The R_X86_64_32 issue is systematic on amd64. When you build a shared > > object, better make sure that all .o are compiled with -fPIC. >=20 > So shouldn't the system come with both static and shared versions > of all the libraries? The system does. OP linked system supplied libgcov.a into .so. Should /usr/lib/libgcov.a be built with -fPIC, is debatable. I think it is overkill for most other static libs from /usr/lib. Note that there are reasonable arguments against supplying static system libraries like libc and libpthread. --Sl61CI1LVv3DiL8h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkjdF3oACgkQC3+MBN1Mb4iSKgCcD+DI2MFwVlCoFzz/CW9A8g5p 8AQAnjIRPvr9UpTDEiH/WOYwNPXZ4vru =ZXUh -----END PGP SIGNATURE----- --Sl61CI1LVv3DiL8h-- From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 18:14:52 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 027B11065686 for ; Fri, 26 Sep 2008 18:14:52 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0408FC0A for ; Fri, 26 Sep 2008 18:14:51 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m8QIEkM65177 for freebsd-amd64@freebsd.org; Fri, 26 Sep 2008 11:14:46 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id SAA00764; Fri, 26 Sep 2008 18:12:31 GMT Message-Id: <200809261812.SAA00764@sopwith.solgatos.com> To: freebsd-amd64@freebsd.org In-reply-to: Your message of "Fri, 26 Sep 2008 20:10:18 +0300." <20080926171018.GX47828@deviant.kiev.zoral.com.ua> Date: Fri, 26 Sep 2008 11:12:31 +0100 From: Dieter Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 18:14:52 -0000 > > > Note that libgcov needs to be recompiled with -fPIC. > > > The R_X86_64_32 issue is systematic on amd64. When you build a shared > > > object, better make sure that all .o are compiled with -fPIC. > >=20 > > So shouldn't the system come with both static and shared versions > > of all the libraries? > > The system does. OP linked system supplied libgcov.a into .so. > Should /usr/lib/libgcov.a be built with -fPIC, is debatable. I think it > is overkill for most other static libs from /usr/lib. Note that there > are reasonable arguments against supplying static system libraries like > libc and libpthread. The thread started with "porting a specialized database library to FreeBSD". One can expect problems when porting new code. But the PIC problem is bigger than that. Ports don't compile due to this problem. Ports should compile cleanly out of the box, on all archs, with no problems. Example: On amd64, 7.0, try to build python25. I get: /usr/bin/ld: /usr/lib/crtbeginT.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/crtbeginT.o: could not read symbols: Bad value *** Error code 1 Stop in /usr/ports/lang/python25/work/Python-2.5.1/portbld.shared. From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 20:09:19 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6601106568E for ; Fri, 26 Sep 2008 20:09:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7D68FC20 for ; Fri, 26 Sep 2008 20:09:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KjJcr-000Mg4-JV; Fri, 26 Sep 2008 23:09:17 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QK9E50090587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 23:09:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m8QK9Ev5005440; Fri, 26 Sep 2008 23:09:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id m8QK9Bkd005436; Fri, 26 Sep 2008 23:09:11 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Sep 2008 23:09:11 +0300 From: Kostik Belousov To: Dieter Message-ID: <20080926200911.GY47828@deviant.kiev.zoral.com.ua> References: <20080926171018.GX47828@deviant.kiev.zoral.com.ua> <200809261812.SAA00764@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iK1l7ZgcrJDTNPEn" Content-Disposition: inline In-Reply-To: <200809261812.SAA00764@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KjJcr-000Mg4-JV 3705eda79c0e0b69f61ccf3a79dbe66a X-Terabit: YES Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 20:09:19 -0000 --iK1l7ZgcrJDTNPEn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 26, 2008 at 11:12:31AM +0100, Dieter wrote: > > > > Note that libgcov needs to be recompiled with -fPIC. > > > > The R_X86_64_32 issue is systematic on amd64. When you build a shar= ed > > > > object, better make sure that all .o are compiled with -fPIC. > > >=3D20 > > > So shouldn't the system come with both static and shared versions > > > of all the libraries? > >=20 > > The system does. OP linked system supplied libgcov.a into .so. > > Should /usr/lib/libgcov.a be built with -fPIC, is debatable. I think it > > is overkill for most other static libs from /usr/lib. Note that there > > are reasonable arguments against supplying static system libraries like > > libc and libpthread. >=20 > The thread started with "porting a specialized database library to FreeBS= D". > One can expect problems when porting new code. But the PIC problem is > bigger than that. Ports don't compile due to this problem. Ports should > compile cleanly out of the box, on all archs, with no problems. >=20 > Example: On amd64, 7.0, try to build python25. I get: >=20 > /usr/bin/ld: /usr/lib/crtbeginT.o: relocation R_X86_64_32 can not be used= when making a shared object; recompile with -fPIC > /usr/lib/crtbeginT.o: could not read symbols: Bad value > *** Error code 1 >=20 > Stop in /usr/ports/lang/python25/work/Python-2.5.1/portbld.shared. You are mixing unrelated issues. --iK1l7ZgcrJDTNPEn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkjdQWYACgkQC3+MBN1Mb4gliQCeNOf7XwEYXIRPvLPPhXvaydjo eSIAn1tVuvMb882IV3pCjjg8zNud+sjA =5Iac -----END PGP SIGNATURE----- --iK1l7ZgcrJDTNPEn-- From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 26 20:04:13 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CEAB1065686 for ; Fri, 26 Sep 2008 20:04:13 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2A28FC1D for ; Fri, 26 Sep 2008 20:04:13 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 7E6C68C080; Fri, 26 Sep 2008 14:36:00 -0500 (CDT) Date: Fri, 26 Sep 2008 14:36:00 -0500 To: Dieter Message-ID: <20080926193600.GA25444@soaustin.net> References: <20080926171018.GX47828@deviant.kiev.zoral.com.ua> <200809261812.SAA00764@sopwith.solgatos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809261812.SAA00764@sopwith.solgatos.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Fri, 26 Sep 2008 20:59:44 +0000 Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/127640: GCC will not build shared libraries with -fprofile-generate on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Sep 2008 20:04:13 -0000 On Fri, Sep 26, 2008 at 11:12:31AM +0100, Dieter wrote: > Ports should compile cleanly out of the box, on all archs, with no problems. A noble goal, but we are a long way from it, and rely on volunteers to take maintainership of individual ports to make it happen. mcl From owner-freebsd-amd64@FreeBSD.ORG Sat Sep 27 08:20:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA6CC106568E for ; Sat, 27 Sep 2008 08:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B7F378FC13 for ; Sat, 27 Sep 2008 08:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8R8K4xZ085360 for ; Sat, 27 Sep 2008 08:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8R8K4Te085359; Sat, 27 Sep 2008 08:20:04 GMT (envelope-from gnats) Date: Sat, 27 Sep 2008 08:20:04 GMT Message-Id: <200809270820.m8R8K4Te085359@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: "Paul van Berlo" X-Mailman-Approved-At: Sat, 27 Sep 2008 11:36:38 +0000 Cc: Subject: Re: amd64/127484: [timecounters] Drift problem with FreeBSD 7.0 and 7.1 PRERELEASE X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul van Berlo List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2008 08:20:04 -0000 The following reply was made to PR amd64/127484; it has been noted by GNATS. From: "Paul van Berlo" To: bug-followup@FreeBSD.org, tg.at.swox.com@FreeBSD.org Cc: Subject: Re: amd64/127484: [timecounters] Drift problem with FreeBSD 7.0 and 7.1 PRERELEASE Date: Sat, 27 Sep 2008 09:52:00 +0200 Hello, I'm experiencing the exact same issue on 7.0/amd64. I have an Asrock A780FullDisplayPort mainboard (with an AMD Athlon64 X2 CPU, CnQ disabled, so the CPU doesn't throttle and always runs at 2.0Ghz, tested with both ACPI HPET enabled and disabled in bios), and looking at NTP it appears my clock is between 1-3 seconds slow each time it synchronizes. kern.timecounter.choice: TSC(-100) HPET(900) ACPI-safe(850) i8254(0) dummy(-1000000) I tried setting kern.timecounter.hardware to HPET (default), ACPI-safe and i8254. Neither of these solved the issue. I also set kern.hz=100 which didn't solve the issue either. 27 Sep 08:52:07 ntpd[761]: ntpd exiting on signal 15 27 Sep 08:53:25 ntpd[761]: synchronized to 194.171.167.130, stratum=1 27 Sep 08:53:27 ntpd[761]: time reset +1.365546 s 27 Sep 08:54:38 ntpd[761]: synchronized to 194.171.167.130, stratum=1 27 Sep 09:08:46 ntpd[761]: synchronized to 194.109.153.91, stratum=3 27 Sep 09:08:48 ntpd[761]: synchronized to 194.171.167.130, stratum=1 27 Sep 09:16:20 ntpd[761]: time reset +2.359489 s 27 Sep 09:16:20 ntpd[761]: kernel time sync enabled 2001 27 Sep 09:17:32 ntpd[761]: synchronized to 194.109.153.91, stratum=3 27 Sep 09:17:32 ntpd[761]: synchronized to 194.171.167.130, stratum=1 27 Sep 09:30:40 ntpd[761]: synchronized to 194.171.167.130, stratum=1 27 Sep 09:38:10 ntpd[761]: time reset +2.907558 s 27 Sep 09:39:21 ntpd[761]: synchronized to 194.171.167.130, stratum=1 Best regards, Paul van Berlo