public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Helen Sun <helen.sun@usa.alcatel.com>
To: bug-gcc@gnu.org
Subject: bug
Date: Tue, 19 Oct 1999 09:51:00 -0000	[thread overview]
Message-ID: <380CA0E0.CCC83EC4@usa.alcatel.com> (raw)

Hello,

When I cross compiler gcc for powerpc-eabi target, I got the following
errors:


In file included from ./objc/hash.c:31:
objc/runtime.h:31: stdio.h: No such file or directory
objc/runtime.h:32: ctype.h: No such file or directory
In file included from objc/runtime.h:38,
                 from ./objc/hash.c:31:
include/objc/objc-api.h:33: stdio.h: No such file or directory
make: *** [objc/hash.o] Error 1



If there anything missing in the source code?

Thanks,/Helen
>From ghazi@caip.rutgers.edu Tue Oct 19 10:03:00 1999
From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: David.Billinghurst@riotinto.com.au, gcc-bugs@gcc.gnu.org, jason@cygnus.com
Subject: Re: egcs-19991013 irix6.5 bootstrap failure - ICE in `gen_type_die',  	at dwarf2out.c:9242
Date: Tue, 19 Oct 1999 10:03:00 -0000
Message-id: <199910191701.NAA07013@caip.rutgers.edu>
X-SW-Source: 1999-10/msg00502.html
Content-length: 2287

 > From: "Billinghurst, David (RTD)" <David.Billinghurst@riotinto.com.au>
 >  
 > egcs-19991013 snapshot build fails on mips-sgi-irix6.5
 >  
 > ICE in `gen_type_die', at dwarf2out.c:9242 while compiling
 > libstdc++/valarray.cc 
 > (See also http://egcs.cygnus.com/ml/gcc-bugs/1999-10/msg00083.html )
 >  
 >   /exd4/billingd/obj/egcs-19991013/gcc/xgcc
 > -B/exd4/billingd/obj/egcs-19991013/gcc/
 > -B/exd4/billingd/tmp/egcs-19991013/mips-sgi-irix6.5/bin/ -c -g -O2
 > -fno-implicit-templates -I/exd4/billingd/src/egcs-19991013/libstdc++
 > -I/exd4/billingd/src/egcs-19991013/libstdc++/stl -I../libio
 > -I/exd4/billingd/src/egcs-19991013/libstdc++/../libio -nostdinc++
 > /exd4/billingd/src/egcs-19991013/libstdc++/valarray.cc -o pic/valarray.o
 > /exd4/billingd/src/egcs-19991013/libstdc++/std/gslice.h:74: Internal
 > compiler error in `gen_type_die', at dwarf2out.c:9242
 > Please submit a full bug report.
 > See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
 > instructions.
 > make[2]: *** [valarray.o] Error 1
 > make[2]: Leaving directory
 > `/exd4/billingd/obj/egcs-19991013/mips-sgi-irix6.5/libstdc++'
 > make[1]: *** [all-target-libstdc++] Error 2
 > make[1]: Leaving directory `/exd4/billingd/obj/egcs-19991013'
 > make: *** [bootstrap] Error 2


Same for me on Irix6.2 as of last night.  Its dying in a switch
statement because it falls through to the default case which aborts at
dwarf2out.c:9242.

#1  0x100da5c4 in gen_type_die (type=0x102e9500,
 context_die=0x103728e8) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9242
#2  0x100dae3c in gen_decl_die (decl=0x9842880,
 context_die=0x103728e8) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9522
#3  0x100db24c in dwarf2out_decl (decl=0x9842880) at
 ../../egcs-CVS19991018/gcc/dwarf2out.c:9700
#4  0x1002cf30 in check_global_declarations (vec=0x102e9500, len=9242)
 at ../../egcs-CVS19991018/gcc/toplev.c:2814
#5  0x1002dc84 in compile_file (name=0x4202f00 "") at
 ../../egcs-CVS19991018/gcc/toplev.c:3256
#6  0x100325d8 in main (argc=8, argv=0x7fff2f14) at
 ../../egcs-CVS19991018/gcc/toplev.c:5519


The unhandled switch value resolves to EQ_EXPR.

(gdb) p type->common.code
$4 = EQ_EXPR

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions
>From mrs@windriver.com Tue Oct 19 10:11:00 1999
From: Mike Stump <mrs@windriver.com>
To: bug-gcc@gnu.org, helen.sun@usa.alcatel.com
Subject: Re: bug
Date: Tue, 19 Oct 1999 10:11:00 -0000
Message-id: <199910191710.KAA24227@kankakee.wrs.com>
X-SW-Source: 1999-10/msg00503.html
Content-length: 690

> Date: Tue, 19 Oct 1999 11:48:32 -0500
> From: Helen Sun <helen.sun@usa.alcatel.com>

> This is a multi-part message in MIME format.
> --------------037850C81707C8E98FF9B3E7

> When I cross compiler gcc for powerpc-eabi target, I got the following
> errors:

> include/objc/objc-api.h:33: stdio.h: No such file or directory

> If there anything missing in the source code?

Yes, your libc and libm implementation.  The compiler can't read your
mind, and you didn't give it one.  Therefore, it built as much as it
could.  If you want it to build more, you will have to figure out what
you want to do for a libc and give that information to the compiler
with --with-headers and --with-libs.
>From osv@Javad.RU Tue Oct 19 10:47:00 1999
From: Sergei Organov <osv@Javad.RU>
To: egcs-bugs@egcs.cygnus.com
Subject: 'make cross' needs gcc-g++ ?!
Date: Tue, 19 Oct 1999 10:47:00 -0000
Message-id: <87emer2q3u.fsf@osv.javad.ru>
X-SW-Source: 1999-10/msg00504.html
Content-length: 1262

Hello,

Don't know if it is a bug or feature, but 'make cross' doesn't work if
only gcc-core is installed. It needs gcc-g++ to be installed as
well. Well, I re-read crossgcc FAQ and didn't find references to
'cross' target for make. Is it just obsolete or it never was an intended
way to make cross compiler? 'make all' works fine, so I hope there is no
actual trouble here.

Example: 

$ mkdir tmp; cd tmp
$ tar -xzf ../archive/gcc-core-2.95.1.tar.gz
$ mkdir build; cd build
$ ../gcc-2.95.1/configure --target=ppc-eabi
...
Links are now set up to build a cross-compiler for powerpc-unknown-eabi
  from i686-pc-linux-gnu.
...
$ make cross
...
make[1]: *** No rule to make target `c++', needed by `native'.  Stop.
make[1]: Leaving directory `/home/osv/tmp/build/gcc'
make: *** [cross] Error 2
$ make cross LANGUAGES=c
...
Building the C and C++ compiler
make[1]: Entering directory `/home/osv/tmp/build/gcc'
(cd intl && make all)
make[2]: Entering directory `/home/osv/tmp/build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/osv/tmp/build/gcc/intl'
make[1]: *** No rule to make target `c++', needed by `native'.  Stop.
make[1]: Leaving directory `/home/osv/tmp/build/gcc'
make: *** [cross] Error 2
$

Thanks,
Sergei Organov.


             reply	other threads:[~1999-10-19  9:51 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-19  9:51 Helen Sun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-08 18:07 bug Cseke Tamas
2006-07-19 18:57 bug kfahoo
2006-01-06 12:01 Bug Cavit Cahit VURAL
2005-12-18 12:14 bug Igor Selitsky
2005-03-03 12:15 Bug Administrator
2005-02-20 15:28 Bug Fikret Skrgic
2005-02-20 15:50 ` Bug Eric Botcazou
2002-07-30 14:56 bug Scott Dorsey
2002-01-08 17:46 bug ditty
2001-12-28 10:14 bug Paolo Carlini
2001-12-28  9:54 bug fabiosmoker
2001-12-11 12:14 BUG Jason Beltrame
2001-10-22 20:55 Bug Bob Bomar
2001-09-19 15:56 bug Yves Dorfsman
2001-07-02 17:07 bug NOBUHIRO OKAMOTO
2001-07-02 17:58 ` bug Toshi Morita
     [not found] <000d01c01bcf$94785c30$e20f083d@wildcomm.net>
2000-09-11 20:51 ` Bug Alexandre Oliva
2000-08-17 23:31 bug Thomas Rudlof
2000-08-11 10:46 bug Joseph Meeks
2000-07-05 15:10 bug Jesus Ruiz
2000-07-05 15:20 ` bug Alexandre Oliva
2000-04-20  6:04 bug BRODIER Olivier
2000-03-31 15:26 BUG David
     [not found] <4.3.0.20000307111239.00aaea40@mail.questgate.net>
2000-03-07 12:05 ` bug Martin v. Loewis
2000-03-08  8:14   ` bug Michael Long
2000-03-09 16:33     ` bug Alexandre Oliva
2000-02-29 10:57 bug wieland Kroetz
     [not found] <3896F92C.87F1A9FF@godel.dis.eafit.edu.co>
2000-02-01 19:32 ` BUG Alexandre Oliva
1999-12-06 12:45 Bug George Christakis
1999-12-31 20:54 ` Bug Brian Ford
1999-11-30 23:39 bug martin.schindelin
1999-11-30 23:39 ` bug Martin v. Loewis
1999-11-30 23:39 bug Martin Richard
1999-11-09 21:32 ` bug Alexandre Oliva
1999-10-31 23:03 bug Mike Stump
1999-10-26 11:02 Bug Gustavo Niemeyer
1999-10-27 12:34 ` Bug Martin v. Loewis
1999-09-12  5:21 bug Stefan Wehner
1999-09-13 23:45 ` bug Martin v. Loewis
1999-09-10 19:53 Bug Samy
1999-09-10 23:48 ` Bug Mumit Khan
1999-07-31 23:33 bug John Cotton
1999-08-31 22:45 ` bug Jeffrey A Law
1999-07-31 23:33 bug Wael Hassan
1999-07-31 23:33 ` bug Brian Ford
1999-06-30 23:07 BUG root of all evil
1999-06-05  2:46 ` BUG Alexandre Oliva
1999-06-28  5:34 BUG Stelios Xanthakis
1999-06-29  1:34 ` BUG Alexandre Oliva
1999-06-18 11:51 bug Mohamed Zaakoun
     [not found] <99051319112100.00451@localhost.localdomain>
1999-05-31 21:06 ` Bug Martin v. Loewis
1999-05-31 21:06 Bug Klaus Causemann
1999-05-22  1:41 ` Bug Philipp Thomas
1999-04-30 23:15 Bug David Corbin
1999-04-30 23:15 BUG Chris Teli
1999-04-15  7:09 ` BUG Alexandre Oliva
1999-04-30 23:15 bug holger
1999-04-13 18:26 BUG Steven Chi
1999-04-30 23:15 ` BUG Alexandre Oliva
1999-04-04  8:53 Bug Mathias Creutz
1999-04-05 12:40 ` Bug Alexandre Oliva
1999-02-28 23:30 Bug Philip Rademakers
1999-02-28 23:30 ` Bug Nathan Sidwell
1999-02-04  6:49 Bug Dan Vasaru
1998-12-17  8:25 bug Jean-Benoit Pierrot
1998-11-23  6:46 bug Massimo Boninsegni
1998-11-23 13:26 ` bug Alexandre Oliva
1998-09-23  7:09 Bug Energoprom
1998-09-23 22:02 ` Bug Alexandre Oliva
1998-09-17  5:09 bug Thien Traitham
1998-09-17 10:49 ` bug Alexandre Oliva
1998-08-31 13:07 bug Brian Grossman
1998-09-01 20:17 ` bug Alexandre Oliva
1998-07-28  4:13 bug Henning Emmrich
1998-07-17  9:51 Bug J. de Antonio
1998-07-14 17:29 bug Fritz Koenig
1998-07-14 23:27 ` bug Martin von Loewis
1998-04-21 12:00 bug root
1998-03-23 23:23 bug Mats Hjelm
1998-02-09 23:36 bug Leeann Bent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=380CA0E0.CCC83EC4@usa.alcatel.com \
    --to=helen.sun@usa.alcatel.com \
    --cc=bug-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).