[clazy] [Bug 401494] New: inefficient-qlist & inefficient-qlist-soft fail on 32bit Linux architectures

Pino Toscano bugzilla_noreply at kde.org
Wed Nov 28 07:12:59 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=401494

            Bug ID: 401494
           Summary: inefficient-qlist & inefficient-qlist-soft fail on
                    32bit Linux architectures
           Product: clazy
           Version: unspecified
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: pino at kde.org
                CC: smartins at kde.org
  Target Milestone: ---

SUMMARY
The inefficient-qlist, and 
tests fail when run on 32bit Linux architectures (e.g. armhf, i386, mips, and
powerpc, in Debian).

STEPS TO REPRODUCE
1. build clazy on one of the aforementioned 32it Linux architectures
2. run the test suite, either from the build directory, or after installation

OBSERVED RESULT
These are the outputs on i386, and (sort of different name in library
directory) they are the same also on the other affected architectures:

Qt version: 51102
Qt headers: /usr/include/i386-linux-gnu/qt5
Running: clang -Xclang -load -Xclang ClangLazy.so -Xclang -add-plugin -Xclang
clang-lazy  -Xclang -plugin-arg-clang-lazy -Xclang no-inplace-fixits
-Wno-unused-value -Qunused-arguments -std=c++14 -isystem
/usr/include/i386-linux-gnu/qt5 -fPIC -L /usr/lib/i386-linux-gnu -c  -Xclang
-plugin-arg-clang-lazy -Xclang inefficient-qlist -Xclang -plugin-arg-clang-lazy
-Xclang enable-all-fixits inefficient-qlist/main.cpp
output_file=inefficient-qlist/main.cpp.out
[FAIL] inefficient-qlist
--- inefficient-qlist/main.cpp.expected 2018-09-23 16:22:24.000000000 +0000
+++ inefficient-qlist/main.cpp.result   2018-11-27 08:00:50.257341202 +0000
@@ -1,3 +1,4 @@
 inefficient-qlist/main.cpp:24:5: warning: Use QVector instead of QList for
type with size 9 bytes [-Wclazy-inefficient-qlist]
+inefficient-qlist/main.cpp:25:5: warning: Use QVector instead of QList for
type with size 8 bytes [-Wclazy-inefficient-qlist]
 inefficient-qlist/main.cpp:38:11: warning: Use QVector instead of QList for
type with size 9 bytes [-Wclazy-inefficient-qlist]
 inefficient-qlist/main.cpp:40:5: warning: Use QVector instead of QList for
type with size 9 bytes [-Wclazy-inefficient-qlist]

Qt version: 51102
Qt headers: /usr/include/i386-linux-gnu/qt5
Running: clang -Xclang -load -Xclang ClangLazy.so -Xclang -add-plugin -Xclang
clang-lazy  -Xclang -plugin-arg-clang-lazy -Xclang no-inplace-fixits
-Wno-unused-value -Qunused-arguments -std=c++14 -isystem
/usr/include/i386-linux-gnu/qt5 -fPIC -L /usr/lib/i386-linux-gnu -c  -Xclang
-plugin-arg-clang-lazy -Xclang inefficient-qlist-soft -Xclang
-plugin-arg-clang-lazy -Xclang enable-all-fixits
inefficient-qlist-soft/main.cpp
output_file=inefficient-qlist-soft/main.cpp.out
[FAIL] inefficient-qlist-soft
--- inefficient-qlist-soft/main.cpp.expected    2018-09-23 16:22:24.000000000
+0000
+++ inefficient-qlist-soft/main.cpp.result      2018-11-27 08:00:46.469387068
+0000
@@ -1,3 +1,4 @@
 inefficient-qlist-soft/main.cpp:24:5: warning: Use QVector instead of QList
for type with size 9 bytes [-Wclazy-inefficient-qlist-soft]
+inefficient-qlist-soft/main.cpp:25:5: warning: Use QVector instead of QList
for type with size 8 bytes [-Wclazy-inefficient-qlist-soft]
 inefficient-qlist-soft/main.cpp:64:5: warning: Use QVector instead of QList
for type with size 9 bytes [-Wclazy-inefficient-qlist-soft]
 inefficient-qlist-soft/main.cpp:68:5: warning: Use QVector instead of QList
for type with size 9 bytes [-Wclazy-inefficient-qlist-soft]

Logs:
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=armhf&ver=1.4-2&stamp=1543305282&raw=1
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=i386&ver=1.4-2&stamp=1543305671&raw=1
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=mips&ver=1.4-2&stamp=1543387556&raw=1
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=powerpc&ver=1.4-2&stamp=1543305940&raw=1

EXPECTED RESULT
inefficient-qlist & inefficient-qlist-soft pass on any architecture.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list