GCC 5 snapshots produce broken kernel for powerpc-e500v2-linux-gnuspe?

2014-09-09 Thread Arseny Solokha
Hello, I've recently faced an issue I'm afraid I currently unable to debug. When building an arbitrary version of Linux kernel for powerpc-e500v2-linux-gnuspe target, it seems gcc prior to 5 produces a good image which boots just fine, and current gcc 5 snapshots (4.10.0-alpha20140810 for example)

Re: GCC 5 snapshots produce broken kernel for powerpc-e500v2-linux-gnuspe?

2014-09-09 Thread Markus Trippelsdorf
On 2014.09.09 at 17:35 +0800, Arseny Solokha wrote: > Hello, > > I've recently faced an issue I'm afraid I currently unable to debug. When > building an arbitrary version of Linux kernel for powerpc-e500v2-linux-gnuspe > target, it seems gcc prior to 5 produces a good image which boots just fine,

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Yury Gribov
On 09/09/2014 10:51 AM, VandeVondele Joost wrote: > Attached is an extended version of the patch, > it brings a 100% improvement in make -j32 -k check-gcc First of all, many thanks for working on this. +# ls -1 | ../../../contrib/generate_tcl_patterns.sh 300 "dg.exp=gfortran.dg/" How does t

Re: GCC 5 snapshots produce broken kernel for powerpc-e500v2-linux-gnuspe?

2014-09-09 Thread pinskia
> On Sep 9, 2014, at 2:57 AM, Markus Trippelsdorf > wrote: > >> On 2014.09.09 at 17:35 +0800, Arseny Solokha wrote: >> Hello, >> >> I've recently faced an issue I'm afraid I currently unable to debug. When >> building an arbitrary version of Linux kernel for powerpc-e500v2-linux-gnuspe >> tar

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Jakub Jelinek
On Tue, Sep 09, 2014 at 02:02:18PM +0400, Yury Gribov wrote: > On 09/09/2014 10:51 AM, VandeVondele Joost wrote: > > Attached is an extended version of the patch, > > it brings a 100% improvement in make -j32 -k check-gcc > > First of all, many thanks for working on this. > > +# ls -1 | ../../.

Re: [gomp4] openacc kernels directive support

