open-power-sdk / migration-advisor

The Migration Advisor helps on moving Linux applications to Power Systems servers. Its locates potential migration problems within a C/C++ project, such as source code that might produce different results when run on Power Systems servers.
Apache License 2.0
7 stars 2 forks source link

`builtins` checker is not running #5

Closed ThinkOpenly closed 4 years ago

ThinkOpenly commented 4 years ago
$ ma run .
Could not find any problem related to decimal floating point (dfp) api
Could not find any problem related to integrated performance primitives (ipp) api
Looking for message passing interface (mpi) api problems in 1 suspect files.
Could not find any problem related to math kernel library (mkl) api
Looking for inline assembly problems in 1 suspect files.
Looking for char usage problems in 3 suspect files.
Could not find any problem related to hardware transactional memory (htm)
Could not find any problem related to long double usage
Could not find any problem related to performance degradation
Could not find any problem related to non portable pthread
Could not find any problem related to syscall usage
...

Note that it does not say:

Looking for x86-specific compiler built-in problems in 1 suspect files.

It also fails to run from the command line:

$ ma run -c builtins .

No migration reports found.
ThinkOpenly commented 4 years ago

It will run as builtin:

$ ma run -c builtin .                                                                                                                                                                                           [156/1951]
Looking for x86-specific compiler built-in problems in 1 suspect files.

================
Migration Report
================
Problem type: x86-specific compiler built-in
Problem description: x86 built-ins not supported in Power
...