Re: [GIT PULL] unify sparc header files

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

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Mon, 7 Jul 2008 09:46:00 +0200

> # disable pointer signed / unsigned warnings in gcc 4.0
> KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
> 
> When we do the above check we use KBUILD_CFLAGS direct
> and does not include KBUILD_CPPFLAGS - thus missing -m64.
> 
> So I think that your bi-arch sparc gcc only accepts
> -Wno-pointer-sign if -m64 is specified and that this
> option is missing with current patchset.
> At least that is my best explanation so far.

Yep, that the source of the problem.

What is happening is that the other sparc64 KBUILD_CFLAGS (such as
-mcmodel=medlow, etc.) are only legal during a 64-bit compile.  When
compiling 32-bit those options are not allowed.
--
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