* [Bug bootstrap/58572] [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
@ 2013-09-30 10:14 ` rguenth at gcc dot gnu.org
2013-10-02 23:33 ` gary at intrepid dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 10:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
2013-09-30 10:14 ` [Bug bootstrap/58572] " rguenth at gcc dot gnu.org
@ 2013-10-02 23:33 ` gary at intrepid dot com
2013-10-20 18:40 ` [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler) gerald at pfeifer dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: gary at intrepid dot com @ 2013-10-02 23:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
--- Comment #1 from Gary Funck <gary at intrepid dot com> ---
We're seeing a similar failure on SUSE SLE 11.2. The installed version of gcc
is 4.3.4.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
2013-09-30 10:14 ` [Bug bootstrap/58572] " rguenth at gcc dot gnu.org
2013-10-02 23:33 ` gary at intrepid dot com
@ 2013-10-20 18:40 ` gerald at pfeifer dot com
2013-10-20 19:51 ` gerald at pfeifer dot com
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2013-10-20 18:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-10-20
CC| |tromey at redhat dot com
Target Milestone|4.9.0 |---
Summary|[4.9 regression] make |[4.9 regression] make
|install uses -Wno-narrowing |bootstrap-lean leads to
|with system compiler which |installation failure (doing
|does not know about it |extra rebuilds and invoking
| |system compiler)
Ever confirmed|0 |1
--- Comment #2 from Gerald Pfeifer <gerald at pfeifer dot com> ---
In further testing of mine I managed to reduce this to
make bootstrap (which works)
and
make bootstrap-lean (which works, but makes make install fail).
Also, binary search confirms this is caused by Tom's "automatic
dependencies" patchset.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (2 preceding siblings ...)
2013-10-20 18:40 ` [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler) gerald at pfeifer dot com
@ 2013-10-20 19:51 ` gerald at pfeifer dot com
2013-10-21 15:15 ` tromey at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: gerald at pfeifer dot com @ 2013-10-20 19:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Gerald Pfeifer <gerald at pfeifer dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (3 preceding siblings ...)
2013-10-20 19:51 ` gerald at pfeifer dot com
@ 2013-10-21 15:15 ` tromey at gcc dot gnu.org
2013-11-05 14:45 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu.org @ 2013-10-21 15:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #3 from Tom Tromey <tromey at gcc dot gnu.org> ---
I was curious why make had decided to rebuild c/c-lang.o (picking
the recompile that came first for me) so I added a line to the
.c.o rule that printed $?
This yielded:
/home/tromey/Space/Trunk/Git/PFE/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/cstring
/home/tromey/Space/Trunk/Git/PFE/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdlib
So I think what is going on is that the automatic tracking scheme
notices a dependency previously omitted by the Makefile. However, due
to how bootstrap-lean works, this file is deleted before the "install"
step.
I am not sure what to do about this.
All I can think of is that bootstrap-lean probably must leave one
prev- directory around.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (4 preceding siblings ...)
2013-10-21 15:15 ` tromey at gcc dot gnu.org
@ 2013-11-05 14:45 ` rguenth at gcc dot gnu.org
2013-11-15 18:18 ` tromey at gcc dot gnu.org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-05 14:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #3)
> I was curious why make had decided to rebuild c/c-lang.o (picking
> the recompile that came first for me) so I added a line to the
> .c.o rule that printed $?
>
> This yielded:
>
> /home/tromey/Space/Trunk/Git/PFE/prev-x86_64-unknown-linux-gnu/libstdc++-v3/
> include/cstring
> /home/tromey/Space/Trunk/Git/PFE/prev-x86_64-unknown-linux-gnu/libstdc++-v3/
> include/cstdlib
>
>
> So I think what is going on is that the automatic tracking scheme
> notices a dependency previously omitted by the Makefile. However, due
> to how bootstrap-lean works, this file is deleted before the "install"
> step.
>
> I am not sure what to do about this.
> All I can think of is that bootstrap-lean probably must leave one
> prev- directory around.
I think it does so anyway during bootstrap, so it's not an issue if
it stays there for install (IMHO).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (5 preceding siblings ...)
2013-11-05 14:45 ` rguenth at gcc dot gnu.org
@ 2013-11-15 18:18 ` tromey at gcc dot gnu.org
2013-11-15 18:20 ` tromey at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu.org @ 2013-11-15 18:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |krebbel at gcc dot gnu.org
--- Comment #5 from Tom Tromey <tromey at gcc dot gnu.org> ---
*** Bug 58666 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (6 preceding siblings ...)
2013-11-15 18:18 ` tromey at gcc dot gnu.org
@ 2013-11-15 18:20 ` tromey at gcc dot gnu.org
2014-03-06 12:12 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu.org @ 2013-11-15 18:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |tromey at gcc dot gnu.org
--- Comment #6 from Tom Tromey <tromey at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (7 preceding siblings ...)
2013-11-15 18:20 ` tromey at gcc dot gnu.org
@ 2014-03-06 12:12 ` jakub at gcc dot gnu.org
2014-03-06 15:29 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-06 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or perhaps if the *prev* directories are missing during install, symlink them
to the latest stage ones for the duration of make install?
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (8 preceding siblings ...)
2014-03-06 12:12 ` jakub at gcc dot gnu.org
@ 2014-03-06 15:29 ` jakub at gcc dot gnu.org
2014-03-07 12:59 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-06 15:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32288
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32288&action=edit
gcc49-pr58572.patch
That didn't work for some reason (tried that just manually, after make
bootstrap-lean did ln -sf {,prev-}x86_64-unknown-linux-gnu, but make install
still failed when using g++ which doesn't grok -Wnarrowing and -Wno-narrowing
(used a shell script wrapper around /usr/bin/g++ that rejected those options).
But this patch worked, apparently libstdc++-v3 headers already use #pragma GCC
system_header, so this patch shouldn't make a difference warning-wise, but it
makes a difference for -MMD.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (9 preceding siblings ...)
2014-03-06 15:29 ` jakub at gcc dot gnu.org
@ 2014-03-07 12:59 ` jakub at gcc dot gnu.org
2014-03-07 13:03 ` jakub at gcc dot gnu.org
2014-03-07 14:32 ` mario.held at de dot ibm.com
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-07 12:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 7 12:58:27 2014
New Revision: 208400
URL: http://gcc.gnu.org/viewcvs?rev=208400&root=gcc&view=rev
Log:
PR bootstrap/58572
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Use -isystem instead of
-I for libstdc++-v3 includes if $(LEAN).
* Makefile.in: Regenerated.
Modified:
trunk/ChangeLog
trunk/Makefile.in
trunk/Makefile.tpl
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (10 preceding siblings ...)
2014-03-07 12:59 ` jakub at gcc dot gnu.org
@ 2014-03-07 13:03 ` jakub at gcc dot gnu.org
2014-03-07 14:32 ` mario.held at de dot ibm.com
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-03-07 13:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Should be fixed now.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)
2013-09-29 15:13 [Bug bootstrap/58572] New: [4.9 regression] make install uses -Wno-narrowing with system compiler which does not know about it gerald at pfeifer dot com
` (11 preceding siblings ...)
2014-03-07 13:03 ` jakub at gcc dot gnu.org
@ 2014-03-07 14:32 ` mario.held at de dot ibm.com
12 siblings, 0 replies; 14+ messages in thread
From: mario.held at de dot ibm.com @ 2014-03-07 14:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572
--- Comment #11 from Mario Held <mario.held at de dot ibm.com> ---
Checked out revision 208400 and did a "make -j <NUM_CPUS> bootstrap-lean
1>>$OUTPUT 2>&1" on s390x (IBM System z). Success, works as expected.
^ permalink raw reply [flat|nested] 14+ messages in thread