Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbhtt opened this issue Oct 26, 2024 · 1 comment
Open

Comments

@bbhtt
Copy link

bbhtt commented Oct 26, 2024

/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?

@bbhtt
Copy link
Author

bbhtt commented Oct 28, 2024

Another faliure:

/usr/lib/gcc/x86_64-unknown-linux-gnu/14.2.0/../../../../x86_64-unknown-linux-gnu/bin/ar: creating libefi.a
/usr/lib/gcc/x86_64-unknown-linux-gnu/14.2.0/../../../../x86_64-unknown-linux-gnu/bin/ar: libefi.a: file format not recognized
make[2]: *** [/buildstream-build/gnu-efi//lib/Makefile:79: libefi.a] Error 1
make[2]: Leaving directory '/buildstream-build/gnu-efi/x86_64/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/x86_64/lib/libefi.a] Error 2
make: *** Waiting for unfinished jobs....

90fe14fe-build.20241027-230541.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant