This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/61737] ICE when building libgcc for cris cross-compiler


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]