public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26539]  New: make install fails in libcpp if bootstrap compiler got removed
@ 2006-03-03  8:14 v dot merkatz at gmx dot net
  2006-03-03  8:16 ` [Bug bootstrap/26539] " v dot merkatz at gmx dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03  8:14 UTC (permalink / raw)
  To: gcc-bugs

Due to libcpp/Makefile.in including the header dependencies in .deps/*.Po, make
tries to recompile libcpp during 'make install' because some of the
dependencies (stdarg.h and stddef.h) don't exist anymore if the bootstrap
compiler got removed. Since the bootstrap compiler isn't there anymore, it
fails.
This used to work fine with previous gcc version.


-- 
           Summary: make install fails in libcpp if bootstrap compiler got
                    removed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot merkatz at gmx dot net


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
@ 2006-03-03  8:16 ` v dot merkatz at gmx dot net
  2006-03-03  8:19 ` v dot merkatz at gmx dot net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03  8:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from v dot merkatz at gmx dot net  2006-03-03 08:16 -------
This is the error:
[...]
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/src/gcc-4.1.0.bld/intl'
make[1]: Entering directory `/usr/src/gcc-4.1.0.bld/libcpp'
gcc  -I/usr/src/gcc-4.1.0/libcpp -I. -I/usr/src/gcc-4.1.0/libcpp/../include
-I/usr/src/gcc-4.1.0/libcpp/include  -march=athlon -mmmx -m3dnow -pipe -Os -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long 
-I/usr/src/gcc-4.1.0/libcpp -I. -I/usr/src/gcc-4.1.0/libcpp/../include
-I/usr/src/gcc-4.1.0/libcpp/include  -c -o charset.o -MT charset.o -MD -MP -MF
.deps/charset.Po /usr/src/gcc-4.1.0/libcpp/charset.c
make[1]: gcc: Command not found
make[1]: *** [charset.o] Error 127
make[1]: Leaving directory `/usr/src/gcc-4.1.0.bld/libcpp'


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
  2006-03-03  8:16 ` [Bug bootstrap/26539] " v dot merkatz at gmx dot net
@ 2006-03-03  8:19 ` v dot merkatz at gmx dot net
  2006-03-03 13:39 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03  8:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from v dot merkatz at gmx dot net  2006-03-03 08:19 -------
Created an attachment (id=10959)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10959&action=view)
patch working around the problem

This patch to libcpp/Makefile.in shows what's causing the error. The included
dependencies contain /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include/stdarg.h
(from the bootstrap compiler), which got removed before make install was
called.


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
  2006-03-03  8:16 ` [Bug bootstrap/26539] " v dot merkatz at gmx dot net
  2006-03-03  8:19 ` v dot merkatz at gmx dot net
@ 2006-03-03 13:39 ` pinskia at gcc dot gnu dot org
  2006-03-03 13:52 ` v dot merkatz at gmx dot net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 13:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-03 13:39 -------
How did you configure GCC?


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (2 preceding siblings ...)
  2006-03-03 13:39 ` pinskia at gcc dot gnu dot org
@ 2006-03-03 13:52 ` v dot merkatz at gmx dot net
  2006-03-03 14:05 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from v dot merkatz at gmx dot net  2006-03-03 13:52 -------
CFLAGS="-march=athlon -mmmx -m3dnow -pipe -Os"
LDFLAGS="-s"
../gcc-4.1.0/configure  --host=i686-pc-linux-gnu           \
             --prefix=/usr                  \
             --infodir=/usr/share/info      \
             --mandir=/usr/share/man        \
             --enable-threads=posix         \
             --with-system-zlib 

make CFLAGS="$CFLAGS" BOOT_CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
     profiledbootstrap


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (3 preceding siblings ...)
  2006-03-03 13:52 ` v dot merkatz at gmx dot net
@ 2006-03-03 14:05 ` pinskia at gcc dot gnu dot org
  2006-03-03 14:11 ` v dot merkatz at gmx dot net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 14:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-03 14:04 -------
Why are you doing this:
             --prefix=/usr               

????


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (4 preceding siblings ...)
  2006-03-03 14:05 ` pinskia at gcc dot gnu dot org
@ 2006-03-03 14:11 ` v dot merkatz at gmx dot net
  2006-03-03 14:27 ` v dot merkatz at gmx dot net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03 14:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from v dot merkatz at gmx dot net  2006-03-03 14:11 -------
Because this is the main gcc package of my distribution, so it obviously has to
go to /usr.


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (5 preceding siblings ...)
  2006-03-03 14:11 ` v dot merkatz at gmx dot net
@ 2006-03-03 14:27 ` v dot merkatz at gmx dot net
  2008-12-28 21:24 ` pinskia at gcc dot gnu dot org
  2009-03-06 22:06 ` v dot merkatz at gmx dot net
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2006-03-03 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from v dot merkatz at gmx dot net  2006-03-03 14:27 -------
I should add that the prefix doesn't matter, configuring it with
--prefix=$HOME/gcc41 has exactly the same result once the gcc in /usr is
removed.


-- 


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (6 preceding siblings ...)
  2006-03-03 14:27 ` v dot merkatz at gmx dot net
@ 2008-12-28 21:24 ` pinskia at gcc dot gnu dot org
  2009-03-06 22:06 ` v dot merkatz at gmx dot net
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28 21:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2008-12-28 21:22 -------
make install should not be rebuilding anything.  

Does this work for you with 4.3.x?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed
  2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
                   ` (7 preceding siblings ...)
  2008-12-28 21:24 ` pinskia at gcc dot gnu dot org
@ 2009-03-06 22:06 ` v dot merkatz at gmx dot net
  8 siblings, 0 replies; 10+ messages in thread
From: v dot merkatz at gmx dot net @ 2009-03-06 22:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from v dot merkatz at gmx dot net  2009-03-06 22:06 -------
Works fine with gcc 4.3.2.


-- 

v dot merkatz at gmx dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-03-06 22:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-03  8:14 [Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed v dot merkatz at gmx dot net
2006-03-03  8:16 ` [Bug bootstrap/26539] " v dot merkatz at gmx dot net
2006-03-03  8:19 ` v dot merkatz at gmx dot net
2006-03-03 13:39 ` pinskia at gcc dot gnu dot org
2006-03-03 13:52 ` v dot merkatz at gmx dot net
2006-03-03 14:05 ` pinskia at gcc dot gnu dot org
2006-03-03 14:11 ` v dot merkatz at gmx dot net
2006-03-03 14:27 ` v dot merkatz at gmx dot net
2008-12-28 21:24 ` pinskia at gcc dot gnu dot org
2009-03-06 22:06 ` v dot merkatz at gmx dot net

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