Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atlas-3.8.p4.spkg fails to build on Intel Core 2 Duo with 32-bit operating system #1497

Closed
sagetrac-cwitty mannequin opened this issue Dec 13, 2007 · 2 comments
Closed

Comments

@sagetrac-cwitty
Copy link
Mannequin

sagetrac-cwitty mannequin commented Dec 13, 2007

I run 32-bit Debian on my Core 2 Duo box. ATLAS detects the Core 2 Duo and attempts to do a 64-bit build, which fails with errors like this:

cd /home/cwitty/sage-2.9.alpha6/spkg/build/atlas-3.8.p4/ATLAS-build ; ./xprobe_comp -v 0 -o atlconf.txt -O 1 -A 15 -Si nof77 0  -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -C if '/home/cwitty/sage-2.9.alpha6/local/bin/sage_fortran' -Fa if '-fPIC'  -b 64 > config1.out
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make[4]: *** [IRunCComp] Error 1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make[4]: *** [IRunCComp] Error 1


Unable to find usable compiler for ICC; abortingMake sure compilers are in your path, and specify good compilers to configure
(see INSTALL.txt or 'configure --help' for details)

(Note the "-b 64" at the beginning of the above, which means to do a 64-bit build.)

Adding "-b 32" to the configure line in spkg-install allows the build to proceed.

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/1497

@sagetrac-cwitty sagetrac-cwitty mannequin added this to the sage-2.9 milestone Dec 13, 2007
@sagetrac-jkantor
Copy link
Mannequin

sagetrac-jkantor mannequin commented Dec 14, 2007

comment:1

This spkg

http://sage.math.washington.edu/home/jkantor/spkgs/atlas-3.8.p5.spkg

checks sizeof(long) (using ctypes) and infers whether the system is 32 or 64 bit.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 14, 2007

comment:2

Merged in 2.9.alpha7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant