[uclibc-ng-devel] [ork1] issue with Binutils 2.32 and gcc 9.x
shorne at gmail.com
Fri Aug 23 15:47:45 CEST 2019
On Fri, Aug 16, 2019 at 07:35:33PM +0200, Romain Naour wrote:
> Hi Waldemar,
> I discovered an issue with uClibc and binutils 2.32 and gcc 9.1 or 9.2.
Thank you for reporting and doing the initial investigation. Sorry, I haven't
built uclibc-ng for a while.
Have you been able to make much progress?
> LD libuClibc-1.0.31.so
> libc/libc_so.a(or1k_clone.os): pc-relative relocation against dynamic symbol
> This error message come from a new check in binutils 2.32.x:
Right, this patch added several new validations. I am guessing the complaint is
correct and we need to fix something in uclibc-ng.
> With binutils 2.30.x and 2.31.x, I have another assembler error:
> Error: junk at end of line `l.movhi r17,gotoffha(.LC0)'
> ork1 support was added to gcc 9.x and enabled into Buildroot recently.
The above error comes because we need binutils 2.32.x with the new toolchain.
> I remember doing a test with qemu_or1k_defconfig before gcc 9.1 was released but
> I don't remember if it was with musl or uClibc-ng... It should be with uClibc-ng
> but I didn't trigged such error.
> Thoughts ?
It's likely the new validations added with binutils 2.32.x. I'll try to build
uclibc-ng and see if I can reproduce.
More information about the devel