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

aw-el2-barebone can not complete linking . #7

Open
Abeysinghe51 opened this issue Jul 4, 2022 · 0 comments
Open

aw-el2-barebone can not complete linking . #7

Abeysinghe51 opened this issue Jul 4, 2022 · 0 comments

Comments

@Abeysinghe51
Copy link

Error case by incorrect LD at the 31st line gave me the following error. It was compile using ARCH=arm64-linux-gnu- (Mosr recent version) in an XUbuntu 22.04. Arm64-linux-gnu-ld does not have support for -nostartfiles. How can we correct this error?

*make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
aarch64-linux-gnu-ld -nostdlib -nostartfiles -static -T ldscripts/a64.ld start.o init.o uart.o stack.o exceptions.o exception_funcs.o panic.o pgtables.o trapped_funcs.o -o el2-bb.elf
aarch64-linux-gnu-ld: Error: unable to disambiguate: -nostartfiles (did you mean --nostartfiles ?)
make: *** [Makefile:31: el2-bb.elf] Error 1"

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