Re: /usr/bin/ld.lld on powerpc64: produces a.out for which: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374

2017-01-11 Thread Roman Divacky
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 =

[Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers)

2017-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215798 Dimitry Andric changed: What|Removed |Added CC|

[Bug 215975] ThreadSanitizer lacks runtime in base

2017-01-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215975 Dimitry Andric changed: What|Removed |Added Status|New |Closed

Re: /usr/bin/ld.lld on powerpc64: produces a.out for which: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374

2017-01-11 Thread Mark Millard
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

Re: clang on armv6 incorrectly emits call to sincos()

2017-01-11 Thread Ed Maste
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

[Bug 215975] ThreadSanitizer lacks runtime in base

2017-01-11 Thread bugzilla-noreply
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:

Re: /usr/bin/ld.lld on powerpc64: produces a.out for which: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374

2017-01-11 Thread Ed Maste
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`? ___

/usr/bin/ld.lld on powerpc64: produces a.out for which: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/powerpc64/reloc.c:374

2017-01-11 Thread Mark Millard
[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