Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Jakub Jelinek
On Thu, Apr 17, 2014 at 02:04:03PM +0200, Jakub Jelinek wrote: > Ugh, I guess depends on how the patch looks like. > In any case, I think libgomp contains pretty much the same hunk as cilkrts, > so why you don't run into issues in libgomp and only in libcilkrts? > > # Check to see if -pthread or -

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Jakub Jelinek
On Thu, Apr 17, 2014 at 03:40:10PM +0400, Alexander Ivchenko wrote: > That fixes "--disable-shared" case only, which is important for NDK build. > > Without "--disable-shared" build fails because there is no -lpthread > on Android and pthreads are in libc there. > Apparently, cilkrts configure doe

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Alexander Ivchenko
That fixes "--disable-shared" case only, which is important for NDK build. Without "--disable-shared" build fails because there is no -lpthread on Android and pthreads are in libc there. Apparently, cilkrts configure does not check that. I can fix that in 4.9, but I'm ok with fixing it in trunk l

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Jakub Jelinek
On Thu, Apr 17, 2014 at 02:47:50PM +0400, Alexander Ivchenko wrote: > Is it ok to port this patch to 4.9 branch: If it always fails to bootstrap with cilkrts on Android right now, then the patch can't do more harm, so ok. > > commit 15bee5d49b1c746fd3e784432d7e4988941a671e > Author: bviyer > Dat

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Alexander Ivchenko
Is it ok to port this patch to 4.9 branch: commit 15bee5d49b1c746fd3e784432d7e4988941a671e Author: bviyer Date: Fri Apr 11 19:56:42 2014 + Fix for PR other/60644. +2014-04-11 Barry Tannenbaum + + PR other/60644 + * runtime/os-unix.c: Replaced all occurran

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Paweł Sikora
W dniu 2014-04-17 12:13, Jonathan Wakely napisał(a): On 17 April 2014 10:38, Paweł Sikora wrote: Hi, the opt_random.h header includes unconditionally and breaks crytopp build (redefinition of _mm_shuffle_epi8 in cpu.h). could you please add #ifdef __SSSE3__ around this include? Do you mean

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Jonathan Wakely
On 17 April 2014 10:38, Paweł Sikora wrote: > Hi, > > the opt_random.h header includes unconditionally and breaks > crytopp build > (redefinition of _mm_shuffle_epi8 in cpu.h). > could you please add #ifdef __SSSE3__ around this include? Do you mean __SSE3__ not __SSSE3__? That's the macro that c

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Jakub Jelinek
On Thu, Apr 17, 2014 at 11:38:18AM +0200, Paweł Sikora wrote: > Hi, > > the opt_random.h header includes unconditionally and > breaks crytopp build > (redefinition of _mm_shuffle_epi8 in cpu.h). > could you please add #ifdef __SSSE3__ around this include? No, just fix cryptopp. The *intrin.h hea

Re: GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-17 Thread Paweł Sikora
Hi, the opt_random.h header includes unconditionally and breaks crytopp build (redefinition of _mm_shuffle_epi8 in cpu.h). could you please add #ifdef __SSSE3__ around this include? BR, Paweł. cpu.h @ cryptopp: (...) #if !defined(__GNUC__) || defined(__SSSE3__) || defined(__INTEL_COMPILER)

GCC 4.9.0 Release Candidate available from gcc.gnu.org

2014-04-11 Thread Jakub Jelinek
GCC 4.9.0 Release Candidate available from gcc.gnu.org The first release candidate for GCC 4.9.0 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.9.0-RC-20140411 and shortly its mirrors. It has been generated from SVN revision 209307. I have so far bootstrapped and tested the release