Flags missing on SConscript for 32bit compilation under 64bit architecture

Bug #546632 reported by Bruno Buccolo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Medium
Bruno Buccolo

Bug Description

Under Mac OSX 10.6 (Snow Leopard) I had to force a 32bit compilation (with the force32=1 flag), since 64bit wouldn't work.
It all went well until the linking step yielded an error (not of required architecture), then I saw that the linking step had no flags telling g++ that the files were compiled for 32bit. All it takes is to append -m32 flag on the linking step of the building process.

Also noticed that on the Agner Fog's ASMLIB part of the SConscript, to choose whether to use a 32bit or 64bit version of the library (linux and macosx are affected), SConscript looks at the architecture. Which would be wrong if I were on a 64bit architecture but had the force 32bit flag on.

I'm submitting a patch along.

Thanks!

Revision history for this message
Bruno Buccolo (bruno-buccolo) wrote :
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Committed in r2395 of trunk. Thanks for catching that and the fix!

Changed in mixxx:
importance: Undecided → Medium
milestone: none → 1.8.0
status: New → Fix Committed
assignee: nobody → Bruno Buccolo (bruno-buccolo)
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5367

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.