You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2024. It is now read-only.
I am trying to generates a my own riscv cross compiler with the --enable-host-shared & enable-languages=c,c++,jit flags. But here I am getting errors. Can anyone please help me to resolve the following errors.
Error:
/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd2.o): relocation R_X86_64_32S against symbol __gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC /bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd.o): relocation R_X86_64_32S against symbol __gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC
/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd_step.o): relocation R_X86_64_32S against symbol __gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC /bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd_appr.o): relocation R_X86_64_32S against symbol __gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC
/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/mpfr/src/.libs/libmpfr.a(constant.o): warning: relocation in read-only section `.rodata'
collect2: error: ld returned 1 exit status
make[1]: *** [../../gcc-12.2.0/gcc/jit/Make-lang.in:168: libgccjit.so.0.0.1] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory '/root/MDP/RV64G_Fedora_Distro/packages/gcc-static/gcc'
make: *** [Makefile:4622: all-gcc] Error 2
Thanks
Billa
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Dear All,
I am trying to generates a my own riscv cross compiler with the --enable-host-shared & enable-languages=c,c++,jit flags. But here I am getting errors. Can anyone please help me to resolve the following errors.
Error:
/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd2.o): relocation R_X86_64_32S against symbol
__gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC /bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd.o): relocation R_X86_64_32S against symbol
__gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd_step.o): relocation R_X86_64_32S against symbol
__gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC /bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/./gmp/.libs/libgmp.a(hgcd_appr.o): relocation R_X86_64_32S against symbol
__gmpn_clz_tab' can not be used when making a shared object; recompile with -fPIC/bin/ld: /root/MDP/RV64G_Fedora_Distro/packages/gcc-static/mpfr/src/.libs/libmpfr.a(constant.o): warning: relocation in read-only section `.rodata'
collect2: error: ld returned 1 exit status
make[1]: *** [../../gcc-12.2.0/gcc/jit/Make-lang.in:168: libgccjit.so.0.0.1] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory '/root/MDP/RV64G_Fedora_Distro/packages/gcc-static/gcc'
make: *** [Makefile:4622: all-gcc] Error 2
Thanks
Billa
The text was updated successfully, but these errors were encountered: