Building boost_1.34.1 on mac os X 10.5 64 bit.

I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous thread someone(Vladimir Prus) gave the following suggestion: ========================================== You need to pass architecture=x86 address-model=64 in addition to the above to bjam, or you may pass architecture=combined address-model=64 ========================================== and it looks like it was fine with boost 1.36. However when I try with boost 1.34.1 I get the following message: libs/test/src/execution_monitor.cpp:1: error: CPU you selected does not support x86-64 instruction set If I remove the achitecture=x86 option then it compiles, but the resulting libraries are not 64-bit, base on the output from file libbooost-XXX.dylib. Is there anything in the 1.34.1 version preventing me from compiling in 64-bit mode? I'm using gcc 4.0.1. Thanks, Alain

On Mon, Oct 27, 2008 at 8:36 PM, Alain Leblanc
I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous thread someone(Vladimir Prus) gave the following suggestion:
========================================== You need to pass
architecture=x86 address-model=64
in addition to the above to bjam, or you may pass
architecture=combined address-model=64 ==========================================
and it looks like it was fine with boost 1.36. However when I try with boost 1.34.1 I get the following message:
libs/test/src/execution_monitor.cpp:1: error: CPU you selected does not support x86-64 instruction set
If I remove the achitecture=x86 option then it compiles, but the resulting libraries are not 64-bit, base on the output from file libbooost-XXX.dylib. Is there anything in the 1.34.1 version preventing me from compiling in 64-bit mode?
I'm using gcc 4.0.1.
Hmmmph. This worked for me. Are you using combined or 64-bit? Also macports.org has ports already to go for your Mac incase that will help. -aps

2008/10/27 Alexander Sack
On Mon, Oct 27, 2008 at 8:36 PM, Alain Leblanc
wrote: I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous thread someone(Vladimir Prus) gave the following suggestion:
========================================== You need to pass
architecture=x86 address-model=64
in addition to the above to bjam, or you may pass
architecture=combined address-model=64 ==========================================
and it looks like it was fine with boost 1.36. However when I try with boost 1.34.1 I get the following message:
libs/test/src/execution_monitor.cpp:1: error: CPU you selected does not support x86-64 instruction set
If I remove the achitecture=x86 option then it compiles, but the resulting libraries are not 64-bit, base on the output from file libbooost-XXX.dylib. Is there anything in the 1.34.1 version preventing me from compiling in 64-bit mode?
I'm using gcc 4.0.1.
Hmmmph. This worked for me. Are you using combined or 64-bit?
Also macports.org has ports already to go for your Mac incase that will help.
-aps _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Do you mean combined instead of x86? Using combined as a value for either the address model or the architecture returns a message indicating that it is not a valid value.

On Mon, Oct 27, 2008 at 8:54 PM, Alain Leblanc
2008/10/27 Alexander Sack
: On Mon, Oct 27, 2008 at 8:36 PM, Alain Leblanc
wrote: I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous thread someone(Vladimir Prus) gave the following suggestion:
========================================== You need to pass
architecture=x86 address-model=64
in addition to the above to bjam, or you may pass
architecture=combined address-model=64 ==========================================
and it looks like it was fine with boost 1.36. However when I try with boost 1.34.1 I get the following message:
libs/test/src/execution_monitor.cpp:1: error: CPU you selected does not support x86-64 instruction set
If I remove the achitecture=x86 option then it compiles, but the resulting libraries are not 64-bit, base on the output from file libbooost-XXX.dylib. Is there anything in the 1.34.1 version preventing me from compiling in 64-bit mode?
I'm using gcc 4.0.1.
Hmmmph. This worked for me. Are you using combined or 64-bit?
Also macports.org has ports already to go for your Mac incase that will help.
-aps _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Do you mean combined instead of x86? Using combined as a value for either the address model or the architecture returns a message indicating that it is not a valid value.
Well I haven't done combined but what about 64 for address-model? -aps

