Re: Broken shared object on Solaris 10 x64



"Henrik Goldman" <henrik_goldman@xxxxxxxxxxxx> writes:

Just ignore the other post. I just bought this fancy new server recently and
for some reason I could not understand why build times were gone down to
like 10-15 min. Obviously I thought something was wrong since last time I
recompiled gcc it took far longer then this ;-)

Even on quite recent SPARC I get build times near 1 hour.
I guess SPARC still can't catch x86 systems ...

the fpic'ed libstdc++ surely helped on the "-shared" problem but it seems
that 64 bit mode is not compiled in.

Hmm. I've only built gcc* on Solaris/SPARC, and there both 32 and
64-bit support is built automatically.

You can see how /usr/sfw/bin/g++ was configured by simply running
it with "-v". Here is SPARC output:

$ /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Do make sure that you are actually running 64-bit kernel:

isainfo -v

should say somthing about 64-bit support.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.