public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
@ 2004-01-18  4:39 Timothy J. Wood
  2004-01-18 16:07 ` Andrew Pinski
  2004-01-19 20:57 ` Dale Johannesen
  0 siblings, 2 replies; 9+ messages in thread
From: Timothy J. Wood @ 2004-01-18  4:39 UTC (permalink / raw)
  To: gcc


../gcc/configure --prefix="$PREFIX" --enable-altivec  
--enable-languages="c,c++,objc"
make

/Users/bungi/Source/GNU/gcc/gcc-3.4/build/gcc/xgcc  
-B/Users/bungi/Source/GNU/gcc/gcc-3.4/build/gcc/  
-B/Users/bungi/Source/GNU/gcc/gcc-3.4/install/powerpc-apple- 
darwin7.2.0/bin/  
-B/Users/bungi/Source/GNU/gcc/gcc-3.4/install/powerpc-apple- 
darwin7.2.0/lib/ -isystem  
/Users/bungi/Source/GNU/gcc/gcc-3.4/install/powerpc-apple-darwin7.2.0/ 
include -isystem  
/Users/bungi/Source/GNU/gcc/gcc-3.4/install/powerpc-apple-darwin7.2.0/ 
sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings  
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition   
-isystem ./include  -mlong-double-128 -g -DHAVE_GTHR_DEFAULT  
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I -I../../gcc/gcc  
-I../../gcc/gcc/ -I../../gcc/gcc/../include -I../intl -fexceptions -c  
../../gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
/var/tmp//ccec9Kuq.s:4837:stvx vector instruction is optional for the  
PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccec9Kuq.s:4840:stvx vector instruction is optional for the  
PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccec9Kuq.s:4843:stvx vector instruction is optional for the  
PowerPC (not allowed without -force_cpusubtype_ALL option)
/var/tmp//ccec9Kuq.s:4846:stvx vector instruction is optional for the  
PowerPC (not allowed without -force_cpusubtype_ALL option)
...

   Am I supposed to do something to get '-force_cpusubtype_ALL' (or  
maybe -faltivec) passed to xgcc when bootstrapping, or is this an  
actual bug?

-tim

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18  4:39 3.4 bootstrap failure on powerpc-apple-darwin7.2.0 Timothy J. Wood
@ 2004-01-18 16:07 ` Andrew Pinski
  2004-01-18 19:27   ` Timothy J. Wood
  2004-01-18 23:11   ` Ziemowit Laski
  2004-01-19 20:57 ` Dale Johannesen
  1 sibling, 2 replies; 9+ messages in thread
From: Andrew Pinski @ 2004-01-18 16:07 UTC (permalink / raw)
  To: Timothy J. Wood; +Cc: gcc, Andrew Pinski


On Jan 17, 2004, at 20:39, Timothy J. Wood wrote:

>
> ../gcc/configure --prefix="$PREFIX" --enable-altivec 
> --enable-languages="c,c++,objc"


--enable-altivec is really only for ppc linux to enable the altivec ABI 
by default which is
done for PPC Darwin by default already.

