Opened 10 years ago

Closed 7 months ago

#12726 closed enhancement (invalid)

Add support for 32-bit builds on 64-bit Linux systems

Reported by: jdemeyer Owned by: GeorgSWeber
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build: configure Keywords:
Cc: Merged in:
Authors: Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

Introduce a SAGE32 environment variable, which will make Sage build a 32-bit version, even if the operating system is a 64-bit system. This needs 32-bit libraries (libc,...) installed on the system.

This will only be supported on Linux using the linux32 program (through the personality(2) system call). It should be seen as an "experimental" feature which may or may not work. The main goal is to use this for the buildbots.

Requirements for build systems in this setting:

  • autoconf: just works
  • Python: needs that the 32-bit libraries installed are the same as the 64-bit libraries installed. If you have a 64-bit libjpeg but not a 32-bit libjpeg, PIL will fail to compile. If you have both or neither, then PIL will compile.

Change History (13)

comment:1 Changed 10 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 10 years ago by jdemeyer

  • Description modified (diff)

comment:3 Changed 10 years ago by jdemeyer

  • Dependencies changed from #12369, #12655, #12725 to #12369, #12655, #12725, #12787

comment:4 Changed 10 years ago by jdemeyer

  • Dependencies changed from #12369, #12655, #12725, #12787 to #12369, #12655, #12725, #12787, #12789

comment:5 Changed 9 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:6 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:7 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:8 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:9 Changed 7 years ago by jdemeyer

  • Component changed from build to build: configure
  • Dependencies #12369, #12655, #12725, #12787, #12789 deleted
  • Description modified (diff)
  • Milestone changed from sage-6.4 to sage-6.9

comment:10 Changed 7 months ago by dimpase

  • Milestone changed from sage-6.9 to sage-wishlist

comment:11 Changed 7 months ago by mkoeppe

  • Milestone changed from sage-wishlist to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

The wish has already been granted via Docker, see tox.ini

comment:12 Changed 7 months ago by dimpase

  • Reviewers set to Dima Pasechnik
  • Status changed from needs_review to positive_review

lgtm

comment:13 Changed 7 months ago by mkoeppe

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.