From owner-freebsd-toolchain@freebsd.org Mon Mar 11 00:10:42 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 84ECE1523A0D for ; Mon, 11 Mar 2019 00:10:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-3.consmr.mail.bf2.yahoo.com (sonic302-3.consmr.mail.bf2.yahoo.com [74.6.135.42]) (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 DBE9A6E3E1 for ; Mon, 11 Mar 2019 00:10:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: KDNOktcVM1lqUJXzV4tIoPy.JpwdndXT1RnccL6V4HXU9e_wiWGMM74A0q0kM7d tZaFsDCXOWaW5P9TQ5aU_KWy3MM7CazC_aWUbNH7xb5k23hLQl_r485ctoe6xOKL8GztGic_Ia1d jgOXK4nIrFItX5zrGwYeQ66w134Qni8FxDDnrXVrlWycN2XJ5MKFJd0uzmBifxaS1H5jv5VhUcYC v3cFbK3ZnVxxTyEKUKvnlBhG.J5iiCk1OBlIiqHrx.aBi3BfaiOh.ns.mjpd96M9Z6gLpz5jBlSn SpzD8ELi2jFau0tHNLhNaIVsZbrYA94zQJGI0Qria2pV6San_4Ds44.L0Tndz3L2V9sLUdrYx70Y zwCpWT18oSmkOqXdRsRNfGe_e6jYj6rrnR5ON8NCDLrl11CnArNh1Tf47hhmp6sxLRNxB1hh41le jJeom.2jFZTV8EH4sOG1OZv3cqY57Rg8ZYdOG0xtXx.ttjQGhrUcrgM7yDOLEZQVj_l5e3NWBXJt HMNduajfqx3u.vAD.qb5MtOs9joKh7rwV9NPHqRHvqPBmTH9Hj9heEvcccR1.y_9BrlbF7.yhGHk qK.T2qn3jSy0nM01CzS5SIe73lHorLBfuM11drKAKzpuV0x9P30FxG7m1fi_fAkYosOlYbX1qZ2V UXjF9FXLo3v0ATS1TDB30q3NUEqXzuGobdS6TUrnbHBitB0k6IotL4YGcn5jHNjEZShlTjvb5XPn VBnGI5OicbbZOA6qxR3Podyj3oY21ka0jTPb7x5FiMT.eNSA7GcvOfe3G1bELHTQJhCmVYqmXb5y Z7XjjCaRVLr_7G5WtaTHucu_hnOCPd.IrvJ.Kto9DRTLlKcdSTi_vZXtXwRF1fI_VxNe0bmSdjPE YDG0upR17HrXjfLzVtzLIq6ph6A5Z_ZBJUPgjQk_qE7PEYcQGeBwrybLulf.Kb34mIUDjTo32aw7 PE7lpxs.suwNBnJ9onefCXKoyBxymh6HKrbSbEoLGGikTnvzX8ifKAt3Os2pFlG43hBFRy8h2vro DEA1vBk9DoCvHfnVwK8EVaH8w4CG4jPV669M5SiLgNUQTyCLritikWupoDT_sJvv7tW0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Mon, 11 Mar 2019 00:10:34 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1cd5e553d20e916b82dafe8c926bde74; Mon, 11 Mar 2019 00:10:30 +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: 32-bit powerpc: gcc8 unable to build devel/llvm60: "/usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935" Message-Id: <1A031A56-9D18-4B12-B98B-302F94C5CF56@yahoo.com> Date: Sun, 10 Mar 2019 17:10:28 -0700 To: FreeBSD PowerPC ML , FreeBSD Toolchain , ports-list freebsd X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: DBE9A6E3E1 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.56 / 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)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; 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:26101, ipnet:74.6.128.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.99)[0.993,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.52)[ip: (5.11), ipnet: 74.6.128.0/21(1.43), asn: 26101(1.15), country: US(-0.07)]; NEURAL_SPAM_MEDIUM(0.94)[0.941,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.62)[0.616,0]; RCVD_IN_DNSWL_NONE(0.00)[42.135.6.74.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: Mon, 11 Mar 2019 00:10:42 -0000 My ports-mgmt/pouriere-devel based build attempt for building = devel/llvm60 failed with: [00:00:53] [01] [00:00:00] Building devel/llvm60 | llvm60-6.0.1_6 [02:05:13] [01] [02:04:20] Saved devel/llvm60 | llvm60-6.0.1_6 wrkdir = to: = /usr/local/poudriere/data/wrkdirs/FBSDpowerpc-default/default/llvm60-6.0.1= _6.tbz [02:05:14] [01] [02:04:21] Finished devel/llvm60 | llvm60-6.0.1_6: = Failed: build [02:05:30] Stopping 1 builders The log shows: [3365/4552] : && /usr/local/bin/g++8 -fPIC -O2 -pipe -DNDEBUG = -Wl,-rpath=3D/usr/local/lib/gcc8 -DNDEBUG -D_GLIBCXX_USE_C99 = -Wl,-rpath=3D/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC = -fvisibility -inlines-hidden -Werror=3Ddate-time -std=3Dc++11 -Wall -W = -Wno-unused-parameter -Wwrite-strings -Wcast-qual = -Wno-missing-field-initializers -pedantic -Wno-long-long = -Wno-maybe-uninitialized -Wdelete-non-v irtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -pipe = -DNDEBUG -Wl,-rpath=3D/usr/local/lib/gcc8 -DNDEBUG -D_GLIBCXX_USE_C99 = -Wl,-rpath=3D/usr/local/lib/gcc8 -isystem /usr/local/include=20 -Wl,-rpath=3D/usr/local/lib/gcc8 -L/usr/local/lib/gcc8 -Wl,-z,origin = -Wl,-O3 -Wl,--gc-sections = -Wl,--version-script,/wrkdirs/usr/ports/devel/llvm60/work/.build/tools/lto= /LTO.exports -shared -Wl,-so name,libLTO.so.6 -o lib/libLTO.so.6.0.1 = tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o = tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -L/usr/local/lib = -Wl,-rpath,"\$ORIGIN/../lib:/usr/local/lib" lib/libLL VM-6.0.so && : FAILED: lib/libLTO.so.6.0.1=20 : && /usr/local/bin/g++8 -fPIC -O2 -pipe -DNDEBUG = -Wl,-rpath=3D/usr/local/lib/gcc8 -DNDEBUG -D_GLIBCXX_USE_C99 = -Wl,-rpath=3D/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC = -fvisibility-inlines-hid den -Werror=3Ddate-time -std=3Dc++11 -Wall -W -Wno-unused-parameter = -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic = -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor=20 -Wno-comment -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG = -Wl,-rpath=3D/usr/local/lib/gcc8 -DNDEBUG -D_GLIBCXX_USE_C99 = -Wl,-rpath=3D/usr/local/lib/gcc8 -isystem /usr/local/include = -Wl,-rpath=3D /usr/local/lib/gcc8 -L/usr/local/lib/gcc8 -Wl,-z,origin -Wl,-O3 = -Wl,--gc-sections = -Wl,--version-script,/wrkdirs/usr/ports/devel/llvm60/work/.build/tools/lto= /LTO.exports -shared -Wl,-soname,libLTO. so.6 -o lib/libLTO.so.6.0.1 = tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o = tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -L/usr/local/lib = -Wl,-rpath,"\$ORIGIN/../lib:/usr/local/lib" lib/libLLVM-6.0.so && : /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 collect2: error: ld returned 1 exit status . . . The assert seems to be the last BFD_ASSERT shown below: /* If this is a weak defined symbol in a dynamic object, and we know the real definition in the dynamic object, copy interesting flags over to the real definition. */ if (h->is_weakalias) { struct elf_link_hash_entry *def =3D weakdef (h); =20 /* If the real definition is defined by a regular object file, don't do anything special. See the longer description in _bfd_elf_adjust_dynamic_symbol, below. */ if (def->def_regular) { h =3D def; while ((h =3D h->u.alias) !=3D def) h->is_weakalias =3D 0; } else { while (h->root.type =3D=3D bfd_link_hash_indirect) h =3D (struct elf_link_hash_entry *) h->root.u.i.link; BFD_ASSERT (h->root.type =3D=3D bfd_link_hash_defined || h->root.type =3D=3D bfd_link_hash_defweak); BFD_ASSERT (def->def_dynamic); BFD_ASSERT (def->root.type =3D=3D bfd_link_hash_defined); (*bed->elf_backend_copy_indirect_symbol) (eif->info, def, h); } . . . Context: # uname -apKU FreeBSD FBSDG4S 13.0-CURRENT FreeBSD 13.0-CURRENT #14 r344955M: Fri Mar = 8 22:39:44 PST 2019 = markmi@FBSDFSSD:/usr/obj/powerpcvtsc_clang_gcc421/powerpc.powerpc/usr/src/= powerpc.powerpc/sys/GENERICvtsc-NODBG powerpc powerpc 1300014 1300014 (The 32-bit powerpc is running a gcc 4.2.1 based system. amd64 = system-clang built the bootstrap gcc 4.2.1 toolchain, which in turn built the system. The = 32-bit FreeBSD was running on a PowerMac G5 [2-sockets, 2 cores each].) # svnlite info /usr/ports/ | grep 'Re[plv]' Relative URL: ^/head Repository Root: svn://svn0.us-west.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 495006 Last Changed Rev: 495006 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)