public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686
@ 2002-12-28 12:36 JuBColding
0 siblings, 0 replies; 3+ messages in thread
From: JuBColding @ 2002-12-28 12:36 UTC (permalink / raw)
To: gcc-gnats
>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]$
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686
@ 2003-01-02 11:56 ehrhardt
0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-01-02 11:56 UTC (permalink / raw)
To: JuBColding, gcc-bugs, gcc-prs, nobody
Synopsis: Compile error with "--target=i486-pc-linux-gnu" on i686
State-Changed-From-To: closed->open
State-Changed-By: cae
State-Changed-When: Thu Jan 2 03:56:45 2003
State-Changed-Why:
I reopen this report because of this mail from the original reporter
that didn't make it to the audit trail:
| Oops, sorry - my mistake. I actually did ">>" not ">". I have attached
| the full compilation output as well as the relevant snippet of my
| gcc-building script.
I'm still not sure if this is supposed to work though. I'll add the rest
of the mail including a full build log as an attachment. I also replaced
the ">" with a ">>" in the How-To-Repeat Section.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9084
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686
@ 2003-01-01 19:37 ehrhardt
0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-01-01 19:37 UTC (permalink / raw)
To: JuBColding, gcc-bugs, gcc-prs, nobody
Synopsis: Compile error with "--target=i486-pc-linux-gnu" on i686
State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Wed Jan 1 11:37:09 2003
State-Changed-Why:
I don't think this is supposed to work. When doing
echo "#define HAVE_GAS_HIDDEN 1" >gcc/auto-host.h you just erased the
rest of auto-host.h. You can't expect the compiler to bootstrap after
editing random generated config files by hand.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9084
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-02 11:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-28 12:36 target/9084: Compile error with "--target=i486-pc-linux-gnu" on i686 JuBColding
2003-01-01 19:37 ehrhardt
2003-01-02 11:56 ehrhardt
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).