* Building ia64 crosscompiler
@ 2002-12-10 3:16 Zdenek Dvorak
2002-12-10 8:36 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Zdenek Dvorak @ 2002-12-10 3:16 UTC (permalink / raw)
To: gcc
Hello,
I tried to build an ia64 crosscompiler on i686 (of rtlopt-branch gcc;
but I guess the situation is moreorless same with bib). I run into
following problems:
a) while hooks.h declares hook_tree_tree_bool_false, both definition in
hooks.c and usage in target-def.h use hook_bool_tree_tree_false (that
is not declared anywhere). I changed the declaration in hooks.h and
continued.
b) then when compiling libgcc, it claimed that
"no data type for mode `TImode'". I was not sure what to do, so I
removed the test for HOST_BITS_PER_WIDE_INT >= 64 in c_common_type_for_mode
and continued.
c) later during the compilation of libgcc, it died with internal error
somewhere in garbage collector and I gave up.
I guess a) is a bug and should be fixed. Does someone know what's going
on with the rest?
Zdenek
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building ia64 crosscompiler
2002-12-10 3:16 Building ia64 crosscompiler Zdenek Dvorak
@ 2002-12-10 8:36 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2002-12-10 8:36 UTC (permalink / raw)
To: Zdenek Dvorak; +Cc: gcc
>b) then when compiling libgcc, it claimed that
> "no data type for mode `TImode'". I was not sure what to do, so I
> removed the test for HOST_BITS_PER_WIDE_INT >= 64 in c_common_type_for_mode
> and continued.
HOST_WIDE_INT should automatically be defined to "long long". If this happens,
then 32b->64b crosses should build. If this does not happen, they will not
build. One of the symptons of this failure is the problem you noted above.
The HOST_WIDE_INT stuff is in hwint.h.
Just taking a wild guess, this might be a problem with Zack's header file
reorganization patches on the bib branch. hwint.h needs MAX_LONG_TYPE_SIZE
from the tm.h file in order to correctly choose the right size for
HOST_WIDE_INT. I do not have a copy of bib, so I can't easily check this.
>c) later during the compilation of libgcc, it died with internal error
> somewhere in garbage collector and I gave up.
This may be a side effect of the above problem.
Jim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-10 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10 3:16 Building ia64 crosscompiler Zdenek Dvorak
2002-12-10 8:36 ` Jim Wilson
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).