[U-Boot] buildman: arm: undefined reference to `__aeabi_ldivmod'

Simon Glass
2016-03-12T00:32:56Z

+Stephen

Hi Jagan,

On 11 March 2016 at 01:00, Jagan Teki <jagannadh.teki@gmail.com> wrote:
>
> Hi,
>
> Did anyone encounter this issue? please let me know for any inputs.
>
> arm: + venice2
> +drivers/mtd/spi-nor/built-in.o: In function `spi_nor_write':
> +build/../drivers/mtd/spi-nor/spi-nor.c:585: undefined reference to
> `__aeabi_ldivmod'
> +arm-unknown-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion
> fail /home/tony/buildall/src/binutils/bfd/elf32-arm.c:7696
> +arm-unknown-linux-gnueabi-ld.bfd: error: required section '.rel.plt'
> not found in the linker script
> +arm-unknown-linux-gnueabi-ld.bfd: final link failed: Invalid operation
> +make[1]: *** [u-boot] Error 1
> +make: *** [sub-make] Error 2

Are you using 64-bit division? Tegra uses the private libgcc. This
patch might help:

http://patchwork.ozlabs.org/patch/592628/

Regards,
Simon