|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3 |
|
| #
272f94e5 |
| 08-Mar-2022 |
Thomas Monjalon <[email protected]> |
devtools: fix symbols check
In some environments, the check of local symbols catch-all was failing. Note: this script is called during the build.
The reason is that grep returns an error if nothing
devtools: fix symbols check
In some environments, the check of local symbols catch-all was failing. Note: this script is called during the build.
The reason is that grep returns an error if nothing is found. The option -e of the shell script makes this error fatal. It is not always fatal because the grep is in a command substitution.
Fixes: b403498e1422 ("build: hide local symbols in shared libraries")
Reported-by: Usama Arif <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
b403498e |
| 06-Mar-2022 |
Thomas Monjalon <[email protected]> |
build: hide local symbols in shared libraries
The symbols which are not listed in the version script are exported by default. Adding a local section with a wildcard make non-listed functions and var
build: hide local symbols in shared libraries
The symbols which are not listed in the version script are exported by default. Adding a local section with a wildcard make non-listed functions and variables as hidden, as it should be in all version.map files.
These are the changes done in the shared libraries: - DF .text Base auxiliary_add_device - DF .text Base auxiliary_dev_exists - DF .text Base auxiliary_dev_iterate - DF .text Base auxiliary_insert_device - DF .text Base auxiliary_is_ignored_device - DF .text Base auxiliary_match - DF .text Base auxiliary_on_scan - DF .text Base auxiliary_scan - DO .bss Base auxiliary_bus_logtype - DO .data Base auxiliary_bus - DO .bss Base gpu_logtype
There is no impact on regexdev library.
Because these local symbols were exported as non-internal in DPDK 21.11, any change in these functions would break the ABI. Exception rules are added for these experimental libraries, so the ABI check will skip them until the next ABI version.
A check is added to avoid such miss in future.
Fixes: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus") Fixes: 8b8036a66e3d ("gpudev: introduce GPU device class library") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4 |
|
| #
cf8a9e93 |
| 13-May-2021 |
David Marchand <[email protected]> |
build: check symbol maps in developer mode
Hook check-symbol-maps.sh in the symbol check when in developer mode to help developers catch issues before submitting their changes.
Signed-off-by: David
build: check symbol maps in developer mode
Hook check-symbol-maps.sh in the symbol check when in developer mode to help developers catch issues before submitting their changes.
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Ray Kinsella <[email protected]>
show more ...
|
| #
760a67e9 |
| 13-May-2021 |
David Marchand <[email protected]> |
devtools: catch symbol duplicates in version map
Add a check on versioned symbol duplicates in map files.
Signed-off-by: David Marchand <[email protected]>
|
| #
71459555 |
| 13-May-2021 |
David Marchand <[email protected]> |
devtools: fix orphan symbols check with busybox
Avoid relying on GNU grep --exclude option.
Fixes: f8ad40dc998c ("devtools: check orphan symbols in map files") Cc: [email protected]
Signed-off-by: D
devtools: fix orphan symbols check with busybox
Avoid relying on GNU grep --exclude option.
Fixes: f8ad40dc998c ("devtools: check orphan symbols in map files") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
56ea803e |
| 06-Apr-2021 |
David Marchand <[email protected]> |
build: remove Windows export symbol list
Rather than have two files that keeps getting out of sync, let's annotate the version.map to generate the Windows export file.
Some mlx5 symbols (haswell_br
build: remove Windows export symbol list
Rather than have two files that keeps getting out of sync, let's annotate the version.map to generate the Windows export file.
Some mlx5 symbols (haswell_broadwell_cpu, mlx5_glue, mlx5_os_*) were only exported for Windows. All of them are available and used by Linux too, so this patch adds them in version.map.
Note: Existing version.map annotation achieved with: $ for dir in lib/librte_eal drivers/common/mlx5; do ./buildtools/map-list-symbol.sh $dir/*.map | while read file version sym; do ! git grep -qw $sym $dir/*.def || continue; sed -i -e "s/$sym;/$sym; # WINDOWS_NO_EXPORT/" $dir/*.map; done; done
Signed-off-by: David Marchand <[email protected]> Tested-by: Tal Shnaiderman <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1 |
|
| #
e253c33d |
| 28-Dec-2020 |
Tal Shnaiderman <[email protected]> |
common/mlx5: add Windows exports file
File drivers/common/mlx5/rte_common_mlx5_exports.def contains mlx5 Windows exported symbols under common/mlx5 directory (DLL file name librte_common_mlx5*.dll).
common/mlx5: add Windows exports file
File drivers/common/mlx5/rte_common_mlx5_exports.def contains mlx5 Windows exported symbols under common/mlx5 directory (DLL file name librte_common_mlx5*.dll). It is the equivalent of Linux map file version.map but the list of symbols may be different between the two operating systems.
Signed-off-by: Tal Shnaiderman <[email protected]> Signed-off-by: Ophir Munk <[email protected]> Acked-by: Matan Azrad <[email protected]>
show more ...
|
|
Revision tags: v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
a8d0d473 |
| 15-Oct-2020 |
Bruce Richardson <[email protected]> |
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruc
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Rosen Xu <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
29416001 |
| 16-Oct-2020 |
David Marchand <[email protected]> |
devtools: check Windows export files
Updating export files (supposed to disappear at some point, but still there) might be missed when removing symbols in the API / map files. Add a check for this c
devtools: check Windows export files
Updating export files (supposed to disappear at some point, but still there) might be missed when removing symbols in the API / map files. Add a check for this case.
Signed-off-by: David Marchand <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
7b63fb3b |
| 24-Apr-2020 |
Thomas Monjalon <[email protected]> |
devtools: fix tracepoint symbols check
The tracepoint symbols __rte_*_trace_* are defined via a macro, adding prefix "__", so they cannot be found by map checker. Those symbols defined by RTE_TRACE_
devtools: fix tracepoint symbols check
The tracepoint symbols __rte_*_trace_* are defined via a macro, adding prefix "__", so they cannot be found by map checker. Those symbols defined by RTE_TRACE_POINT and RTE_TRACE_POINT_FP are checked in source code without the generated prefix.
The same logic is applied to per core variables, previously skipped.
Fixes: 6c232fc44c74 ("trace: add generic tracepoints") Fixes: 4931010619fe ("trace: add alarm tracepoints") Fixes: 52f409d614a0 ("trace: add memory tracepoints") Fixes: 402321cfca9b ("trace: add memzone tracepoints") Fixes: 0baa1e01c339 ("trace: add thread tracepoints") Fixes: 05c4105738d8 ("trace: add interrupt tracepoints") Fixes: 78d44153de8f ("ethdev: add tracepoints") Fixes: 32e326869ed6 ("eventdev: add tracepoints") Fixes: 4cf30e3f3c35 ("cryptodev: add tracepoints") Fixes: 40b75c73d1c6 ("mempool: add tracepoints")
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6 |
|
| #
f8ad40dc |
| 27-May-2018 |
Thomas Monjalon <[email protected]> |
devtools: check orphan symbols in map files
The script check-symbol-maps.sh finds the symbols exported in a map file but not referenced in the codebase.
Suggested-by: Pavan Nikhilesh <pbhagavatula@
devtools: check orphan symbols in map files
The script check-symbol-maps.sh finds the symbols exported in a map file but not referenced in the codebase.
Suggested-by: Pavan Nikhilesh <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|