Date: Mon, 20 May 2019 04:35:48 +0000 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 Message-ID: <bug-237068-29464-fDN4Qlj5LG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237068-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-237068-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237068 --- Comment #16 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237068-29464-fDN4Qlj5LG>