Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2016 21:19:54 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD Current <freebsd-current@freebsd.org>, Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   11.0 -r300944 build attempted WITH_META_MODE failed [amd64 targeting powerpc64 via devel/powerpc64-gcc use]
Message-ID:  <8A197698-51C7-43F9-9927-465602E19AAE@dsl-only.net>

next in thread | raw e-mail | index | archive | help
This was my first-time-ever WITH_META_MODE attempt. I show a chunk of =
the log later below.

Retrying without WITH_META_MODE=3Dyes resulted in no problems, unlike =
below.

A self-hosted powerpc64 11.0 -r300944 build using devel/powerpc64-gcc as =
the so-called "cross compiler" also did not have this problem =E2=80=94-bu=
t powerpc64 does not have WITH_META_MODE (no filemon.ko to load).

[The 2 "no problem" examples suggest that -r300944 has gotten to the =
point that xtoolchain like contexts work again [non-META], even self =
hosted ones.]

Here is the part of the script log around the WITH_META_MODE failure. =
The compiles had -v . . .

--- ctld.full ---
Using built-in specs.
COLLECT_GCC=3D/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc
=
COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0=
/5.3.0/lto-wrapper
Target: powerpc64-portbld-freebsd11.0
Configured with: ./../gcc-5.3.0/configure =
--target=3Dpowerpc64-portbld-freebsd11.0 --disable-nls =
--enable-languages=3Dc,c++ --without-headers --with-gmp=3D/usr/local =
--with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' =
--with-system-zlib --with-as=3D/usr/local/bin/powerpc64-freebsd-as =
--with-ld=3D/usr/local/bin/powerpc64-freebsd-ld --prefix=3D/usr/local =
--localstatedir=3D/var --mandir=3D/usr/local/man =
--infodir=3D/usr/local/info/ --build=3Dx86_64-portbld-freebsd11.0
Thread model: posix
gcc version 5.3.0 (FreeBSD Ports Collection for powerpc64)=20
=
COMPILER_PATH=3D/usr/local/powerpc64-freebsd/bin/:/usr/local/libexec/gcc/p=
owerpc64-portbld-freebsd11.0/5.3.0/:/usr/local/libexec/gcc/powerpc64-portb=
ld-freebsd11.0/5.3.0/:/usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0=
/:/usr/local/lib/gcc/powerpc64-portbld-freebsd11.0/5.3.0/:/usr/local/lib/g=
cc/powerpc64-portbld-freebsd11.0/
=
LIBRARY_PATH=3D/usr/local/powerpc64-freebsd/bin/:/usr/local/lib/gcc/powerp=
c64-portbld-freebsd11.0/5.3.0/:/usr/obj/xtoolchain/powerpc.powerpc64/usr/s=
rc/tmp/lib/:/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/
COLLECT_GCC_OPTIONS=3D'-isystem' =
'/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include' =
'-L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib' '-B' =
'/usr/local/powerpc64-freebsd/bin/' '-O2' '-pipe' '-I' =
'/usr/src/usr.sbin/ctld/../../contrib/libucl/include' '-I' =
'/usr/src/usr.sbin/ctld' '-I' '/usr/src/usr.sbin/ctld/../../sys' '-I' =
'/usr/src/usr.sbin/ctld/../../sys/cam/ctl' '-I' =
'/usr/src/usr.sbin/ctld/../../sys/dev/iscsi' '-g' '-std=3Dgnu99' =
'-fstack-protector-strong' '-Wsystem-headers' '-Wall' '-Wno-format-y2k' =
'-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wpointer-arith' =
'-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' '-Wswitch' '-Wshadow' =
'-Wunused-parameter' '-Wcast-align' '-Wchar-subscripts' '-Winline' =
'-Wnested-externs' '-Wredundant-decls' '-Wold-style-definition' =
'-Wno-pointer-sign' '-Wno-error=3Dunused-function' =
'-Wno-error=3Denum-compare' '-Wno-error=3Dlogical-not-parentheses' =
'-Wno-error=3Dbool-compare' '-Wno-error=3Duninitialized' =
'-Wno-error=3Darray-bounds' '-Wno-error=3Dclobbered' =
'-Wno-error=3Dcast-align' '-Wno-error=3Dextra' '-Wno-error=3Dattributes' =
'-Wno-error=3Dinline' '-Wno-error=3Dunused-but-set-variable' =
'-Wno-error=3Dunused-value' '-Wno-error=3Dstrict-aliasing' =
'-Wno-error=3Daddress' '-v' '-o' 'ctld.full'
 /usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0/5.3.0/collect2 =
