On Jun 28, 7:56 am, Bill Hart <[EMAIL PROTECTED]> wrote:
> I'm just looking at the GMP spkg in sage to see what if any SAGE
> patches can be applied to mpir before we make our first release.
>
> Can someone tell me what the various patches do. I know what the
> fastgcd, gmp-4.2.1-core2-port and mpn_amd64.42 patches do and they are
> self explanatory, but what do the following patches do:
>
> 1) amd64
>
> 2) bin
>
> 3) gmp_add_nc.patch
>
> 4) patch to gmp-h.in (is the patch only for inline c99 semantics)
>
> Michael also mentioned a patch to "fix dynamic linking on OSX". Which
> files does this correspond to, or is that not in SAGE yet?
>
> Any progress on fixing support for gmpxx.h with the Sun compiler?
>
> Bill.
gmp 4.2.2 builds fine on my Solaris x86 laptop, but the version
supplied as part of Sage does not. Hence I suspect one of those
patches is breaking gmp on Solaris x86 (Solars 11 community edition
build 91)
x gmp-4.2.2/src/tune/tuneup.c, 49461 bytes, 97 tape blocks
x gmp-4.2.2/src/tune/x86_64.asm, 1392 bytes, 3 tape blocks
x gmp-4.2.2/src/version.c, 904 bytes, 2 tape blocks
Finished extraction
****************************************************
Host system
uname -a:
SunOS kingfisher 5.11 snv_91 i86pc i386 i86pc
****************************************************
****************************************************
GCC Version
gcc -v
Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/
specs
Target: i386-pc-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4
--with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --
enable-shared --enable-multilib --enable-nls --with-included-gettext
--
with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-
system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2
****************************************************
./spkg-install: gcc}: not found
Patching gmp-h.in (fixes OSX 10.5 issues and gcc 4.3 problems)
Fast gcd patch:
Moving files that are to be replaced to *.orig ...
Copying new files across...
Done.
checking build system type... core2-pc-solaris2.11
checking host system type... core2-pc-solaris2.11
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
configure: error: ABI=32 is not among the following valid choices:
standard
Failed to configure.
real 0m2.309s
user 0m0.381s
sys 0m0.884s
sage: An error occurred while installing gmp-4.2.2
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---