Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2017 19:38:44 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   devel/powerpc64-xtoolchain-gcc on powerpc64 failed to buildkernel: .ERROR_TARGET='ath_hal_ar5212.kld': ctfmerge.13434.core generated for SIGSEGV
Message-ID:  <A23D27CB-2385-4924-AB62-A381213766BE@dsl-only.net>

next in thread | raw e-mail | index | archive | help
My attempt to buildworld buildkernel via devel/powerpc64-xtoolchain-gcc
material via my historical technique failed during buildkernel as
follows.



First: a little context. . .

# uname -apKU
FreeBSD FBSDG5L 12.0-CURRENT FreeBSD 12.0-CURRENT  r324071M  powerpc =
powerpc64 1200047 1200047

The buidworld and buildkernel for the above was via
system-clang from head -r324071 as well.

# svnlite info /usr/ports/ | grep "Re[plv]"                              =
                                                                         =
                                             =20
Relative URL: ^/head
Repository Root: svn://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 450478
Last Changed Rev: 450478

# pkg info | egrep -i "(gcc|binutil)"
binutils-2.28,1                GNU binary tools
gcc7-7.2.0_1                   GNU Compiler Collection 7
powerpc64-binutils-2.28,1      GNU binutils for powerpc64 =
cross-development
powerpc64-gcc-6.3.0            Cross GNU Compiler Collection for =
powerpc64
powerpc64-xtoolchain-gcc-0.2   Pre seeded toolchain to cross build =
FreeBSD base

[powerpc64 "self hosted cross development" is in
use here. I cause gcc7 to be treated as the
host compiler and powerpc64-gcc to be treated
as the cross compiler.]

[Note that powerpc64-gcc/g++ is passed -v in the
later log file material (via CFLAGS.gcc) so lots
of context details are shown.]



Second: the failure as seen via /var/crash/ . . .

-rw-------  1 root  wheel  10002432 Oct  7 09:43:14 2017 =
ctfmerge.13434.core

instead of directly having a ld failure. And:

