[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2009-03-06 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net


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



[Bug bootstrap/26539] New: make install fails in libcpp if bootstrap compiler got removed

2006-03-03 Thread v dot merkatz at gmx dot net
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