Hi,
On 06.10.2026 20:42, Richard Purdie wrote:
On Tue, 2026-10-06 at 14:03 -0400, Denys Dmytriyenko wrote:
On Tue, Sep 29, 2026 at 09:24:52AM +0200, Joerg Vehlow via
lists.openembedded.org wrote:
Using EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append created a new
override
for EXTRA_OECONF, which led to almost all EXTRA_OECONF switches to
be ignored.
Furthermore, setting --without-headers here is not required,
because it is set in gcc-cross.inc.
I fully realize this change has good intentions, but it actually
breaks
baremetal. We've been trying to debug this for the past couple of
days.
Sorry for the inconvenience.>>
While we run our baremetal in a multiconfig, you don't need that to
reproduce
the breakage only with OE-Core by adding these 2 lines to local.conf:
TCLIBC = "baremetal"
MACHINE = "qemuarm"
We are building a baremetal multiconfig with a custom arm v7 machine and
it was working without any problems (though not oe core master).
I knew that this change severely changes the EXTRA_OECONF, but that was
the whole point of the patch.>
Sorry, please send a revert. I'd checked it looked like it did the
right thing but it clearly doesn't. I suspect some "interesting"
operator interaction :/
Not really. The reason this has such a big impact is that
FOO = "foobar"
OVVERIDES = "bar"
FOO:bar:append = "foo"
results in FOO = "bar" instead of the expected FOO = "foobar foo".
But that must have been the original intention (and maybe) it was even
what it was doing before the syntax change for overrides?
I would say the bug is no in the gcc recipe, which should remove all
unsupported flags on baremetal, so the fix should be done there and not
by reverting this patch. There is absolutely no reason to fiddle with
EXTRA_OECONF in the baremetal config, when the recipe clearly also tries
to accommodate baretmal.
Jörg
We may also want to consider better baremetal testing on the AB. I'm
open to help with configs there...
Cheers,
Richard
--
emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail [email protected]
District Court of Göttingen, Registry Number HR B 3160
Managing Directors: Heike Jordan, Dr. Uwe Kracke
VAT ID No. DE 205 198 055
Office Berlin: Panoramastr. 1, 10178 Berlin, Germany
Office Bonn: Bachstr. 6, 53115 Bonn, Germany
Office München: Am Knie 16, 81241 München, Germany
http://www.emlix.com
emlix - your embedded Linux partner
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247357):
https://lists.openembedded.org/g/openembedded-core/message/247357
Mute This Topic: https://lists.openembedded.org/mt/121486589/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-