RPI3 - clang 3.9.0 issues

2016-10-17 Thread Shawn Webb
n to HardenedBSD. Most of my testing has been done with HardenedBSD to-date. If I find more issues or find the causes of the ones I've already documented, I'll be sure to not only update the wiki, but update this email thread as well. If there's anything anyone would like me to try

Re: RPI3 - clang 3.9.0 issues

2016-10-17 Thread Shawn Webb
On Mon, Oct 17, 2016 at 05:18:42PM -0400, Ed Maste wrote: > On 17 October 2016 at 17:11, Shawn Webb wrote: > > > > When the kernel is compiled with clang 3.9.0, it seems to freeze after > > being loaded by the clang 3.8 boot1.efi/loader.efi. I'm unsure if it's &

Re: RPI3 - clang 3.9.0 issues

2016-10-17 Thread Shawn Webb
On Mon, Oct 17, 2016 at 05:11:43PM -0400, Shawn Webb wrote: > > I'm tracking down a potential issue with jemalloc compiled with clang > 3.9.0, but I need to verify that the issue exists in vanilla FreeBSD in > addition to HardenedBSD. Most of my testing has been done with >

Re: RPI3 - clang 3.9.0 issues

2016-10-18 Thread Shawn Webb
On Mon, Oct 17, 2016 at 09:40:53PM -0400, Shawn Webb wrote: > On Mon, Oct 17, 2016 at 05:11:43PM -0400, Shawn Webb wrote: > > > > I'm tracking down a potential issue with jemalloc compiled with clang > > 3.9.0, but I need to verify that the issue exists in vanilla

Re: RPI3 - clang 3.9.0 issues

2016-10-18 Thread Shawn Webb
On Tue, Oct 18, 2016 at 03:27:43PM -0400, Shawn Webb wrote: > On Mon, Oct 17, 2016 at 09:40:53PM -0400, Shawn Webb wrote: > > On Mon, Oct 17, 2016 at 05:11:43PM -0400, Shawn Webb wrote: > > > > > > I'm tracking down a potential issue with jemalloc compiled with

[clang/lld 4.0.0 arm64] link failure in sys/boot/efi/loader

2017-01-23 Thread Shawn Webb
oader/../../ficl/libficl.a(words.o) /usr/bin/ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) cc: error: linker command failed with exit code 1 (use -v to see invocation) END LOG -- Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Ke

clang 4.0.0 with_lld_is_ld build

2017-02-07 Thread Shawn Webb
or me: /usr/obj/scratch/clang400) 5. do a new world build with WITH_LLD_IS_LD set. This will fail. Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE signature.asc

Re: clang 4.0.0 with_lld_is_ld build

2017-02-08 Thread Shawn Webb
On Tuesday, 07 February 2017 06:55:44 PM Ed Maste wrote: > On 7 February 2017 at 17:32, Shawn Webb wrote: > > Hey All, > > > > On a system with clang 4.0.0 already installed with lld as ld, I get the > > following error compiling the latest HEAD of pr

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
s like contrib/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp isn't included in the Makefile for usr.bin/lld. I'm wondering if the lib/DebugInfo/DWARF files should be included in usr.bin/lld/Makefile. dim@, could you verify? Thanks, -- Shawn Webb Cofounder and Security

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
On Mon, Aug 14, 2017 at 07:38:28PM +0200, Dimitry Andric wrote: > On 14 Aug 2017, at 18:40, Shawn Webb wrote: > > > > On Mon, Aug 14, 2017 at 07:28:39PM +0300, Johannes Jost Meixner wrote: > >> I'm seeing a few `undefined references` trying to build recent base o

Re: Buildfailures with ld.lld

2017-08-14 Thread Shawn Webb
On Mon, Aug 14, 2017 at 08:01:08PM +0200, Dimitry Andric wrote: > On 14 Aug 2017, at 19:41, Shawn Webb wrote: > > > > On Mon, Aug 14, 2017 at 07:38:28PM +0200, Dimitry Andric wrote: > >> On 14 Aug 2017, at 18:40, Shawn Webb wrote: > >>> > >>> On

projects/clang600-import and ld.lld

2018-01-12 Thread Shawn Webb
llvm/lib/Support/Compression.cpp:98) >>> Compression.o:(llvm::zlib::crc32(llvm::StringRef)) in archive >>> /usr/obj/scratch/hbsd-playground/amd64.amd64/lib/clang/libllvm/libllvm.a c++: error: linker command failed with exit code 1 (use -v to see invocation) --- llvm-extr

Re: projects/clang600-import and ld.lld

2018-01-12 Thread Shawn Webb
On Fri, Jan 12, 2018 at 04:17:50PM +0100, Dimitry Andric wrote: > On 12 Jan 2018, at 15:38, Shawn Webb wrote: > > > > I know it's early in the game, but I thought I'd report this anyways. > > I have lld as the default linker (MK_LLD_IS_LD=yes). When lld tries

Re: projects/clang600-import and ld.lld

2018-01-12 Thread Shawn Webb
On Fri, Jan 12, 2018 at 10:26:59AM -0500, Shawn Webb wrote: > On Fri, Jan 12, 2018 at 04:17:50PM +0100, Dimitry Andric wrote: > > On 12 Jan 2018, at 15:38, Shawn Webb wrote: > > > > > > I know it's early in the game, but I thought I'd report this anyways. &

Compiling libc with LTO

2018-03-04 Thread Shawn Webb
.2 [1]: https://github.com/HardenedBSD/hardenedBSD-playground/tree/hardened/current/cross-dso-cfi Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal:+1 443-546-8752 GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 65

Re: splitting libc -> libc + libsys and static linking

2018-04-03 Thread Shawn Webb
sing? Hey Brooks, I'm curious about the reasoning behind this change. Could you explain in more detail why you'd like to create a libsys? Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal:+1 443-546-8752 Tor+XMPP+OTR:latt...@is.a.hacker

Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Shawn Webb
at runtime due to a full llvm toolchain, but compile just fine. Would you like me to quantify the compilation breakages due to the full llvm toolchain switch? If so, I can do that after July 12th. Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified S

Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Shawn Webb
On Wed, Jun 20, 2018 at 07:31:21PM -0400, Ed Maste wrote: > On 20 June 2018 at 18:25, Shawn Webb wrote: > > > > Would you like me to quantify the compilation breakages due to the > > full llvm toolchain switch? If so, I can do that after July 12th. > > Thanks Shaw

Re: unknown -z value: common-page-size=4096

2018-09-28 Thread Shawn Webb
to mean something > with bfd)? I noticed the same issues. I reverted parts of recent work by upstream FreeBSD in HardenedBSD's Cross-DSO CFI branch since that branch uses clang/llvm/lld 7.0.0. Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-