From owner-freebsd-ppc@freebsd.org Mon May 30 15:29:47 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D439B54FE2; Mon, 30 May 2016 15:29:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 65BCB19A7; Mon, 30 May 2016 15:29:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 5211A1BDA; Mon, 30 May 2016 15:29:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id F01411D7F7; Mon, 30 May 2016 15:29:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id A446IqALvo5R; Mon, 30 May 2016 15:29:38 +0000 (UTC) Subject: Re: 11.0 -r300944 build attempted WITH_META_MODE failed [amd64 targeting powerpc64 via devel/powerpc64-gcc use] DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 6BE421D7F1 To: Mark Millard , FreeBSD Current References: <8A197698-51C7-43F9-9927-465602E19AAE@dsl-only.net> Cc: FreeBSD Toolchain , FreeBSD PowerPC ML From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Mon, 30 May 2016 08:29:40 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <8A197698-51C7-43F9-9927-465602E19AAE@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7LtOeSibHtIO8t59R5B8g4SBwcj8du689" X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2016 15:29:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7LtOeSibHtIO8t59R5B8g4SBwcj8du689 Content-Type: multipart/mixed; boundary="lVaeJohqt2ddjA7OEtiafs3N49wEqwKMN" From: Bryan Drewery To: Mark Millard , FreeBSD Current Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Message-ID: Subject: Re: 11.0 -r300944 build attempted WITH_META_MODE failed [amd64 targeting powerpc64 via devel/powerpc64-gcc use] References: <8A197698-51C7-43F9-9927-465602E19AAE@dsl-only.net> In-Reply-To: <8A197698-51C7-43F9-9927-465602E19AAE@dsl-only.net> --lVaeJohqt2ddjA7OEtiafs3N49wEqwKMN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This failure is not likely related to META_MODE. I should have mentioned that to enable META_MODE after not having it on you should do a 'make cleanworld' first. On 5/29/2016 9:19 PM, Mark Millard wrote: > This was my first-time-ever WITH_META_MODE attempt. I show a chunk of t= he log later below. >=20 > Retrying without WITH_META_MODE=3Dyes resulted in no problems, unlike b= elow. >=20 > A self-hosted powerpc64 11.0 -r300944 build using devel/powerpc64-gcc a= s the so-called "cross compiler" also did not have this problem =E2=80=94= -but powerpc64 does not have WITH_META_MODE (no filemon.ko to load). >=20 > [The 2 "no problem" examples suggest that -r300944 has gotten to the po= int that xtoolchain like contexts work again [non-META], even self hosted= ones.] >=20 > Here is the part of the script log around the WITH_META_MODE failure. T= he compiles had -v . . . >=20 > --- 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-freebsd1= 1.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 p= owerpc64' --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/gc= c/powerpc64-portbld-freebsd11.0/5.3.0/:/usr/local/libexec/gcc/powerpc64-p= ortbld-freebsd11.0/5.3.0/:/usr/local/libexec/gcc/powerpc64-portbld-freebs= d11.0/:/usr/local/lib/gcc/powerpc64-portbld-freebsd11.0/5.3.0/:/usr/local= /lib/gcc/powerpc64-portbld-freebsd11.0/ > LIBRARY_PATH=3D/usr/local/powerpc64-freebsd/bin/:/usr/local/lib/gcc/pow= erpc64-portbld-freebsd11.0/5.3.0/:/usr/obj/xtoolchain/powerpc.powerpc64/u= sr/src/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/sr= c/tmp/usr/lib' '-B' '/usr/local/powerpc64-freebsd/bin/' '-O2' '-pipe' '-I= ' '/usr/src/usr.sbin/ctld/../../contrib/libucl/include' '-I' '/usr/src/us= r.sbin/ctld' '-I' '/usr/src/usr.sbin/ctld/../../sys' '-I' '/usr/src/usr.s= bin/ctld/../../sys/cam/ctl' '-I' '/usr/src/usr.sbin/ctld/../../sys/dev/is= csi' '-g' '-std=3Dgnu99' '-fstack-protector-strong' '-Wsystem-headers' '-= Wall' '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-protot= ypes' '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' '= -Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' '-Wchar-subscrip= ts' '-Winline' '-Wnested-externs' '-Wredundant-decls' '-Wold-style-defini= tion' '-Wno-pointer-sign' '-Wno-error=3Dunused-function' '-Wno-error=3Den= um-compare' '-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dbool-com= pare' '-Wno-error=3Duninitialized' '-Wno-error=3Darray-bounds' '-Wno-erro= r=3Dclobbered' '-Wno-error=3Dcast-align' '-Wno-error=3Dextra' '-Wno-error= =3Dattributes' '-Wno-error=3Dinline' '-Wno-error=3Dunused-but-set-variabl= e' '-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 -p= lugin /usr/local/libexec/gcc/powerpc64-portbld-freebsd11.0/5.3.0/liblto_p= lugin.so -plugin-opt=3D/usr/local/libexec/gcc/powerpc64-portbld-freebsd11= =2E0/5.3.0/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp//ccDS76mK.res -p= lugin-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 -plu= gin-opt=3D-pass-through=3D-lgcc_s --sysroot=3D/usr/obj/xtoolchain/powerpc= =2Epowerpc64/usr/src/tmp --eh-frame-hdr -V -melf64ppc_fbsd -V -dynamic-li= nker /libexec/ld-elf.so.1 -o ctld.full /usr/obj/xtoolchain/powerpc.powerp= c64/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/us= r/lib -L/usr/local/powerpc64-freebsd/bin -L/usr/local/lib/gcc/powerpc64-p= ortbld-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 t= oken.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/li= b/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_objec= t_find_key' > /usr/src/usr.sbin/ctld/uclparse.c:68: undefined reference to `ucl_objec= t_find_key' > uclparse.o: In function `uclparse_chap_mutual': > /usr/src/usr.sbin/ctld/uclparse.c:91: undefined reference to `ucl_objec= t_find_key' > /usr/src/usr.sbin/ctld/uclparse.c:98: undefined reference to `ucl_objec= t_find_key' > /usr/src/usr.sbin/ctld/uclparse.c:105: undefined reference to `ucl_obje= ct_find_key' > uclparse.o:/usr/src/usr.sbin/ctld/uclparse.c:112: more undefined refere= nces to `ucl_object_find_key' follow > uclparse.o: In function `uclparse_toplevel': > /usr/src/usr.sbin/ctld/uclparse.c:235: undefined reference to `ucl_iter= ate_object' > /usr/src/usr.sbin/ctld/uclparse.c:278: undefined reference to `ucl_iter= ate_object' > /usr/src/usr.sbin/ctld/uclparse.c:317: undefined reference to `ucl_iter= ate_object' > uclparse.o: In function `uclparse_auth_group': > /usr/src/usr.sbin/ctld/uclparse.c:396: undefined reference to `ucl_iter= ate_object' > /usr/src/usr.sbin/ctld/uclparse.c:416: undefined reference to `ucl_iter= ate_object' > uclparse.o:/usr/src/usr.sbin/ctld/uclparse.c:431: more undefined refere= nces to `ucl_iterate_object' follow > uclparse.o: In function `uclparse_target_lun': > /usr/src/usr.sbin/ctld/uclparse.c:202: undefined reference to `ucl_obje= ct_find_key' > /usr/src/usr.sbin/ctld/uclparse.c:203: undefined reference to `ucl_obje= ct_find_key' > uclparse.o: In function `uclparse_target': > /usr/src/usr.sbin/ctld/uclparse.c:731: undefined reference to `ucl_iter= ate_object' > collect2: error: ld returned 1 exit status >=20 > *** [ctld.full] Error code 1 >=20 > make[4]: stopped in /usr/src/usr.sbin/ctld > 1 error >=20 > make[4]: stopped in /usr/src/usr.sbin/ctld > *** [all_subdir_usr.sbin/ctld] Error code 2 >=20 >=20 >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 --=20 Regards, Bryan Drewery --lVaeJohqt2ddjA7OEtiafs3N49wEqwKMN-- --7LtOeSibHtIO8t59R5B8g4SBwcj8du689 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXTFxmAAoJEDXXcbtuRpfPuDEH/3xdXoTGLHD82ImCgBtRXbTA pnEBvllA1+vAVMX1EuqvFiN4kdQqQLM7vX6N5pHihmCFQMnXgTfhdTUBAghlTisT lwmv5doqM0WdBii+LXr6ePVY8cyNF51/grQ81j/oLmiTOMuUKs5QeK4Vg/+oXhjH io57WQ89rZ3Hp6vyW8bXCoeSGS2UkR3mZlwiU7hkGnXv6bFH8HuCwrxcN+wC0/d7 kjk3BRCCE9eftejIapVdoWBHpm1xncL+cLzJi8QarEXaLqO2Kmxh+E1rB2I6PnQ2 ev4LSZQp6Tv4DmvHo+5EabAHvniN+GUyymkHgkk/IGbsp061Bo+wQdcznFr3BWQ= =80kK -----END PGP SIGNATURE----- --7LtOeSibHtIO8t59R5B8g4SBwcj8du689--