This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686
- From: JuBColding at yorkref dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 28 Dec 2002 20:31:45 -0000
- Subject: target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686
- Reply-to: JuBColding at yorkref dot com
>Number: 9084
>Category: target
>Synopsis: Compile error with "--target=i486-pc-linux-gnu" on i686
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 28 12:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Jules Colding
>Release: gcc-3.2.1
>Organization:
>Environment:
RH 8.0 on Dell Lattitude C640.
Kernel 2.4.20
>Description:
A compile error results when gcc have been configured with:
../gcc-3.2.1/configure --prefix=/static --enable-languages=c --enable-threads=posix --disable-nls --disable-shared --target=i486-pc-linux-gnu
uname -m reports i686 on my system. The last few lines of the compile output have been attached.
>How-To-Repeat:
Configure with the options shown and do:
echo "#define HAVE_GAS_HIDDEN 1" > gcc/autohost.h && \
make -j 1 BOOT_LDFLAGS=-static bootstrap
in your gcc-build directory.
>Fix:
None known.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gcc-compile-bug.txt"
Content-Disposition: inline; filename="gcc-compile-bug.txt"
gcc -DIN_GCC -DCROSS_COMPILE -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \
gengenrtl.o ../libiberty/libiberty.a
./gengenrtl -h > tmp-genrtl.h
/bin/sh ../../gcc-3.2.1/gcc/move-if-change tmp-genrtl.h genrtl.h
./gengenrtl > tmp-genrtl.c
/bin/sh ../../gcc-3.2.1/gcc/move-if-change tmp-genrtl.c genrtl.c
echo timestamp > s-genrtl
gcc -c -DIN_GCC -DCROSS_COMPILE -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/. -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/genflags.c -o genflags.o
In file included from ../../gcc-3.2.1/gcc/genflags.c:28:
../../gcc-3.2.1/include/obstack.h:157:40: attempt to use poisoned "bcopy"
../../gcc-3.2.1/gcc/genflags.c: In function `gen_proto':
../../gcc-3.2.1/gcc/genflags.c:147: warning: implicit declaration of function `strcmp'
../../gcc-3.2.1/gcc/genflags.c: In function `gen_insn':
../../gcc-3.2.1/gcc/genflags.c:189: warning: implicit declaration of function `strlen'
../../gcc-3.2.1/gcc/genflags.c:212: warning: implicit declaration of function `bcopy'
../../gcc-3.2.1/gcc/genflags.c: In function `main':
../../gcc-3.2.1/gcc/genflags.c:228: `free' undeclared (first use in this function)
../../gcc-3.2.1/gcc/genflags.c:228: (Each undeclared identifier is reported only once
../../gcc-3.2.1/gcc/genflags.c:228: for each function it appears in.)
make[2]: *** [genflags.o] Error 1
make[2]: Leaving directory `/home/JuBColding/work/UNIQ/dists/york/static/src/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/JuBColding/work/UNIQ/dists/york/static/src/gcc-build/gcc'
make: *** [bootstrap] Error 2
[JuBColding@apollo gcc-build]$