|
Message-ID: <4F54CCE0.80002@gmail.com> Date: Mon, 05 Mar 2012 09:25:36 -0500 From: Richard Farina <sidhayn@...il.com> To: john-dev@...ts.openwall.com Subject: CFLAGS="-march=native" sometimes unsupported There are currently two open bugs in the Gentoo bug tracker for john 1.7.9: https://bugs.gentoo.org/show_bug.cgi?id=405941 https://bugs.gentoo.org/show_bug.cgi?id=405941 Both of these bugs seem to revolve around CFLAGS="-march=native" not being supported properly for certain CPU. Since I am about to recreate the build failures reliably, and have access to testers who can succeed, I figured I'd report the issue and see if anyone can help. This is how -march=native expands on my system (and build fails): /usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/cc1 -quiet - -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -quiet -dumpbase - -auxbase-strip /dev/null -o /tmp/ccJ8icEQ.s Since running -mtune=native fixes the issue, this is what that expands to on my system (and build succeeds): /usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/cc1 -quiet - -D_FORTIFY_SOURCE=2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -quiet -dumpbase - -march=x86-64 -auxbase-strip /dev/null -o /tmp/cc220dAi.s I'm happy to test any patches or VCS versions as appropriate. I have access to testers who currently can, as well as cannot, build with -march=native if it helps. Thanks, Rick Farina
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.