Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] flags to build Qt5 for AMD Geode LX arch ?
@ 2019-01-29 18:28 David Picard
  2019-01-29 18:33 ` Yann E. MORIN
  0 siblings, 1 reply; 8+ messages in thread
From: David Picard @ 2019-01-29 18:28 UTC (permalink / raw)
  To: buildroot

Hello,

I can build Qt5 successfully. I tested my custom application in QEMU, 
with the same disk.img that I use on the read target (AMD Geode LX).

But on the target, whenever I link one of my programs with Qt5, it 
terminates straight away with a SIGILL (illegal instruction). Including 
a simple printf("Hello world") that doesn't include nor call in Qt5.

With gdbserver + gdb, I could find the instruction where the SIGILL is 
thrown :
movq?? %xmm0,0x8(%esp)
with op code :
66 0F D6 44 24 08

I'm not fluent in assembly code, but my guess is that the instruction is 
not be supported by my CPU. Flags of /proc/cpuinfo : fpu de pse tsc msr 
cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow cpuid 3dnowprefetch 
vmmcall

I thought I could pass e.g. -march=geode when I build Qt. But I don't 
know how to do it. I noticed a arch.conf file in the build directory but 
it gest overwritten when I make qt5base-reconfigure...

David

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-01  6:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-29 18:28 [Buildroot] flags to build Qt5 for AMD Geode LX arch ? David Picard
2019-01-29 18:33 ` Yann E. MORIN
2019-01-30  7:46   ` David Picard
2019-01-30 10:21     ` David Picard
2019-01-30 14:39       ` David Picard
2019-01-31 21:24         ` Arnout Vandecappelle
2019-01-31 22:49           ` Peter Seiderer
2019-02-01  6:53             ` David Picard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox