public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/30674]  New: libstdc++ isn't parallel build safe
@ 2007-02-01 22:53 hjl at lucon dot org
  2007-02-01 23:01 ` [Bug libstdc++/30674] " hjl at lucon dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-01 22:53 UTC (permalink / raw)
  To: gcc-bugs

When I was using "make -j8" on an ia64 machine with 16 processors, I got

[hjl@gnu-14 gcc]$ grep O2g.gch nohup.out  
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h -o
ia64-unknown-linux-gnu/bits/stdc++.h.gch/O2g.gch
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/stdtr1c++.h
-o ia64-unknown-linux-gnu/bits/stdtr1c++.h.gch/O2g.gch
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h -o
ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
make[4]: *** [ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h -o
ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
make[6]: *** [ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1
[hjl@gnu-14 gcc]$ 

That is the target, ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch, was
made twice at the same time and they ran into each other.


-- 
           Summary: libstdc++ isn't parallel build safe
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org


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


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

* [Bug libstdc++/30674] libstdc++ isn't parallel build safe
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
@ 2007-02-01 23:01 ` hjl at lucon dot org
  2007-02-01 23:56 ` [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64 hjl at lucon dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-01 23:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at lucon dot org  2007-02-01 23:01 -------
I saw

make[4]: Entering directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown
-linux-gnu/libstdc++-v3/include'
make[4]: Leaving directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-
linux-gnu/libstdc++-v3/include'
make[4]: Entering directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown
-linux-gnu/libstdc++-v3'
make[5]: Entering directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown
-linux-gnu/libstdc++-v3'
make[6]: Entering directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown
-linux-gnu/libstdc++-v3/include'
make[6]: Leaving directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-
linux-gnu/libstdc++-v3/include'
make[5]: Leaving directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-
linux-gnu/libstdc++-v3'
make[4]: Leaving directory
`/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-
linux-gnu/libstdc++-v3'

It looks like 2 make proceses entrered libstdc++-v3 at the same time.


-- 


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
  2007-02-01 23:01 ` [Bug libstdc++/30674] " hjl at lucon dot org
@ 2007-02-01 23:56 ` hjl at lucon dot org
  2007-02-01 23:57 ` hjl at lucon dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-01 23:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at lucon dot org  2007-02-01 23:56 -------
The real error is

-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h -o
ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
make[4]: *** [ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h -o
ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
make[6]: *** [ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1
[hjl@gnu-14 gcc]$ 


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |ia64-linux-gnu
            Summary|libstdc++ isn't parallel    |libstdc++ failed to build on
                   |build safe                  |Linux/ia64


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
  2007-02-01 23:01 ` [Bug libstdc++/30674] " hjl at lucon dot org
  2007-02-01 23:56 ` [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64 hjl at lucon dot org
@ 2007-02-01 23:57 ` hjl at lucon dot org
  2007-02-01 23:59 ` hjl at lucon dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-01 23:57 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2598 bytes --]



------- Comment #3 from hjl at lucon dot org  2007-02-01 23:57 -------
Oops. Try again:

if [ ! -d "./ia64-unknown-linux-gnu/bits/extc++.h.gch" ]; then \
          mkdir -p ./ia64-unknown-linux-gnu/bits/extc++.h.gch; \
        fi; \
        /export/build/gnu/gcc/build-ia64-linux/./gcc/xgcc -shared-libgcc
-B/export/build/gnu/gcc/build-ia64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src
-L/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/bin/
-B/usr/gcc-4.3/ia64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/include -isystem
/usr/gcc-4.3/ia64-unknown-linux-gnu/sys-include -Winvalid-pch -Wno-deprecated
-x c++-header -g -O2  -D_GNU_SOURCE
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ia64-unknown-linux-gnu
-I/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include
-I/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h -o
ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch
In file included from
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/traits.hpp:53,
                 from
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/basic_tree_policy/traits.hpp:89,
                 from
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:54,
                 from
/net/gnu-13/export/gnu/src/gcc/gcc/libstdc++-v3/include/precompiled/extc++.h:64:
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/internal_node.hpp:119:
error: ‘min_arr_size’ has not been declared
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/internal_node.hpp:119:
error: ‘arr_size’ is not a type
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/internal_node.hpp:119:
error: expected ‘,’ or ‘...’ before ‘>=’ token
/export/build/gnu/gcc/build-ia64-linux/ia64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/internal_node.hpp:119:
error: ISO C++ forbids declaration of ‘PB_DS_STATIC_ASSERT’ with no type
make: *** [ia64-unknown-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1


-- 


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
                   ` (2 preceding siblings ...)
  2007-02-01 23:57 ` hjl at lucon dot org
@ 2007-02-01 23:59 ` hjl at lucon dot org
  2007-02-02  0:25 ` hjl at lucon dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-01 23:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl at lucon dot org  2007-02-01 23:59 -------
It may be caused by

http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02515.html


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at redhat dot com


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
                   ` (3 preceding siblings ...)
  2007-02-01 23:59 ` hjl at lucon dot org
@ 2007-02-02  0:25 ` hjl at lucon dot org
  2007-02-02 11:28 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-02  0:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl at lucon dot org  2007-02-02 00:25 -------
