This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-971127: results on powerpc-ibm-aix4.2.1.0
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: egcs-971127: results on powerpc-ibm-aix4.2.1.0
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 30 Nov 1997 19:41:38 -0800
- cc: pooh at msu dot ru, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <v03110700b0a7a03e9ac0@[192.149.90.247]>you write:
> Hmm, this also solves a sig11 while compiling glibc-2.1 for me
Good.
> but it didn't change the test behaviour on powerpc-unknown-linux-gnulibc1.
It shouldn't. The change I forwarded to you should not effect ppc-linux
at all.
> The
> strange thing is, after getting the sig11 I started applying Geoff's
> remaining patches step by step and the following one also prohibited the
> sig11. Is Michaels rework really buggy?
Yes. It had a real bug.
> BTW, while looking at *.s files generated by -save-temps I noticed that I
> can't switch on -mmultiple, it is always directly followed by
> -mno-multiple. I tried with various combinations of -mpowerpc,
> -mcpu=powerpc, etc. and was never able to get rid of the -mno-multiple.
> According to the docs this should be possible. Is there any other option
> that forces -mno-multiple?
The way the ppc handles this is a little odd -- basically I don't think you
can depend on the info in the .s file to correctly tell you the right thing
for -mmultiple.
> * PIC code breaks when nested functions are used; for instance, the
> following compiled with 'cc1 -O2 -fpic -Wall'. (The -Wall gives a nice
> visible crash, rather than quietly generating invalid code.)
I rewrote this fix to be more correct. You shouldn't need Geoff's fix
for this problem anymore. My version has been in egcs snapshots for
several weeks.
jeff