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

Khaled Elmously khalid.elmously at canonical.com
Tue May 7 04:27:57 UTC 2019


On 2019-04-24 14:49:34 , 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(+)
> 
> -- 
> 2.7.4
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list