Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-25 Thread kernel test robot
Hello, kernel test robot noticed "segfault_at_ip_sp_error" on: commit: 782e28421b3410522d5b50feb30e8fa10da44492 ("[PATCH v2] selftests: fix relative rpath usage") url: https://github.com/intel-lab-lkp/linux/commits/Eugene-Syromiatnikov/selftests-fix-relative-rpath-usage/

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-22 Thread kernel test robot
tive-rpath-usage/20240814-091042 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/20240812165650.GA5102%40asgard.redhat.com patch subject: [PATCH v2] selftests: fix relative rpath usage :: branch date: 5 days ago :::

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-19 Thread Shuah Khan
On 8/14/24 06:25, Eugene Syromiatnikov wrote: On Wed, Aug 14, 2024 at 05:14:08AM -0600, Shuah Khan wrote: On 8/13/24 10:33, Eugene Syromiatnikov wrote: On Mon, Aug 12, 2024 at 05:03:45PM -0600, Shuah Khan wrote: On 8/12/24 10:56, Eugene Syromiatnikov wrote: The relative RPATH ("./") supplied

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-14 Thread Eugene Syromiatnikov
On Wed, Aug 14, 2024 at 05:14:08AM -0600, Shuah Khan wrote: > On 8/13/24 10:33, Eugene Syromiatnikov wrote: > >On Mon, Aug 12, 2024 at 05:03:45PM -0600, Shuah Khan wrote: > >>On 8/12/24 10:56, Eugene Syromiatnikov wrote: > >>>The relative RPATH ("./") supplied to linker options in CFLAGS is resolve

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-14 Thread Shuah Khan
On 8/13/24 10:33, Eugene Syromiatnikov wrote: On Mon, Aug 12, 2024 at 05:03:45PM -0600, Shuah Khan wrote: On 8/12/24 10:56, Eugene Syromiatnikov wrote: The relative RPATH ("./") supplied to linker options in CFLAGS is resolved relative to current working directory and not the executable directo

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-13 Thread Eugene Syromiatnikov
On Mon, Aug 12, 2024 at 05:03:45PM -0600, Shuah Khan wrote: > On 8/12/24 10:56, Eugene Syromiatnikov wrote: > >The relative RPATH ("./") supplied to linker options in CFLAGS is resolved > >relative to current working directory and not the executable directory, > >which will lead in incorrect resolu

Re: [PATCH v2] selftests: fix relative rpath usage

2024-08-12 Thread Shuah Khan
On 8/12/24 10:56, Eugene Syromiatnikov wrote: The relative RPATH ("./") supplied to linker options in CFLAGS is resolved relative to current working directory and not the executable directory, which will lead in incorrect resolution when the test executables are run from elsewhere. Changing it t

[PATCH v2] selftests: fix relative rpath usage

2024-08-12 Thread Eugene Syromiatnikov
The relative RPATH ("./") supplied to linker options in CFLAGS is resolved relative to current working directory and not the executable directory, which will lead in incorrect resolution when the test executables are run from elsewhere. Changing it to $ORIGIN makes it resolve relative to the direc