Thread (17 messages) 17 messages, 6 authors, 2007-06-30

Re: Please pull from 'for_paulus' branch

From: Kumar Gala <hidden>
Date: 2007-06-29 14:44:22

On Jun 29, 2007, at 8:45 AM, Arnd Bergmann wrote:
On Friday 29 June 2007, Paul Mackerras wrote:
quoted
It turns out that with Arnd's patches we now get "-mcpu=powerpc64" on
the command line, and that means that gcc *doesn't* put "-mppc64" the
as command line, and as barfs on the 64-bit instructions.  That's
presumably a gcc bug, but we'll have to work around it.  I think the
best thing is just to not put the -mcpu=powerpc64 in CFLAGS when no
specific CPU is selected.
I can't reproduce the problem here unfortunately. My idea was to  
always
pass _some_ -mcpu= flag, in order to make sure it does not use
an inappropriate default, e.g. when the compiler is built for a  
default
for power4 but you actually want to build a power3 kernel.

Would it work reliably if we switch the arguments to
'-mcpu=powerpc64 -m64' instead of '-m64 -mcpu=powerpc64'? That
might be better than taking it out entirely.
Is there a reason you didn't use -mcpu=power3 and -mcpu=rs64 for  
those to CPU options?

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help