Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 21:17:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 224217] [patch] Fix cross build of base/ ports
Message-ID:  <bug-224217-32340-avT69A7rGM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224217-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224217-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224217

--- Comment #28 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #27)

[I tend to experiment with using system clang for
targeting powerpc64 and powerpc. Thus my context is
odd for what compiler I tend to have around.]

Looks like I also needed to use WITHOUT_CLANG_IS_CC
(or the matching one for gcc for the normal sort of
build context) to avoid overlaps with the
freebsd-gcc-6.3.0.txz content.

I'll note that for WITH_CLANG_IS_CC there is a /usr/bin/CC
script that is installed:

# more /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/CC
#!/bin/sh
# $FreeBSD: head/usr.bin/clang/clang/CC.sh 292950 2015-12-30 16:14:30Z dim $
# This file is in the public domain.
exec /usr/bin/c++ "$@"

The /wrkdirs/usr/ports/base/gcc/work/pkg/freebsd-gcc-6.3.0.txz
produced in my context for base/gcc does not seem to have such
to put in place:

# tar -tf /wrkdirs/usr/ports/base/gcc/work/pkg/freebsd-gcc-6.3.0.txz | more
+COMPACT_MANIFEST
+MANIFEST
. . .
/usr/bin/c++
/usr/bin/cc
/usr/bin/cpp
/usr/bin/g++
/usr/bin/gcc
/usr/bin/gcov
. . .

I do not know if anything needs /usr/bin/CC to be around or not.



Side note:

Panics in fork activity on amd64 have sidelined my progress on the
powerpc64 targeted base/* testing. I'm not likely to get through it
this weekend. Instead the bias is to help identify what head version
is the first to get the panics on amd64 (and possibly others).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224217-32340-avT69A7rGM>