If you remove that you should be able to bootstrap just fine, note that 
the syntax for
altivec differs for FSF than what the original version of MOT's PEM.

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 16:07 ` Andrew Pinski
@ 2004-01-18 19:27   ` Timothy J. Wood
  2004-01-18 23:11   ` Ziemowit Laski
  1 sibling, 0 replies; 9+ messages in thread
From: Timothy J. Wood @ 2004-01-18 19:27 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc


On Jan 18, 2004, at 8:07 AM, Andrew Pinski wrote:

>
> On Jan 17, 2004, at 20:39, Timothy J. Wood wrote:
>
>>
>> ../gcc/configure --prefix="$PREFIX" --enable-altivec 
>> --enable-languages="c,c++,objc"
>
>
> --enable-altivec is really only for ppc linux to enable the altivec 
> ABI by default which is
> done for PPC Darwin by default already.

   Thanks; could someone update the documentation in install.texi to say 
that this should not be passed for PPC Darwin?

> If you remove that you should be able to bootstrap just fine, note 
> that the syntax for
> altivec differs for FSF than what the original version of MOT's PEM.

   I discovered this last night too, but then Altivec doesn't seem work. 
  I thought it was because I didn't have --enable-altivec, but I guess 
either something is busted or I'm doing something (else) wrong.  I'll 
send out a new mail on that to change the subject line :)

-tim

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 16:07 ` Andrew Pinski
  2004-01-18 19:27   ` Timothy J. Wood
@ 2004-01-18 23:11   ` Ziemowit Laski
  2004-01-18 23:18     ` Andrew Pinski
  1 sibling, 1 reply; 9+ messages in thread
From: Ziemowit Laski @ 2004-01-18 23:11 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc, Timothy J. Wood


On 18 Jan 2004, at 8.07, Andrew Pinski wrote:

>
> On Jan 17, 2004, at 20:39, Timothy J. Wood wrote:
>
>>
>> ../gcc/configure --prefix="$PREFIX" --enable-altivec 
>> --enable-languages="c,c++,objc"
>
>
> --enable-altivec is really only for ppc linux to enable the altivec 
> ABI by default which is
> done for PPC Darwin by default already.

Actually, in the course of my recent AltiVec struggles, I failed to 
discover any purpose whatsoever for the '--enable-altivec' config 
switch -- perhaps Aldy can enlighten us.

--Zem

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 23:11   ` Ziemowit Laski
@ 2004-01-18 23:18     ` Andrew Pinski
  2004-01-18 23:36       ` Ziemowit Laski
  2004-01-21 14:56       ` Segher Boessenkool
  0 siblings, 2 replies; 9+ messages in thread
From: Andrew Pinski @ 2004-01-18 23:18 UTC (permalink / raw)
  To: Ziemowit Laski; +Cc: gcc, Andrew Pinski, Timothy J. Wood

On Jan 18, 2004, at 15:10, Ziemowit Laski wrote:
>> --enable-altivec is really only for ppc linux to enable the altivec 
>> ABI by default which is
>> done for PPC Darwin by default already.

> Actually, in the course of my recent AltiVec struggles, I failed to 
> discover any purpose whatsoever for the '--enable-altivec' config 
> switch -- perhaps Aldy can enlighten us.


Doing a simple search using google, I found when this was added:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02123.html

It is exactly does what I said it does is to change the ABI by default.

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 23:18     ` Andrew Pinski
@ 2004-01-18 23:36       ` Ziemowit Laski
  2004-01-18 23:45         ` Andrew Pinski
  2004-01-21 14:56       ` Segher Boessenkool
  1 sibling, 1 reply; 9+ messages in thread
From: Ziemowit Laski @ 2004-01-18 23:36 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc, Timothy J. Wood


On 18 Jan 2004, at 15.18, Andrew Pinski wrote:

> On Jan 18, 2004, at 15:10, Ziemowit Laski wrote:
>>> --enable-altivec is really only for ppc linux to enable the altivec 
>>> ABI by default which is
>>> done for PPC Darwin by default already.
>
>> Actually, in the course of my recent AltiVec struggles, I failed to 
>> discover any purpose whatsoever for the '--enable-altivec' config 
>> switch -- perhaps Aldy can enlighten us.
>
>
> Doing a simple search using google, I found when this was added:
> http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02123.html
>
> It is exactly does what I said it does is to change the ABI by default.

Indeed, except I fail to see why this can't be done at run-time, when 
the user specifies '-maltivec'.

--Zem

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 23:36       ` Ziemowit Laski
@ 2004-01-18 23:45         ` Andrew Pinski
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Pinski @ 2004-01-18 23:45 UTC (permalink / raw)
  To: Ziemowit Laski; +Cc: Andrew Pinski, gcc mailing list


On Jan 18, 2004, at 15:35, Ziemowit Laski wrote:
> Indeed, except I fail to see why this can't be done at run-time, when 
> the user specifies '-maltivec'.


It can done at runtime with -mabi=altivec but the configure option is 
so they do not have to
add it every time.

Thanks,
Andrew Pinski

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18  4:39 3.4 bootstrap failure on powerpc-apple-darwin7.2.0 Timothy J. Wood
  2004-01-18 16:07 ` Andrew Pinski
@ 2004-01-19 20:57 ` Dale Johannesen
  1 sibling, 0 replies; 9+ messages in thread
From: Dale Johannesen @ 2004-01-19 20:57 UTC (permalink / raw)
  To: Timothy J. Wood; +Cc: gcc, Dale Johannesen

On Jan 17, 2004, at 8:39 PM, Timothy J. Wood wrote:
> ../gcc/configure --prefix="$PREFIX" --enable-altivec 
> --enable-languages="c,c++,objc"
> make
>
> /Users/bungi/Source/GNU/gcc/gcc-3.4/build/gcc/xgcc ... 
> libgcc/./unwind-dw2.o
> /var/tmp//ccec9Kuq.s:4837:stvx vector instruction is optional for the 
> PowerPC (not allowed without -force_cpusubtype_ALL option)
>
>   Am I supposed to do something to get '-force_cpusubtype_ALL' (or 
> maybe -faltivec) passed to xgcc when bootstrapping, or is this an 
> actual bug?

It seems desirable to me to be able to enable the compiler to generate 
Altivec code without
actually doing so in the bootstrap.  This bootstrapped compiler would 
not run on a G3.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 3.4 bootstrap failure on powerpc-apple-darwin7.2.0
  2004-01-18 23:18     ` Andrew Pinski
  2004-01-18 23:36       ` Ziemowit Laski
@ 2004-01-21 14:56       ` Segher Boessenkool
  1 sibling, 0 replies; 9+ messages in thread
From: Segher Boessenkool @ 2004-01-21 14:56 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc, Ziemowit Laski, Timothy J. Wood

On 19-jan-04, at 0:18, Andrew Pinski wrote:
>>> --enable-altivec is really only for ppc linux to enable the altivec 
>>> ABI by default which is
>>> done for PPC Darwin by default already.
>
>> Actually, in the course of my recent AltiVec struggles, I failed to 
>> discover any purpose whatsoever for the '--enable-altivec' config 
>> switch -- perhaps Aldy can enlighten us.
>
> Doing a simple search using google, I found when this was added:
> http://gcc.gnu.org/ml/gcc-patches/2001-12/msg02123.html
>
> It is exactly does what I said it does is to change the ABI by default.

Another way to do this is to configure for a 
powerpc-whatever-linux-gnualtivec
target.  Maybe this second way should go?


Segher

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-01-21 14:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-18  4:39 3.4 bootstrap failure on powerpc-apple-darwin7.2.0 Timothy J. Wood
2004-01-18 16:07 ` Andrew Pinski
2004-01-18 19:27   ` Timothy J. Wood
2004-01-18 23:11   ` Ziemowit Laski
2004-01-18 23:18     ` Andrew Pinski
2004-01-18 23:36       ` Ziemowit Laski
2004-01-18 23:45         ` Andrew Pinski
2004-01-21 14:56       ` Segher Boessenkool
2004-01-19 20:57 ` Dale Johannesen

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