0

I am following a tutorial on how to make an operating system for the raspberry pi. I want to follow this tutorial on a Raspberry Pi running Raspbian.

When I try to assemble some assembly using arm-none-eabi-gcc (arm-none-eabi-gcc -mcpu=cortex-a7 -fpic -ffreestanding -c boot/boot.S -o boot/boot.o), I get this:

/usr/lib/gcc/arm-none-eabi/8.3.1/cc1: error while loading shared libraries: /lib/aarch64-linux-gnu/libisl.so.23: unexpected PLT reloc type 0x00
make: *** [Makefile:2: all] Error 1

I don't know why this happens, because I installed the arm-none-eabi-gcc package...

How can I fix this?

Nexuss
  • 23
  • 3
  • you want to build a linux (raspian) application using arm-none-eabi? did you try just gcc on the raspian machine? or arm-linux-gnueabi? provide a minimal complete example, even one line of asm code should suffice to demonstrate the problem. – old_timer Dec 26 '22 at 19:08

0 Answers0