Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] generic code with i7 bootlin toolchain?
@ 2021-11-03 19:52 stsp
  2021-11-04  1:05 ` Giulio Benetti
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: stsp @ 2021-11-03 19:52 UTC (permalink / raw)
  To: buildroot

Hello.

I configured buildroot for
corei7 CPU to use the bootlin
tool-chain. As expected, nothing
worked, as I have the (very old)
AMD CPU.
Then I did the following:
BR2_TARGET_OPTIMIZATION="-march=x86-64 -mtune=generic"

make clean
and full rebuild.
After that I've got working
kernel and the user-space
starts booting, but still many
user-space apps or libs crash
with an illegal instruction exception.
I even checked that the toolchain-wrapper
generated by buildroot, has these
strings embedded, so my change
certainly had some effect. But
it was not enough.

So it looks like the
BR2_TARGET_OPTIMIZATION
is somehow applied not to all
built packages? Why can that be?
Is there any other way I can
utilize bootlin tool-chain for some
"generic" (non-SSE3/4) CPU?

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-11-05 21:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-03 19:52 [Buildroot] generic code with i7 bootlin toolchain? stsp
2021-11-04  1:05 ` Giulio Benetti
2021-11-04 10:02 ` stsp
2021-11-04 14:55   ` Giulio Benetti
2021-11-04 15:07     ` stsp
2021-11-04 20:36 ` Yann E. MORIN
2021-11-04 20:59   ` stsp
2021-11-05 21:21     ` Yann E. MORIN

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