[Bug 224217] [patch] Fix cross build of base/ ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 18 21:18:02 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224217
--- Comment #28 from Mark Millard <marklmi26-fbsd at 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).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-pkg
mailing list