Opened 12 years ago
Closed 10 years ago
#7129 closed defect (duplicate)
libgpg_error-1.6.p2 always builds 32-bit binaries on Solaris.
Reported by: | drkirkby | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | porting: Solaris | Keywords: | |
Cc: | david.kirkby@… | Merged in: | |
Authors: | Reviewers: | David Kirkby | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
A look in $SAGE_HOME/local/lib shows this is being built 32-bit, even when SAGE64 is set to yes. Note how the libraries of libhisotry below are 64-bit (as they should be), but libgpg's are 32-bit.
zlib is another package to suffer this problem - see #7128
libgcrypt fails to build in 64-bit on Solaris SPARC with gcc (see #7127). This might actually be related and a fault of this package, rather than of libgcrypt, though there is another Solaris issue on that package.
libgpg-error.la: commands text libgpg-error.so: ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped libgpg-error.so.0: ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped libgpg-error.so.0.4.0: ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped libhistory.a: current ar archive, not a dynamic executable or shared object libhistory.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped libhistory.so.6: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
I will sort this package out after creating a new sage-env, which exports all the variables properly, including the flag for building 64-bit code, which is not always -m64.
Although there is no support for AIX or HP-UX in Sage yet, we could potentially add it - I personally own machines running AIX and HP-UX.
IBM's compiler on AIX uses -q64, and HP's on HP-UX uses +DD64.
The sensible way to resolve this is to add the correct flag on every platform.
Change History (4)
comment:1 Changed 12 years ago by
- Component changed from algebra to solaris
comment:2 Changed 11 years ago by
- Cc david.kirkby@… added
- Report Upstream set to N/A
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
- Milestone changed from sage-4.7 to sage-duplicate/invalid/wontfix
- Resolution set to duplicate
- Reviewers set to David Kirkby
- Status changed from new to closed
This can be closed as fixed by #8066 in sage-4.3.3.alpha0
Dave