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

Jagan Teki
2016-03-14T17:32:17Z

Hi Simon,

On 12 March 2016 at 06:02, Simon Glass <sjg@chromium.org> wrote:
> +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:

Yes, I'm using 64-bit.

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

Still the same issue.

thanks!
--
Jagan.