Hello,

On Aug 30, 9:10 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> There is now a rc3 athttp://sage.math.washington.edu/home/was/dist/s/dist/
> Can you try it too and let us know if it has the same problem?
>

Lukas should try, but I doubt it will help. The problem is that
building Sage under Linux/PPC[64] isn't quite there yet.

> ++++++++++++++++++
>
> On 8/30/07, Lukas Diduch <[EMAIL PROTECTED]> wrote:
>
>
>
> > - build failed for libiml @ linking stage
>
> > replacing '/local/home/ldemo/software/sage-2.8.3.rc2/local/lib/libgmp.so' 
> > with
> > '-lgmp' would solve the problem.
>

That help to build this library, but the same problem will happen down
the road.

> > i guess the libtool script is responsible for the error. solving this by 
> > hand
> > however is hard because make (in the root tree) does rebuild the local
> > Makefile, which results in running into the same problem.
>

I believe the issue is a 32/64 bit mismatch.

<SNIP>

> > uname -a:
> > Linux xxxxxxxxxxxxxxxxxxx 2.6.15-1.2054_FC5 #1 SMP Tue Mar 14 15:57:06 EST 
> > 2006 ppc64 ppc64 ppc64 GNU/Linux
> > ****************************************************
> > ****************************************************
> > GCC Version
> > gcc -v
> > Using built-in specs.
> > Target: ppc64-redhat-linux
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> > --infodir=/usr/share/info --enable-shared --enable-threads=posix 
> > --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> > --disable-libunwind-exceptions --enable-libgcj-multifile 
> > --enable-languages=c,c++,objc,obj-c++,java,fortran --enable-java-awt=gtk 
> > --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
> > --enable-secureplt --with-long-double-128 --host=ppc64-redhat-linux 
> > --build=ppc64-redhat-linux --target=ppc64-redhat-linux --with-cpu=default32
> > Thread model: posix
> > gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)

<SNIP>

> > Default checking path = /usr /usr/local
> > checking for GMP >= 3.1.1... found

This works, because it picks the system's gmp to link, which happens
to be in the right elf class.

> > checking whether GMP is 4.0 or greater... yes

<SNIP>

> > Source code location:       .
> > Compiler:                   gcc
> > Compiler flags:             -I. -g -O2

This indicates a 32 bit build, I believe you need -m64 on PPC Linux to
build a 64 bit binary, but this is also depends on compiler version.
So it might all be the other way around.

> > Linker flags:                -lm
> > Host System Type:           powerpc64-redhat-linux-gnu
> > Install path:               /local/home/ldemo/software/sage-2.8.3.rc2/local
>
> > See config.h for further configuration information.
<SNIP>

.libs/libiml_la-RNSop.o .libs/libiml_la-nullspace.o -Wl,--whole-
archive ../repl/.libs/librepl.a -Wl,--no-whole-archive  -Wl,--rpath -
Wl,/local/home/ldemo/software/sage-2.8.3.rc2/local/lib -Wl,--rpath -
Wl,/local/home/ldemo/software/sage-2.8.3.rc2/local/lib -L/local/home/
ldemo/software/sage-2.8.3.rc2/local/lib /local/home/ldemo/software/
sage-2.8.3.rc2/local/lib/libgmp.so -lm  -Wl,-soname -Wl,libiml.so.0 -
o .libs/libiml.so.0.0.0
> > /local/home/ldemo/software/sage-2.8.3.rc2/local/lib/libgmp.so: could not 
> > read symbols: File in wrong format

Here is the interesting bit: Assuming Sage's gmp build correctly we
have a 32/64 bit mismatch. The system's gmp is in the correct elf
class, but because we link the gmp against a bunch of libraries the
same error might happen down the road.

<SNIP>

Cheers,

Michael


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to