2008/10/27 Alexander Sack
Do you mean combined instead of x86? Using combined as a value for either the address model or the architecture returns a message indicating that it is not a valid value.
Well I haven't done combined but what about 64 for address-model?
-aps
Same result. With ./tools/jam/src/bin.macosxx86/bjam architecture=x86 address-model=combined install produces ... error: "combined" is not a known value of feature <address-model> error: legal values: "16" "32" "64" ... and the same result with adding --toolset-darwin to the command line.

On Mon, Oct 27, 2008 at 9:26 PM, Alain Leblanc
2008/10/27 Alexander Sack
: Do you mean combined instead of x86? Using combined as a value for either the address model or the architecture returns a message indicating that it is not a valid value.
Well I haven't done combined but what about 64 for address-model?
-aps
Same result. With
./tools/jam/src/bin.macosxx86/bjam architecture=x86 address-model=combined install
produces
...
error: "combined" is not a known value of feature <address-model> error: legal values: "16" "32" "64"
...
and the same result with adding --toolset-darwin to the command line.
Yes but if you do address-model=64, does that work? I would assume so. I don't think "combined" is going to work. -aps

2008/10/27 Alexander Sack
On Mon, Oct 27, 2008 at 9:26 PM, Alain Leblanc
wrote: 2008/10/27 Alexander Sack
: Do you mean combined instead of x86? Using combined as a value for either the address model or the architecture returns a message indicating that it is not a valid value.
Well I haven't done combined but what about 64 for address-model?
-aps
Same result. With
./tools/jam/src/bin.macosxx86/bjam architecture=x86 address-model=combined install
produces
...
error: "combined" is not a known value of feature <address-model> error: legal values: "16" "32" "64"
...
and the same result with adding --toolset-darwin to the command line.
Yes but if you do address-model=64, does that work? I would assume so. I don't think "combined" is going to work.
-aps _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I tried all the combinations of address-model=[64|combined] architecture=[x86|combined|<nothing>] --toolset=darwin | <nothing> Omitting --toolset=darwin gives me a warning that gcc is used but does not change the result. Omitting the architecture parameter with address-model=64 will compile but the resulting libraries are 32 bits. With architecture=x86 and address-model=64 I get the message ' error: CPU you selected does not support x86-64 instruction set.' I'll download 1.36 and see if it willcompile. I think that all I need to change to my code is a method that changed name in the filesystem library. It may be faster than trying to compile 1.34. a

On Mon, Oct 27, 2008 at 5:36 PM, Alain Leblanc
I'm trying to build boost 1.34.1 on mac os X 64-bit. In a previous thread someone(Vladimir Prus) gave the following suggestion:
========================================== You need to pass
architecture=x86 address-model=64
in addition to the above to bjam, or you may pass
architecture=combined address-model=64 ==========================================
and it looks like it was fine with boost 1.36. However when I try with boost 1.34.1 I get the following message:
libs/test/src/execution_monitor.cpp:1: error: CPU you selected does not support x86-64 instruction set
If I remove the achitecture=x86 option then it compiles, but the resulting libraries are not 64-bit, base on the output from file libbooost-XXX.dylib.
Is there anything in the 1.34.1 version preventing me from compiling in 64-bit mode?
I'm using gcc 4.0.1.
Thanks,
Alain
You might try the 1.34.1 boost build patches contained in this file: http://stlab.adobe.com:8080/@md=d&cd=//adobe_source_libraries/tools/&cdf=//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt&df=s&rt=s&po=h&thv=d&c=4Ba@//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt?ac=64&rev1=5

2008/10/27 Mat Marcus
On Mon, Oct 27, 2008 at 5:36 PM, Alain Leblanc
wrote:
You might try the 1.34.1 boost build patches contained in this file:
http://stlab.adobe.com:8080/@md=d&cd=//adobe_source_libraries/tools/&cdf=//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt&df=s&rt=s&po=h&thv=d&c=4Ba@//adobe_source_libraries/tools/boost_1_34_1_patch_01.txt?ac=64&rev1=5 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
For everyone here who is not familiar with the patching process, how do you apply this patch, or can you point to a link where it would be explained. Thanks, a
participants (3)
-
Alain Leblanc
-
Alexander Sack
-
Mat Marcus