Can you try this patch?
Index: tools/lld/ELF/Target.cpp
===
--- tools/lld/ELF/Target.cpp(revision 291691)
+++ tools/lld/ELF/Target.cpp(working copy)
@@ -1062,7 +1062,8 @@
}
PPC64TargetInfo::PPC64TargetInfo() {
- PltRel =
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215798
Dimitry Andric changed:
What|Removed |Added
CC|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215975
Dimitry Andric changed:
What|Removed |Added
Status|New |Closed
On 2017-Jan-11, at 8:07 AM, Ed Maste wrote:
> On 11 January 2017 at 04:15, Mark Millard wrote:
>>
>> # ./a.out
>> ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374
>> Abort trap (core dumped)
>
> Would you paste the output of `readelf -r a.out`?
Here you go, for
On 11 January 2017 at 09:42, Jia-Shiun Li wrote:
>
> Think this optimization should be turned off for armv6 from base
> clang/llvm, instead of patching individual ports or ports infrastructure.
You're right that this needs to be fixed in the compiler or the base
system, not
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215975
Bug ID: 215975
Summary: ThreadSanitizer lacks runtime in base
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity:
On 11 January 2017 at 04:15, Mark Millard wrote:
>
> # ./a.out
> ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374
> Abort trap (core dumped)
Would you paste the output of `readelf -r a.out`?
___
[Note that the /usr/bin/ld.lld here was built via buildworld
on the powerpc64 machine: native build, not a cross build.]
Roman Divacky had suggested:
From: Roman Divacky
Date: January 8, 2017 at 6:41:33 AM PST
> Would you be interested in trying lld? It has some support for ppc/ppc64,
> which