public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason.vas.dias at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/54179] New: please split insn-emit.c !
Date: Sun, 05 Aug 2012 11:05:00 -0000	[thread overview]
Message-ID: <bug-54179-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54179

             Bug #: 54179
           Summary: please split insn-emit.c !
    Classification: Unclassified
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jason.vas.dias@gmail.com


I've been attempting to build a "C" only bootstrap 4.7.1 compiler on x86_64
Linux.

Building the Stage1 and Stage2 compilers takes @ 8 hours on my 2.2Ghz machine -
which I have to continually cycle down to 800Mhz for 2 seconds every 8 seconds
with a script under Linux 3.4.4, otherwise I get overheating emergency reboots
-
 nice!

But with -lto enabled, the build of Stage 3 compiler gets to trying to build
insn-emit.c , but has not yet completed given a previous two-day run - during
which I have to be careful not to do any extra activity which might tip the
machine past the 105 degree emergency reboot trip-point - so basically 
I have to lock up my laptop in a freezer for 3-days plus in order to build
gcc :

   $ ps -lp $(pgrep cc1)
    F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
    0 R     0  3863  3862 99  80   0 - 64611 -      pts/5    20:43:01 cc1

   $ tr '\0' ' ' < /proc/3863/cmdline
/mnt/sda3/gcc/./prev-gcc/cc1 -quiet -I . -I . -I /usr/build2/gcc/gcc-4.7.1/gcc
-I /usr/build2/gcc/gcc-4.7.1/gcc/. -I /usr/build2/gcc/gcc-4.7.1/gcc/../include
-I /usr/build2/gcc/gcc-4.7.1/gcc/../libcpp/include -I
/usr/build2/gcc/gcc-4.7.1/gcc/../libdecnumber -I
/usr/build2/gcc/gcc-4.7.1/gcc/../libdecnumber/bid -I ../libdecnumber -iprefix
/mnt/sda3/gcc/prev-gcc/../lib64/gcc/x86_64-pc-linux-gnu/4.7.1/ -isystem
/mnt/sda3/gcc/./prev-gcc/include -isystem
/mnt/sda3/gcc/./prev-gcc/include-fixed -D IN_GCC -D HAVE_CONFIG_H -isystem
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include
insn-emit.c -quiet -dumpbase insn-emit.c -mtune=k8 -march=x86-64 -auxbase-strip
insn-emit.o -g -gtoggle -O2 -Wextra -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -o /tmp/ccgsb5Pk.s 
$ ls -l /mnt/sda3/gcc/gcc/insn-emit.c
-rw-r--r-- 1 root devel 1793209 Jul 22 22:13 /mnt/sda3/gcc/gcc/insn-emit.c
$ ls -l /tmp/ccgsb5Pk.s
-rw------- 1 root root 1101824 Aug  5 11:00 /tmp/ccgsb5Pk.s
   $ cat /proc/3863/map

$ cat /proc/3863/maps | wc -l
5310

Wow, that's alot of maps !

