From owner-freebsd-toolchain@freebsd.org Sun May 19 19:58:57 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 5D2E8158FD60 for ; Sun, 19 May 2019 19:58:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E1E1E7214B for ; Sun, 19 May 2019 19:58:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 99A1F158FD5F; Sun, 19 May 2019 19:58:56 +0000 (UTC) Delivered-To: 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 75886158FD5E for ; Sun, 19 May 2019 19:58:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1C4D72147 for ; Sun, 19 May 2019 19:58:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E09A419683 for ; Sun, 19 May 2019 19:58:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4JJwsMv050876 for ; Sun, 19 May 2019 19:58:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4JJws4m050875 for toolchain@FreeBSD.org; Sun, 19 May 2019 19:58:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824 Date: Sun, 19 May 2019 19:58:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.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: Sun, 19 May 2019 19:58:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237068 --- Comment #9 from Mark Millard --- (In reply to Mark Millard from comment #8) Notes for the 2nd message and what follows. What follows after the messaging appears interesting, noting the comment's content. (gdb) bt=20=20=20=20 #0 error_handler_internal (fmt=3D0x101dbc48 "BFD %s assertion fail %s:%d", ap=3D0x3fffffffffffcdf8 "") at bfd.c:1093 #1 0x00000000100204e8 in ld_bfd_error_handler (fmt=3D, ap=3D) at ./ldmain.c:187 #2 0x0000000010049b7c in _bfd_error_handler (fmt=3D) at bfd.c:1178 #3 0x000000001002047c in ld_bfd_assert_handler (fmt=3D, bfdver=3D, file=3D, line=3D) at ./ldmain.c:177 #4 0x0000000010049de4 in bfd_assert (file=3D, line=3D) at bfd.c:1429 #5 0x00000000100a520c in _bfd_elf_fix_symbol_flags (h=3Dh@entry=3D0x811e77= b70, eif=3Deif@entry=3D0x3fffffffffffd0e0) at elflink.c:2935 #6 0x00000000100a5800 in _bfd_elf_adjust_dynamic_symbol (h=3D0x811e77b70, data=3D0x3fffffffffffd0e0) at elflink.c:2962 #7 0x0000000010053d28 in bfd_link_hash_traverse (htab=3D0x810e50000, func=3D@0x10223738: 0x100a57b0 <_bfd_elf_adjust_dynamic_symbol>, info=3D) at linker.c:669 #8 0x00000000100ac588 in bfd_elf_size_dynamic_sections (output_bfd=3D0x810e4b000, soname=3D, rpath=3D0x8105fee80 "$ORIGIN/../lib:/usr/local/lib", filter_shlib=3D0x0, audit=3D0x0, depaudit= =3D0x0,=20 auxiliary_filters=3D, info=3D0x102324d8 , sinterpptr=3D) at elflink.c:6847 #9 0x0000000010032b34 in gldelf64ppc_fbsd_before_allocation () at eelf64ppc_fbsd.c:2107 #10 ppc_before_allocation () at eelf64ppc_fbsd.c:404 #11 0x00000000100264e0 in ldemul_before_allocation () at ldemul.c:82 #12 0x000000001001d644 in lang_process () at ldlang.c:7593 #13 0x00000000100047b8 in main (argc=3D, argv=3D) at ./ldmain.c:440 At #5 *h shows: _ZZN4llvm7hashing6detail18get_execution_seedEvE4seed@@LLVM_6.0 root.type =3D bfd_link_hash_defweak is_weakalias =3D 1 *h->u.alias shows: __bss_start@@LLVM_6.0 root.type =3D bfd_link_hash_indirect is_weakalias =3D 0 So again: def->root.type=3D=3D bfd_link_hash_indirect The code continues after the two BFD_ASSERT messages. If eventually reaches the xexit in main's : 477 /* Even if we're producing relocatable output, some non-fatal err= ors should 478 be reported in the exit status. (What non-fatal errors, if an= y, do we 479 want to ignore for relocatable output?) */ 480 if (!config.make_executable && !force_make_executable) 481 { 482 if (verbose) 483 einfo (_("%P: link errors found, deleting executable `%s'\n= "), 484 output_filename); 485=20=20=20=20=20 486 /* The file will be removed by ld_cleanup. */ 487 xexit (1); 488 } --=20 You are receiving this mail because: You are the assignee for the bug.=