- 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
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
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
|
|
index 4d549ee4cb79..c8e15447f5e1 100644
|
|
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -308,6 +308,7 @@ AM_CONDITIONAL([USE_LOCAL_SQLITE], [test "$SQLITE_SYSTEM_AVAILABLE" = no])
|
|
|
|
|
|
CFLAGS="$CFLAGS -DMST_UL"
|
|
+CPPFLAGS="$CPPFLAGS -DMST_UL"
|
|
CXXFLAGS="$CXXFLAGS -DMST_UL"
|
|
|
|
|
|
@@ -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"
|