Opened 3 years ago

Last modified 2 years ago

#25788 new defect

Can Travis check 32-bit builds?

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-ci, 034-roadmap-subtask, 035-removed-20180711
Cc: Actual Points:
Parent ID: #25550 Points:
Reviewer: Sponsor:


We ran into a problem recently with some bugs that only affected 32-bit builds. Fortunately, Jenkins caught them, but it would be cool if we could get Travis to check them too. Is that viable?

We don't have to necessarily build on a 32-bit platform, just so long as we build somewhere where we can target 32-bit builds, and exceute them.

Child Tickets

Change History (5)

comment:1 Changed 2 years ago by isis

We can add a few commands to build/run in a 32-bit docker container.

comment:2 Changed 2 years ago by isis

Milestone: Tor: 0.3.4.x-finalTor: 0.3.5.x-final

Triaging some tickets not absolutely vital to 0.3.4 release to 0.3.5. These are fine to do in 0.3.4, but they aren't a must.

comment:3 Changed 2 years ago by catalyst

I think we should clarify what we intend to accomplish with this. With the container approach, it would build 32-bit binaries but not emulate a 32-bit processor, right? I think we would be able to catch some integer limit bugs, but maybe not some more subtle bugs that only appear on true 32-bit hardware.

comment:4 Changed 2 years ago by teor

I think doing 32-bit Linux under 64-bit processors would still be ok.

32-bit macOS would be faster (no docker) but might be slower because MacPorts doesn't have some 32-bit binary packages. (So we'd end up building them from source.) But we should eventually do it, because macOS has slightly different data types then Linux.

comment:5 Changed 2 years ago by nickm

Keywords: 035-removed-20180711 added
Milestone: Tor: 0.3.5.x-finalTor: unspecified

These tickets are being triaged out of 0.3.5. The ones marked "035-roadmap-proposed" may return.

Note: See TracTickets for help on using tickets.