public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
       [not found] <bug-32272-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-28  5:17 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-28  5:17 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-28 05:09:15 UTC ---
So closing.


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (11 preceding siblings ...)
  2009-09-22 18:00 ` rwild at gcc dot gnu dot org
@ 2009-09-22 18:06 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-09-22 18:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rwild at gcc dot gnu dot org  2009-09-22 18:05 -------
trunk implements the warning from comment #10 now, and r151880 fixes the
long-standing include-fixed bug with an in-tree build, so this can be
considered as fixed on trunk I guess.


-- 

rwild at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.5.0


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (10 preceding siblings ...)
  2008-06-19  7:46 ` laurent at guerby dot net
@ 2009-09-22 18:00 ` rwild at gcc dot gnu dot org
  2009-09-22 18:06 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-09-22 18:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from rwild at gcc dot gnu dot org  2009-09-22 18:00 -------
Subject: Bug 32272

Author: rwild
Date: Tue Sep 22 18:00:15 2009
New Revision: 152037

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152037
Log:
Error out if building separately but srcdir has build remnants.

/:
        PR bootstrap/32272
        * configure.ac: Error out if $srcdir isn't '.' but contains
        host-${host_noncanonical}.
        * configure: Regenerate.

Modified:
    trunk/ChangeLog
    trunk/configure
    trunk/configure.ac


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (9 preceding siblings ...)
  2008-06-19  7:22 ` Ralf dot Wildenhues at gmx dot de
@ 2008-06-19  7:46 ` laurent at guerby dot net
  2009-09-22 18:00 ` rwild at gcc dot gnu dot org
  2009-09-22 18:06 ` rwild at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2008-06-19  7:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from laurent at guerby dot net  2008-06-19 07:45 -------
No difference, just to confim.

I must admit I never understood why GCC configure does not fail immediately
when sourcedir=builddir since it doesn't work, but I guess your proposed check
would be a step in this direction.


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (8 preceding siblings ...)
  2008-06-19  6:29 ` laurent at guerby dot net
@ 2008-06-19  7:22 ` Ralf dot Wildenhues at gmx dot de
  2008-06-19  7:46 ` laurent at guerby dot net
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-06-19  7:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from Ralf dot Wildenhues at gmx dot de  2008-06-19 07:22 -------
Subject: Re:  make exit because build/genmodes.exe
        doesn't exist

* laurent at guerby dot net wrote on Thu, Jun 19, 2008 at 08:29:14AM CEST:
> It happened to me but I found the source: if even once you did run configure in
> the source dir then even if after that you configure in a clean build dir
> you'll get this error.
> 
> So the solution is to regenerate a clean source dir (either untar or svn co)
> and to absolutely avoid to configure in it, always configure in a build dir.

In what way does this description differ from mine that I overlook?

Maybe we should let toplevel configure check that, if a separate build
tree is used, then $srcdir/host-$host_noncanonical may not exist.

Cheers,
Ralf


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (7 preceding siblings ...)
  2008-06-09 11:03 ` Ralf dot Wildenhues at gmx dot de
@ 2008-06-19  6:29 ` laurent at guerby dot net
  2008-06-19  7:22 ` Ralf dot Wildenhues at gmx dot de
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: laurent at guerby dot net @ 2008-06-19  6:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from laurent at guerby dot net  2008-06-19 06:29 -------
It happened to me but I found the source: if even once you did run configure in
the source dir then even if after that you configure in a clean build dir
you'll get this error.

So the solution is to regenerate a clean source dir (either untar or svn co)
and to absolutely avoid to configure in it, always configure in a build dir.


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (6 preceding siblings ...)
  2007-10-09  2:39 ` huajie dot lee at gmail dot com
@ 2008-06-09 11:03 ` Ralf dot Wildenhues at gmx dot de
  2008-06-19  6:29 ` laurent at guerby dot net
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-06-09 11:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from Ralf dot Wildenhues at gmx dot de  2008-06-09 11:02 -------
(In reply to comment #7)
> I am currently using GCC4.2.1 and the same problem still exist as described.
[...]
> build/genmodes -h > tmp-modes.h
> /bin/sh: build/genmodes: No such file or directory
> make[3]: *** [s-modes-h] Error 127
[...]
> Please advise on how to solve the above problem. Or is it a known bug?

Have you ever started configure and make within the source tree?
As as consequence of that, if the directory $top_srcdir/host-$host_noncanonical
exists, then that would lead to the above error when later building outside
of the source tree  (replace the variables $top_srcdir and $host_noncanonical
with whatever fits your setup, e.g., ../gcc-4.2.1/host-i686-pc-linux-gnu).

A solution would be to remove that directory, then remove the build tree
and start afresh.


-- 

Ralf dot Wildenhues at gmx dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ralf dot Wildenhues at gmx
                   |                            |dot de


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (5 preceding siblings ...)
  2007-09-28 12:52 ` haubi at gentoo dot org
@ 2007-10-09  2:39 ` huajie dot lee at gmail dot com
  2008-06-09 11:03 ` Ralf dot Wildenhues at gmx dot de
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: huajie dot lee at gmail dot com @ 2007-10-09  2:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from huajie dot lee at gmail dot com  2007-10-09 02:39 -------
Hi

I am currently using GCC4.2.1 and the same problem still exist as described.

2.1/libdecnumber -I.  -c ../../gcc-4.2.1/libdecnumber/decimal128.c
rm -f libdecnumber.a
ar cru libdecnumber.a decNumber.o decContext.o decUtility.o decimal32.o
decimal64.o decimal128.o
ranlib libdecnumber.a
make[3]: Leaving directory `/home/jason/local/gcc/build/libdecnumber'
make[3]: Entering directory `/home/jason/local/gcc/build/gcc'
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h" DEFINES="" \
        /bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
        HEADERS="options.h config/i386/i386.h config/i386/unix.h
config/i386/att.h config/dbxelf.h config/elfos.h config/svr4.h config/linux.h
config/i386/linux.h defaults.h" DEFINES="UCLIBC_DEFAULT=0" \
        /bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh tm.h
mawk -f ../../gcc-4.2.1/gcc/opt-gather.awk ../../gcc-4.2.1/gcc/ada/lang.opt
../../gcc-4.2.1/gcc/fortran/lang.opt ../../gcc-4.2.1/gcc/java/lang.opt
../../gcc-4.2.1/gcc/treelang/lang.opt ../../gcc-4.2.1/gcc/c.opt
../../gcc-4.2.1/gcc/common.opt ../../gcc-4.2.1/gcc/config/i386/i386.opt
../../gcc-4.2.1/gcc/config/linux.opt > tmp-optionlist
/bin/sh ../../gcc-4.2.1/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
mawk -f ../../gcc-4.2.1/gcc/opt-functions.awk -f
../../gcc-4.2.1/gcc/opth-gen.awk \
               < optionlist > tmp-options.h
/bin/sh ../../gcc-4.2.1/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h" DEFINES="" \
        /bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh bconfig.h
gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I../../gcc-4.2.1/gcc -I../../gcc-4.2.1/gcc/build
-I../../gcc-4.2.1/gcc/../include -I../../gcc-4.2.1/gcc/../libcpp/include 
-I../../gcc-4.2.1/gcc/../libdecnumber -I../libdecnumber    -o build/errors.o
../../gcc-4.2.1/gcc/errors.c
build/genmodes -h > tmp-modes.h
/bin/sh: build/genmodes: No such file or directory
make[3]: *** [s-modes-h] Error 127
make[3]: Leaving directory `/home/jason/local/gcc/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/jason/local/gcc/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/jason/local/gcc/build'
make: *** [bootstrap] Error 2


Please advise on how to solve the above problem. Or is it a known bug?


Rgrds,
Jason


-- 

huajie dot lee at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |huajie dot lee at gmail dot
                   |                            |com


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (4 preceding siblings ...)
  2007-09-28  1:37 ` jeff at jeffunit dot com
@ 2007-09-28 12:52 ` haubi at gentoo dot org
  2007-10-09  2:39 ` huajie dot lee at gmail dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: haubi at gentoo dot org @ 2007-09-28 12:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from haubi at gentoo dot org  2007-09-28 12:52 -------
More analysis (solution (?) at the end):

Compared gmake's debug-output from powerpc-aix5.3 to x86-gentoo-linux:

x86-gentoo-linux:
<<<
Considering target file `build/genmodes'.
 File `build/genmodes' does not exist.
 Looking for an implicit rule for `build/genmodes'.
 Trying pattern rule with stem `modes'.
 Trying implicit prerequisite `build/genmodes.o'.
 Trying rule prerequisite `../build-i686-pc-linux-gnu/libiberty/libiberty.a'.
 Found an implicit rule for `build/genmodes'.
<<<

powerpc-aix5.3:
<<<
Considering target file `build/genmodes'.
 File `build/genmodes' does not exist.
 Looking for an implicit rule for `build/genmodes'.
 Trying pattern rule with stem `modes'.
 Trying implicit prerequisite `build/genmodes.o'.
 Trying rule prerequisite
`../../build-powerpc-ibm-aix5.3.0.0/libiberty/libiberty.a'.
 Trying pattern rule with stem `modes'.
 Trying implicit prerequisite `build/genmodes.o'.
 Trying rule prerequisite
`../../build-powerpc-ibm-aix5.3.0.0/libiberty/libiberty.a'.
 Looking for a rule with intermediate file
`../../build-powerpc-ibm-aix5.3.0.0/libiberty/libiberty.a'.
  Avoiding implicit rule recursion.
 No implicit rule found for `build/genmodes'.
<<<

gmake avoids matching 'build/gen%' because of not finding libiberty.a in
'../../build-powerpc-ibm-aix5.3.0.0/libiberty/'.

But on linux, libiberty.a is searched in
'../build-i686-pc-linux-gnu/libiberty/'

Now, 'libiberty.a' is searched using $(build_libobjdir).
build_libobjdir is set from this gcc/Makefile snippet:

<<<
ifeq ($(host_subdir),.)
build_objdir := ../$(build_subdir)
build_libobjdir := ../$(build_libsubdir)
else
build_objdir := ../../$(build_subdir)
build_libobjdir := ../../$(build_libsubdir)
endif
<<<

There's a difference in gcc/Makefile for $(host_subdir):

x86-gentoo-linux:
<<<
host_subdir=.
build_subdir=build-i686-pc-linux-gnu
build_libsubdir=build-i686-pc-linux-gnu
<<<

powerpc-aix5.3:
<<<
host_subdir=host_subdir=host-powerpc-ibm-aix5.3.0.0
build_subdir=build-powerpc-ibm-aix5.3.0.0
build_libsubdir=build-powerpc-ibm-aix5.3.0.0
<<<

Now found in gcc/configure some lines to determine 'host_subdir':
<<<
if ( test $srcdir = . && test -d gcc ) \
   || test -d $srcdir/../host-${host_noncanonical}; then
  host_subdir="host-${host_noncanonical}"
else
  host_subdir=.
fi
<<<

And indeed, there is a gcc-4.2.0/host-powerpc-ibm-aix5.3.0.0 (in sourcedir).
Although I'm pretty sure to not configure+make inside gcc's source dir, I've
started from fresh extracted sourcedir. Currently the build is running, but
'build/genmodes' is already built and successfully executed.


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (3 preceding siblings ...)
  2007-09-27 16:09 ` haubi at gentoo dot org
@ 2007-09-28  1:37 ` jeff at jeffunit dot com
  2007-09-28 12:52 ` haubi at gentoo dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jeff at jeffunit dot com @ 2007-09-28  1:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jeff at jeffunit dot com  2007-09-28 01:37 -------
I am using gnu make-3.81
I just verified that the problem is still present.


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
                   ` (2 preceding siblings ...)
  2007-09-18 17:25 ` william dot adams at dot dot state dot fl dot us
@ 2007-09-27 16:09 ` haubi at gentoo dot org
  2007-09-28  1:37 ` jeff at jeffunit dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: haubi at gentoo dot org @ 2007-09-27 16:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from haubi at gentoo dot org  2007-09-27 16:09 -------
Same here on aix5.3 - it seems to be a make problem, not finding the implicit
rule "build/gen%$(build_exeext):" for target 'build/genmodes', defined in
gcc-4.2.0/gcc/Makefile.in line 3026.

Which version of GNU make do you use (prerequisites say >= 3.79.1) ?
Does it make a difference when you use GNU make 3.81 (or 3.80) ?


-- 

haubi at gentoo dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haubi at gentoo dot org


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
  2007-06-20  7:18 ` [Bug bootstrap/32272] " boris at phidani dot be
  2007-08-23 19:06 ` mwheeler at pittstate dot edu
@ 2007-09-18 17:25 ` william dot adams at dot dot state dot fl dot us
  2007-09-27 16:09 ` haubi at gentoo dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: william dot adams at dot dot state dot fl dot us @ 2007-09-18 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from william dot adams at dot dot state dot fl dot us  2007-09-18 17:24 -------
4.2.1 had other build problems.
but this particular one appeared after i upgraded binutils to 2.18.


-- 


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
  2007-06-20  7:18 ` [Bug bootstrap/32272] " boris at phidani dot be
@ 2007-08-23 19:06 ` mwheeler at pittstate dot edu
  2007-09-18 17:25 ` william dot adams at dot dot state dot fl dot us
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mwheeler at pittstate dot edu @ 2007-08-23 19:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mwheeler at pittstate dot edu  2007-08-23 19:06 -------
I'm having this exact same problem. I'm building on AIX 5.3. My output looks
almost exactly the same as the other posters. My only configure option was:
--prefix=/usr/local

Here is the output:
make[3]: Entering directory `/scratch/gcc-4.2.1/gcc-obj/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \
/bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h config/rs6000/rs6000.h config/rs6000/aix.h
config/rs6000/aix52.h config/rs6000/xcoff.h defaults.h" DEFINES="" \
/bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh tm.h
nawk -f ../../gcc-4.2.1/gcc/opt-gather.awk ../../gcc-4.2.1/gcc/ada/lang.opt
../../gcc-4.2.1/gcc/fortran/lang.opt ../../gcc-4.2.1/gcc/java/lang.opt
../../gcc-4.2.1/gcc/treelang/lang.opt ../../gcc-4.2.1/gcc/c.opt
../../gcc-4.2.1/gcc/common.opt ../../gcc-4.2.1/gcc/config/rs6000/rs6000.opt
../../gcc-4.2.1/gcc/config/rs6000/aix64.opt > tmp-optionlist
/bin/sh ../../gcc-4.2.1/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
nawk -f ../../gcc-4.2.1/gcc/opt-functions.awk -f
../../gcc-4.2.1/gcc/opth-gen.awk \
       < optionlist > tmp-options.h
/bin/sh ../../gcc-4.2.1/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-4.2.1/gcc/mkconfig.sh bconfig.h
gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I../../gcc-4.2.1/gcc -I../../gcc-4.2.1/gcc/build
-I../../gcc-4.2.1/gcc/../include -I./../intl
-I../../gcc-4.2.1/gcc/../libcpp/include  -I../../gcc-4.2.1/gcc/../libdecnumber
-I../libdecnumber    -o build/errors.o ../../gcc-4.2.1/gcc/errors.c
build/genmodes -h > tmp-modes.h
/bin/sh: build/genmodes:  not found.
make[3]: *** [s-modes-h] Error 127
make[3]: Leaving directory `/scratch/gcc-4.2.1/gcc-obj/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/scratch/gcc-4.2.1/gcc-obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/scratch/gcc-4.2.1/gcc-obj'
make: *** [all] Error 2


-- 

mwheeler at pittstate dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mwheeler at pittstate dot
                   |                            |edu


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


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

* [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist
  2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
@ 2007-06-20  7:18 ` boris at phidani dot be
  2007-08-23 19:06 ` mwheeler at pittstate dot edu
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: boris at phidani dot be @ 2007-06-20  7:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from boris at phidani dot be  2007-06-20 07:18 -------
got same problem with gcc 4.2.0 on suse linux 9.0:

I did:
 /opt/gcc-4.2.0/configure --program-suffix=-4.2.0

then:
 make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap

Here is the last lines of the output:
<snip>
ar cru libdecnumber.a decNumber.o decContext.o decUtility.o decimal32.o
decimal64.o decimal128.o
ranlib libdecnumber.a
make[3]: Leaving directory `/opt/gcc-4.2.0-obj/libdecnumber'
make[3]: Entering directory `/opt/gcc-4.2.0-obj/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /opt/gcc-4.2.0/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h config/i386/i386.h config/i386/unix.h config/i386/att.h
config/dbxelf.h config/elfos.h config/svr4.h config/linux.h config/i386/linux.h
defaults.h" DEFINES="UCLIBC_DEFAULT=0" \
/bin/sh /opt/gcc-4.2.0/gcc/mkconfig.sh tm.h
gawk -f /opt/gcc-4.2.0/gcc/opt-gather.awk /opt/gcc-4.2.0/gcc/treelang/lang.opt
/opt/gcc-4.2.0/gcc/c.opt /opt/gcc-4.2.0/gcc/common.opt
/opt/gcc-4.2.0/gcc/config/i386/i386.opt /opt/gcc-4.2.0/gcc/config/linux.opt >
tmp-optionlist
/bin/sh /opt/gcc-4.2.0/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
gawk -f /opt/gcc-4.2.0/gcc/opt-functions.awk -f /opt/gcc-4.2.0/gcc/opth-gen.awk
\
       < optionlist > tmp-options.h
/bin/sh /opt/gcc-4.2.0/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /opt/gcc-4.2.0/gcc/mkconfig.sh bconfig.h
gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I/opt/gcc-4.2.0/gcc -I/opt/gcc-4.2.0/gcc/build
-I/opt/gcc-4.2.0/gcc/../include -I/opt/gcc-4.2.0/gcc/../libcpp/include 
-I/opt/gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber    -o build/errors.o
/opt/gcc-4.2.0/gcc/errors.c
build/genmodes -h > tmp-modes.h
/bin/sh: line 1: build/genmodes: No such file or directory
make[3]: *** [s-modes-h] Error 127
make[3]: Leaving directory `/opt/gcc-4.2.0-obj/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/opt/gcc-4.2.0-obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc-4.2.0-obj'
make: *** [bootstrap] Error 2


-- 

boris at phidani dot be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris at phidani dot be


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


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

end of thread, other threads:[~2012-01-28  5:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-32272-4@http.gcc.gnu.org/bugzilla/>
2012-01-28  5:17 ` [Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist pinskia at gcc dot gnu.org
2007-06-10 14:33 [Bug bootstrap/32272] New: " jdeifik at weasel dot com
2007-06-20  7:18 ` [Bug bootstrap/32272] " boris at phidani dot be
2007-08-23 19:06 ` mwheeler at pittstate dot edu
2007-09-18 17:25 ` william dot adams at dot dot state dot fl dot us
2007-09-27 16:09 ` haubi at gentoo dot org
2007-09-28  1:37 ` jeff at jeffunit dot com
2007-09-28 12:52 ` haubi at gentoo dot org
2007-10-09  2:39 ` huajie dot lee at gmail dot com
2008-06-09 11:03 ` Ralf dot Wildenhues at gmx dot de
2008-06-19  6:29 ` laurent at guerby dot net
2008-06-19  7:22 ` Ralf dot Wildenhues at gmx dot de
2008-06-19  7:46 ` laurent at guerby dot net
2009-09-22 18:00 ` rwild at gcc dot gnu dot org
2009-09-22 18:06 ` rwild at gcc dot gnu dot org

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