You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6196 Reporter: argp Assigned to:@mshinwell Status: closed (set by @xavierleroy on 2015-12-11T18:27:49Z) Resolution: fixed Priority: low Severity: minor Platform: x86_64 OS: OS X OS Version: any > 10.7 Version: 4.01.0 Fixed in version: 4.02.0+dev Category: configure and build/install Tags: patch
Bug description
A 32-bit build on OS X fails always if one follows the steps suggested in the INSTALL file.
The problem lies in the fact that if the so called "host triplet" is not defined, the configure script uses the define -DTARGET_amd64 causing the build to fail.
Original bug ID: 6196
Reporter: argp
Assigned to: @mshinwell
Status: closed (set by @xavierleroy on 2015-12-11T18:27:49Z)
Resolution: fixed
Priority: low
Severity: minor
Platform: x86_64
OS: OS X
OS Version: any > 10.7
Version: 4.01.0
Fixed in version: 4.02.0+dev
Category: configure and build/install
Tags: patch
Bug description
A 32-bit build on OS X fails always if one follows the steps suggested in the INSTALL file.
The problem lies in the fact that if the so called "host triplet" is not defined, the configure script uses the define -DTARGET_amd64 causing the build to fail.
Steps to reproduce
On an OS X system follow the INSTALL file and do:
./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
make world.opt
The above fails always.
Additional information
In order to fix this, line 160 of the INSTALL file needs to be changed from this:
160 ./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
to this:
160 ./configure -host "i386-apple-darwin11.4.2" -cc "gcc -arch i386 -m32" -as "as -arch i386" -aspp "gcc -arch i386 -m32 -c"
In other words, the so called "host triplet" needs to be defined during the configure step.
The text was updated successfully, but these errors were encountered: