From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 3 08:53:32 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B7BA89D for ; Wed, 3 Sep 2014 08:53:32 +0000 (UTC) Received: from asp.reflexion.net (outbound-240.asp.reflexion.net [69.84.129.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A966B14F4 for ; Wed, 3 Sep 2014 08:53:30 +0000 (UTC) Received: (qmail 24446 invoked from network); 3 Sep 2014 08:46:49 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 3 Sep 2014 08:46:49 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.30.7) with SMTP; Wed, 03 Sep 2014 04:46:49 -0400 (EDT) Received: (qmail 29626 invoked from network); 3 Sep 2014 08:46:48 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Sep 2014 08:46:48 -0000 X-No-Relay: not in my network Received: from [192.168.1.8] (c-98-246-178-138.hsd1.or.comcast.net [98.246.178.138]) by iron2.pdx.net (Postfix) with ESMTPSA id 841051C4007 for ; Wed, 3 Sep 2014 01:46:47 -0700 (PDT) From: Mark Millard Subject: powerpc64 (PowerMac G5) buildworld vs. WITH_DEBUG_FILE= for 10.0-STABLE: needs WITHOUT_CLANG= Message-Id: Date: Wed, 3 Sep 2014 01:46:46 -0700 To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 08:53:32 -0000 With WITH_DEBUG_FILES=3D in /etc/make.conf but no other changes I tried = "make -j 8 buildworld" on a PowerMac G5. It eventually failed, reporting = (other than some shortening some of the text): /usr/obj/usr/src/tmp/usr/bin/ld: /usr/obj/src/.... (omitted) ... = /libclangsema.a(SemaAccess.o): Unknown relocation type ????? for symbol = *UND* (for a bunch of different ????? values, such as 24176, 24180, 24200, = ...) That was followed by: final link failed: bad value. (I've done no-change buildworld's before. This time I was just trying to = have debug symbol files around. I was not trying to have clang used to = buildworld [still gcc] but clang is built by default for powerpc64 so it = was involved by default.) It appears that unless building clang is disabled (such as = WITHOUT_CLANG=3D) or is otherwise controlled specially that = WITH_DEBUG_FILES=3D is not directly supported for powerpc64 = buildworld's. Starting over also adding WITHOUT_CLANG=3D to = /etc/make.conf was enough for buildworld to complete. Context: FreeBSD FBSDG5S0 10.0-STABLE FreeBSD 10.0-STABLE #0 r268571: Sun Jul 13 = 06:28:19 UTC 2014 = root@grind.freebsd.org:/usr/obj/powerpc.powerpc64/usr/src/sys/GENERIC64 = powerpc =3D=3D=3D Mark Millard markmi at dsl-only.net