# /usr/libexec/gdb =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/bi=
n/ctfmerge /var/crash/ctfmerge.13434.core
. . .
Core was generated by `ctfmerge -L VERSION -g -o ath_hal_ar5212.kld =
ah_osdep_ar5212.o ar5212_ani.o ar52'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000001009a164 in .memset ()
[New Thread 508f6a00 (LWP 100299/<unknown>)]
[New Thread 508f6500 (LWP 100298/<unknown>)]
[New Thread 508f6000 (LWP 100237/<unknown>)]
(gdb) info threads
* 3 Thread 508f6000 (LWP 100237/<unknown>)  0x000000001009a164 in =
.memset ()
  2 Thread 508f6500 (LWP 100298/<unknown>)  0x00000000100346a0 in =
.thread_start ()
  1 Thread 508f6a00 (LWP 100299/<unknown>)  0x00000000100346a0 in =
.thread_start ()
(gdb) bt
#0  0x000000001009a164 in .memset ()
#1  0x0000000010076d2c in .__libc_allocate_tls ()
#2  0x0000000010040c58 in ._tcb_ctor ()
#3  0x000000001003fa9c in ._thr_alloc ()
#4  0x0000000010033e30 in ._pthread_create ()
#5  0x0000000010000b6c in .main ()
#6  0x000000001000147c in ._start ()

(gdb) info reg pc
pc             0x1009a164	269066596
(gdb) disass
Dump of assembler code for function .memset:
0x000000001009a0a4 <.memset+0>:	cmpldi  r5,11
. . .
0x000000001009a138 <.memset+148>:	b       0x1009a184 <.memset+224>
0x000000001009a13c <.memset+152>:	rlwinm  r11,r10,2,29,29
0x000000001009a140 <.memset+156>:	clrldi  r9,r10,63
0x000000001009a144 <.memset+160>:	std     r30,-16(r1)
0x000000001009a148 <.memset+164>:	addi    r30,r6,4
0x000000001009a14c <.memset+168>:	subf    r0,r11,r7
0x000000001009a150 <.memset+172>:	subf    r12,r9,r10
0x000000001009a154 <.memset+176>:	addi    r11,r6,-8
0x000000001009a158 <.memset+180>:	add     r10,r6,r0
0x000000001009a15c <.memset+184>:	addi    r12,r12,-2
0x000000001009a160 <.memset+188>:	addi    r0,r30,8
0x000000001009a164 <.memset+192>:	stwu    r8,8(r11)
0x000000001009a168 <.memset+196>:	stw     r8,0(r30)
0x000000001009a16c <.memset+200>:	cmpldi  r12,0
0x000000001009a170 <.memset+204>:	mr      r30,r0
0x000000001009a174 <.memset+208>:	bne+    0x1009a15c <.memset+184>
(gdb) info reg r11
r11            0x50908ff8	1351651320
(gdb) x/gx 8+0x50908ff8
0x50909000:	Cannot access memory at address 0x50909000
(gdb) x/gx 0x50908ff8
0x50908ff8:	0x0000000000000000

So memset seems to have been told to wonder
off outside the mapped pages.

( /usr/local/bin/gdb gets its own SIGSEGV
during bt so I used /usr/libexec/gdb that
generally works better for the powerpc
families as things are.)

# file =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/bi=
n/ctfmerge
=
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/bi=
n/ctfmerge: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, =
version 1 (FreeBSD), statically linked, for FreeBSD 12.0 (1200047), =
FreeBSD-style, not stripped



Third: the log file content. . .

--- all_subdir_ath_hal_ar5212 ---
. . .
Building =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/sys/GENERI=
C64vtsc-NODBG/modules/usr/src/sys/modules/ath_hal_ar5212/ath_hal_ar5212.kl=
d
. . .
--- all_subdir_ath_hal_ar5212 ---
--- ath_hal_ar5212.kld ---
Segmentation fault (core dumped)
*** [ath_hal_ar5212.kld] Error code 139

make[4]: stopped in /usr/src/sys/modules/ath_hal_ar5212
.ERROR_TARGET=3D'ath_hal_ar5212.kld'
=
.ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc6=
4/usr/src/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/ath_hal_ar52=
12/ath_hal_ar5212.kld.meta'
.MAKE.LEVEL=3D'4'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
_ERROR_CMD=3D'/usr/local/powerpc64-freebsd/bin/ld -m elf64ppc_fbsd -d =
-warn-common --build-id=3Dsha1 -r -d -o ath_hal_ar5212.kld =
ah_osdep_ar5212.o ar5212_ani.o ar5212_attach.o ar5212_beacon.o =
ar5212_eeprom.o ar5212_gpio.o ar5212_interrupts.o ar5212_keycache.o =
ar5212_misc.o ar5212_phy.o ar5212_power.o ar5212_recv.o ar5212_reset.o =
ar5212_rfgain.o ar5212_xmit.o ar5111.o ar5112.o ar2413.o ar2425.o =
ar5413.o; ctfmerge -L VERSION -g -o ath_hal_ar5212.kld ah_osdep_ar5212.o =
ar5212_ani.o ar5212_attach.o ar5212_beacon.o ar5212_eeprom.o =
ar5212_gpio.o ar5212_interrupts.o ar5212_keycache.o ar5212_misc.o =
ar5212_phy.o ar5212_power.o ar5212_recv.o ar5212_reset.o ar5212_rfgain.o =
ar5212_xmit.o ar5111.o ar5112.o ar2413.o ar2425.o ar5413.o; :> =
export_syms; awk -f /usr/src/sys/conf/kmod_syms.awk ath_hal_ar5212.kld  =
export_syms | xargs -J% /usr/local/powerpc64-freebsd/bin/objcopy % =
ath_hal_ar5212.kld;'
.CURDIR=3D'/usr/src/sys/modules/ath_hal_ar5212'
.MAKE=3D'make'
=
.OBJDIR=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src=
/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/ath_hal_ar5212'
.TARGETS=3D'all'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'powerpc'
MACHINE_ARCH=3D'powerpc64'
=
MAKEOBJDIRPREFIX=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc6=
4/usr/src/sys/GENERIC64vtsc-NODBG/modules'
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20170720'
=
PATH=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tm=
p/legacy/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/=
usr/src/tmp/legacy/usr/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.p=
owerpc64/usr/src/tmp/legacy/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powe=
rpc.powerpc64/usr/src/tmp/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/p=
owerpc.powerpc64/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
=
OBJTOP=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/=
sys/GENERIC64vtsc-NODBG/modules/usr/src'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk =
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk =
/root/src.configs/src.conf.powerpc64-xtoolchain-gcc.powerpc64-host =
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk =
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk =
/usr/src/share/mk/src.sys.mk /dev/null =
/usr/src/sys/modules/ath_hal_ar5212/Makefile =
/usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk =
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk =
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk =
/usr/src/share/mk/src.init.mk =
/usr/src/sys/modules/ath_hal_ar5212/../Makefile.inc =
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk =
/usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk =
/usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk =
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk =
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk =
/usr/src/sys/conf/kern.mk'
.PATH=3D'. /usr/src/sys/modules/ath_hal_ar5212 /usr/src/sys/dev/ath =
/usr/src/sys/dev/ath/ath_hal /usr/src/sys/dev/ath/ =
/usr/src/sys/dev/ath/ath_hal/ar5212 =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/sys/GENERI=
C64vtsc-NODBG'
1 error

make[4]: stopped in /usr/src/sys/modules/ath_hal_ar5212
.ERROR_TARGET=3D'ath_hal_ar5212.kld'
=
.ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc6=
4/usr/src/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/ath_hal_ar52=
12/ath_hal_ar5212.kld.meta'
.MAKE.LEVEL=3D'4'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes =
verbose'
_ERROR_CMD=3D'/usr/local/powerpc64-freebsd/bin/ld -m elf64ppc_fbsd -d =
-warn-common --build-id=3Dsha1 -r -d -o ath_hal_ar5212.kld =
ah_osdep_ar5212.o ar5212_ani.o ar5212_attach.o ar5212_beacon.o =
ar5212_eeprom.o ar5212_gpio.o ar5212_interrupts.o ar5212_keycache.o =
ar5212_misc.o ar5212_phy.o ar5212_power.o ar5212_recv.o ar5212_reset.o =
ar5212_rfgain.o ar5212_xmit.o ar5111.o ar5112.o ar2413.o ar2425.o =
ar5413.o; ctfmerge -L VERSION -g -o ath_hal_ar5212.kld ah_osdep_ar5212.o =
ar5212_ani.o ar5212_attach.o ar5212_beacon.o ar5212_eeprom.o =
ar5212_gpio.o ar5212_interrupts.o ar5212_keycache.o ar5212_misc.o =
ar5212_phy.o ar5212_power.o ar5212_recv.o ar5212_reset.o ar5212_rfgain.o =
ar5212_xmit.o ar5111.o ar5112.o ar2413.o ar2425.o ar5413.o; :> =
export_syms; awk -f /usr/src/sys/conf/kmod_syms.awk ath_hal_ar5212.kld  =
export_syms | xargs -J% /usr/local/powerpc64-freebsd/bin/objcopy % =
ath_hal_ar5212.kld;'
.CURDIR=3D'/usr/src/sys/modules/ath_hal_ar5212'
.MAKE=3D'make'
=
.OBJDIR=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src=
/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/ath_hal_ar5212'
.TARGETS=3D'all'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'powerpc'
MACHINE_ARCH=3D'powerpc64'
=
MAKEOBJDIRPREFIX=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc6=
4/usr/src/sys/GENERIC64vtsc-NODBG/modules'
MAKESYSPATH=3D'/usr/src/share/mk'
MAKE_VERSION=3D'20170720'
=
PATH=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tm=
p/legacy/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/=
usr/src/tmp/legacy/usr/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.p=
owerpc64/usr/src/tmp/legacy/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powe=
rpc.powerpc64/usr/src/tmp/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/p=
owerpc.powerpc64/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP=3D'/usr/src'
=
OBJTOP=3D'/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/=
sys/GENERIC64vtsc-NODBG/modules/usr/src'
.MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk =
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk =
/root/src.configs/src.conf.powerpc64-xtoolchain-gcc.powerpc64-host =
/usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk =
/root/src.configs/make.conf /usr/src/share/mk/local.sys.mk =
/usr/src/share/mk/src.sys.mk /dev/null =
/usr/src/sys/modules/ath_hal_ar5212/Makefile =
/usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk =
/usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk =
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk =
/usr/src/share/mk/src.init.mk =
/usr/src/sys/modules/ath_hal_ar5212/../Makefile.inc =
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk =
/usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk =
/usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk =
/usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk =
/usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk =
/usr/src/sys/conf/kern.mk'
.PATH=3D'. /usr/src/sys/modules/ath_hal_ar5212 /usr/src/sys/dev/ath =
/usr/src/sys/dev/ath/ath_hal /usr/src/sys/dev/ath/ =
/usr/src/sys/dev/ath/ath_hal/ar5212 =
/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/sys/GENERI=
C64vtsc-NODBG'
*** [all_subdir_ath_hal_ar5212] Error code 2



Finally: other details. . .

# more =
~/sys_build_scripts.powerpc64-host/make_powerpc64vtsc_nodebug_incl_clang_x=
toolchain-gcc-powerpc64-host.sh
kldload -n filemon && \
script =
~/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_incl_clang_xtoolch=
ain-gcc-powerpc64-host-$(date +%Y-%m-%d:%H:%M:%S) \
env __MAKE_CONF=3D"/root/src.configs/make.conf" \
SRCCONF=3D"/dev/null" =
SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc64-xtoolchain-gcc.powerp=
c64-host" \
WITH_META_MODE=3Dyes \
=
MAKEOBJDIRPREFIX=3D"/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc6=
4" \
make $*


Note: Variations of the below have been in use for along time
but it been some time since I've checked if

devel/powerpc64-xtoolchain-gcc

was working. The below is set up to use lang/gcc7 as the host-
compiler/toolchain and devel/powerpc64-xtoolchain-gcc material
as the cross-compiler/toolchain. The src.conf file has history
going back  to my using lang/gcc49 as the host-compiler instead,
updated as things have progressed.

# more =
/root/src.configs/src.conf.powerpc64-xtoolchain-gcc.powerpc64-host
TO_TYPE=3Dpowerpc64
TOOLS_TO_TYPE=3D${TO_TYPE}
FROM_TYPE=3D${TO_TYPE}
TOOLS_FROM_TYPE=3D${FROM_TYPE}
VERSION_CONTEXT=3D12.0
#
KERNCONF=3DGENERIC64vtsc-NODBG
TARGET=3Dpowerpc
.if ${.MAKE.LEVEL} =3D=3D 0
TARGET_ARCH=3D${TO_TYPE}
.export TARGET_ARCH
.endif
#
WITHOUT_CROSS_COMPILER=3D
WITHOUT_SYSTEM_COMPILER=3D
#
WITH_LIBCPLUSPLUS=3D
WITHOUT_BINUTILS_BOOTSTRAP=3D
WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D
WITHOUT_CLANG_BOOTSTRAP=3D
WITH_CLANG=3D
WITH_CLANG_IS_CC=3D
WITH_CLANG_FULL=3D
WITH_CLANG_EXTRAS=3D
WITH_LLD=3D
WITH_LLDB=3D
#
WITH_BOOT=3D
# powerpc64 LIB32 builds via gcc 4.9 or later variants that I've tried
# but the LIB32 does not work [crtbeginS code problem(s)]
WITHOUT_LIB32=3D
#
WITHOUT_GCC_BOOTSTRAP=3D
WITHOUT_GCC=3D
WITHOUT_GCC_IS_CC=3D
WITHOUT_GNUCXX=3D
#
NO_WERROR=3D
#
# Avoid db_trace.o getting:
#   calling '__builtin_frame_address' with a nonzero argument is unsafe
# as an error? Other such points as well.
WERROR=3D
MALLOC_PRODUCTION=3D
#
WITH_REPRODUCIBLE_BUILD=3D
WITH_DEBUG_FILES=3D
#
#
# For TO (so-called "cross") stages . . .
# So-called-cross via ${TO_TYPE}-xtoolchain-gcc/${TO_TYPE}-gcc. . .
# TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. . .
#
CROSS_TOOLCHAIN=3D${TO_TYPE}-gcc
X_COMPILER_TYPE=3Dgcc
CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/
.if ${.MAKE.LEVEL} =3D=3D 0
=
XCC=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}-gc=
c
=
XCXX=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}-g=
++
=
XCPP=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}-c=
pp
.export XCC
.export XCXX
.export XCPP
XAS=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/as
XAR=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ar
XLD=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ld
XNM=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/nm
XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/objcopy
XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/objdump
XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ranlib
XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/size
#NO-SUCH: XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/strings
XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-freebsd-strings
.export XAS
.export XAR
.export XLD
.export XNM
.export XOBJCOPY
.export XOBJDUMP
.export XRANLIB
.export XSIZE
.export XSTRINGS
.endif
#
#
# For FROM (host) stages . . .
# =46rom gccXY (such as gcc49 but not xtoolchain)
# TOOLS_FROM_TYPE's appropriate binutils. . .
#
.if ${.MAKE.LEVEL} =3D=3D 0
CC=3Denv C_INCLUDE_PATH=3D/usr/include /usr/local/bin/gcc7 -L/usr/lib
CXX=3Denv C_INCLUDE_PATH=3D/usr/include =
CPLUS_INCLUDE_PATH=3D/usr/include/c++/v1 /usr/local/bin/g++7 -std=3Dc++11 =
-nostdinc++ -L/usr/lib
CPP=3D/usr/local/bin/cpp7
.export CC
.export CXX
.export CPP
=
AS=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/bin/a=
s
=
AR=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/bin/a=
r
=
LD=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/bin/l=
d
=
NM=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/bin/n=
m
=
OBJCOPY=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/=
bin/objcopy
=
OBJDUMP=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/=
bin/objdump
=
RANLIB=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/b=
in/ranlib
=
SIZE=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/bin=
/size
#NO-SUCH: =
STRINGS=3D/usr/local/${TOOLS_FROM_TYPE}-portbld-freebsd${VERSION_CONTEXT}/=
bin/strings
STRINGS=3D/usr/local/bin/strings
.export AS
.export AR
.export LD
.export NM
.export OBJCOPY
.export OBJDUMP
.export RANLIB
.export SIZE
.export STRINGS
.endif

# more ~/src.configs/make.conf=20
CFLAGS.gcc+=3D -v


=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?A23D27CB-2385-4924-AB62-A381213766BE>