[Differential] [Commented On] D2285: gcc 4.9.1 compilation fixes for aesni

2015-04-15 Thread jmg (John-Mark Gurney)
jmg added a comment. we should either include both w/ quotes or both w/ angle braces… I personally would prefer quotes, but that's me, but I won't object to angle braces. INLINE COMMENTS sys/crypto/aesni/aesencdec.h:30 so it looks like the same directory as the file instead of having to spec

[Differential] [Updated] D2285: gcc 4.9.1 compilation fixes for aesni

2015-04-13 Thread jmg (John-Mark Gurney)
jmg added a comment. hmm.. maybe we should put this hack into a different header file and just include that one… since all these files are in crypto/aesni, why not a local header (use quotes) that is named gnuhack.h or something (can't think of a good name right now)? Right now it's only thre

Re: Kernel compilation failures with gcc 4.9

2015-04-01 Thread John-Mark Gurney
Craig Rodrigues wrote this message on Wed, Apr 01, 2015 at 07:59 -0700: > On Tue, Mar 31, 2015 at 10:10 PM, John-Mark Gurney wrote: > > > > > > This is an issue w/ gcc 4.9's headers... It is including stdlib.h, > > via mm_malloc.h which is conflicting w

Re: Kernel compilation failures with gcc 4.9

2015-03-31 Thread John-Mark Gurney
luding stdlib.h, via mm_malloc.h which is conflicting w/ sys/malloc.h's version of free.. kan wrapped the include of mm_malloc.h in an #if __STDC_HOSTED__ which is why gcc 4.2 doesn't have the issue per my request a couple years ago: https://svnweb.freebsd.org/changeset/base/r242182 A s

Re: RFT: Please help testing the llvm/clang 3.5.0 import

2014-12-18 Thread John-Mark Gurney
itional relocation overflows omitted from the output *** Error code 1 Stop. make[5]: stopped in /a/src/usr.bin/clang/clang *** Error code 1 Stop. make[4]: stopped in /a/src/usr.bin/clang *** Error code 1 Stop. make[3]: stopped in /a/src/usr.bin *** Error code 1 Stop. make[2]: stoppe

Re: RFT: Please help testing the llvm/clang 3.5.0 import

2014-12-18 Thread John-Mark Gurney
ve the right arm gear to do this test, and emulation > environments that run FreeBSD have had poor big-endian support for arm. I have a board that I plan to test on shortly... If Andrew would like, I know Jim Thompson has a standing offer to send board(s) to people who will test it... He provi

Re: WITH_CTF vs -g

2014-09-10 Thread John-Mark Gurney
100% sure > > about > > this. > > > > > What do you think? > > > BTW, it would be nice to see what we can take from the CTF/DDB GSoC [1]. I > understand > the BSD-licensed CTF library has advanced greatly but still needs more work. Yeh, I need to look a

Re: GCC withdraw

2013-08-31 Thread John-Mark Gurney
he code slush was announced (which caught people, like myself, by surprise)... That's kinda the wrong order to do it in, the schedule should be posted well in advance so people know what to expect... -- John-Mark Gurney Voice: +1 415 225 5579 "All that

patch to add AES intrinsics to gcc

2013-08-22 Thread John-Mark Gurney
e the opth-gen.awk script, since it wouldn't let me use bit 31, and recent changes to gcc used up all the remaining bits. I also was unable to add the -mpclmul option because of running out of these bits. Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 &

patch to add AES & PCLMUL intrinsics to gcc

2013-05-05 Thread John-Mark Gurney
One question I have is that I copied wmmintrin.h from clang... It has a license statement, but no copyright statement... Do I need to add one from somewhere? I have verified that these intrinsics get compiled the same way that clang compiles them. Thank you for the review. -- John-Mark G

Re: patch to add aes and pclmulqdq instructions to gcc

2013-01-17 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Thu, Jan 17, 2013 at 19:53 +0200: > On Thu, Jan 17, 2013 at 09:31:40AM -0800, John-Mark Gurney wrote: > > Konstantin Belousov wrote this message on Thu, Jan 17, 2013 at 13:12 +0200: > > > On Wed, Jan 16, 2013 at 11:05:16PM -0800, John

Re: patch to add aes and pclmulqdq instructions to gcc

2013-01-17 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Thu, Jan 17, 2013 at 13:12 +0200: > On Wed, Jan 16, 2013 at 11:05:16PM -0800, John-Mark Gurney wrote: > > Mike Belopuhov pointed me to the patch in OpenBSD: > > http://freshbsd.org/commit/openbsd/0babc91a00b1f1953637bb39c8ec97aef7

patch to add aes and pclmulqdq instructions to gcc

2013-01-16 Thread John-Mark Gurney
s too... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." Index: contrib/binutils/gas/config/tc-i386.c === --- contrib/binutils/

temp file turd left behind in odd case...

2013-01-15 Thread John-Mark Gurney
; It'd be nice if -maes and related SSE enabling options were documented in the man page... :) P.S. Not on the list, so CC me if necessary. -- John-Mark Gurney Voice: +1 415 225 5579 "All that

Re: LLVM Image Activator

2013-01-13 Thread John-Mark Gurney
>> no one can depend on them being there, no one will use it, and the point > >> is entirely lost. > > All image activators demonstrated a constant stream of security holes. > > Even our ELF activator, and I was guilty there too. > > > > I definitely do not

Re: Fast sigblock (AKA rtld speedup)

2013-01-12 Thread John-Mark Gurney
w/ VIVT caches which will probably eliminate most of the performance benifits if we have the same page mapped writable in two different virtual addresses.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All t