-plugin =
/usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0/5.3.0/liblto_plugin.s=
o =
-plugin-opt=3D/usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0/5.3.0/l=
to-wrapper -plugin-opt=3D-fresolution=3D/tmp//ccDS76mK.res =
-plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lgcc_s =
-plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc =
-plugin-opt=3D-pass-through=3D-lgcc_s =
--sysroot=3D/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp =
--eh-frame-hdr -V -melf64ppc_fbsd -V -dynamic-linker =
/libexec/ld-elf.so.1 -o ctld.full =
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/crt1.o =
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/crti.o =
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/crtbegin.o =
-L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib =
-L/usr/local/powerpc64-freebsd/bin =
-L/usr/local/lib/gcc/powerpc64-portbld-freebsd11.0/5.3.0 =
-L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/lib =
-L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib chap.o =
ctld.o discovery.o isns.o kernel.o keys.o log.o login.o parse.o pdu.o =
token.o uclparse.o -lbsdxml -ll -lmd -lsbuf -lutil -lprivateucl -lm =
-lssp_nonshared -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc =
--as-needed -lgcc_s --no-as-needed =
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/crtend.o =
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib/crtn.o
GNU ld (GNU Binutils) 2.25.1
  Supported emulations:
   elf64ppc_fbsd
   elf64ppc
   elf32ppc_fbsd
   elf32ppc
GNU ld (GNU Binutils) 2.25.1
  Supported emulations:
   elf64ppc_fbsd
   elf64ppc
   elf32ppc_fbsd
   elf32ppcuclparse.o: In function `uclparse_chap':
/usr/src/usr.sbin/ctld/uclparse.c:61: undefined reference to =
`ucl_object_find_key'
/usr/src/usr.sbin/ctld/uclparse.c:68: undefined reference to =
`ucl_object_find_key'
uclparse.o: In function `uclparse_chap_mutual':
/usr/src/usr.sbin/ctld/uclparse.c:91: undefined reference to =
`ucl_object_find_key'
/usr/src/usr.sbin/ctld/uclparse.c:98: undefined reference to =
`ucl_object_find_key'
/usr/src/usr.sbin/ctld/uclparse.c:105: undefined reference to =
`ucl_object_find_key'
uclparse.o:/usr/src/usr.sbin/ctld/uclparse.c:112: more undefined =
references to `ucl_object_find_key' follow
uclparse.o: In function `uclparse_toplevel':
/usr/src/usr.sbin/ctld/uclparse.c:235: undefined reference to =
`ucl_iterate_object'
/usr/src/usr.sbin/ctld/uclparse.c:278: undefined reference to =
`ucl_iterate_object'
/usr/src/usr.sbin/ctld/uclparse.c:317: undefined reference to =
`ucl_iterate_object'
uclparse.o: In function `uclparse_auth_group':
/usr/src/usr.sbin/ctld/uclparse.c:396: undefined reference to =
`ucl_iterate_object'
/usr/src/usr.sbin/ctld/uclparse.c:416: undefined reference to =
`ucl_iterate_object'
uclparse.o:/usr/src/usr.sbin/ctld/uclparse.c:431: more undefined =
references to `ucl_iterate_object' follow
uclparse.o: In function `uclparse_target_lun':
/usr/src/usr.sbin/ctld/uclparse.c:202: undefined reference to =
`ucl_object_find_key'
/usr/src/usr.sbin/ctld/uclparse.c:203: undefined reference to =
`ucl_object_find_key'
uclparse.o: In function `uclparse_target':
/usr/src/usr.sbin/ctld/uclparse.c:731: undefined reference to =
`ucl_iterate_object'
collect2: error: ld returned 1 exit status

*** [ctld.full] Error code 1

make[4]: stopped in /usr/src/usr.sbin/ctld
1 error

make[4]: stopped in /usr/src/usr.sbin/ctld
*** [all_subdir_usr.sbin/ctld] Error code 2




=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?8A197698-51C7-43F9-9927-465602E19AAE>