#9099: Maxima fails to build on OpenSolaris x64, though ECL does.
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Description changed by drkirkby:
Old description:
> == Build environment ==
> * Sun Ultra 27 3.33 GHz Intel W3580 Xeon. Quad core. 8 threads. 12 GB
> RAM
> * !OpenSolaris 2009.06 snv_111b X86
> * Sage 4.4.2
> * gcc 4.4.4
>
> == How gcc 4.4.4 was configured ==
> Since the configuration of gcc is fairly critical on !OpenSolaris, here's
> how it was built.
>
> {{{
> drkir...@hawk:~/sage-4.4.2$ gcc -v
> Using built-in specs.
> Target: i386-pc-solaris2.11
> Configured with: ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4
> --with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld
> --with-gmp=/usr/local --with-mpfr=/usr/local
> Thread model: posix
> gcc version 4.4.4 (GCC)
> }}}
>
> gcc 4.3.4 was failing to build iconv.
>
> == The problem ==
> {{{
> config.status: creating plotting/mgnuplot
> config.status: creating share/Makefile
> config.status: creating demo/Makefile
> config.status: creating plotting/Makefile
> config.status: creating locale/Makefile
>
> Summary:
> ECL enabled. Executable name: "ecl"
> default lisp: ecl
> wish executable name: "wish"
> make[2]: Entering directory
> `/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src'
> Making all in src
> make[3]: Entering directory
> `/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src/src'
> test -d binary-ecl || mkdir binary-ecl
> ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall
> (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose
> t) (build-maxima-lib))' -eval '(ext:quit)'
> ld.so.1: ecl: fatal: relocation error: R_AMD64_PC32: file
> /export/home/drkirkby/sage-4.4.2/local/lib//libecl.so: symbol main: value
> 0x22800097de04 does not fit
> make[3]: *** [binary-ecl/maxima] Killed
> make[3]: Leaving directory
> `/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src'
> ***********************************************************
> Failed to make Maxima.
> ***********************************************************
>
> real 0m2.050s
> user 0m0.506s
> sys 0m0.833s
> sage: An error occurred while installing maxima-5.20.1.p0
> }}}
>
> The ECL library is a 64-bit library:
>
> {{{
> drkir...@hawk:~/sage-4.4.2$ file
> /export/home/drkirkby/sage-4.4.2/local/lib//libecl.so
> /export/home/drkirkby/sage-4.4.2/local/lib//libecl.so: ELF 64-bit LSB
> dynamic lib AMD64 Version 1, dynamically linked, not stripped
> }}}
>
> but obviously something is wrong. Whether it is an Sage, ECL or Maxima
> issue I don't know.
New description:
== Build environment ==
* Sun Ultra 27 3.33 GHz Intel W3580 Xeon. Quad core. 8 threads. 12 GB RAM
* !OpenSolaris 2009.06 snv_134 X86
* Sage 4.4.2
* gcc 4.4.4
== How gcc 4.4.4 was configured ==
Since the configuration of gcc is fairly critical on !OpenSolaris, here's
how it was built.
{{{
drkir...@hawk:~/sage-4.4.2$ gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4
--with-as=/usr/local/binutils-2.20/bin/as --with-ld=/usr/ccs/bin/ld
--with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.4.4 (GCC)
}}}
gcc 4.3.4 was failing to build iconv.
== The problem ==
{{{
config.status: creating plotting/mgnuplot
config.status: creating share/Makefile
config.status: creating demo/Makefile
config.status: creating plotting/Makefile
config.status: creating locale/Makefile
Summary:
ECL enabled. Executable name: "ecl"
default lisp: ecl
wish executable name: "wish"
make[2]: Entering directory
`/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src'
Making all in src
make[3]: Entering directory
`/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src/src'
test -d binary-ecl || mkdir binary-ecl
ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall
(intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose
t) (build-maxima-lib))' -eval '(ext:quit)'
ld.so.1: ecl: fatal: relocation error: R_AMD64_PC32: file
/export/home/drkirkby/sage-4.4.2/local/lib//libecl.so: symbol main: value
0x22800097de04 does not fit
make[3]: *** [binary-ecl/maxima] Killed
make[3]: Leaving directory
`/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.4.2/spkg/build/maxima-5.20.1.p0/src'
***********************************************************
Failed to make Maxima.
***********************************************************
real 0m2.050s
user 0m0.506s
sys 0m0.833s
sage: An error occurred while installing maxima-5.20.1.p0
}}}
The ECL library is a 64-bit library:
{{{
drkir...@hawk:~/sage-4.4.2$ file
/export/home/drkirkby/sage-4.4.2/local/lib//libecl.so
/export/home/drkirkby/sage-4.4.2/local/lib//libecl.so: ELF 64-bit LSB
dynamic lib AMD64 Version 1, dynamically linked, not stripped
}}}
but obviously something is wrong. Whether it is an Sage, ECL or Maxima
issue I don't know.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9099#comment:1>
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.