Re: s390-linux-ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)

From: Sumanth Korikkar
Date: Mon Mar 31 2025 - 03:20:17 EST


On Sat, Mar 29, 2025 at 11:11:17AM +0800, kernel test robot wrote:
> Hi Sumanth,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 0c86b42439b6c11d758b3392a21117934fef00c1
> commit: 00cda11d3b2ea07295490b7d67942014f1cbc5c1 s390: Compile kernel with -fPIC and link with -no-pie
> date: 11 months ago
> config: s390-randconfig-001-20250329 (https://download.01.org/0day-ci/archive/20250329/202503291141.yTqSRdTX-lkp@xxxxxxxxx/config)
> compiler: s390-linux-gcc (GCC) 8.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250329/202503291141.yTqSRdTX-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202503291141.yTqSRdTX-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> s390-linux-ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)

Thanks for reporting.

I have worked on it. The fix should be available in the very near future.

Best Regards,
Sumanth