[MinnowBoard] [MinnowBoardMax] gcc flags
ben.c.schubert at gmail.com
Mon Mar 9 09:47:43 UTC 2015
Ok, this does not work either :/
I guess this is a systemd problem as all the other programs do work. I will
try to see there !
Thanks a lot for your help !
Le mer. 4 mars 2015 à 15:43, B Cran <bruce.cran at gmail.com> a écrit :
> On Wed, Mar 4, 2015 at 8:35 AM, Benjamin Schubert <
> ben.c.schubert at gmail.com> wrote:
>> 1) I am running gentoo (hardened version)
>> 2) My config is :
>> CFLAGS="-march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 -mno-avx
>> -mno-avx2 -O2 -pipe"
>> 3) I rebuilt all the system with the same flags...
> Oh, you might need to resort to a reinstall or restore the binaries from
> the (stage 3?) tarball to undo any damage: I have no idea where it came
> from because those flags _should_ work, but it'll be near-to-impossible
> tracking down all the binaries which have been miscompiled.
> '-march=corei7' is for the original i7 which doesn't have avx so it
> shouldn't be causing problems. The -march values in gcc 4.9 are:
> AMD Barcelona- march=barcelonaAMD Bobcat- march=btver1AMD Jaguar-
> march=btver2AMD Bulldozer- march=bdver1AMD Piledriver- march=bdver2AMD
> Steamroller- march=bdver3Intel Westmere- march=westmereIntel Core Nehalem-
> march=corei7Intel Core Sandy Bridge- march=corei7-avxIntel Core Ivy Bridge-
> march=core-avx-iIntel Core Haswell- march=core-avx2Intel Core Broadwell-
> march=broadwellIntel Atom Bonnell- march=bonnellIntel Atom Silvermont
> - march=silvermont
> I just tested with -march=silvermont and confirmed that __AVX__ isn't
> defined. Maybe some library has a bug and assumes all CPUs newer than X
> have AVX support? Probably best to just stick with corei7 (Nehalem) for now
> unless you have _lots_ of time to track down where the problem is occurring!
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the elinux-MinnowBoard