public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
@ 2002-03-07  3:56 he
  0 siblings, 0 replies; 3+ messages in thread
From: he @ 2002-03-07  3:56 UTC (permalink / raw)
  To: gcc-gnats


>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:


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

* Re: bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
@ 2002-03-07  5:53 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-03-07  5:53 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, he, nobody

Synopsis: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Mar  7 05:53:12 2002
State-Changed-Why:
    Read the documentation for building a cross
    compiler.  You need something like newlib.
    
    http://gcc.gnu.org/onlinedocs/gcc-3.0.3/gcc_4.html#SEC58
    http://www.objsw.com/CrossGCC/

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5860


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

* Re: bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
@ 2002-03-07  4:06 Hrafnkell Eiríksson
  0 siblings, 0 replies; 3+ messages in thread
From: Hrafnkell Eiríksson @ 2002-03-07  4:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR bootstrap/5860; it has been noted by GNATS.

From: =?iso-8859-1?Q?Hrafnkell_Eir=EDksson?= <he@klaki.net>
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes
Date: Thu, 7 Mar 2002 11:59:29 +0000

 woops, documented --with-headers :)
 
 What to do when there has not been built a libc? :)


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

end of thread, other threads:[~2002-03-07 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-07  3:56 bootstrap/5860: cant build gcc-3.0.4 for powerpc-elf on rh7.2, missing includes he
2002-03-07  4:06 Hrafnkell Eiríksson
2002-03-07  5:53 rodrigc

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