On 10/3/2011 2:14 PM, McClintock Matthew-B29882 wrote:
On Mon, Oct 3, 2011 at 2:22 PM, Khem Raj<raj.k...@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?

It would be handy to understand them since I dont see gcc differentiating formats between ppc64 and x86_64 which both are 64bit hosts. But obviously there is something missing.


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

If I had a ppc64 build around


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

-M

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to