elfutils: fix a compilation race issue
PATCH 1/1 elfutils: fix a compilation race issue
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.
--- meta/recipes-devtools/elfutils/elfutils_0.194.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/elfutils/elfutils_0.194.bb +1 -1
@@ -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-"
Signature · 1 line
2.43.0
Quoted 8 lines · Ming Liu via lists.openembedded.org
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.ois 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
Quoted 20 lines
Quoted 4 lines · <[email protected]> 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'Quoted 4 lines
the issue due to
build/src/readelf.ois 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