Hi Pekon, I haven't been keeping that GCC repository up to date of late. There's a GCC branch that's tracking mainline on github; it might be better to use that and see if you see the same issues.
/Jonas On 02/17/2014 05:09 AM, Pekon Gupta wrote: > Hello all, > > While building latest HEAD of binutils from 'jonas's toolchain' repo. I was > hit by a specific error.. > This may/may not be applicable to all, but I'm building it on AMD_x86_64 > host machine, so issue can be specific. Has anyone faced similar issue ? > > /usr/bin/ld: > /home/projects/openrisc_source/toolchain/binutils/libiberty/libiberty.a(xmalloc.o): > relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making > a shared object; recompile with -fPIC > /home/projects/openrisc_source/toolchain/binutils/libiberty/libiberty.a: > error adding symbols: Bad value > collect2: error: ld returned 1 exit status > make[7]: *** [libcgencpu.la] Error 1 > > > (Or if there are pre-compiled binaries, then please point me to the same). > > with regards, pekon > > > > _______________________________________________ > OpenRISC mailing list > [email protected] > http://lists.openrisc.net/listinfo/openrisc > _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
