SHA256
1
0
forked from pool/mstflint
mstflint/Fix-gcc7-and-gcc8.patch

38 lines
1.3 KiB
Diff
Raw Permalink Normal View History

Accepting request 1007257 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs <tx_prbs_mode> & --rx_prbs <rx_prbs_mode>). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45
2022-09-30 15:09:56 +02:00
commit 6a8758e9353447abdb9366638790984e84b04eb1
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Wed Aug 9 17:31:57 2017 +0200
Fix gcc7 and gcc8
Fix compilation errors for GCC7 and GCC8
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git configure.ac configure.ac
Accepting request 1007257 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs <tx_prbs_mode> & --rx_prbs <rx_prbs_mode>). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45
2022-09-30 15:09:56 +02:00
index 4d549ee4cb79..c8e15447f5e1 100644
--- configure.ac
+++ configure.ac
Accepting request 1007257 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs <tx_prbs_mode> & --rx_prbs <rx_prbs_mode>). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45
2022-09-30 15:09:56 +02:00
@@ -308,6 +308,7 @@ AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no])
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
CFLAGS="$CFLAGS -DMST_UL"
+CPPFLAGS="$CPPFLAGS -DMST_UL"
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
CXXFLAGS="$CXXFLAGS -DMST_UL"
Accepting request 1007257 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs <tx_prbs_mode> & --rx_prbs <rx_prbs_mode>). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45
2022-09-30 15:09:56 +02:00
@@ -336,6 +337,14 @@ AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CFLAGS="$CFLAGS -Wno-implici
AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CFLAGS="$CFLAGS -Wno-cast-function-type"], [], [])
CFLAGS="$OLD_CFLAGS"
+# C GCC [78] related ignores
+OLD_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS -Wall -Werror"
+AX_CHECK_COMPILE_FLAG([-Wno-format-overflow], [CPPFLAGS="$CPPFLAGS -Wno-format-overflow"], [], [])
+AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CPPFLAGS="$CPPFLAGS -Wno-implicit-fallthrough"], [], [])
+AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CPPFLAGS="$CPPFLAGS -Wno-cast-function-type"], [], [])
+CPPFLAGS="$OLD_CPPFLAGS"
+
# C++ related ignores
OLD_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wall -Werror"