[dpdk-dev] [RFC PATCH v1] config/arm: fix native machine args

Thomas Monjalon thomas at monjalon.net
Mon Feb 1 16:16:17 CET 2021


01/02/2021 15:55, Juraj Linkeš:
> There are compiler issues when building with -mcpu=native with popular
> compilers, such as GCC-8.4 and clang (which doesn't define
> __ARM_FEATURE_ATOMIC).

What are the issues? Maybe worth pasting a log.

> Fix this by always specifying the proper machine
> args and never using the native flags.

The title says "fix" but it seems to be "remove".

[...]
> -native_machine_args = ['-mcpu=native']

This is the culprit?
Could you provide a "Fixes:" line?




More information about the dev mailing list