From owner-freebsd-current@freebsd.org Wed Dec 12 19:25: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 77F4F1322925 for ; Wed, 12 Dec 2018 19:25:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (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 ED56F74B97 for ; Wed, 12 Dec 2018 19:25:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Ev5YgiQVM1kI8BC2KZBUb.KEWOFeni.C94iAtpZfVSU6MhwutyJyB9tD6ruTnSm SXZd92M0Vuw_GfDIHLlXn95skq5GgiWeSLF9AKSJ6oFVZtQQxdmDGkRaA20begv9Al2bx3XmIsMa RYAsiAxevoy8HrbuPJCoQNfl7IB9C855NHXeFIjNChp5Gs0oal2Q84TdXyUy4yiBd7EAA.Gpgvpy pJ55atomRBmdxab83WkoT1XO2xQISXMExbz91W8GUebblj06XepBsMpWopiGIVCnl4BlGZY8fgw. ARMYMFLczS8UV4_XH_Cd3.lMc_WhGqrqEb94yiPgvrtfxDci4mjuk0YvT5f8NadFkDkzu_iuWu6C dcDXZUY.1Vr7vscG7rwUlGHuvUFMr19dDIFzf6oDTurezCOrSpg3pEjUyG9lzVV4rM6_AZD5hp7t fEBrgTlV9Yg0M9i.47aZRRibO4tu7pZG.SQhLk5ygJDvHW9_bqEot58cGuNDYnHgrWoDYFvXqFNL WW1V18qFMwYH7fg6CVkp0qjc5jMpmlNzW9bNj_Fhs3WTZDqaY.sco.RuuZI5ihcS2b0PA0nHw13G nUWOkKUFMw2fiLoJUi7xKTipEcVhp0Os6d4EB_pglX5FXvWHfpOApSXPY5Xju6h16hXQO5mehgC4 2.ktSlwiaXXqtemC0OMBmq8XqbkukW.ieLElqusRxWDBw_cPPGSKOORTJeHXOiglxAuTCS0MaUYs _t1YRmd2z8JmLiwStdY3GtsNrCdPX1sOxchhFgVXxGIWhvSTWrL_80oLhzjIUrzT4yI8KrSzFIki QfNamDQaK82mZHXT3sD6hoCk2Ltu9l_AtgFOotQtt_h4nCvBJ5pewKtczt1xeRPgp7wNtVoae8rZ ReD_aE_9eUN6Vj2t7oHjo08yXF7Xcy4WYF1gYXE3cDaAFqWIDNvaT9ZQMbdwgGb_kxSSAMYuZw3R mgHbA5vgZ2Tgk4yW9EofEq3JlGqTWtnwnyeWT95rrwgIWbHpScoxE1_v5MxtD.7.SmvN2N_Vuce4 sS..EhIB3tRTXaJ8bdMZNiBXheWLBP4SD0A5GwFEQKqC3aFIMP7v5hH8- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Wed, 12 Dec 2018 19:25:29 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp401.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2f62a8f60e3e93a2d4673d8d4c7f3fb7; Wed, 12 Dec 2018 19:25:27 +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: Re: head -r341836 (jump to clang 7): amd64 -> armv7 cross build failed: ld: error: unable to find library -lh_csu Date: Wed, 12 Dec 2018 11:25:26 -0800 References: <4FCADEF8-E47F-47B0-94F0-7AF1B34004E0@yahoo.com> To: Dimitry Andric , FreeBSD Toolchain , freebsd-arm , FreeBSD Current In-Reply-To: <4FCADEF8-E47F-47B0-94F0-7AF1B34004E0@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: ED56F74B97 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.53 / 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]; NEURAL_HAM_SHORT(-0.53)[-0.533,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.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)[4]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.27)[0.272,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[32.69.137.98.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.24)[ip: (0.10), ipnet: 98.137.64.0/21(0.66), asn: 36647(0.53), country: US(-0.09)] 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 19:25:38 -0000 On 2018-Dec-11, at 17:27, Mark Millard wrote: > [This was after amd64 updating to -r341836 successfully ( from = -r341766 ). > The below was a meta-mode cross build, also going from -r341766 to > -r341836 .] >=20 > # = ~/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 >=20 > 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' >=20 > I've not yet tried targeting aarch64, powerpc64, or powerpc . Looks like this might have been from a race condition or some such. Rerunning the meta-mode build again had no such problem and completed. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)