ACK: [B][C][SRU][PATCH 0/1] selftests/powerpc/pmu: Link ebb tests with -no-pie

Kleber Souza kleber.souza at canonical.com
Fri May 3 14:37:08 UTC 2019


On 4/24/19 8:49 AM, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1812805
> 
> == Justification ==
> The selftests/powerpc/pmu/ebb test will fail on Ubunut PowerPC with:
>    error while loading shared libraries: R_PPC64_ADDR16_HI reloc at
>    0x00000f046fb04550 for symbol `' out of range
> 
> This is because the Ubuntu toolchain builds has PIE enabled by default.
> 
> == Fix ==
> 98415da0 (selftests/powerpc/pmu: Link ebb tests with -no-pie)
> 
> This fix will use -no-pie flag to build the test.
> 
> Patch already landed in Disco, and can be cherry-picked for B/C.
> For Xenial, we don't have this test in our tree thus it can be ignored.
> 
> == Test ==
> Patch verified on a Bionic P9 system, all the ebb tests will pass.
> 
> == Regression Potential ==
> None.
> This patchset is just for the kernel testing tool.
> 
> Joel Stanley (1):
>   selftests/powerpc/pmu: Link ebb tests with -no-pie
> 
>  tools/testing/selftests/powerpc/pmu/ebb/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.com>



More information about the kernel-team mailing list