[OE-core] [PATCH v2 10/16] Fix mdadm for powerpc64

McClintock Matthew-B29882 B29882 at freescale.com
Mon Oct 3 21:14:10 UTC 2011


On Mon, Oct 3, 2011 at 2:22 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> -PR = "r0"
>> +PR = "r1"
>>
>>  SRC_URI =
>> "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2"
>>
>> @@ -16,6 +16,7 @@ SRC_URI[md5sum] = "12ee2fbf3beddb60601fb7a4c4905651"
>>  SRC_URI[sha256sum] =
>> "0d1a04e688b082bc88846e3f524abd50bc782b6ffc06123140f7d358c8f9b906"
>>
>>  CFLAGS += "-fno-strict-aliasing"
>> +EXTRA_OEMAKE_append_powerpc64 = "CXFLAGS=-Wno-error=format"
>>
>>  inherit autotools
>>
>
> what kind of errors do you get ? and I wonder why they dont show up on
> x86_64. It may be something to fix in the madadm code.

I can't find a log of this anywhere, it's probably the default
compiler warnings for our platform are different?

You could try enabling those errors and see if your build fails:

EXTRA_OEMAKE_append_x86-64 = "CXFLAGS=-Werror=format"

-M




More information about the Openembedded-core mailing list