Skip to content

Build fails with error reading aarch64/math.o: No such file or directory #699

Description

@bbhtt
/usr/lib/gcc/aarch64-unknown-linux-gnu/14.2.0/../../../../aarch64-unknown-linux-gnu/bin/ar: creating libefi.a
gcc -std=gnu11 -ggdb -ffreestanding -fmacro-prefix-map=/buildstream-build/= -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -nostdinc -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-empty-body -Wno-implicit-fallthrough -Wno-old-style-declaration -Wno-unused-but-set-variable -Wno-unused-parameter -Werror -I/buildstream-build/Cryptlib/OpenSSL -I/buildstream-build/Cryptlib -I/buildstream-build/Cryptlib/OpenSSL/Include/ -I/buildstream-build/Cryptlib/OpenSSL/crypto -I/buildstream-build/Cryptlib/Include -I/buildstream-build/gnu-efi/inc -I/buildstream-build/gnu-efi/inc/aarch64 -I/buildstream-build/gnu-efi/inc/protocol -I/buildstream-build/Cryptlib/OpenSSL/crypto/asn1 -I/buildstream-build/Cryptlib/OpenSSL/crypto/evp -I/buildstream-build/Cryptlib/OpenSSL/crypto/modes -I/buildstream-build/Cryptlib/OpenSSL/crypto/include -isystem /buildstream-build/include/system -isystem /usr/lib/gcc/aarch64-unknown-linux-gnu/14.2.0/include -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_SMALL_FOOTPRINT -DPEDANTIC -DMDE_CPU_AARCH64   -c -o crypto/dh/dh_depr.o crypto/dh/dh_depr.c
a - boxdraw.o
a - smbios.o
a - console.o
a - crc.o
a - data.o
a - debug.o
a - dpath.o
a - error.o
a - event.o
a - exit.o
a - guid.o
a - hand.o
a - hw.o
a - init.o
a - lock.o
a - misc.o
a - pause.o
a - print.o
a - sread.o
a - str.o
a - cmdline.o
a - runtime/rtlock.o
a - runtime/efirtlib.o
a - runtime/rtstr.o
a - runtime/vm.o
a - runtime/rtdata.o
a - aarch64/initplat.o
a - aarch64/math.o
a - aarch64/setjmp.o
/usr/lib/gcc/aarch64-unknown-linux-gnu/14.2.0/../../../../aarch64-unknown-linux-gnu/bin/ar: libefi.a: error reading aarch64/math.o: No such file or directory
make[2]: *** [/buildstream-build/gnu-efi//lib/Makefile:79: libefi.a] Error 1
make[2]: Leaving directory '/buildstream-build/gnu-efi/aarch64/lib'
make[1]: *** [/buildstream-build/gnu-efi/Makefile:78: lib] Error 2
make[1]: Leaving directory '/buildstream-build/gnu-efi'
make: *** [Makefile:159: gnu-efi/aarch64/lib/libefi.a] Error 2
make: *** Waiting for unfinished jobs....

97f652cb-build.20241025-204124.log

This is with version 15.8

Seems like some kind of race condition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions