Skip to content

Wrong address-model and abi detection for x32 architecture? #200

@bigon

Description

@bigon

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions