* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
@ 2004-11-18 0:58 ` hjl at lucon dot org
2004-11-18 12:51 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2004-11-18 0:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18533
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
2004-11-18 0:58 ` [Bug bootstrap/18532] " hjl at lucon dot org
@ 2004-11-18 12:51 ` pinskia at gcc dot gnu dot org
2004-11-28 19:25 ` hjl at lucon dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-18 12:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-18 12:51 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01456.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |build, patch
Last reconfirmed|0000-00-00 00:00:00 |2004-11-18 12:51:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
2004-11-18 0:58 ` [Bug bootstrap/18532] " hjl at lucon dot org
2004-11-18 12:51 ` pinskia at gcc dot gnu dot org
@ 2004-11-28 19:25 ` hjl at lucon dot org
2004-12-01 18:49 ` hjl at lucon dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2004-11-28 19:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-11-28 19:25 -------
*** Bug 18486 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ak at muc dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (2 preceding siblings ...)
2004-11-28 19:25 ` hjl at lucon dot org
@ 2004-12-01 18:49 ` hjl at lucon dot org
2004-12-02 1:05 ` hjl at lucon dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2004-12-01 18:49 UTC (permalink / raw)
To: gcc-bugs
--
Bug 18532 depends on bug 18533, which changed state.
Bug 18533 Summary: EXTRA_MULTILIB_PARTS are used to build libgcc_s.so for multilib
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18533
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (3 preceding siblings ...)
2004-12-01 18:49 ` hjl at lucon dot org
@ 2004-12-02 1:05 ` hjl at lucon dot org
2004-12-02 21:49 ` cvs-commit at gcc dot gnu dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2004-12-02 1:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-12-02 01:05 -------
An updated patch is at
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00110.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (4 preceding siblings ...)
2004-12-02 1:05 ` hjl at lucon dot org
@ 2004-12-02 21:49 ` cvs-commit at gcc dot gnu dot org
2004-12-02 22:00 ` [Bug bootstrap/18532] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-02 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-02 21:49 -------
Subject: Bug 18532
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hjl@gcc.gnu.org 2004-12-02 21:49:00
Modified files:
gcc : ChangeLog mklibgcc.in
Log message:
2004-12-02 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/18532
* mklibgcc.in: Build one set of EXTRA_MULTILIB_PARTS for
multilib at a time. Don't build the default set. Don't add
EXTRA_MULTILIB_PARTS to shared libunwind nor libgcc. Remove
filter for shared libunwind and libgcc.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6690&r2=2.6691
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mklibgcc.in.diff?cvsroot=gcc&r1=1.74&r2=1.75
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (5 preceding siblings ...)
2004-12-02 21:49 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-02 22:00 ` pinskia at gcc dot gnu dot org
2005-05-19 17:47 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 22:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.0.0
Summary|libgcc.mk isn't parallel |[3.4 Regression] libgcc.mk
|build safe for multilib |isn't parallel build safe
| |for multilib
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (6 preceding siblings ...)
2004-12-02 22:00 ` [Bug bootstrap/18532] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-05-19 17:47 ` mmitchel at gcc dot gnu dot org
2005-08-03 6:00 ` ian at airs dot com
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:47 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (7 preceding siblings ...)
2005-05-19 17:47 ` mmitchel at gcc dot gnu dot org
@ 2005-08-03 6:00 ` ian at airs dot com
2005-08-03 14:05 ` hjl at lucon dot org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ian at airs dot com @ 2005-08-03 6:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-08-03 06:00 -------
I looked into fixing this on the 3.4 branch. There is at minimum a series of
patches which would have to be applied:
1) mklibgcc.in has to be changed to group all the EXTRA_MULTILIB_PARTS files for
a particular multilib together. (E.g., H.J. Lu patch of 2004-12-02).
2) mklibgcc.in has to be changed to make the shared libgcc (if any) and
libunwind (if any) for each multilib depend on the extra target created in step
1. This is so that the required parts exist before the shared libgcc is built.
(E.g., Zack Weinberg patch of 2004-11-30).
3) Every use of move-if-change in the top level Makefile has to be modified to
use a stamp file, in particular options.h and gtyp-gen.h. Otherwise the
parallel makes will try to rebuild them simultaneously, which will fail. (E.g.,
Ian Lance Taylor patch of 2004-01-28).
This is of course possible but tedious to test all relevant cases. We may want
to close this as WONTFIX for 3.4.
H.J., you reported the bug. What do you think?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (8 preceding siblings ...)
2005-08-03 6:00 ` ian at airs dot com
@ 2005-08-03 14:05 ` hjl at lucon dot org
2005-08-03 16:59 ` ian at airs dot com
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2005-08-03 14:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2005-08-03 14:05 -------
I have been using
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01456.html
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01454.html
on gcc 3.4 since Nov., 2004. I have been doing "-j 8" on 4way SMP machines.
I haven't seen any problems. I am ok to close it if the bug comes back
somehow after applying those 2 patches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (9 preceding siblings ...)
2005-08-03 14:05 ` hjl at lucon dot org
@ 2005-08-03 16:59 ` ian at airs dot com
2005-08-03 17:04 ` hjl at lucon dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: ian at airs dot com @ 2005-08-03 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-08-03 16:59 -------
How do you manage without patches to use a stamp file for gtyp-gen.h and
options.h? When I tried using patches like the ones you listed, I got a crash
on a simultaneous build of options.h. Are you sure you don't have any patches
in gcc/Makefile.in?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (10 preceding siblings ...)
2005-08-03 16:59 ` ian at airs dot com
@ 2005-08-03 17:04 ` hjl at lucon dot org
2005-08-03 17:10 ` hjl at lucon dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2005-08-03 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2005-08-03 17:04 -------
I do have this patch
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00340.html
Does it help?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (11 preceding siblings ...)
2005-08-03 17:04 ` hjl at lucon dot org
@ 2005-08-03 17:10 ` hjl at lucon dot org
2005-08-03 17:12 ` ian at airs dot com
2005-08-03 17:14 ` ian at airs dot com
14 siblings, 0 replies; 16+ messages in thread
From: hjl at lucon dot org @ 2005-08-03 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2005-08-03 17:10 -------
I also have this patch
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00088.html
Ian, can you email me your failed build log?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (12 preceding siblings ...)
2005-08-03 17:10 ` hjl at lucon dot org
@ 2005-08-03 17:12 ` ian at airs dot com
2005-08-03 17:14 ` ian at airs dot com
14 siblings, 0 replies; 16+ messages in thread
From: ian at airs dot com @ 2005-08-03 17:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-08-03 17:12 -------
The patch you need is this one:
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg03130.html
I don't know how you are surviving without it.
The failing part of the build log is:
mips-elf-ar rc soft-float/el/libgcov.a libgcc/soft-float/el/_gcov.o
libgcc/soft-float/el/_gcov_merge_add.o libgcc/soft-float/el/_gcov_merge_single.o
libgcc/soft-float/el/_gcov_merge_delta.o
mips-elf-ranlib soft-float/el/libgcov.a
make GCC_FOR_TARGET="/home/ian/gcc/gcc-3.4-mips-elf/gcc/xgcc
-B/home/ian/gcc/gcc-3.4-mips-elf/gcc/
-B/home/ian/gcc/mips-elf-install/mips-elf/bin/
-B/home/ian/gcc/mips-elf-install/mips-elf/lib/ -isystem
/home/ian/gcc/mips-elf-install/mips-elf/include -isystem
/home/ian/gcc/mips-elf-install/mips-elf/sys-include" \
AR_FOR_TARGET="mips-elf-ar" \
AR_CREATE_FOR_TARGET="mips-elf-ar rc" \
AR_EXTRACT_FOR_TARGET="mips-elf-ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="loser-" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc " \
MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
mips-elf-ranlib soft-float/el/libgcc.a
make GCC_FOR_TARGET="/home/ian/gcc/gcc-3.4-mips-elf/gcc/xgcc
-B/home/ian/gcc/gcc-3.4-mips-elf/gcc/
-B/home/ian/gcc/mips-elf-install/mips-elf/bin/
-B/home/ian/gcc/mips-elf-install/mips-elf/lib/ -isystem
/home/ian/gcc/mips-elf-install/mips-elf/include -isystem
/home/ian/gcc/mips-elf-install/mips-elf/sys-include" \
AR_FOR_TARGET="mips-elf-ar" \
AR_CREATE_FOR_TARGET="mips-elf-ar rc" \
AR_EXTRACT_FOR_TARGET="mips-elf-ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="loser-" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-msoft-float " \
MULTILIB_CFLAGS=" -msoft-float" T=soft-float/ soft-float/crtbegin.o
soft-float/crtend.o soft-float/crti.o soft-float/crtn.o
make[3]: Entering directory `/home/ian/gcc/gcc-3.4-mips-elf/gcc'
make[3]: Entering directory `/home/ian/gcc/gcc-3.4-mips-elf/gcc'
AWK=gawk /bin/sh ../../gcc-3.4/gcc/gcc/opts.sh \
'/bin/sh ../../gcc-3.4/gcc/gcc/move-if-change' \
options.c options.h ../../gcc-3.4/gcc/gcc/c.opt
../../gcc-3.4/gcc/gcc/common.opt
AWK=gawk /bin/sh ../../gcc-3.4/gcc/gcc/opts.sh \
'/bin/sh ../../gcc-3.4/gcc/gcc/move-if-change' \
options.c options.h ../../gcc-3.4/gcc/gcc/c.opt
../../gcc-3.4/gcc/gcc/common.opt
options.h is unchanged
options.c is unchanged
/home/ian/gcc/gcc-3.4-mips-elf/gcc/xgcc -B/home/ian/gcc/gcc-3.4-mips-elf/gcc/
-B/home/ian/gcc/mips-elf-install/mips-elf/bin/
-B/home/ian/gcc/mips-elf-install/mips-elf/lib/ -isystem
/home/ian/gcc/mips-elf-install/mips-elf/include -isystem
/home/ian/gcc/mips-elf-install/mips-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -Isoft-float
-I../../gcc-3.4/gcc/gcc -I../../gcc-3.4/gcc/gcc/soft-float
-I../../gcc-3.4/gcc/gcc/../include -msoft-float -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -G 0 \
-Dinhibit_libc -c ../../gcc-3.4/gcc/gcc/crtstuff.c -DCRT_BEGIN \
-o soft-float/crtbegin.o
mv: cannot stat `tmp-options.h': No such file or directory
mv: cannot stat `tmp-options.c': No such file or directory
make[3]: *** [options.h] Error 1
make[3]: Leaving directory `/home/ian/gcc/gcc-3.4-mips-elf/gcc'
make[2]: *** [extra] Error 2
make[2]: *** Waiting for unfinished jobs....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug bootstrap/18532] [3.4 Regression] libgcc.mk isn't parallel build safe for multilib
2004-11-17 18:55 [Bug bootstrap/18532] New: libgcc.mk isn't parallel build safe for multilib hjl at lucon dot org
` (13 preceding siblings ...)
2005-08-03 17:12 ` ian at airs dot com
@ 2005-08-03 17:14 ` ian at airs dot com
14 siblings, 0 replies; 16+ messages in thread
From: ian at airs dot com @ 2005-08-03 17:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ian at airs dot com 2005-08-03 17:14 -------
Oh, I see it now. Your patch has a prev_extra to serialize building
EXTRA_MULTILIB_PARTS for all multilibs. That avoids the problem with options.h.
Mainline doesn't have that patch, and presumably doesn't need to serialize
building EXTRA_MULTILIB_PARTS.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2005-03-03 03:08:23 |2005-08-03 17:14:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18532
^ permalink raw reply [flat|nested] 16+ messages in thread