[main-line]Build warnings on PowerPC system

Madhavan Srinivasan maddy at linux.ibm.com
Fri Mar 28 00:52:40 AEDT 2025



On 3/27/25 12:33 AM, Venkat Rao Bagalkote wrote:
> Greetings!!!
> 
> I see below build warnings while compiling mainline kernel on IBM Power9 system.
> 
> Repo Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
> 
> Head Commit: f6e0150b2003fb2b9265028a618aa1732b3edc8f
> 
> Attached is the .config.
> 
> Machine: IBM Power9
> 
> gcc version 11.5.0

What is the ld version in your system.

Reason for asking is that currently with 

commit  579aee9fc594a ("powerpc: suppress some linker warnings in recent linker versions")

ld version greater than >2.39, this warning is being suppressed.

Maddy

> 
> 
> Warnings:
> 
> ld: warning: arch/powerpc/boot/zImage.epapr has a LOAD segment with RWX permissions
> ld: warning: arch/powerpc/boot/zImage.pseries has a LOAD segment with RWX permissions
> 
> 
> If you happen to fix this, please add below tag.
> 
> 
> Reported-by: Venkat Rao Bagalkote <venkat88 at linux.ibm.com>
> 
> 
> Regards,
> 
> Venkat.



More information about the Linuxppc-dev mailing list