public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build
@ 2013-11-17 11:03 Daniel Zimmermann
  2013-11-21  5:24 ` Zhenqiang Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Zimmermann @ 2013-11-17 11:03 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Daniel Zimmermann <netzimme@gmail.com>
# Date 1384685304 -3600
#      Sun Nov 17 11:48:24 2013 +0100
# Node ID ea83356683a857e891cbfc4f4b19ee4ca878f5af
# Parent  7e569a9cb5fd3ab591bb307328b947a5b7312cba
cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build

This patch add patches from Nicolas Hannekum. It fix the problem with parallel build on arm target.
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>

diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch	Sun Nov 17 11:48:24 2013 +0100
@@ -0,0 +1,13 @@
+--- a/gcc/Makefile.in	2013-05-22 02:00:49.000000000 +1000
++++ b/gcc/Makefile.in	2013-06-23 19:00:25.000000000 +1000
+@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
+ 	$(STAMP) s-gtype
+ 
+ generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
+-       $(simple_generated_h) specs.h \
+-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
+        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
+ 
+ # In order for parallel make to really start compiling the expensive
diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch	Sun Nov 17 11:48:24 2013 +0100
@@ -0,0 +1,13 @@
+--- a/gcc/Makefile.in	2013-05-22 02:00:49.000000000 +1000
++++ b/gcc/Makefile.in	2013-06-23 19:00:25.000000000 +1000
+@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
+ 	$(STAMP) s-gtype
+ 
+ generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
+-       $(simple_generated_h) specs.h \
+-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
+        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
+ 
+ # In order for parallel make to really start compiling the expensive

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

* Re: [PATCH] cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build
  2013-11-17 11:03 [PATCH] cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build Daniel Zimmermann
@ 2013-11-21  5:24 ` Zhenqiang Chen
  2013-11-24 11:09   ` Daniel Zimmermann
  0 siblings, 1 reply; 3+ messages in thread
From: Zhenqiang Chen @ 2013-11-21  5:24 UTC (permalink / raw)
  To: Daniel Zimmermann; +Cc: Yann E. MORIN, crossgcc

Nicolas's patch can fix the issue. But it is not committed in 4.8 or
trunk. It is not a good idea to maintain a uncommitted patch.

I just backported two patches from trunk to fix PR 57683. Please try it.

Thanks!
-Zhenqiang


On 17 November 2013 19:03, Daniel Zimmermann <netzimme@gmail.com> wrote:
> # HG changeset patch
> # User Daniel Zimmermann <netzimme@gmail.com>
> # Date 1384685304 -3600
> #      Sun Nov 17 11:48:24 2013 +0100
> # Node ID ea83356683a857e891cbfc4f4b19ee4ca878f5af
> # Parent  7e569a9cb5fd3ab591bb307328b947a5b7312cba
> cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build
>
> This patch add patches from Nicolas Hannekum. It fix the problem with parallel build on arm target.
> See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683
>
> Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
>
> diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch   Sun Nov 17 11:48:24 2013 +0100
> @@ -0,0 +1,13 @@
> +--- a/gcc/Makefile.in  2013-05-22 02:00:49.000000000 +1000
> ++++ b/gcc/Makefile.in  2013-06-23 19:00:25.000000000 +1000
> +@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
> +       $(STAMP) s-gtype
> +
> + generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
> +-       $(simple_generated_h) specs.h \
> +-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
> ++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
> ++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
> +        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
> +
> + # In order for parallel make to really start compiling the expensive
> diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch   Sun Nov 17 11:48:24 2013 +0100
> @@ -0,0 +1,13 @@
> +--- a/gcc/Makefile.in  2013-05-22 02:00:49.000000000 +1000
> ++++ b/gcc/Makefile.in  2013-06-23 19:00:25.000000000 +1000
> +@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
> +       $(STAMP) s-gtype
> +
> + generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
> +-       $(simple_generated_h) specs.h \
> +-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
> ++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
> ++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
> +        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
> +
> + # In order for parallel make to really start compiling the expensive
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

* Re: [PATCH] cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build
  2013-11-21  5:24 ` Zhenqiang Chen
@ 2013-11-24 11:09   ` Daniel Zimmermann
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Zimmermann @ 2013-11-24 11:09 UTC (permalink / raw)
  To: Zhenqiang Chen; +Cc: Yann E. MORIN, crossgcc

Hi

I create a new patch that include Zhenqiang backport patches and test
it. Everything works fine for me.
Please add the last patch from 24 Nov. 11:00 oclock. The other one
include a typo in the commit message.

greetings,
 Daniel



2013/11/21 Zhenqiang Chen <zhenqiang.chen@linaro.org>:
> Nicolas's patch can fix the issue. But it is not committed in 4.8 or
> trunk. It is not a good idea to maintain a uncommitted patch.
>
> I just backported two patches from trunk to fix PR 57683. Please try it.
>
> Thanks!
> -Zhenqiang
>
>
> On 17 November 2013 19:03, Daniel Zimmermann <netzimme@gmail.com> wrote:
>> # HG changeset patch
>> # User Daniel Zimmermann <netzimme@gmail.com>
>> # Date 1384685304 -3600
>> #      Sun Nov 17 11:48:24 2013 +0100
>> # Node ID ea83356683a857e891cbfc4f4b19ee4ca878f5af
>> # Parent  7e569a9cb5fd3ab591bb307328b947a5b7312cba
>> cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build
>>
>> This patch add patches from Nicolas Hannekum. It fix the problem with parallel build on arm target.
>> See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683
>>
>> Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
>>
>> diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch
>> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
>> +++ b/patches/gcc/4.8.1/001-gcc_4_8_1_parallel_build_failure_file_57683.patch   Sun Nov 17 11:48:24 2013 +0100
>> @@ -0,0 +1,13 @@
>> +--- a/gcc/Makefile.in  2013-05-22 02:00:49.000000000 +1000
>> ++++ b/gcc/Makefile.in  2013-06-23 19:00:25.000000000 +1000
>> +@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
>> +       $(STAMP) s-gtype
>> +
>> + generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
>> +-       $(simple_generated_h) specs.h \
>> +-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
>> ++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
>> ++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
>> +        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
>> +
>> + # In order for parallel make to really start compiling the expensive
>> diff -r 7e569a9cb5fd -r ea83356683a8 patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch
>> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
>> +++ b/patches/gcc/4.8.2/001-gcc_4_8_2_parallel_build_failure_file_57683.patch   Sun Nov 17 11:48:24 2013 +0100
>> @@ -0,0 +1,13 @@
>> +--- a/gcc/Makefile.in  2013-05-22 02:00:49.000000000 +1000
>> ++++ b/gcc/Makefile.in  2013-06-23 19:00:25.000000000 +1000
>> +@@ -3801,8 +3801,8 @@ s-gtype: build/gengtype$(build_exeext) $
>> +       $(STAMP) s-gtype
>> +
>> + generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
>> +-       $(simple_generated_h) specs.h \
>> +-       tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
>> ++       $(simple_generated_h) specs.h tree-check.h insn-opinit.h \
>> ++       genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
>> +        $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
>> +
>> + # In order for parallel make to really start compiling the expensive
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

end of thread, other threads:[~2013-11-24 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-17 11:03 [PATCH] cc/gcc: fix problem with gcc 4.8.1 and gcc 4.8.2 and parallel build Daniel Zimmermann
2013-11-21  5:24 ` Zhenqiang Chen
2013-11-24 11:09   ` Daniel Zimmermann

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