--- Comment #2 from ro at gcc dot gnu dot org 2010-04-28 18:19 ---
(In reply to comment #0)
gcc -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
-mtune=niagara -mcpu=niagara -m64 -m64 -m64 -m64 -o .libs/sqlite3 shell.o
-L/usr/lib/sparcv9 ./.libs/libsqlite3.so -lreadline -lcurses -Wl,--rpath
-Wl,/usr/local/lib
/usr/shared-apps/lib/gcc/sparc-sun-solaris2.10/4.4.3/../../../../sparc-sun-solaris2.10/bin/ld:
./.libs/libsqlite3.so: dlsym: invalid version 5 (max 0)
This is a GNU ld error message. You might want to report this to the binutils
maintainers.
Gcc options are:
tchaikovski:[~/rpl/build/tools/sqlite-3.6.22] gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ../gcc-4.4.3/configure --prefix=/usr/shared-apps
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
--enable-nls --enable-checking=release --with-mpfr=/usr/shared-apps/
--with-gnu-ld --enable-bootstrap
Thread model: posix
gcc version 4.4.3 (GCC)
I have checked mpfr and gmp and I use binutils 2.20.1.
Please try this without --with-gnu-ld (and GNU ld as ld in PATH), as
recommended
in the installation instructions.
On another sparc server (sun4u, dual UltraSPARC-III) running debian/squeeze
with gcc-4.4 (gcc version 4.4.3 20100108), I cannot reproduce this bug.
Irrelevant since this is a completely different OS.
--
ro at gcc dot gnu dot org changed:
What|Removed |Added
CC||ro at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43426