From owner-freebsd-toolchain@freebsd.org Mon May 20 04:35:51 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 84E3B15A0F1D for ; Mon, 20 May 2019 04:35:51 +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 152608B4B7 for ; Mon, 20 May 2019 04:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C2ECC15A0F1C; Mon, 20 May 2019 04:35:50 +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 9EC8D15A0F1B for ; Mon, 20 May 2019 04:35:50 +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 3129F8B4B0 for ; Mon, 20 May 2019 04:35:50 +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 5C5A41E17C for ; Mon, 20 May 2019 04:35:49 +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 x4K4ZnZm022006 for ; Mon, 20 May 2019 04:35:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4K4ZnZE022003 for toolchain@FreeBSD.org; Mon, 20 May 2019 04:35:49 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: Mon, 20 May 2019 04:35:48 +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: Mon, 20 May 2019 04:35:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237068 --- Comment #16 from Mark Millard --- (In reply to Mark Millard from comment #15) The following small source code file and the few steps to build/link it produce the message: # more small_link_failure.cpp unsigned long fixed_seed_override=3D 0xdeadc0de; inline unsigned long get_execution_seed() { const unsigned long seed_prime =3D 0xff51afd7ed558ccdULL; static unsigned long seed =3D fixed_seed_override ? fixed_seed_override : (unsigned long)seed_prime; return seed; } unsigned long f() { return get_execution_seed(); } # c++ -c small_link_failure.cpp # rm -f small_link_failure.a # /usr/bin/ar qc small_link_failure.a small_link_failure.o # "/usr/bin/powerpc64-unknown-freebsd13.0-ld" \ "-Bshareable" \ "-o" "small_link_failure-1.0.so" \ "/usr/lib/crtbeginS.o" \ "--version-script" "/wrkdirs/usr/ports/devel/llvm60/work/.build/./lib/tools/llvm-shlib/simple_= version_script.map" \ "--whole-archive" \ "small_link_failure.a" \ "--no-whole-archive" \ "-lm" # /usr/bin/powerpc64-unknown-freebsd13.0-ld \ "-Bshareable" \ "-o" "small_link_failure.so.1.0.1" \ "small_link_failure-1.0.so" The result is: /usr/bin/powerpc64-unknown-freebsd13.0-ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/bin/powerpc64-unknown-freebsd13.0-ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 --=20 You are receiving this mail because: You are the assignee for the bug.=