On 2/5/25 04:18, Zhuo, Qiuxu wrote:
Hi,

I got theĀ build error messages as below:
My GCC is: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0.

Thank you for the report, FTR this is the same GCC version as used by
SLES 15, even the current ones :(

I will send a fix.

I would love to bump minimal gcc version to 8.5 (RHEL 8 family) some day



   CC [M]  drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.o
drivers/net/ethernet/intel/ice/devlink/health.c:35:3: error: initializer 
element is not constant
    ice_common_port_solutions, {ice_port_number_label}},
    ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/intel/ice/devlink/health.c:35:3: note: (near 
initialization for 'ice_health_status_lookup[0].solution')
drivers/net/ethernet/intel/ice/devlink/health.c:35:31: error: initializer 
element is not constant
    ice_common_port_solutions, {ice_port_number_label}},
                                ^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/intel/ice/devlink/health.c:35:31: note: (near 
initialization for 'ice_health_status_lookup[0].data_label[0]')
drivers/net/ethernet/intel/ice/devlink/health.c:37:46: error: initializer 
element is not constant
    "Change or replace the module or cable.", {ice_port_number_label}},

Reply via email to