Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Are there any dangers to configuring with "-DARCH=default -DNO_AES=ON" for the Debian packages? #278

@sorenstoutner

Description

@sorenstoutner

There is an open request to build with -DARCH=default -DNO_AES=ON for Debian, which is how the Debian monero package is built.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121565

The Debian amd64 architecture baseline is "MMX, SSE and SSE2", but newer features are not guaranteed to be present, including AES-NI.

DARCH=default prevents the build system from optimizing the code for the build environment.

My understanding is that the only downside to these changes is that Feather Wallet will run a little slower on newer hardware that has more advanced features. With the upside being that it will run on all hardware supported by the amd64 target.

In my own testing on an AMD A10-7850k, the current Debian build failed with the following error when started from the CLI:

Illegal instruction

When rebuilt with -DARCH=default -DNO_AES=ON it ran without problem.

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