This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
- From: he at klaki dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: 7 Mar 2002 11:51:44 -0000
- Subject: bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
- Reply-to: he at klaki dot net
>Number: 5860
>Category: bootstrap
>Synopsis: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 07 03:56:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: he@klaki.net
>Release: gcc-3.0.4
>Organization:
>Environment:
Vanilla rh7.2+errata to date
>Description:
When building gcc-3.0.4 on a redhat 7.2 host for the powerpc-elf target I get the following error:
/home/he/M3000/build/gcc/gcc/xgcc -B/home/he/M3000/build/gcc/gcc/ -B/home/he/M3000/crosstools//powerpc-elf/bin/ -B/home/he/M3000/crosstools//powerpc-elf/lib/ -isystem /home/he/M3000/crosstools//powerpc-elf/include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../../src/gcc-3.0.4/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../../src/gcc-3.0.4/libiberty/argv.c
../../../../src/gcc-3.0.4/libiberty/argv.c:35:20: string.h: No such file or directory
../../../../src/gcc-3.0.4/libiberty/argv.c:36:20: stdlib.h: No such file or directory
../../../../src/gcc-3.0.4/libiberty/argv.c: In function `dupargv':
../../../../src/gcc-3.0.4/libiberty/argv.c:101: warning: implicit declaration of function `malloc'
../../../../src/gcc-3.0.4/libiberty/argv.c:108: warning: implicit declaration of function `strlen'
../../../../src/gcc-3.0.4/libiberty/argv.c:109: warning: assignment makes pointer from integer without a cast
../../../../src/gcc-3.0.4/libiberty/argv.c:115: warning: implicit declaration of function `strcpy'
../../../../src/gcc-3.0.4/libiberty/argv.c: In function `freeargv':
../../../../src/gcc-3.0.4/libiberty/argv.c:153: warning: implicit declaration of function `free'
../../../../src/gcc-3.0.4/libiberty/argv.c:155: warning: function `free' was previously declared within a block
../../../../src/gcc-3.0.4/libiberty/argv.c: In function `buildargv':
../../../../src/gcc-3.0.4/libiberty/argv.c:237: warning: function `malloc' was previously declared within a block
../../../../src/gcc-3.0.4/libiberty/argv.c:242: warning: implicit declaration of function `realloc'
../../../../src/gcc-3.0.4/libiberty/argv.c:316: warning: implicit declaration of function `strdup'
../../../../src/gcc-3.0.4/libiberty/argv.c:316: warning: assignment makes pointer from integer without a cast
make[1]: *** [argv.o] Error 1
make[1]: Leaving directory `/home/he/M3000/build/gcc/powerpc-elf/libiberty'
make: *** [all-target-libiberty] Error 2
Is it neccecary to have a libc installed for the target when building, where should the missing headers come from?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: