| Message ID | 20260126140414.11731-1-liu.ming50@gmail.com |
|---|---|
| State | Changes Requested |
| Headers | show |
| Series | elfutils: fix a compilation race issue | expand |
On Mon, 26 Jan 2026 at 15:04, Ming Liu via lists.openembedded.org <liu.ming50=gmail.com@lists.openembedded.org> wrote: > A following error was observed occasionally: > > | in function `_start': > | /usr/src/debug/lib32-glibc/2.39+git/csu/../sysdeps/arm/start.S:118:(.text+0x40): undefined reference to `main' > > the issue due to build/src/readelf.o is zero size. > > it can be fixed by inheriting autotools-brokensep per test. I don't understand. If something is racing around creating and accessing some .o file, it will continue to race regardless of where the build directory is located. This needs a proper investigation and fix. Alex
OK, that makes sense, it must be a elfutils internal build issue, I will keep investigating, please ignore this MR. the best Ming Liu On Mon, 26 Jan 2026 at 15:04, Ming Liu via lists.openembedded.org > <liu.ming50=gmail.com@lists.openembedded.org> wrote: > > A following error was observed occasionally: > > > > | in function `_start': > > | > /usr/src/debug/lib32-glibc/2.39+git/csu/../sysdeps/arm/start.S:118:(.text+0x40): > undefined reference to `main' > > > > the issue due to build/src/readelf.o is zero size. > > > > it can be fixed by inheriting autotools-brokensep per test. > > I don't understand. If something is racing around creating and > accessing some .o file, it will continue to race regardless of where > the build directory is located. > > This needs a proper investigation and fix. > > Alex >
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.194.bb b/meta/recipes-devtools/elfutils/elfutils_0.194.bb index f7963afcbe..5d81fadbdb 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.194.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.194.bb @@ -26,7 +26,7 @@ SRC_URI:append:libc-musl = " \ " SRC_URI[sha256sum] = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e" -inherit autotools gettext ptest pkgconfig +inherit autotools-brokensep gettext ptest pkgconfig EXTRA_OECONF = "--program-prefix=eu-"
A following error was observed occasionally: | in function `_start': | /usr/src/debug/lib32-glibc/2.39+git/csu/../sysdeps/arm/start.S:118:(.text+0x40): undefined reference to `main' the issue due to build/src/readelf.o is zero size. it can be fixed by inheriting autotools-brokensep per test. Signed-off-by: Ming Liu <liu.ming50@gmail.com> --- meta/recipes-devtools/elfutils/elfutils_0.194.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)