[MinnowBoard] [MinnowBoardMax] gcc flags

Benjamin Schubert ben.c.schubert at gmail.com
Tue Mar 3 20:34:42 UTC 2015


Hey,

Yeah sorry, I still get invalid opcode (especially with systemd, which is
quite annoying).

I tried your version and this does not work either :/

Any clue ?

Le mar. 3 mars 2015 à 21:14, Darren Hart <dvhart at linux.intel.com> a écrit :

> Can you explain what you mean by does not work? Are you still getting
> illegal instructions? You may also need to set -mtune. This is what we
> use for the intel-corei7-64 BSP in the Yocto Project which enables the
> Nehalem and Baytrail and later CPUs (including the E3825 on the
> MinnowBoard MAX):
>
> -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2
>
> Thanks,
>
> Darren
>
> On 3/3/15 11:13 AM, Benjamin Schubert wrote:
> > Hey,
> >
> > Sorry for the long delay. I tried with -march=corei7 without any
> > success. that does not work either.
> >
> > Anybody found something else ?
> >
> > Thanks a lot
> >
> > Le lun. 23 févr. 2015 à 23:00, Darren Hart <dvhart at linux.intel.com
> > <mailto:dvhart at linux.intel.com>> a écrit :
> >
> >     Native uses your host CPU, if you want something tailored for the
> >     MinnowBoard MAX Bay Trail SoC, you should use march=corei7.
> >     --
> >     Darren Hart
> >     Intel Open Source Technology Center
> >
> >     From: Michael Jarvis <mjarvis.tx.08 at gmail.com
> >     <mailto:mjarvis.tx.08 at gmail.com>>
> >
> >     Reply-To: MinnowBoard Development and Community Discussion
> >     <elinux-minnowboard at lists.elinux.org
> >     <mailto:elinux-minnowboard at lists.elinux.org>>
> >     Date: Monday, February 23, 2015 at 11:53 AM
> >
> >     To: MinnowBoard Development and Community Discussion
> >     <elinux-minnowboard at lists.elinux.org
> >     <mailto:elinux-minnowboard at lists.elinux.org>>
> >     Subject: Re: [MinnowBoard] [MinnowBoardMax] gcc flags
> >
> >         I usually use "-mtune=native". Does that not work for you?
> >
> >
> >
> >         On Sat, Feb 21, 2015 at 3:58 PM, Benjamin Schubert
> >         <ben.c.schubert at gmail.com <mailto:ben.c.schubert at gmail.com>>
> wrote:
> >
> >             Hey everyone !
> >
> >             I've been strugling for a while on setting up correct gcc
> >             flags for the minnowboard max.
> >
> >             I'm using GCC 4.9.2 with CFLAGS="-march=silvermont" and I
> >             get illegall instructions on some programs.
> >
> >             Has anyone managed to have working CFLAGS that are not
> >             -march=native ?
> >
> >             Thanks a lot
> >
> >             _______________________________________________
> >             elinux-MinnowBoard mailing list
> >             elinux-MinnowBoard at lists.elinux.org
> >             <mailto:elinux-MinnowBoard at lists.elinux.org>
> >             http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >
> >
> >
> >
> >         --
> >         *Michael Jarvis*
> >         McKinney, TX USA
> >         http://about.me/michael.a.jarvis
> >         _______________________________________________
> >         elinux-MinnowBoard mailing list
> >         elinux-MinnowBoard at lists.elinux.org
> >         <mailto:elinux-MinnowBoard at lists.elinux.org>
> >         http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >
> >     _________________________________________________
> >     elinux-MinnowBoard mailing list
> >     elinux-MinnowBoard at lists.__elinux.org
> >     <mailto:elinux-MinnowBoard at lists.elinux.org>
> >     http://lists.elinux.org/__mailman/listinfo/elinux-__minnowboard
> >     <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard>
> >
> >
> >
> > _______________________________________________
> > elinux-MinnowBoard mailing list
> > elinux-MinnowBoard at lists.elinux.org
> > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
> >
>
> --
> Darren Hart
> Intel Open Source Technology Center
> _______________________________________________
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150303/37a406ae/attachment.html>


More information about the elinux-MinnowBoard mailing list