-
Couldn't load subscription status.
- Fork 169
Description
Hello,
In https://github.com/boostorg/context/blob/develop/build/Jamfile.v2 I see that the <address-model> for the x32 architecture is set to 64bits
But the point of x32 is to use 32bits pointers, isn't it?
If you look on debian build logs you see that it detects the architecture as 32bits
The debian package had to disable the build of the context library (and others that use asm) because of this wrong detection
I tested, and changing the <address-model> in https://github.com/boostorg/context/blob/develop/build/Jamfile.v2 to 32 for x32 AND setting the abi to x32 during the build allows me to build the context library properly (I didn't try more than building it). Both changes are needed otherwise it tries to build using i386 asm code and the build fails
So I guess the detection of the abi is also boggus?