It is caused by something else.


-- 

hjl at lucon dot org changed:

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


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
                   ` (4 preceding siblings ...)
  2007-02-02  0:25 ` hjl at lucon dot org
@ 2007-02-02 11:28 ` bkoz at gcc dot gnu dot org
  2007-02-02 13:47 ` mkuvyrkov at gcc dot gnu dot org
  2007-02-02 14:02 ` hjl at lucon dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2007-02-02 11:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bkoz at gcc dot gnu dot org  2007-02-02 11:28 -------

Hmm. What?

It seems odd to only have this problem on ia64. You might want to remove the
libstdc++ build directory and try again with a fresh build.

-benjamin


-- 


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
                   ` (5 preceding siblings ...)
  2007-02-02 11:28 ` bkoz at gcc dot gnu dot org
@ 2007-02-02 13:47 ` mkuvyrkov at gcc dot gnu dot org
  2007-02-02 14:02 ` hjl at lucon dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2007-02-02 13:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mkuvyrkov at gcc dot gnu dot org  2007-02-02 13:47 -------
Confirm this on ia64-unknown-linux-gnu.

A strange (and, possibly, accidental) thing is that I hit this error only when
configuring with java.  I.e. '--enable-languages=c,c++,fortran' bootstrap
finishes ok.


-- 

mkuvyrkov at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkuvyrkov at gcc dot gnu dot
                   |                            |org


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


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

* [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64
  2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
                   ` (6 preceding siblings ...)
  2007-02-02 13:47 ` mkuvyrkov at gcc dot gnu dot org
@ 2007-02-02 14:02 ` hjl at lucon dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl at lucon dot org @ 2007-02-02 14:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hjl at lucon dot org  2007-02-02 14:02 -------
I did remove the whole gcc build directory. My soucre is on NFS server. It
looks like my ia64 client still saw the older source files for some files
and new ones for others. After rebooting it, everything works fine. It could
be an NFS issue.


-- 


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


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

end of thread, other threads:[~2007-02-02 14:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 22:53 [Bug libstdc++/30674] New: libstdc++ isn't parallel build safe hjl at lucon dot org
2007-02-01 23:01 ` [Bug libstdc++/30674] " hjl at lucon dot org
2007-02-01 23:56 ` [Bug libstdc++/30674] libstdc++ failed to build on Linux/ia64 hjl at lucon dot org
2007-02-01 23:57 ` hjl at lucon dot org
2007-02-01 23:59 ` hjl at lucon dot org
2007-02-02  0:25 ` hjl at lucon dot org
2007-02-02 11:28 ` bkoz at gcc dot gnu dot org
2007-02-02 13:47 ` mkuvyrkov at gcc dot gnu dot org
2007-02-02 14:02 ` hjl at lucon dot org

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