00400000-05c20000 r-xp 00000000 08:03 132489                            
/mnt/sda3/gcc/prev-gcc/cc1
05e1f000-05e2b000 rw-p 0581f000 08:03 132489                            
/mnt/sda3/gcc/prev-gcc/cc1
7fd59f821000-7fd59f836000 r-xp 00000000 08:03 135449                    
/mnt/sda3/gcc/prev-gcc/libgcc_s.so.1
7fd59f836000-7fd59fa35000 ---p 00015000 08:03 135449                    
/mnt/sda3/gcc/prev-gcc/libgcc_s.so.1
7fd59fa35000-7fd59fa36000 rw-p 00014000 08:03 135449                    
/mnt/sda3/gcc/prev-gcc/libgcc_s.so.1
7fd59fa36000-7fd59fb2e000 r-xp 00000000 08:06 772762                    
/lib64/libm-2.16.so                 
7fd59fb2e000-7fd59fd2d000 ---p 000f8000 08:06 772762                    
/lib64/libm-2.16.so                 
7fd59fd2d000-7fd59fd2e000 r--p 000f7000 08:06 772762                    
/lib64/libm-2.16.so
7fd59fd2e000-7fd59fd2f000 rw-p 000f8000 08:06 772762                    
/lib64/libm-2.16.so
7fd59fd2f000-7fd59fe13000 r-xp 00000000 08:06 184127                    
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6.0.15
7fd59fe13000-7fd5a0013000 ---p 000e4000 08:06 184127                    
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6.0.15
7fd5a0013000-7fd5a001b000 r--p 000e4000 08:06 184127                    
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6.0.15
7fd5a001b000-7fd5a001d000 rw-p 000ec000 08:06 184127                    
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6.0.15
7fd5a0032000-7fd5a0063000 r-xp 00000000 08:06 147372                    
/usr/lib64/libpolylib64.so.8.1.0
7fd5a0063000-7fd5a0263000 ---p 00031000 08:06 147372                    
/usr/lib64/libpolylib64.so.8.1.0
7fd5a0263000-7fd5a0264000 rw-p 00031000 08:06 147372                    
/usr/lib64/libpolylib64.so.8.1.0
7fd5a0268000-7fd5a0405000 r-xp 00000000 08:06 868371                    
/lib64/libc-2.16.so
7fd5a0405000-7fd5a0604000 ---p 0019d000 08:06 868371                    
/lib64/libc-2.16.so
7fd5a0604000-7fd5a0608000 r--p 0019c000 08:06 868371                    
/lib64/libc-2.16.so
7fd5a0608000-7fd5a060a000 rw-p 001a0000 08:06 868371                    
/lib64/libc-2.16.so
7fd5a060e000-7fd5a0626000 r-xp 00000000 08:06 150900                    
/usr/lib64/libz.so.1.2.5
7fd5a0626000-7fd5a0825000 ---p 00018000 08:06 150900                    
/usr/lib64/libz.so.1.2.5
7fd5a0825000-7fd5a0826000 rw-p 00017000 08:06 150900                    
/usr/lib64/libz.so.1.2.5
7fd5a0826000-7fd5a0828000 r-xp 00000000 08:06 772761                    
/lib64/libdl-2.16.so
7fd5a0828000-7fd5a0a28000 ---p 00002000 08:06 772761                    
/lib64/libdl-2.16.so
7fd5a0a28000-7fd5a0a29000 r--p 00002000 08:06 772761                    
/lib64/libdl-2.16.so
7fd5a0a29000-7fd5a0a2a000 rw-p 00003000 08:06 772761                    
/lib64/libdl-2.16.so
7fd5a0a2a000-7fd5a0a8c000 r-xp 00000000 08:06 155396                    
/usr/lib64/libgmp.so.10.0.4
7fd5a0a8c000-7fd5a0c8c000 ---p 00062000 08:06 155396                    
/usr/lib64/libgmp.so.10.0.4
7fd5a0c8c000-7fd5a0c95000 rw-p 00062000 08:06 155396                    
/usr/lib64/libgmp.so.10.0.4
7fd5a0c95000-7fd5a0ceb000 r-xp 00000000 08:06 154706                    
/usr/lib64/libmpfr.so.4.1.0
7fd5a0ceb000-7fd5a0eea000 ---p 00056000 08:06 154706                    
/usr/lib64/libmpfr.so.4.1.0
7fd5a0eea000-7fd5a0eec000 rw-p 00055000 08:06 154706                    
/usr/lib64/libmpfr.so.4.1.0
7fd5a0eec000-7fd5a0efe000 r-xp 00000000 08:06 151501                    
/usr/lib64/libmpc.so.2.0.0
7fd5a0efe000-7fd5a10fe000 ---p 00012000 08:06 151501                    
/usr/lib64/libmpc.so.2.0.0
7fd5a10fe000-7fd5a10ff000 rw-p 00012000 08:06 151501                    
/usr/lib64/libmpc.so.2.0.0
7fd5a10ff000-7fd5a1102000 r-xp 00000000 08:06 155397                    
/usr/lib64/libgmpxx.so.4.2.4
7fd5a1102000-7fd5a1302000 ---p 00003000 08:06 155397                    
/usr/lib64/libgmpxx.so.4.2.4
7fd5a1302000-7fd5a1303000 rw-p 00003000 08:06 155397                    
/usr/lib64/libgmpxx.so.4.2.4
7fd5a1304000-7fd5a1308000 r-xp 00000000 08:06 152307                    
/usr/lib64/libpwl.so.5.0.0
7fd5a1308000-7fd5a1507000 ---p 00004000 08:06 152307                    
/usr/lib64/libpwl.so.5.0.0
7fd5a1507000-7fd5a1508000 rw-p 00003000 08:06 152307                    
/usr/lib64/libpwl.so.5.0.0
7fd5a1508000-7fd5a15ee000 r-xp 00000000 08:06 152313                    
/usr/lib64/libppl.so.9.0.0
7fd5a15ee000-7fd5a17ee000 ---p 000e6000 08:06 152313                    
/usr/lib64/libppl.so.9.0.0
7fd5a17ee000-7fd5a17f1000 rw-p 000e6000 08:06 152313                    
/usr/lib64/libppl.so.9.0.0
7fd5a17f1000-7fd5a1cdf000 r-xp 00000000 08:06 180199                    
/usr/lib64/libppl_c.so.4.0.0
7fd5a1cdf000-7fd5a1ede000 ---p 004ee000 08:06 180199                    
/usr/lib64/libppl_c.so.4.0.0
7fd5a1ede000-7fd5a1ee3000 rw-p 004ed000 08:06 180199                    
/usr/lib64/libppl_c.so.4.0.0
7fd5a1ee4000-7fd5a1f03000 r-xp 00000000 08:06 147395                    
/usr/lib64/libcloog.so.0.0.0
7fd5a1f03000-7fd5a2102000 ---p 0001f000 08:06 147395                    
/usr/lib64/libcloog.so.0.0.0
7fd5a2102000-7fd5a2103000 rw-p 0001e000 08:06 147395                    
/usr/lib64/libcloog.so.0.0.0
7fd5a2105000-7fd5a2126000 r-xp 00000000 08:06 998045                    
/lib64/ld-2.16.so
7fd5a2326000-7fd5a2327000 r--p 00021000 08:06 998045                    
/lib64/ld-2.16.so
7fd5a2327000-7fd5a2328000 rw-p 00022000 08:06 998045                    
/lib64/ld-2.16.so


             reply	other threads:[~2012-08-05 11:05 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 11:05 jason.vas.dias at gmail dot com [this message]
2012-08-05 11:11 ` [Bug c/54179] " jason.vas.dias at gmail dot com
2012-08-05 11:22 ` wbrana at gmail dot com
2012-08-05 11:36 ` jason.vas.dias at gmail dot com
2012-08-05 11:43 ` jason.vas.dias at gmail dot com
2012-08-05 12:01 ` wbrana at gmail dot com
2012-08-05 12:04 ` steven at gcc dot gnu.org
2012-08-05 12:21 ` jason.vas.dias at gmail dot com
2012-08-05 12:28 ` wbrana at gmail dot com
2012-08-05 12:34 ` steven at gcc dot gnu.org
2012-08-05 12:37 ` steven at gcc dot gnu.org
2012-08-05 13:16 ` jason.vas.dias at gmail dot com
2012-08-05 13:31 ` wbrana at gmail dot com
2012-08-05 13:43 ` jason.vas.dias at gmail dot com
2012-08-05 13:46 ` jason.vas.dias at gmail dot com
2012-08-05 13:51 ` jason.vas.dias at gmail dot com
2012-08-05 13:54 ` steven at gcc dot gnu.org
2012-08-05 13:55 ` steven at gcc dot gnu.org
2012-08-05 14:12 ` wbrana at gmail dot com
2012-08-05 14:13 ` schwab@linux-m68k.org
2012-08-05 18:10 ` jason.vas.dias at gmail dot com
2012-08-05 18:39 ` steven at gcc dot gnu.org
2012-08-05 19:49 ` jason.vas.dias at gmail dot com
2012-08-05 19:52 ` jason.vas.dias at gmail dot com
2012-08-05 20:10 ` jason.vas.dias at gmail dot com
2012-08-05 20:17 ` steven at gcc dot gnu.org
2012-08-05 20:58 ` jason.vas.dias at gmail dot com
2012-08-05 21:05 ` steven at gcc dot gnu.org
2012-08-06  8:43 ` rguenth at gcc dot gnu.org
2012-08-06  9:11 ` steven at gcc dot gnu.org
2012-08-06 10:49 ` steven at gcc dot gnu.org
2023-07-06 10:49 ` mmokrejs at gmail dot com
2023-07-07 11:29 ` sjames at gcc dot gnu.org
2023-07-07 11:39 ` [Bug bootstrap/54179] " tnfchris at gcc dot gnu.org
2023-07-07 12:47 ` mmokrejs at gmail dot com
2023-10-31 12:48 ` sjames at gcc dot gnu.org
2023-11-13 13:07 ` brjd_epdjq36 at kygur dot com
2023-11-13 15:03 ` xry111 at gcc dot gnu.org
2023-11-13 15:12 ` brjd_epdjq36 at kygur dot com
2024-05-11 12:08 ` brjd_epdjq36 at kygur dot com
2024-05-12  4:29 ` sjames at gcc dot gnu.org
2024-05-12 10:19 ` brjd_epdjq36 at kygur dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54179-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).