From: Thomas Schuetzkowski <Thomas.Schuetzkowski@web.de>
To: gcc@gcc.gnu.org
Subject: 8051, libgcc2.a, Internal compiler error in `instantiate_virtual_regs_1'
Date: Mon, 20 Mar 2000 11:38:00 -0000 [thread overview]
Message-ID: <38D67DD7.EA88D0B0@web.de> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]
Dear GCC-Developpers,
when trying to build a 8051-Cross-Compiler I get a:
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi
_fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb
_shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
echo ${name}; \
/gnu/gcc-2.95.2/gcc/xgcc -B/gnu/gcc-2.95.2/gcc/
-B/usr/local/8051/bin/ -I/usr/local/8051/include -O2 -DCROSS_COMPILE
-DIN_GCC -g -O2 -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c
-DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
8051-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
./libgcc2.c:41: stdlib.h: No such file or directory
./libgcc2.c:42: unistd.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/gnu/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
Do I have to provide the header files (stdlib.h, unistd.h, ...)?
I only want the compiler to create assembler code for the 8051. Do I
need a libgcc2 ?
I also don´t have a archiver. I use a shell-script which determines the
asm-routines that
are needed and calls the assembler with the appropiate files to create
hex-files.
The files cccp and cc1 were already created, can I use them?
When I try to compile a simple program with the created cc1 like:
int main(void)
{
int a=0;
return 0;
}
the cc1 crashes with:
main
test1.i: In function `main':
test1.i:5: Internal compiler error in `instantiate_virtual_regs_1', at
function.c:4027
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
--
\|/ ______ \|/
"@'/ ,. \'@"
/__| \__/ |__\
\__U_/
next reply other threads:[~2000-03-20 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-20 11:38 Thomas Schuetzkowski [this message]
2000-03-20 11:52 ` Alexandre Oliva
2000-03-20 12:25 ` Thomas Schuetzkowski
2000-03-20 12:53 ` Alexandre Oliva
2000-03-20 14:48 ` Martin v. Loewis
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=38D67DD7.EA88D0B0@web.de \
--to=thomas.schuetzkowski@web.de \
--cc=gcc@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).