Bug 14632 - glibc fails in do_configure on tune-i586 with --enable-cet option
Summary: glibc fails in do_configure on tune-i586 with --enable-cet option
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-11-16 23:16 UTC by Tim Orling
Modified: 2021-11-24 10:13 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Orling 2021-11-16 23:16:09 UTC
While building core-image-minimal on the 'honister-3.4' tag of poky for tune-i586 (for the legacy kernel lab hands-on):

| checking whether CET can be enabled... no
| configure: error: i586-poky-linux-gcc  -m32 -march=i586  -Wdate-time --sysroot=/path/to/poky/build/tmp/work/i586-poky-linux/glibc/2.34-r0/recipe-sysroot doesn't support CET

The '--enable-cet' option is set since commit:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/glibc?h=honister&id=51cf44884971d6fc919f2a799fb08ee61acf7518

but apparently this is not supported on i586 (needs i686+ apparently)
https://github.com/aristocratos/btop/issues/106#issuecomment-948722970

We could obviously do tune specific enablement, but that is messy.
Comment 1 Khem Raj 2021-11-16 23:28:11 UTC
perhaps we should just remove

EXTRA_OECONF_append_x86 = " --enable-cet"

and fix it for once.