Re: [PATCH 4/5] sparc: use asm-generic version of types.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sat, 30 Mar 2013 23:07:33 +0100

> On Sat, Mar 30, 2013 at 06:02:47PM -0400, David Miller wrote:
>> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
>> Date: Sat, 30 Mar 2013 22:44:25 +0100
>> 
>> > We failed to include the header file that define __u16 because __sparc__
>> > was not defined.
>> 
>> Is this another problem with your cross compiler?
>> 
>> __sparc__ should always be defined, it's a CPP pre-define.
> 
> Maybe..
> 
> But Fengguang Wu see the same issue in his 0-day
> testing.
> But maybe we have both gcc issues.

I'm not fundamentally against these changes, if there would be
a good reason for them.

But it seems to me that these cross compilers are terminally broken,
you cannot seriously even expect them to be able to compiler userland
successfully at all because __linux__ and __sparc__ must be CPP
predefined for userspace to compiler properly.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux