[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #17 from Mark Millard --- (In reply to Mark Millard from comment #16) Using: g++8 -c small_link_failure.cpp instead of the system-clang-8 c++ also reproduces getting the messages after the other steps. Using the program: /u

Re: FYI: Unable to build -r501994 ports' devel/llvm60 on clang 8 based powerpc64 system: "BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935"

2019-05-19 Thread Mark Millard via freebsd-toolchain
[I finally provide a small source file and steps for processing it to produce the BFD_ASSERT notices.] On 2019-May-19, at 11:06, Dimitry Andric wrote: > On 19 May 2019, at 16:56, Mark Millard via freebsd-toolchain > wrote: >> This was in a poudriere bulk build on a head -r347549 based powerpc6

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- 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

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #15 from Mark Millard --- (In reply to Mark Millard from comment #14) lib/IR/CMakeFiles/LLVMCore.dir/Core.cpp.o is not needed to show the problem. So just: rm lib/libLLVMCore.a /usr/bin/ar qc lib/libLLVMCore.a \ lib/IR/CMakeF

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #14 from Mark Millard --- (In reply to Mark Millard from comment #13) Exploring shrinking lib/libLLVMCore.a did not take as long. Only Constants.cpp.o and Core.cpp.o are required. The following sequence produces the messages: (

Re: FYI: Unable to build -r501994 ports' devel/llvm60 on clang 8 based powerpc64 system: "BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935"

2019-05-19 Thread Mark Millard via freebsd-toolchain
On 2019-May-19, at 11:06, Dimitry Andric wrote: > On 19 May 2019, at 16:56, Mark Millard via freebsd-toolchain > wrote: >> This was in a poudriere bulk build on a head -r347549 based powerpc64 >> system with system clang 8 for cc and c++ and base/binutils >> for the likes of ld. (The system

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #13 from Mark Millard --- (In reply to Mark Millard from comment #12) The following 2 link commands, producing and using an vastly-smaller lib/libLLVM-6.0.so reproduce the messages: "/usr/bin/powerpc64-unknown-freebsd13.0-ld"

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #12 from Mark Millard --- (In reply to Mark Millard from comment #11) I've reduced the link command to: # /usr/bin/powerpc64-unknown-freebsd13.0-ld "-Bshareable" "-o" "lib/libLTO.so.6.0.1" "lib/libLLVM-6.0.so" /usr/bin/powerpc

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #11 from Mark Millard --- (In reply to Mark Millard from comment #10) So far going down my own path seems to have confirmed Dimitry Andric's comment #5 still applies, even for powerpc64, but with the additional detail: QUOTE F

Re: FYI: Unable to build -r501994 ports' devel/llvm60 on clang 8 based powerpc64 system: "BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935"

2019-05-19 Thread Mark Millard via freebsd-toolchain
On 2019-May-19, at 11:06, Dimitry Andric wrote: > On 19 May 2019, at 16:56, Mark Millard via freebsd-toolchain > wrote: >> This was in a poudriere bulk build on a head -r347549 based powerpc64 >> system with system clang 8 for cc and c++ and base/binutils >> for the likes of ld. (The system

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #10 from Mark Millard --- (In reply to Mark Millard from comment #9) The only source code that I find with: _ZZN4llvm7hashing6detail18get_execution_seedEvE4seed (So: namespace llvm::hashing::detail:: ) is: /wrkdirs/usr/ports

Problem reports for toolch...@freebsd.org that need special attention

2019-05-19 Thread bugzilla-noreply
To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and ob

[Bug 237975] Add /usr/lib/libgomp.so symlink on Clang architectures

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237975 Dimitry Andric changed: What|Removed |Added Flags||mfc-stable11+,

[Bug 237975] Add /usr/lib/libgomp.so symlink on Clang architectures

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237975 Dimitry Andric changed: What|Removed |Added Status|New |In Progress CC|

[Bug 237975] Add /usr/lib/libgomp.so symlink on Clang architectures

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237975 --- Comment #1 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Sun May 19 20:13:55 UTC 2019 New revision: 347979 URL: https://svnweb.freebsd.org/changeset/base/347979 Log: To avoid unnecessarily modifying

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- 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 #0 error_handler

[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824

2019-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 Mark Millard changed: What|Removed |Added CC||marklmi26-f...@yahoo.com --- Commen

Re: FYI: Unable to build -r501994 ports' devel/llvm60 on clang 8 based powerpc64 system: "BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935"

2019-05-19 Thread Dimitry Andric
On 19 May 2019, at 16:56, Mark Millard via freebsd-toolchain wrote: > This was in a poudriere bulk build on a head -r347549 based powerpc64 > system with system clang 8 for cc and c++ and base/binutils > for the likes of ld. (The system has the llvm libunwind patches > for powerpc64 so throwing c

FYI: Unable to build -r501994 ports' devel/llvm60 on clang 8 based powerpc64 system: "BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935"

2019-05-19 Thread Mark Millard via freebsd-toolchain
This was in a poudriere bulk build on a head -r347549 based powerpc64 system with system clang 8 for cc and c++ and base/binutils for the likes of ld. (The system has the llvm libunwind patches for powerpc64 so throwing c++ exceptions work.) [4397/4552] : && /usr/bin/c++ -fPIC -O2 -pipe -DNDEBUG -

Re: FYI: Unable to build -r501994 ports' lang/gcc8 on clang 8 based powerpc64 system (no -O1 use): "does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls

2019-05-19 Thread Mark Millard via freebsd-toolchain
[It built with GNU ld (GNU Binutils) 2.32 as ld.] On 2019-May-18, at 21:42, Mark Millard wrote: > On 2019-May-18, at 21:11, Mark Millard wrote: > >> This was in a poudriere bulk build on a head -r347549 based powerpc64 >> system with system clang 8 for cc and c++ and base/binutils >> for ld. I