Source: atlas Version: 3.8.3-29 Severity: wishlist Tags: patch User: debian-...@superh.org Usertags: sh4 X-Debbugs-CC: debian-sup...@lists.debian.org
Hi, SH4 of atlas library has problem that unresolvable reference to symbol __sdivsi3_i4i. http://buildd.debian-ports.org/fetch.php?pkg=atlas&arch=sh4&ver=3.8.3-29&stamp=1290674899&file=log&as=raw ----- dh_perl -plibatlas3gf-base dh_shlibdeps -plibatlas3gf-base -l /home/iwamatsu/build-area/atlas/atlas-3.8.3/debian/libatlas3gf-base/usr/lib/atlas-base/:/home/iwamatsu/build-area/atlas/atlas-3.8.3/debian/libatlas3gf-base/usr/lib/at las-base/atlas/: dpkg-shlibdeps: warning: debian/libatlas3gf-base/usr/lib/atlas-base/libatlas.so.3gf.0 contains an unresolvable reference to symbol __sdivsi3_i4i: it's probably a plugin. dpkg-shlibdeps: warning: 1 similar warning has been skipped (use -v to see it). ----- This is because libgcc_s.a has __sdivsi3_i4i. This is a specific problem on Renesas SH. Therefore, it is revised if libatlas.so.3gf.0 links libgcc_s as follows. ld -shared -soname libatlas.so.3gf -o libatlas.so.3gf.0 --whole-archive libatlas.a --no-whole-archive -lc -lpthread -lm -L/usr/lib/gcc/sh4-linux-gnu/4.4.5/ -lgcc_s I made the brief patch which revised this problem. Could you check this patch? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
--- a/makes/Make.lib 2010-12-01 11:24:41.000000000 +0900 +++ b/makes/Make.lib 2010-12-01 11:25:06.000000000 +0900 @@ -101,7 +101,7 @@ libatlas.so.3gf.0 : libatlas.a ld $(LDFLAGS) -shared -soname libatlas.so.3gf -o $@ \ - --whole-archive libatlas.a --no-whole-archive -lc $(LIBS) + --whole-archive libatlas.a --no-whole-archive -lc $(LIBS) $(F77SYSLIB) liblapack_atlas.so.3gf.0 : liblapack_atlas.a libatlas.so libcblas.so libf77blas.so ld $(LDFLAGS) -shared -soname liblapack_atlas.so.3gf -o $@ \ --whole-archive liblapack_atlas.a \