Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-03 Thread Justin P. Mattock
Andrew Morton wrote: On Mon, 2 Nov 2009 13:29:29 -0800 Justin Mattock wrote: Hello, I'm not sure how to handle this, while compiling firefox-3.6b1.source I get this with the default compiling options, as well as custom: ... active_anon:2360492kB inactive_anon:590196kB active_file:84kB

Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-03 Thread Andrew Morton
On Mon, 2 Nov 2009 13:29:29 -0800 Justin Mattock wrote: > Hello, > I'm not sure how to handle this, > while compiling firefox-3.6b1.source > I get this with the default compiling options, > as well as custom: > > ... > > active_anon:2360492kB inactive_anon:590196kB active_file:84kB 2.8GB of an

Re: i370 port

2009-11-03 Thread Paul Edwards
C:\devel\gccnew\gcc>gccmvs -DUSE_MEMMGR -Os -S -ansi -pedantic-errors -DHAVE_CON FIG_H -DIN_GCC -DPUREISO -I ../../pdos/pdpclib -I . -I config/i370 -I ../include varasm.c (insn 117 429 118 7 (parallel [ (set (reg:SI 64) (compare:SI (mem/s:BLK (plus:SI (reg/f:SI

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

2009-11-03 Thread Roland McGrath
I can't really tell how that's different from the patch I posted. It looks fine to me. Thanks, Roland

Re: How to debug lto1 ICE?

2009-11-03 Thread Andrew Pinski
On Tue, Nov 3, 2009 at 1:12 PM, Rafael Espindola wrote: > That is correct. This is to avoid command lines that are too large. We > currently delete those files during the plugin cleanup. I will send a > patch disabling cleanup if -debug is given. -save-temps will also keep the files around which

How to debug lto1 ICE?

2009-11-03 Thread Basile STARYNKEVITCH
sable-multilib --enable-lto --enable-plugins --enable-maintainer-mode --enable-languages=c,c++,lto --no-create --no-recursion Thread model: posix gcc version 4.5.0 20091103 (experimental) (GCC) COMPILER_PATH=/usr/local/libexec/gcc-trunk/gcc/x86_64-unknown-linux-gnu/4.5.0/:/usr/local/libexec/gcc-trun

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

2009-11-03 Thread H.J. Lu
On Mon, Nov 2, 2009 at 3:06 PM, H.J. Lu wrote: > Hi, > > This patch adds --enable-gold=both --with-linker=[bfd|gold] so that we > can build both ld and gold. This patch will > > 1. Install ld as ld.bfd > 2. Install gold as ld.gold > 3. Install one of them as ld, selected by --with-linker. > > If n

Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-03 Thread KOSAKI Motohiro
> Hello, > I'm not sure how to handle this, > while compiling firefox-3.6b1.source > I get this with the default compiling options, > as well as custom: > > > [ 532.942324] cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, > oom_adj=0 > [ 532.942330] Pid: 16002, comm: cc1plus Tainted: P >

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

2009-11-03 Thread H.J. Lu
On Tue, Nov 3, 2009 at 3:23 PM, Roland McGrath wrote: > --with is wrong for this.  It's not about the ambient system built against. > It's a feature selection for how you build binutils, which means --enable. > Here is the updated patch. -- H.J. 2009-11-03 Roland McGrath H.J. Lu

Re: PATCH: Support --enable-gold=both --with-linker=[bfd|gold]

2009-11-03 Thread Roland McGrath
--with is wrong for this. It's not about the ambient system built against. It's a feature selection for how you build binutils, which means --enable.

Re: How to debug lto1 ICE?

2009-11-03 Thread Rafael Espindola
> But with the above details, how can I figure out how to run gdb, ie what > arguments to give to gdb --args? This is an area that needs some improvement :-( What I do is pass -Wl,-debug to gcc. That will make collect2 print the call to ld. Add a -plugin-opt=-debug to it and it should print the ca

gcc-4.4-20091103 is now available

2009-11-03 Thread gccadmin
Snapshot gcc-4.4-20091103 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20091103/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Preserving the argument spills for GDB

2009-11-03 Thread Ian Lance Taylor
Jean Christophe Beyler writes: > I've been working on handling the Debugging information for the use of > GDB on my port. Though I definitely know that, when compiling in -O3, > some information is lost and the debugger can't always have all the > information, I'd like to at least keep the values

Preserving the argument spills for GDB

2009-11-03 Thread Jean Christophe Beyler
Dear all, I've been working on handling the Debugging information for the use of GDB on my port. Though I definitely know that, when compiling in -O3, some information is lost and the debugger can't always have all the information, I'd like to at least keep the values of the arguments when doing a

Re: Preserving the argument spills for GDB

2009-11-03 Thread Jean Christophe Beyler
I will try to add more details about my issue. Another way of putting this is : For my architecture there is: - A certain number of input registers which allow calls without going on the stack - There is not automatically a frame pointer on the stack either What is needed, from the GCC side, to

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-03 Thread Justin P. Mattock
KOSAKI Motohiro wrote: Hello, I'm not sure how to handle this, while compiling firefox-3.6b1.source I get this with the default compiling options, as well as custom: [ 532.942324] cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0 [ 532.942330] Pid: 16002, comm: cc1plus Tainted:

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

Re: help on - instruction scheduling passes in gcc

2009-11-03 Thread Ian Lance Taylor
ddmetro writes: > 1. We are expecting that pass_sched and pass_sched2, each will enter > schedule_insns() function once per pass. However, we found that it is > entering schedule_insns() function per function(in the program) per pass. > (If there are two functions in the input program, pass_sched

Re: Understanding IRA

2009-11-03 Thread Jeff Law
On 11/03/09 09:29, Ian Bolton wrote: Hi again, Vladimir, I am pleased to report some performance improvements after altering ira-costs.c. A key benchmark for us has improved by 5%. Specifically, in record_reg_classes(), after the alt_cost has been calculated and it will be applied to pp->mem_c

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

help on - instruction scheduling passes in gcc

2009-11-03 Thread ddmetro
Hi All, Our project is to optimize instruction scheduling in gcc by detecting structural hazards. We are trying to understand the two instruction scheduling passes(pass_sched and pass_sched2) and have the following doubts regarding the same. We are currently looking at schedule_insns() meth

Re: Lattice Mico32 port

2009-11-03 Thread David Edelsohn
On Wed, Oct 21, 2009 at 7:49 AM, Jon Beniston wrote: >> The port is ok to check in. > > Great - so can I apply it, or does someone else need to? Until you have write access to the repository, someone else needs to commit the patch for you. The GCC community generally likes to see a few examples

RE: Understanding IRA

2009-11-03 Thread Ian Bolton
Hi again, Vladimir, I am pleased to report some performance improvements after altering ira-costs.c. A key benchmark for us has improved by 5%. Specifically, in record_reg_classes(), after the alt_cost has been calculated and it will be applied to pp->mem_cost and pp->cost[k], I check whether th