Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 01:46:46 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-ppc@freebsd.org
Subject:   powerpc64 (PowerMac G5) buildworld vs. WITH_DEBUG_FILE= for 10.0-STABLE: needs WITHOUT_CLANG=
Message-ID:  <A940E2B9-F7C4-41BF-A5AB-28545F8202C2@dsl-only.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A940E2B9-F7C4-41BF-A5AB-28545F8202C2>