Gnuk with GCC >= 5

NIIBE Yutaka gniibe at fsij.org
Mon Aug 27 08:51:32 CEST 2018


Hello,

I wonder how you configure your gcc.

Bertrand Jacquin <bertrand at jacquin.bzh> wrote:
> Note that newlib remains the same when I am using gcc 4.9.4 or gcc 7.3.0

I think that newlib for gcc 7 should be configured/compiled by gcc 7. 

> * gcc-7.3.0
[...]
> build/chopstx.o: dynamic relocation against `chx_idle' in read-only section `.text.preempt'

Strange.  Dynamic relocation should never happen.  

> I am not sure which version of the libc this corresponds to

My libc for arm-none-eabi is:

	Package: libnewlib-arm-none-eabi
	Version: 3.0.0.20180802-2

I think that the issue is not the souce version, but which gcc it is built.
-- 



More information about the Gnuk-users mailing list