public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/60982] New: Very long compilation of precompiled headers
@ 2014-04-28  6:14 georgthegreat at gmail dot com
  2014-04-28  8:00 ` [Bug pch/60982] " georgthegreat at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: georgthegreat at gmail dot com @ 2014-04-28  6:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60982
           Summary: Very long compilation of precompiled headers
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: pch
          Assignee: unassigned at gcc dot gnu.org
          Reporter: georgthegreat at gmail dot com

I'm trying to compile gcc-4.8.2 on powerpc64 to run on powerpc32.
The problem is that I don't have sudo privileges on target machine, so
I'm installing everything locally. I've all prerequisites preinstalled
and gcc/g++-4.1.2.

I configure with the following command:
./configure --prefix=/gpfs/data/chernyshov/chroot
--enable-languages=c,c++ --enable-shared
--with-gmp=/gpfs/data/chernyshov/chroot
--with-mpc=/gpfs/data/chernyshov/chroot
--with-mpfr=/gpfs/data/chernyshov/chroot

During compilation (as far, as I understand, this is libstdc++
compilation), the following command hangs (I waited for 560 minutes
for it's completion):

/gpfs/data/chernyshov/contrib/gcc-4.8.2/host-powerpc64-unknown-linux-gnu/gcc/xgcc
-shared-libgcc
-B/gpfs/data/chernyshov/contrib/gcc-4.8.2/host-powerpc64-unknown-linux-gnu/gcc
-nostdinc++
-L/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/bin/
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/lib/
-isystem /gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/include
-isystem /gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/sys-include
   -x c++-header -nostdinc++ -I/gpfs/data/chernyshov/chroot/include
-D_GNU_SOURCE
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/libsupc++ -O2
-g -std=gnu++0x
/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/include/precompiled/stdc++.h
\
-o powerpc64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug pch/60982] Very long compilation of precompiled headers
  2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
@ 2014-04-28  8:00 ` georgthegreat at gmail dot com
  2014-04-28  9:31 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: georgthegreat at gmail dot com @ 2014-04-28  8:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Yuriy Chernyshov <georgthegreat at gmail dot com> ---
Memory usage is 0.1%.
Building host has 32g of RAM.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug pch/60982] Very long compilation of precompiled headers
  2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
  2014-04-28  8:00 ` [Bug pch/60982] " georgthegreat at gmail dot com
@ 2014-04-28  9:31 ` rguenth at gcc dot gnu.org
  2014-04-28  9:32 ` georgthegreat at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-04-28  9:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
As a workaround you can configure with --disable-libstdcxx-pch (the generated
PCHs are not too useful anyway).


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug pch/60982] Very long compilation of precompiled headers
  2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
  2014-04-28  8:00 ` [Bug pch/60982] " georgthegreat at gmail dot com
  2014-04-28  9:31 ` rguenth at gcc dot gnu.org
@ 2014-04-28  9:32 ` georgthegreat at gmail dot com
  2014-04-29 18:10 ` georgthegreat at gmail dot com
  2014-05-28 13:40 ` georgthegreat at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: georgthegreat at gmail dot com @ 2014-04-28  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Yuriy Chernyshov <georgthegreat at gmail dot com> ---
Thanks, Richard and Jonathan (you both gave me the same solution).
Hope, this helps.

I'll post the results here, once I'll get them.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug pch/60982] Very long compilation of precompiled headers
  2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
                   ` (2 preceding siblings ...)
  2014-04-28  9:32 ` georgthegreat at gmail dot com
@ 2014-04-29 18:10 ` georgthegreat at gmail dot com
  2014-05-28 13:40 ` georgthegreat at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: georgthegreat at gmail dot com @ 2014-04-29 18:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Yuriy Chernyshov <georgthegreat at gmail dot com> ---
I've reconfigured gcc, so it wouldn't build precompiled headers and created a
gcc-build subfolder (as FAQ said).

Now the following command hangs:
libtool: compile:  /gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/./gcc/xgcc
-shared-libgcc -B/gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/./gcc
-nostdinc++
-L/gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src
-L/gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/bin/
-B/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/lib/ -isystem
/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/include -isystem
/gpfs/data/chernyshov/chroot/powerpc64-unknown-linux-gnu/sys-include
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/../libgcc
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/gpfs/data/chernyshov/contrib/gcc-4.8.2/libstdc++-v3/libsupc++ -std=gnu++11
-D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=random.lo -g -O2 -D_GNU_SOURCE -c
../../../../../libstdc++-v3/src/c++11/random.cc  -fPIC -DPIC -D_GLIBCXX_SHARED
-o random.o

This is just a compilation command, so I consider something is wrong in my
environment, but I really can't say what.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug pch/60982] Very long compilation of precompiled headers
  2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
                   ` (3 preceding siblings ...)
  2014-04-29 18:10 ` georgthegreat at gmail dot com
@ 2014-05-28 13:40 ` georgthegreat at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: georgthegreat at gmail dot com @ 2014-05-28 13:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60982

Yuriy Chernyshov <georgthegreat at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Yuriy Chernyshov <georgthegreat at gmail dot com> ---
Hi!

According to my what my system administrator told to be, it is impossible to
build GCC-4.6 and higher due to kernel incompatibility.

I'll close this as invalid.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-28 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-28  6:14 [Bug pch/60982] New: Very long compilation of precompiled headers georgthegreat at gmail dot com
2014-04-28  8:00 ` [Bug pch/60982] " georgthegreat at gmail dot com
2014-04-28  9:31 ` rguenth at gcc dot gnu.org
2014-04-28  9:32 ` georgthegreat at gmail dot com
2014-04-29 18:10 ` georgthegreat at gmail dot com
2014-05-28 13:40 ` georgthegreat at gmail dot com

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).