#8768: gnutls-2.2.1.p5 doesn't build on Solaris 10 x86 (fulvia) with GCC-4.5.0
---------------------+------------------------------------------------------
Reporter: was | Owner: drkirkby
Type: defect | Status: closed
Priority: blocker | Milestone: sage-5.0
Component: solaris | Resolution: invalid
Keywords: | Author:
Upstream: N/A | Reviewer:
Merged: | Work_issues:
---------------------+------------------------------------------------------
Changes (by drkirkby):
* cc: jhpalmieri, jsp (added)
* status: new => closed
* resolution: => invalid
Comment:
I'm closing this as invalid. gnutls builds fine on fulvia. I've built it,
as has John Palmieri.
The reason you had trouble was that gcc was mis-configured. I'm of the
opinion it is better to use both the Sun linker and Sun assembler on
SPARC. Since Mariah provided a gcc configured in this way at:
{{{
/usr/local/gcc-4.5.0/x86_64-SunOS-core2-sun-ld/bin/gcc
}}}
the problem has gone away. Note, the default compiler on fulvia is not
configured like this.
{{{
64 drkir...@fulvia:[~/fulvia/32/sage-4.5.1] $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/x86_64-SunOS-core2-sun-
ld/libexec/gcc/i386-pc-solaris2.10/4.5.0/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /usr/local/gcc-4.5.0/src/gcc-4.5.0/configure --enable-
languages=c,c++,fortran --with-gnu-as --with-
as=/usr/local/binutils-2.20.1/x86_64-SunOS-core2-gcc-4.4.3/bin/as --with-
ld=/usr/ccs/bin/ld --with-gmp=/usr/local/gmp-5.0.1/x86_64-SunOS-
core2-gcc-4.5.0-abi32 --with-mpfr=/usr/local/mpfr-3.0.0/x86_64-SunOS-
core2-gmp-5.0.1-gcc-4.5.0-abi32 --with-mpc=/usr/local/mpc-0.8.2/x86_64
-SunOS-core2-mpfr-3.0.0-gmp-5.0.1-gcc-4.5.0-abi32
--prefix=/usr/local/gcc-4.5.0/x86_64-SunOS-core2-sun-ld
Thread model: posix
gcc version 4.5.0 (GCC)
}}}
An inspection of the log shows gnutls installed OK.
{{{
64 drkir...@fulvia:[~/fulvia/32/sage-4.5.1] $ tail -30
spkg/logs/gnutls-2.2.1.p5.log
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed
[email protected] [email protected] insert-header.sin Rules-quot
Makevars.template; do \
../build-aux/install-sh -c -m 644 ./$file \
/home/drkirkby/fulvia/32/sage-4.5.1/local/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f
/home/drkirkby/fulvia/32/sage-4.5.1/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[3]: Leaving directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src/po'
make[3]: Entering directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src'
make[4]: Entering directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src'
make[4]: warning: -jN forced in submake: disabling jobserver mode.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src'
make[3]: Leaving directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src'
make[2]: Leaving directory
`/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5/src'
real 39m58.479s
user 1m9.593s
sys 1m50.962s
Successfully installed gnutls-2.2.1.p5
Now cleaning up tmp files.
rm: Cannot remove any directory in the path of the current working
directory
/home/drkirkby/fulvia/32/sage-4.5.1/spkg/build/gnutls-2.2.1.p5
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing gnutls-2.2.1.p5.spkg
}}}
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8768#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.