On Wed, 2021-08-04 at 12:36 +0200, Martin Jansa wrote: > * since the upgrade to 249.1 in: > > https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c > the builds with ld-is-gold are failing with: > > [17/21] Generating linuxx64.elf.stub with a custom command > FAILED: src/boot/efi/linuxx64.elf.stub > > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld > -o src/boot/efi/linuxx64.elf.stub -T > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds > -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib > > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o > src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o > src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o > src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o > src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a > > /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: > internal error in segment_precedes, at ../../gold/layout.cc:3721 > [18/21] Generating boot.c.o with a custom command > ninja: build stopped: subcommand failed. > WARNING: exit code 1 from a shell command. > > as reported in: > https://lists.openembedded.org/g/openembedded-core/message/154246 > > * if someone is using lld or ld.lld in ${LD} then it would fail as well: > > https://github.com/systemd/systemd/commit/e39288193fcdf3a36dbc49b78e6c9bf86a764e31 > > * work around this by always using ld.bfd instead of whatever is set in ${LD} > > Signed-off-by: Martin Jansa <[email protected]> > --- > meta/recipes-core/systemd/systemd-boot_249.1.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
I suspect but haven't confirmed this is probably the cause of: https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154427): https://lists.openembedded.org/g/openembedded-core/message/154427 Mute This Topic: https://lists.openembedded.org/mt/84658911/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
