[Buildroot] flags to build Qt5 for AMD Geode LX arch ?

David Picard dplamp at gmx.com
Tue Jan 29 18:28:31 UTC 2019


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


More information about the buildroot mailing list