Bug 31790 - [4.2 regression] 4.2.0 RC2 build failure host=mingw target=avr
Summary: [4.2 regression] 4.2.0 RC2 build failure host=mingw target=avr
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.2.0
: P3 major
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 16:21 UTC by Eric Weddington
Modified: 2007-05-02 20:28 UTC (History)
1 user (show)

See Also:
Host: mingw
Target: avr
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Weddington 2007-05-02 16:21:00 UTC
4.2.0 RC2 fails to build on host=mingw target=avr

Configured as:

CFLAGS=-D__USE_MINGW_ACCESS  \
../gcc-$version/configure \
    --prefix=$installdir \
    --target=$target \
    --enable-languages=c,c++ \
    --with-dwarf2 \
    --enable-win32-registry=WinAVR-$release \
    --disable-nls \
    --with-gmp=/usr/local \
    --with-mpfr=/usr/local \
    --enable-doc \
    --disable-fixincludes \
    --disable-libssp \
    2>&1 | tee $package-configure.log 

Note that the same configuration successfully builds for 4.1.2.

Error:

gcc   -D__USE_MINGW_ACCESS -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H  -o cpp.exe gcc.o opts-common.o gcc-options.o cppspec.o \
  intl.o prefix.o version.o  ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/c/avrdev/gcc/build/./gcc/xgcc -B/c/avrdev/gcc/build/./gcc/ -B/c/WinAVR-GCC-4.2.0/avr/bin/ -B/c/WinAVR-GCC-4.2.0/avr/lib/ -isystem /c/WinAVR-GCC-4.2.0/avr/include -isystem /c/WinAVR-GCC-4.2.0/avr/sys-include -dumpspecs > tmp-specs
mv tmp-specs specs
echo | /c/avrdev/gcc/build/./gcc/xgcc -B/c/avrdev/gcc/build/./gcc/ -B/c/WinAVR-GCC-4.2.0/avr/bin/ -B/c/WinAVR-GCC-4.2.0/avr/lib/ -isystem /c/WinAVR-GCC-4.2.0/avr/include -isystem /c/WinAVR-GCC-4.2.0/avr/sys-include -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
	 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
/bin/sh ../../gcc-4.2.0-20070430/gcc/../move-if-change tmp-macro_list macro_list
echo timestamp > s-macro_list
make[2]: *** No rule to make target `../build-i686-pc-mingw32/fixincludes/fixinc.sh', needed by `stmp-fixinc'.  Stop.
make[2]: Leaving directory `/c/avrdev/gcc/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/c/avrdev/gcc/build'
make: *** [all] Error 2
Comment 1 Andrew Pinski 2007-05-02 16:24:09 UTC
Don't do this:     --disable-fixincludes 

This is the same thing:
it hurts when I do this
The doctor told you not to do that.
Comment 2 Eric Weddington 2007-05-02 20:28:50 UTC
Woops! Thanks for catching that! I forgot I had --disable-fixincludes still in there.