gcc 3.3 fix for 2.4
Dave Engebretsen
engebret at vnet.ibm.com
Wed Sep 17 04:37:34 EST 2003
I put the inline asm change into 2.4 BK. Thanks again Hollis.
Dave.
Hollis Blanchard wrote:
>
> On Thursday, Sep 11, 2003, at 08:22 US/Central, Dave Engebretsen wrote:
>
> > I put this change into 2.4 BK. Thanks Hollis.
>
> Thanks Dave. :)
>
> I forgot to mention I had to backport some of the 2.5 unistd.h to 2.4,
> because gcc 3.3.1 didn't like it. Specifially the error was:
> /home/hollis/source/linuxppc64-2.4/include/asm/unistd.h:442: error:
> asm-specifier for
> variable `__sc_4' conflicts with asm clobber list
> [varied maybe 50 times]
>
> This patch (which I hadn't really tested yesterday, which is why I
> didn't send it then) backports the gcc3-friendly inline asm from 2.5's
> unistd.h, apparently originally from Franz Sirl.
>
> With this patch applied, I can build with gcc 3.3.1 (and the resulting
> kernel seems to work, though I didn't do anything like run LTP), so if
> it's acceptable please apply.
>
> --
> Hollis Blanchard
> IBM Linux Technology Center
>
> ------------------------------------------------------------------------
> Name: gcc3-syscalls.diff
> gcc3-syscalls.diff Type: unspecified type (application/octet-stream)
> Encoding: 7bit
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list