From owner-freebsd-toolchain@freebsd.org Wed Mar 6 04:19:59 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 352DF1525711 for ; Wed, 6 Mar 2019 04:19:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-12.consmr.mail.ne1.yahoo.com (sonic308-12.consmr.mail.ne1.yahoo.com [66.163.187.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1ED9A724AA for ; Wed, 6 Mar 2019 04:19:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: hi_4JoMVM1n56TumW9rN2aUU3WVBj0MygTFNr90CDtV6JQ5kGXMeKmYNs6dPhHs 3sQNwBcE03r7CcSATnyEgdvFTptb2thpTte6f5q.4EzwXYnrXXkhL5EzyYaG_naI90W7tWjfYRqp XDDVWCo.FU7Cm4i1LZOPqet42CMi4ChSWHlZ3Q61._b99.2ax1yVL._4vMDKitDISvwIc0q8.J5P ymN_TpP8uaaZ0jD91GGrDBwRLTtDrGAq.Frh9pkslSNt3jP8WoV7TQZKR4iIZDOlaHU4aFlKZJBS 2FzsfazUTR8_HEAyB64tY.F2ANqQA7d8d8nJacX5Dds2s42UKxIh9jo69D3cKWu6ssA1cf5x_Zsz bsF0OSoX_SZN0iukweDOh8r0Wm1_S_Tr85Zx9lyQMDgomS43lmEjlR6ELnKYhvuJbzTRaJmuTM2O teY1WtaR1qgahx4QOKydH2M2gnqwPMVxt9s2dWPgbkYi68gsxyexxjJkwbOReSfv1___o0jPTdJ5 lmp_ZeOvnA0h6_VmXcciQ2LdWKcwiJDKszMLlVuldv.DaeRc0KCWPfYDFQ.xmYGPks2ZNdhyerQ8 _BH3gCWGfyyjPKIQBYEV1l8jEmvzqvopZmdziMW4qDU407DtOAHdyd8rTgo1.sCdUywclg3I5HTI VblPiIatm83PdXV8ITTUNexZaqYoCyqPJrJal9bD2BkoX6wZ0o.ieVwk8pbUsl9TCw6h6Sq1l0K5 STYII0a2CemU2.7Lm9XYoBl6YlCx2DFdfPRgr286_ubXFhy680mYyBqhDSN1P6fnYGHhyh136C4j xetFn0RTxhKtcaZx.l5T.6.DOjlsdiOHK9bNoJr4Ga39KwWp5nEQSIS27TzY4BAnuOE5DAoPsv0d UYbdGSB7ySkpcHuK5kPsh9VsfBorOKhlANlBDlKgSXOgmzo7dCyLtLWUy0jotInPkiIYZF5eLpg9 A9ws7l.86JQM8y4x4WiVbw6Iuyo7KM7GSr.v5OOyjXoc8MUERF9lWBOwA_tlEWOdxek78bIPQU_l s3WJHRBe43UCp__kuSpyFWh4A5igSICwr7oOyvD2FfSRFe9srYv45t9.J8g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 6 Mar 2019 04:19:51 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp409.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3957fa08fc24e321790eb19928b57284; Wed, 06 Mar 2019 04:19:46 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: amd64 -> powerpc64 port base/gcc use: "checking whether the C compiler works... Unable to load interpreter" and "If you meant to cross compile, use `--host'" Message-Id: <71E6ECD7-76B4-4C5A-9071-3CA0A20B4F24@yahoo.com> Date: Tue, 5 Mar 2019 20:19:45 -0800 To: John Baldwin , FreeBSD PowerPC ML , FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 1ED9A724AA X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.96)[0.962,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.16)[ip: (3.62), ipnet: 66.163.184.0/21(1.25), asn: 36646(1.00), country: US(-0.07)]; NEURAL_SPAM_MEDIUM(0.25)[0.253,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.44)[0.438,0]; RCVD_IN_DNSWL_NONE(0.00)[35.187.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2019 04:19:59 -0000 In trying to update powerpc64 from head -r344018 based to -r344825 based context via amd64->powerpc64 cross builds: base/binutils worked okay but base/gcc failed. This reports for base/gcc . (I actually only use base/binutils normally but I try base/gcc in case = it turns out that I need it.) # svnlite info /usr/ports | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 494751 Last Changed Rev: 494751 # pwd /usr/ports/base/gcc # make CROSS_TOOLCHAIN=3Dpowerpc64-gcc = CROSS_SYSROOT=3D/usr/obj/DESTDIRs/xtcgcc-powerpc64-installworld package =3D=3D=3D> License GPLv3 GPLv3RLE accepted by the user =3D=3D=3D> freebsd-gcc-6.4.0_2 depends on file: /usr/local/sbin/pkg - = found =3D=3D=3D> Fetching all distfiles required by freebsd-gcc-6.4.0_2 for = building =3D=3D=3D> Extracting for freebsd-gcc-6.4.0_2 =3D> SHA256 Checksum OK for gcc-6.4.0.tar.xz. =3D> SHA256 Checksum OK for mpfr-3.1.6.tar.xz. =3D> SHA256 Checksum OK for gmp-6.1.2.tar.xz. =3D> SHA256 Checksum OK for mpc-1.0.3.tar.gz. cd /wrkdirs/usr/ports/base/gcc/work/gcc-6.4.0; /bin/ln -sf ../mpfr-3.1.6 = mpfr ; /bin/ln -sf ../gmp-6.1.2 gmp ; /bin/ln -sf ../mpc-1.0.3 mpc =3D=3D=3D> Patching for freebsd-gcc-6.4.0_2 =3D=3D=3D> Applying extra patch = /usr/ports/base/gcc/../../devel/powerpc64-gcc/files/freebsd-format-extensi= ons =3D=3D=3D> Applying extra patch = /usr/ports/base/gcc/../../devel/powerpc64-gcc/files/freebsd-libdir =3D=3D=3D> Applying extra patch = /usr/ports/base/gcc/../../devel/powerpc64-gcc/files/patch-gcc-freebsd-mips= =3D=3D=3D> Applying FreeBSD patches for freebsd-gcc-6.4.0_2 =3D=3D=3D> freebsd-gcc-6.4.0_2 depends on executable: gmake - found =3D=3D=3D> freebsd-gcc-6.4.0_2 depends on executable: makeinfo - found =3D=3D=3D> Configuring for freebsd-gcc-6.4.0_2 configure: loading site script /usr/ports/Templates/config.site checking build system type... powerpc64-unknown-freebsd13.0 checking host system type... powerpc64-unknown-freebsd13.0 checking target system type... powerpc64-unknown-freebsd13.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... (cached) = /usr/bin/sed checking for gawk... (cached) /usr/bin/awk checking for libatomic support... yes checking for libcilkrts support... no checking for libitm support... yes checking for libsanitizer support... no checking for libvtv support... no checking for libmpx support... no checking for powerpc64-unknown-freebsd13.0-gcc... = /usr/local/bin/powerpc64-unknown-freebsd13.0-gcc = --sysroot=3D/usr/obj/DESTDIRs/xtcgcc-powerpc64-installworld checking for C compiler default output file name... a.out checking whether the C compiler works... Unable to load interpreter configure: error: in `/wrkdirs/usr/ports/base/gcc/work/.build': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to bapt@FreeBSD.org [maintainer] and attach = the "/wrkdirs/usr/ports/base/gcc/work/.build/config.log" including the = output of the failure of your make command. Also, it might be a good idea to = provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/base/gcc The config.log has: . . . configure:4413: checking for C compiler default output file name configure:4435: /usr/local/bin/powerpc64-unknown-freebsd13.0-gcc = --sysroot=3D/usr/obj/DESTDIRs/xtcgcc-powerpc64-installworld -O2 -pipe = -g -fno-strict-aliasing conftest.c >&5 configure:4439: $? =3D 0 configure:4476: result: a.out configure:4492: checking whether the C compiler works configure:4501: ./a.out configure:4505: $? =3D 255 configure:4512: error: in `/wrkdirs/usr/ports/base/gcc/work/.build': configure:4516: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)