Soalris 10 x86 build issues

Jonathan Blanchard BlanchardJ at
Thu Aug 12 00:31:25 CEST 2010

On Wed, Aug 11, 2010 at 6:35 PM, Reginald Beardsley <pulaskite at> wrote:
> A couple of minor glitches:
> is specified twice for "make check" targets:
> gcc -std=gnu99 -O2 -pedantic -m64 -mtune=k8 -o .libs/t-constants t-constants.o  ./.libs/libtests.a /app/pkgs/gnu/gmp/4.3.2/src/.libs/ ../.libs/  -R/app/pkgs/gnu/gmp/4.3.2/lib
> ld: warning: file ../.libs/ linked to /app/pkgs/gnu/gmp/4.3.2/src/.libs/ attempted multiple inclusion of file
> There's also a problem w/ finding the correct library for the gcc rruntime.  It's fixable w/ LD_LIBRARY_PATH, but it would be helpful if you didn't have to diddle LD_LIBRARY_PATH to run check for both 32 and 64 bit versions.

It means you did not set your runpath to point to the correct
directory. Generally -R/usr/local/lib/amd64 for 64 bit x86. Also, I'm
not sure why you need a 64 bit gmp for gcc?

Jonathan Blanchard

More information about the gmp-bugs mailing list