From owner-freebsd-current@freebsd.org Wed Dec 12 01:27:38 2018 Return-Path: Delivered-To: freebsd-current@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 2BD2413263B6 for ; Wed, 12 Dec 2018 01:27:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-4.consmr.mail.bf2.yahoo.com (sonic307-4.consmr.mail.bf2.yahoo.com [74.6.134.43]) (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 646776B4E9 for ; Wed, 12 Dec 2018 01:27:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: kwtvRHQVM1nEspkrRQmX_yQbKUiOG9q008iC_Gdsq5JlfxCJfXELFFDT.TuuTVt NTSw0BM.8wC6XTcxe7v0gOiXmXwwsdJrWja73KFiwLVO0Zbm1AYpPdJVaO08pUXc3wOM6vbW7o91 5NLY5ShgoW_PB2J9BUNh86j3wow.JaJcel9XvryNsFbB.aypVzmF8sn6g2gXBZoH5Z8HplRkWcci 4_poCCjaa58a6k4ipcFbosE57Bt6QVzN1LI5rIWUxcSj50fM86laT_0WFNIrnL5duYNlfzjO0QQM ugTTQgRrojPqueZvZAA2T7TnddoGWCh4YbpZo36WnaIGDC5PEjub_tgT.8hCSejFFtUfmAv.oJaU vZqi.auTvRsdEPSZLXFz.GHUHcaZx0TFHOdplkyNiR6_PkbXHtF0Rv.nnr7pv801v05MeSz.o4D0 pRK7QHCz15BJu.Qeaoi6aHM_NQ49fZaDLuIue6ceW...krk2odTWyDBgiBThdPEvS7FHuYMion2e lFxekf_FKasyhBWysK7MZ2gynZa2X44z2NHZjahdmon_4jYHnJVsCOe1Y0TM3P02qzoVYfrFJ.Sn gGEZMpBunUOc1oGdock097cXbcjDGS4o8JuLm88XnGKO2UDo8OUq6Y7ymulh8mIW8If0fbJh3pP4 7HCd338bq9r1ZVNO986TpltPpAUF_moGZjyQdRid9kj45gFXVWWYOdd8f.245JGLE.I4agRPrvSQ IHhUbHseu4z63iqb9zCMKPO705pxRt.sUtoTVUOnjchxZi8H2kqeGEEEx4L.1t.PaK2zjDNIEMBa bAV1_W1DgwOwYTXi__QCGWMReFT.sr9ZiH4o_qif6RqeX4yKGHal7oreA9V1ubdv5wLRTGVBUXNU MfLZQ4NKL27UsRfIa_4higmpQ3mlx14CpwBCjABgeMK48jsPd.jCdikEcTg83lnUmfkQfmxJm9mx gfnbY4B50Iai1JzScfh8XauCgC.MV4M9D5_F2GVmRgzcNXQzaeDTwFjksQN5E2Vx5rLnaMWezk9Y oZMaZhYHJztm.wJXnC_3J2fVbDqL5QLG6OojJRzMAIqSSBXx095AUu1hf Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Wed, 12 Dec 2018 01:27:30 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 396055e7c9a459daa4bb7618d1c5419b; Wed, 12 Dec 2018 01:27:26 +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: head -r341836 (jump to clang 7): amd64 -> armv7 cross build failed: ld: error: unable to find library -lh_csu Message-Id: <4FCADEF8-E47F-47B0-94F0-7AF1B34004E0@yahoo.com> Date: Tue, 11 Dec 2018 17:27:23 -0800 To: Dimitry Andric , FreeBSD Toolchain , freebsd-arm , FreeBSD Current X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 646776B4E9 X-Spamd-Bar: + X-Spamd-Result: default: False [1.63 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[yahoo.com]; NEURAL_SPAM_SHORT(0.58)[0.585,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCVD_IN_DNSWL_NONE(0.00)[43.134.6.74.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(1.55)[ip: (4.72), ipnet: 74.6.128.0/21(1.74), asn: 26101(1.39), country: US(-0.09)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 01:27:38 -0000 [This was after amd64 updating to -r341836 successfully ( from -r341766 = ). The below was a meta-mode cross build, also going from -r341766 to -r341836 .] # = ~/sys_build_scripts.amd64-host/make_armv7_nodebug_clang_bootstrap-amd64-ho= st.sh -j28 buildworld buildkernel Script started, output file is = /root/sys_typescripts/typescript_make_armv7_nodebug_clang_bootstrap-amd64-= host-2018-12-11:17:02:35 --- buildworld --- make[1]: "/usr/src/Makefile.inc1" line 347: SYSTEM_COMPILER: Determined = that CC=3Dcc matches the source tree. Not bootstrapping a = cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 352: SYSTEM_LINKER: Determined = that LD=3Dld matches the source tree. Not bootstrapping a cross-linker. --- buildworld_prologue --- . . . --- all_subdir_lib --- --- all_subdir_lib/csu/tests/dynamiclib --- --- init_test.full --- ld: error: unable to find library -lh_csu c++: error: linker command failed with exit code 1 (use -v to see = invocation) --- all_subdir_usr.bin --- --- all_subdir_usr.bin/bsdiff --- =3D=3D=3D> usr.bin/bsdiff (all) --- all_subdir_lib --- *** [init_test.full] Error code 1 make[7]: stopped in /usr/src/lib/csu/tests/dynamiclib .ERROR_TARGET=3D'init_test.full' = .ERROR_META_FILE=3D'/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/c= su/tests/dynamiclib/init_test.full.meta' .MAKE.LEVEL=3D'7' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'c++ -mcpu=3Dcortex-a7 -mcpu=3Dcortex-a7 -target = armv7-gnueabihf-freebsd13.0 = --sysroot=3D/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp = -B/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/bin -O -pipe = -DDSO_BASE -I/usr/src/lib/csu/arm -g -Wsystem-headers -Wall = -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith = -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion = -Wno-unused-local-typedef -Wno-address-of-packed-member = -Qunused-arguments -Wno-c++11-extensions = -Wl,-rpath,/usr/tests/lib/csu/dynamiclib = -L/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/csu/tests/dso = -Wl,--no-threads -o init_test.full init_test.o -lh_csu -lprivateatf-c++ = -lprivateatf-c -lprivateatf-c;' .CURDIR=3D'/usr/src/lib/csu/tests/dynamiclib' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/lib/csu/tests/= dynamiclib' .TARGETS=3D' all' --- all_subdir_share --- A failure has been detected in another branch of the parallel make --- all_subdir_lib --- DESTDIR=3D'/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm' MACHINE_ARCH=3D'armv7' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20180919' = PATH=3D'/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/sbin:/usr= /obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/bin:/usr/obj/armv7_cl= ang/arm.armv7/usr/src/arm.armv7/tmp/legacy/usr/sbin:/usr/obj/armv7_clang/a= rm.armv7/usr/src/arm.armv7/tmp/legacy/usr/bin:/usr/obj/armv7_clang/arm.arm= v7/usr/src/arm.armv7/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7' I've not yet tried targeting aarch64, powerpc64, or powerpc . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)