2014-09-09 Thread Tom de Vries
On 18-08-14 14:16, Tom de Vries wrote: On 06-08-14 17:10, Tom de Vries wrote: We could insert a pass-group here that only deals with functions that have the kernels directive, and do the auto-par thing in a pass_oacc_kernels (which should share the majority of the infrastructure with the parloop

RE: [PATCH] RE: gcc parallel make check

2014-09-09 Thread VandeVondele Joost
> +# ls -1 | ../../../contrib/generate_tcl_patterns.sh 300 > "dg.exp=gfortran.dg/" > > How does this work with subdirectories? Can we replace ls with find? The input to the script is general, you can use this to your advantage. For example, I've been using: ls -1 g++.*/* | cut -c5- | ../../.

RE: [PATCH] RE: gcc parallel make check

2014-09-09 Thread VandeVondele Joost
> No. As I wrote earlier, splitting on filenames and test counts only is only > very rough split, all the splits really need to be backed out by real timing > data from popular targets. I'm actually doing quite some testing trying to get a reasonable balance, checking 'completed in' in all *.l

Re: [gomp4] openacc kernels directive support

2014-09-09 Thread Richard Biener
On Tue, 9 Sep 2014, Tom de Vries wrote: > On 18-08-14 14:16, Tom de Vries wrote: > > On 06-08-14 17:10, Tom de Vries wrote: > > > We could insert a pass-group here that only deals with functions that have > > > the > > > kernels directive, and do the auto-par thing in a pass_oacc_kernels (which >

Re: ASAN test failures make compare_tests useless

2014-09-09 Thread Thomas Schwinge
Hi! On Mon, 18 Aug 2014 17:17:53 +0200, Manuel López-Ibáñez wrote: > On 18 August 2014 16:34, Alexander Potapenko wrote: > > On Mon, Aug 18, 2014 at 9:43 AM, Yury Gribov wrote: > >> On 08/18/2014 09:42 AM, Yury Gribov wrote: > >>> > >>> On 08/16/2014 04:37 AM, Manuel López-Ibáñez wrote: >

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Jakub Jelinek
On Tue, Sep 09, 2014 at 10:57:09AM +, VandeVondele Joost wrote: > > No. As I wrote earlier, splitting on filenames and test counts only is only > > very rough split, all the splits really need to be backed out by real timing > > data from popular targets. > > Furthermore, for parallel perf

RE: [PATCH] RE: gcc parallel make check

2014-09-09 Thread VandeVondele Joost
> If you get whitespace right, one can provide multiple different wildcards to > a single *.exp file, e.g. > make check-gcc RUNTESTFLAGS="dg.exp='p[0-9A-Za-qs-z]* pr[9A-Za-z]*'" should > cover all tests starting with p other than pr[0-8]*.c (where you could split > say pr[0-2]* into another job, pr

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Yury Gribov
On 09/09/2014 06:14 PM, VandeVondele Joost wrote: I certainly don't want to claim that the patch I have now is perfect, it is rather an incremental improvement on the current setup. I'd second this. Writing patterns manually seems rather inefficient and error-prone (not undoable of course but

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Jakub Jelinek
On Tue, Sep 09, 2014 at 06:27:10PM +0400, Yury Gribov wrote: > On 09/09/2014 06:14 PM, VandeVondele Joost wrote: > >I certainly don't want to claim that the patch I have now is perfect, > >it is rather an incremental improvement on the current setup. > > I'd second this. Writing patterns manually

Re: [PATCH] RE: gcc parallel make check

2014-09-09 Thread Yury Gribov
On 09/09/2014 06:33 PM, Jakub Jelinek wrote: On Tue, Sep 09, 2014 at 06:27:10PM +0400, Yury Gribov wrote: On 09/09/2014 06:14 PM, VandeVondele Joost wrote: I certainly don't want to claim that the patch I have now is perfect, it is rather an incremental improvement on the current setup. I'd s

RE: [PATCH] RE: gcc parallel make check

2014-09-09 Thread VandeVondele Joost
Now with gzipped figure.. why do these bounce ? > But if there are jobs that just take 1s to complete, then clearly it doesn't > make sense to split them off as separate job. I think we don't need 100% > even split, but at least roughly is highly desirable. Let me add some data, attached is a gr

RE: [PATCH] RE: gcc parallel make check

2014-09-09 Thread VandeVondele Joost
Attached is a further revision of the patch, now dealing with check-c++. Roughly 50% speedup here at '-j32' (18m vs 12m). For my setup (--enable-languages=c,c++,fortran) I have now improved all targets called in 'make -j32 -k check'. The latter is now 30% faster (15m vs 20m). Note that there ar

Possible violation of the gcc GPL license

2014-09-09 Thread Paolo Inaudi
Dear GNU developers, I don't know if this is the right place to signal this, but I believe this Android application https://play.google.com/store/apps/details?id=com.maclab.codepad2 Especially with this plugin https://play.google.com/store/apps/details?id=com.maclab.codepadgcc violates the GPL l

Re: GCC 5 snapshots produce broken kernel for powerpc-e500v2-linux-gnuspe?

2014-09-09 Thread Arseny Solokha
Makrus, Andrew, thanks for your suggestions. >> On Sep 9, 2014, at 2:57 AM, Markus Trippelsdorf >> wrote: >> >>> On 2014.09.09 at 17:35 +0800, Arseny Solokha wrote: >>> Hello, >>> >>> I've recently faced an issue I'm afraid I currently unable to debug. When >>> building an arbitrary version o

Re: Possible violation of the gcc GPL license

2014-09-09 Thread Jeff Law
On 09/09/14 09:46, Paolo Inaudi wrote: Dear GNU developers, I don't know if this is the right place to signal this, but I believe this Android application [ ... ] The right place is license-violat...@gnu.org. The FSF actually owns the copyright on GCC. You can find further information on how

Re: Possible violation of the gcc GPL license

2014-09-09 Thread Paolo Inaudi
Thank you very much for the pointer, and sorry for my mistake. Paolo Il 09/09/2014 18:46, Jeff Law ha scritto: On 09/09/14 09:46, Paolo Inaudi wrote: Dear GNU developers, I don't know if this is the right place to signal this, but I believe this Android application [ ... ] The right place is li

Re: Trouble trying to test GCC on a simulator

2014-09-09 Thread Hans-Peter Nilsson
On Mon, 8 Sep 2014, Pierre-Marie de Rodat wrote: > # Get newlib and the simulator > cvs -d :pserver:anon...@sourceware.org:/cvs/src co newlib sim > # Get binutils > git clone git://sourceware.org/git/binutils-gdb.git > > # Create the combined tree > rm -rf combined > mkd

Re: Some questions about pass web

2014-09-09 Thread Jan Hubicka
> On 09/03/14 02:35, Steven Bosscher wrote: > >On Wed, Sep 3, 2014 at 9:17 AM, Bin.Cheng wrote: > >>Last time I tried, there are several passes after loop_done and before > >>auto-inc-dec can't handle auto-increment addressing mode, including > >>fweb. > > > >It surprises me that pass_web can't han

Re: Some questions about pass web

2014-09-09 Thread Carrot Wei
It is indeed caused by wrong DF information, which is caused by a wrong fix for bug PR32339. More discussion is at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63156. thanks a lot Guozhi Wei On Tue, Sep 9, 2014 at 5:31 PM, Jan Hubicka wrote: >> On 09/03/14 02:35, Steven Bosscher wrote: >> >On We