This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
FIX was [Fwd: gcc 3.1 hppa failures]
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: gcc at gcc dot gnu dot org, newlib at sources dot redhat dot com
- Date: Fri, 26 Apr 2002 08:24:20 -0500
- Subject: FIX was [Fwd: gcc 3.1 hppa failures]
- Organization: OAR Corporation
- Reply-to: joel dot sherrill at OARcorp dot com
With the patch in the attached email, I can build much further.
At this point, the problems are newlib and libgloss. newlib's
libc/machine/pa assembly code uses subspa directives and
libgloss has a Makefile problem where it reports not having
a target.
My PA assembly language is WAY too rusty to attempt to fix
newlib at this point. So please review and commit the
attached patch to the 3.1 and main trunks. This will close
PR6455.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
--- Begin Message ---
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: joel dot sherrill at OARcorp dot com
- Date: Fri, 26 Apr 2002 00:24:10 -0400 (EDT)
- Subject: Re: gcc 3.1 hppa failures
> Already done. :) I filed PR6455 with preprocessed test code
> this morning. "gcc -O2 -c" should tell us whether the ICE
> applies there.
I think this will fix PR6455. Give it a try and let me know
if it works.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2002-04-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.
Index: pa.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/pa/pa.h,v
retrieving revision 1.138.2.3
diff -u -3 -p -r1.138.2.3 pa.h
--- pa.h 23 Apr 2002 08:11:25 -0000 1.138.2.3
+++ pa.h 26 Apr 2002 04:17:14 -0000
@@ -1980,6 +1980,7 @@ while (0)
will never return. */
#define FUNCTION_OK_FOR_SIBCALL(DECL) \
(DECL \
+ && ! TARGET_PORTABLE_RUNTIME \
&& ! TARGET_64BIT \
&& ! TREE_PUBLIC (DECL))
--- End Message ---