I am sadly unable to send an example of what is going wrong. But if I run systemctl --help in GDB, I get an illegal instruction and if I switch to asm layout, the last instruction seems to be a "vstmxcsr" which is, if I'm not mistaken from the avx extension (even though the error is still here if I compile with -mno-avx -mno-avx2.
Thanks for your help ! Le mar. 3 mars 2015 à 21:52, Darren Hart <[email protected]> a écrit : > I guess I'll need more detail about what exactly you are doing, because > we use these flags to build complete OS images, including systemd, and > they have been working correctly for months now. > > Can you provide a small test C program that triggers this failure and a > Makefile to build it? > > Regards, > > Darren > > On 3/3/15 12:34 PM, Benjamin Schubert wrote: > > 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 <[email protected] > > <mailto:[email protected]>> 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 <[email protected] > <mailto:[email protected]> > > > <mailto:[email protected] <mailto:[email protected]>__>> > 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 <[email protected] <mailto: > [email protected]> > > > <mailto:mjarvis.tx.08@gmail.__com <mailto:mjarvis.tx.08@gmail. > com>>> > > > > > > Reply-To: MinnowBoard Development and Community Discussion > > > <elinux-minnowboard@lists.__elinux.org > > <mailto:[email protected]> > > > <mailto:elinux-minnowboard@__lists.elinux.org > > <mailto:[email protected]>>> > > > Date: Monday, February 23, 2015 at 11:53 AM > > > > > > To: MinnowBoard Development and Community Discussion > > > <elinux-minnowboard@lists.__elinux.org > > <mailto:[email protected]> > > > <mailto:elinux-minnowboard@__lists.elinux.org > > <mailto:[email protected]>>> > > > 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 > > > <[email protected] <mailto:[email protected] > > > > <mailto:ben.c.schubert@gmail.__com > > <mailto:[email protected]>>> 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@lists.__elinux.org > > <mailto:[email protected]> > > > <mailto:elinux-MinnowBoard@__lists.elinux.org > > <mailto:[email protected]>> > > > http://lists.elinux.org/__mailman/listinfo/elinux-__ > minnowboard > > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard> > > > > > > > > > > > > > > > -- > > > *Michael Jarvis* > > > McKinney, TX USA > > > http://about.me/michael.a.__jarvis < > http://about.me/michael.a.jarvis> > > > _________________________________________________ > > > elinux-MinnowBoard mailing list > > > elinux-MinnowBoard@lists.__elinux.org > > <mailto:[email protected]> > > > <mailto:elinux-MinnowBoard@__lists.elinux.org > > <mailto:[email protected]>> > > > http://lists.elinux.org/__mailman/listinfo/elinux-__ > minnowboard > > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard> > > > > > > ___________________________________________________ > > > elinux-MinnowBoard mailing list > > > elinux-MinnowBoard@lists.__eli__nux.org <http://elinux.org> > > > <mailto:elinux-MinnowBoard@__lists.elinux.org > > <mailto:[email protected]>> > > > http://lists.elinux.org/____mailman/listinfo/elinux-____ > minnowboard > > <http://lists.elinux.org/__mailman/listinfo/elinux-__minnowboard> > > > <http://lists.elinux.org/__mailman/listinfo/elinux-__ > minnowboard > > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard>> > > > > > > > > > > > > _________________________________________________ > > > elinux-MinnowBoard mailing list > > > elinux-MinnowBoard@lists.__elinux.org > > <mailto:[email protected]> > > > http://lists.elinux.org/__mailman/listinfo/elinux-__minnowboard > > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard> > > > > > > > -- > > Darren Hart > > Intel Open Source Technology Center > > _________________________________________________ > > elinux-MinnowBoard mailing list > > elinux-MinnowBoard@lists.__elinux.org > > <mailto:[email protected]> > > http://lists.elinux.org/__mailman/listinfo/elinux-__minnowboard > > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard> > > > > > > > > _______________________________________________ > > elinux-MinnowBoard mailing list > > [email protected] > > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard > > > > -- > Darren Hart > Intel Open Source Technology Center >
_______________________________________________ elinux-MinnowBoard mailing list [email protected] http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
