On Friday, February 7, 2014 8:07:01 PM UTC+1, Volker Braun wrote:
>
> I switched to gold for fun (Fedora 20, gold version 2.23.2) and it dies in 
> Singular. I do have a /usr/lib64/libc_nonshared.a, though:
>
> g++ -O2 -g  -fPIC -I.. -I/home/vbraun/Code/sage.git/local -pipe 
> -fno-implicit-templates -I.. -I/home/vbraun/Code/sage.git/local -I. -I.. 
> -I/home/vbraun/Code/sage.git/local 
> -I/home/vbraun/Code/sage.git/local/include 
> -I/home/vbraun/Code/sage.git/local/include 
> -I/home/vbraun/Code/sage.git/local/include  -I/usr/local/include  -DNDEBUG 
> -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -fpic -DPIC -c sing_dbm.cc -o 
> sing_dbm.dl_o
> ld -shared -o dbmsr.so ndbm.dl_o sing_dbm.dl_o -lc_nonshared
> ld: error: cannot find -lc_nonshared
> make[1]: *** [dbmsr.so] Error 1
> make[1]: Leaving directory 
> `/home/vbraun/Code/sage.git/local/var/tmp/sage/build/singular-3.1.6.p0/src/latest/Singular'
>
>
> It works with the normal linker:
>
>
> (sage-sh) vbraun@desktop:Singular$ ld.bfd -shared -o dbmsr.so ndbm.dl_o 
> sing_dbm.dl_o -lc_nonshared
> (sage-sh) vbraun@desktop:Singular$ ld.gold -shared -o dbmsr.so ndbm.dl_o 
> sing_dbm.dl_o -lc_nonshared
> ld.gold: error: cannot find -lc_nonshared
>
> I now get a similar error on Debian (experimental) with the default ld...
And I have 
"""
find /lib /usr/ -name "libc_nonshared*"
/usr/lib32/libc_nonshared.a
/usr/lib/x86_64-linux-gnu/libc_nonshared.a
/usr/libx32/libc_nonshared.a
"""

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to