This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61737] ICE when building libgcc for cris cross-compiler
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Jul 2014 19:26:42 +0000
- Subject: [Bug target/61737] ICE when building libgcc for cris cross-compiler
- Auto-submitted: auto-generated
- References: <bug-61737-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61737
--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Hans-Peter Nilsson from comment #3)
> (In reply to dhowells@redhat.com from comment #1)
> > Index: gcc/config.gcc
> > ===================================================================
> > --- gcc/config.gcc
> > +++ gcc/config.gcc
> > @@ -1130,7 +1130,7 @@
> > crisv32-*-linux* | cris-*-linux*)
> > tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h
> > cris/linux.h"
> > # We need to avoid using t-linux, so override default tmake_file
> > - tmake_file="cris/t-cris cris/t-linux t-slibgcc t-linux"
> > + tmake_file="${tmake_file} cris/t-cris cris/t-linux t-slibgcc"
> Obvious breakages (for obvious reasons with obvious correct results) is
> covered by the obviousness rule and thus free to commit for anyone
> (including you).
Except it's only obvious in the absence of a comment "explaining" the
exception. Doh! So, there's another issue and that patch is incorrect (do
*not* apply it). Also, I don't remember what aspects of t-linux needs
avoiding. Looking into it...