Package Details: mstflint3 3.8.0.27-2

Git Clone URL: https://aur.archlinux.org/mstflint3.git (read-only, click to copy)
Package Base: mstflint3
Description: OpenFabrics Alliance firmware burning application (old version) for Mellanox ConnectX-2
Upstream URL: https://www.openfabrics.org/index.php/overview.html
Licenses: GPL2, custom:"OpenIB.org BSD"
Submitter: grawity
Maintainer: grawity
Last Packager: grawity
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-02 09:31 (UTC)
Last Updated: 2023-03-09 14:18 (UTC)

Latest Comments

zer0def commented on 2025-08-15 00:19 (UTC) (edited on 2025-08-15 00:23 (UTC) by zer0def)

Because of GCC15 (or rather, -std=c23) promoting bool-related values to keywords, building this version necessitates explicitly stating a C standard version now.

diff --git a/PKGBUILD b/PKGBUILD
index 51150c9..a5142bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=mstflint3
 pkgver=3.8.0.27
 _pkgver=3.8.0-1.27.gf3d39b6
-pkgrel=2
+pkgrel=3
 pkgdesc='OpenFabrics Alliance firmware burning application (old version) for Mellanox ConnectX-2'
 arch=('x86_64' 'i686')
 url='https://www.openfabrics.org/index.php/overview.html'
@@ -15,7 +15,7 @@ sha256sums=('SKIP')

 prepare() {
   cd mstflint-3.8.0
-  sed -i '/^CFLAGS=/ s/-Werror//' configure.ac
+  sed -i '/^CFLAGS=/ s/-Werror/-std=gnu99/' configure.ac
   sed -i '/^CXXFLAGS=/ s/-Werror/-std=gnu++98 -Wno-c++11-compat/' configure.ac
   ./autogen.sh
 }

Flandre commented on 2023-03-24 19:33 (UTC)

Package build success, but when try to burn image to device, got error:

/usr/include/c++/12.2.1/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. fish: Job 1, 'sudo mstflint3 -d 07:00.0 -i X4…' terminated by signal SIGABRT (Abort)

trumee commented on 2023-03-06 06:27 (UTC)

Compile error,

cc1: error: command-line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C [-Werror] cc1: all warnings being treated as errors make[2]: [Makefile:422: mft_sig_handler.o] Error 1 make[2]: Waiting for unfinished jobs....