Re: PPC should not use -fno-builtin (was Re: 2.3.47 imac build?)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Tue Feb 29 2000 - 11:34:42 EST


David Edelsohn wrote:
>
> The ABI developed for GNU/Linux on 64-bit PowerPC is based on the
> AIX PowerOpen ABI combined with the ELF file format. The SVR4 PowerPC ABI
> only is for 32-bit PowerPC. AIX uses "unsigned long" for size_t, so I do
> not think that there is any problem or limitation.

I think my own reply to Paul is causing more confusion than the code.
The problem was that size_t was defined to be unconditionally 'unsigned
long', which makes the size correct for both 32- and 64-bit, but not the
type.

Paul was kind enough to "make this uglier", by conditionally making
size_t an 'unsigned int' on 32-bit PPC, and removing the -fno-builtin
flag from the build. So, problem solved. :)

-- 
Jeff Garzik              | "Are you the police?"
Building 1024            | 
MandrakeSoft, Inc.       | "No ma'am.  We're musicians."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:22 EST