gcc compilation error while loading protected data symbols from archive files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
We are using this gcc-4.8.5-28.el7_5.1.x86_64 version and while
compiling code we are getting this below Error.

****
/i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/ld:
/ws/ucxn-re-bgl01/env_12_5_rvxn12/lib/libilbc.a(fast_mem_ops.o):
relocation R_386_GOTOFF against protected data
`__kmp_external__memcpy_mem_ops_method' can not be used when making a
shared object
i686-pc-linux-gnu/linuxtoolchain-centos7/u8/usr/bin/ld: final link failed:
Bad value
collect2: error: ld returned 1 exit status
****
We have searched about this “relocation against protected symbol doesn’t
work” error and
we found http://www.sourceware.org/ml/binutils/2015-04/msg00203.html this
link but we are not able to
apply this patch on this gcc-4.5 version.

Please suggest some solution or work around to resolve his compilation
error.


Regards,
Vyshnav




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux