linker - Multiple libgcc_s libraries when linking on Solaris with studio 12.5 -
i'm trying move developer studio 12.5 , enable c++11 options. software links openssl using oracle provided library in /usr/sfw. appears depend on older libgcc_s.so 1 used c++ 11 stl. following:
cc -o binary -b direct -z origin -std=c++11 object_files.o -lblah/lib -r\$origin/../lib -lotherlib -l/usr/sfw/lib -r/usr/sfw/lib -lcrypto -lsocket unused $addvers specification file '/opt/developerstudio12.5/lib/compilers/cc-gcc/gcc_version.map' object 'libgcc_s.so' version(s): gcc_4.2.0
is there way 2 libgcc_s.so instances coexist in 1 binary references libcrypto going 1 , stl other? looking @ oracle linker , libraries document shows promising options -b group perhaps works dlopen.
i realise recompile openssl (or perhaps libressl) nicer use 1 os , colleague reckons sun's build makes use of hardware crypto features on sparc.
Comments
Post a Comment