Bug#997197: clfft: FTBFS: generator.transpose.cpp:1092:95: error: taking address of rvalue [-fpermissive]
Lucas Nussbaum
lucas at debian.org
Sat Oct 23 20:10:05 BST 2021
Source: clfft
Version: 2.12.2-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/c++ -DCLFFT_EXPORTS -DclFFT_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/src/library/../include -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT library/CMakeFiles/clFFT.dir/generator.transpose.cpp.o -MF CMakeFiles/clFFT.dir/generator.transpose.cpp.o.d -o CMakeFiles/clFFT.dir/generator.transpose.cpp.o -c /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp
> In file included from /usr/include/CL/cl.h:20,
> from /<<PKGBUILDDIR>>/src/library/../include/clFFT.h:33,
> from /<<PKGBUILDDIR>>/src/library/private.h:29,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.h:25,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:20:
> /usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
> 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
> | ^
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:20:
> /<<PKGBUILDDIR>>/src/library/plan.h: In constructor ‘FFTPlan::FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:504:26: warning: ‘FFTPlan::blockComputeType’ will be initialized after [-Wreorder]
> 504 | BlockComputeType blockComputeType;
> | ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:462:25: warning: ‘clfftPlanHandle FFTPlan::planTX’ [-Wreorder]
> 462 | clfftPlanHandle planTX;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:526:33: warning: ‘FFTPlan::nonSquareKernelOrder’ will be initialized after [-Wreorder]
> 526 | NON_SQUARE_KERNEL_ORDER nonSquareKernelOrder;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘clfftPlanHandle FFTPlan::plHandle’ [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘FFTPlan::plHandle’ will be initialized after [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:506:14: warning: ‘bool FFTPlan::hasPreCallback’ [-Wreorder]
> 506 | bool hasPreCallback;
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h: In destructor ‘FFTPlan::~FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:602:25: warning: deleting object of abstract class type ‘FFTAction’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
> 602 | delete action;
> | ^~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:20:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h: In constructor ‘StatData::StatData(clfftPlanHandle, FFTPlan*, cl_kernel, cl_uint, _cl_event**, const std::vector<long unsigned int>&, const std::vector<long unsigned int>&)’:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:39:18: warning: ‘StatData::deltaNanoSec’ will be initialized after [-Wreorder]
> 39 | cl_ulong deltaNanoSec;
> | ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:38:19: warning: ‘_cl_kernel* StatData::kernel’ [-Wreorder]
> 38 | cl_kernel kernel;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:60:16: warning: ‘StatData::oDist’ will be initialized after [-Wreorder]
> 60 | size_t oDist;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:56:31: warning: ‘std::vector<long unsigned int> StatData::lengths’ [-Wreorder]
> 56 | std::vector< size_t > lengths;
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:63:31: warning: ‘StatData::enqueueWorkSize’ will be initialized after [-Wreorder]
> 63 | std::vector< size_t > enqueueWorkSize;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘std::vector<long unsigned int> StatData::enqueueLocalWorkSize’ [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘StatData::enqueueLocalWorkSize’ will be initialized after [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:61:29: warning: ‘clfftResultLocation StatData::placeness’ [-Wreorder]
> 61 | clfftResultLocation placeness;
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In member function ‘clfftStatus FFTGeneratedStockhamAction::initParams()’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4517:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 4517 | for(i = 0; i < (this->signature.fft_DataDim - 1); i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘StockhamGenerator::Kernel<PR>::Kernel(const FFTKernelGenKeyParams&) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4694:43: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2816:45: warning: ‘StockhamGenerator::Kernel<StockhamGenerator::P_SINGLE>::params’ will be initialized after [-Wreorder]
> 2816 | const FFTKernelGenKeyParams params; // key params
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2805:22: warning: ‘bool StockhamGenerator::Kernel<StockhamGenerator::P_SINGLE>::r2c2r’ [-Wreorder]
> 2805 | bool r2c2r; // real to complex or complex to real transform
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2942:9: warning: when initialized here [-Wreorder]
> 2942 | Kernel( const FFTKernelGenKeyParams ¶msVal) :
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘StockhamGenerator::Kernel<PR>::Kernel(const FFTKernelGenKeyParams&) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4699:43: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2816:45: warning: ‘StockhamGenerator::Kernel<StockhamGenerator::P_DOUBLE>::params’ will be initialized after [-Wreorder]
> 2816 | const FFTKernelGenKeyParams params; // key params
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2805:22: warning: ‘bool StockhamGenerator::Kernel<StockhamGenerator::P_DOUBLE>::r2c2r’ [-Wreorder]
> 2805 | bool r2c2r; // real to complex or complex to real transform
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2942:9: warning: when initialized here [-Wreorder]
> 2942 | Kernel( const FFTKernelGenKeyParams ¶msVal) :
> | ^~~~~~
> In file included from /usr/include/CL/cl.h:20,
> from /<<PKGBUILDDIR>>/src/library/../include/clFFT.h:33,
> from /<<PKGBUILDDIR>>/src/library/private.h:29,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.h:21,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:24:
> /usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
> 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘StockhamGenerator::Pass<PR>::Pass(size_t, size_t, size_t, size_t, size_t, size_t, size_t, bool, bool, bool, bool, bool, bool, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE; size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3017:23: required from ‘StockhamGenerator::Kernel<PR>::Kernel(const FFTKernelGenKeyParams&) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4694:43: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:618:24: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::cnPerWI’ will be initialized after [-Wreorder]
> 618 | size_t cnPerWI; // Complex numbers per work-item
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:612:24: warning: ‘size_t StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::algL’ [-Wreorder]
> 612 | size_t algL; // 'L' value from fft algorithm
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:637:22: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::halfLds’ will be initialized after [-Wreorder]
> 637 | bool halfLds; // only half the LDS of a complex length need to be used
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:628:22: warning: ‘bool StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::r2c’ [-Wreorder]
> 628 | bool r2c; // real to complex transform
> | ^~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:635:22: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::enableGrouping’ will be initialized after [-Wreorder]
> 635 | bool enableGrouping;
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:626:24: warning: ‘size_t StockhamGenerator::Pass<StockhamGenerator::P_SINGLE>::numB1’ [-Wreorder]
> 626 | size_t numB1, numB2, numB4; // number of different types of butterflies
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘std::string StockhamGenerator::Kernel<PR>::OffsetCalc(const string&, bool, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE; std::string = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3851:13: required from ‘void StockhamGenerator::Kernel<PR>::GenerateKernel(std::string&, cl_device_id) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE; std::string = std::__cxx11::basic_string<char>; cl_device_id = _cl_device_id*]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4695:25: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2928:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 2928 | for(int j=1; j<i; j++) currentLength *= params.fft_N[j];
> | ~^~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘std::string StockhamGenerator::Kernel<PR>::OffsetCalcBlock(const string&, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE; std::string = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3923:15: required from ‘void StockhamGenerator::Kernel<PR>::GenerateKernel(std::string&, cl_device_id) [with StockhamGenerator::Precision PR = StockhamGenerator::P_SINGLE; std::string = std::__cxx11::basic_string<char>; cl_device_id = _cl_device_id*]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4695:25: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2879:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 2879 | for(int j=2; j<i; j++) currentLength *= params.fft_N[j];
> | ~^~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘StockhamGenerator::Pass<PR>::Pass(size_t, size_t, size_t, size_t, size_t, size_t, size_t, bool, bool, bool, bool, bool, bool, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE; size_t = long unsigned int]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3017:23: required from ‘StockhamGenerator::Kernel<PR>::Kernel(const FFTKernelGenKeyParams&) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4699:43: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:618:24: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::cnPerWI’ will be initialized after [-Wreorder]
> 618 | size_t cnPerWI; // Complex numbers per work-item
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:612:24: warning: ‘size_t StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::algL’ [-Wreorder]
> 612 | size_t algL; // 'L' value from fft algorithm
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:637:22: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::halfLds’ will be initialized after [-Wreorder]
> 637 | bool halfLds; // only half the LDS of a complex length need to be used
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:628:22: warning: ‘bool StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::r2c’ [-Wreorder]
> 628 | bool r2c; // real to complex transform
> | ^~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:635:22: warning: ‘StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::enableGrouping’ will be initialized after [-Wreorder]
> 635 | bool enableGrouping;
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:626:24: warning: ‘size_t StockhamGenerator::Pass<StockhamGenerator::P_DOUBLE>::numB1’ [-Wreorder]
> 626 | size_t numB1, numB2, numB4; // number of different types of butterflies
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:1983:17: warning: when initialized here [-Wreorder]
> 1983 | Pass( size_t positionVal, size_t lengthVal, size_t radixVal, size_t cnPerWIVal,
> | ^~~~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘std::string StockhamGenerator::Kernel<PR>::OffsetCalc(const string&, bool, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE; std::string = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3851:13: required from ‘void StockhamGenerator::Kernel<PR>::GenerateKernel(std::string&, cl_device_id) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE; std::string = std::__cxx11::basic_string<char>; cl_device_id = _cl_device_id*]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4700:25: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2928:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 2928 | for(int j=1; j<i; j++) currentLength *= params.fft_N[j];
> | ~^~
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp: In instantiation of ‘std::string StockhamGenerator::Kernel<PR>::OffsetCalcBlock(const string&, bool) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE; std::string = std::__cxx11::basic_string<char>]’:
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:3923:15: required from ‘void StockhamGenerator::Kernel<PR>::GenerateKernel(std::string&, cl_device_id) [with StockhamGenerator::Precision PR = StockhamGenerator::P_DOUBLE; std::string = std::__cxx11::basic_string<char>; cl_device_id = _cl_device_id*]’
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:4700:25: required from here
> /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:2879:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 2879 | for(int j=2; j<i; j++) currentLength *= params.fft_N[j];
> | ~^~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.h:22,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:24:
> /<<PKGBUILDDIR>>/src/library/plan.h: In constructor ‘FFTPlan::FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:504:26: warning: ‘FFTPlan::blockComputeType’ will be initialized after [-Wreorder]
> 504 | BlockComputeType blockComputeType;
> | ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:462:25: warning: ‘clfftPlanHandle FFTPlan::planTX’ [-Wreorder]
> 462 | clfftPlanHandle planTX;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:526:33: warning: ‘FFTPlan::nonSquareKernelOrder’ will be initialized after [-Wreorder]
> 526 | NON_SQUARE_KERNEL_ORDER nonSquareKernelOrder;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘clfftPlanHandle FFTPlan::plHandle’ [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘FFTPlan::plHandle’ will be initialized after [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:506:14: warning: ‘bool FFTPlan::hasPreCallback’ [-Wreorder]
> 506 | bool hasPreCallback;
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h: In destructor ‘FFTPlan::~FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:602:25: warning: deleting object of abstract class type ‘FFTAction’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
> 602 | delete action;
> | ^~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.h:22,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:24:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h: In constructor ‘StatData::StatData(clfftPlanHandle, FFTPlan*, cl_kernel, cl_uint, _cl_event**, const std::vector<long unsigned int>&, const std::vector<long unsigned int>&)’:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:39:18: warning: ‘StatData::deltaNanoSec’ will be initialized after [-Wreorder]
> 39 | cl_ulong deltaNanoSec;
> | ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:38:19: warning: ‘_cl_kernel* StatData::kernel’ [-Wreorder]
> 38 | cl_kernel kernel;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:60:16: warning: ‘StatData::oDist’ will be initialized after [-Wreorder]
> 60 | size_t oDist;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:56:31: warning: ‘std::vector<long unsigned int> StatData::lengths’ [-Wreorder]
> 56 | std::vector< size_t > lengths;
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:63:31: warning: ‘StatData::enqueueWorkSize’ will be initialized after [-Wreorder]
> 63 | std::vector< size_t > enqueueWorkSize;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘std::vector<long unsigned int> StatData::enqueueLocalWorkSize’ [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘StatData::enqueueLocalWorkSize’ will be initialized after [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:61:29: warning: ‘clfftResultLocation StatData::placeness’ [-Wreorder]
> 61 | clfftResultLocation placeness;
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> In file included from /usr/include/CL/cl.h:20,
> from /<<PKGBUILDDIR>>/src/library/../include/clFFT.h:33,
> from /<<PKGBUILDDIR>>/src/library/private.h:29,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.h:20,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:28:
> /usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
> 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
> | ^
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.stockham.cpp:20:
> /<<PKGBUILDDIR>>/src/library/plan.h: At global scope:
> /<<PKGBUILDDIR>>/src/library/plan.h:608:13: warning: ‘bool Is1DPossible(size_t, size_t)’ defined but not used [-Wunused-function]
> 608 | static bool Is1DPossible(size_t length, size_t large1DThreshold)
> | ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp: In function ‘void clfft_transpose_generator::get_cycles(size_t*, size_t, size_t)’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:335:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 335 | for (i = 1; i < (num_reduced_row * num_reduced_col - 1); i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:340:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 340 | for (i = 1; i < (num_reduced_row * num_reduced_col - 1); i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:348:37: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
> 348 | if (swap_id == i)
> | ~~~~~~~~^~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.h:21,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:28:
> /<<PKGBUILDDIR>>/src/library/plan.h: In constructor ‘FFTPlan::FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:504:26: warning: ‘FFTPlan::blockComputeType’ will be initialized after [-Wreorder]
> 504 | BlockComputeType blockComputeType;
> | ^~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:462:25: warning: ‘clfftPlanHandle FFTPlan::planTX’ [-Wreorder]
> 462 | clfftPlanHandle planTX;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:526:33: warning: ‘FFTPlan::nonSquareKernelOrder’ will be initialized after [-Wreorder]
> 526 | NON_SQUARE_KERNEL_ORDER nonSquareKernelOrder;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘clfftPlanHandle FFTPlan::plHandle’ [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:515:21: warning: ‘FFTPlan::plHandle’ will be initialized after [-Wreorder]
> 515 | clfftPlanHandle plHandle;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:506:14: warning: ‘bool FFTPlan::hasPreCallback’ [-Wreorder]
> 506 | bool hasPreCallback;
> | ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h:528:9: warning: when initialized here [-Wreorder]
> 528 | FFTPlan ()
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/plan.h: In destructor ‘FFTPlan::~FFTPlan()’:
> /<<PKGBUILDDIR>>/src/library/plan.h:602:25: warning: deleting object of abstract class type ‘FFTAction’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
> 602 | delete action;
> | ^~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:26,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.h:21,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:28:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h: In constructor ‘StatData::StatData(clfftPlanHandle, FFTPlan*, cl_kernel, cl_uint, _cl_event**, const std::vector<long unsigned int>&, const std::vector<long unsigned int>&)’:
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:39:18: warning: ‘StatData::deltaNanoSec’ will be initialized after [-Wreorder]
> 39 | cl_ulong deltaNanoSec;
> | ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:38:19: warning: ‘_cl_kernel* StatData::kernel’ [-Wreorder]
> 38 | cl_kernel kernel;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:60:16: warning: ‘StatData::oDist’ will be initialized after [-Wreorder]
> 60 | size_t oDist;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:56:31: warning: ‘std::vector<long unsigned int> StatData::lengths’ [-Wreorder]
> 56 | std::vector< size_t > lengths;
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:63:31: warning: ‘StatData::enqueueWorkSize’ will be initialized after [-Wreorder]
> 63 | std::vector< size_t > enqueueWorkSize;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘std::vector<long unsigned int> StatData::enqueueLocalWorkSize’ [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:62:31: warning: ‘StatData::enqueueLocalWorkSize’ will be initialized after [-Wreorder]
> 62 | std::vector< size_t > enqueueLocalWorkSize;
> | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:61:29: warning: ‘clfftResultLocation StatData::placeness’ [-Wreorder]
> 61 | clfftResultLocation placeness;
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/../statTimer/statisticalTimer.GPU.h:69:9: warning: when initialized here [-Wreorder]
> 69 | StatData( clfftPlanHandle id, FFTPlan* plan, cl_kernel kern, cl_uint nEv, cl_event* Ev,
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp: In function ‘clfftStatus clfft_transpose_generator::genSwapKernel(const Signature&, std::string&, std::string&, const size_t&, size_t)’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:855:24: warning: enumeration value ‘CLFFT_HERMITIAN_INTERLEAVED’ not handled in switch [-Wswitch]
> 855 | switch (params.fft_inputLayout)
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:855:24: warning: enumeration value ‘CLFFT_HERMITIAN_PLANAR’ not handled in switch [-Wswitch]
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:855:24: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:882:24: warning: enumeration value ‘CLFFT_HERMITIAN_INTERLEAVED’ not handled in switch [-Wswitch]
> 882 | switch (params.fft_inputLayout)
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:882:24: warning: enumeration value ‘CLFFT_HERMITIAN_PLANAR’ not handled in switch [-Wswitch]
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:882:24: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:585:44: warning: unused variable ‘swap_inx’ [-Wunused-variable]
> 585 | size_t inx = 0, start_inx, swap_inx = 0, num_swaps = 0;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp: In function ‘clfftStatus clfft_transpose_generator::genSwapKernelGeneral(const Signature&, std::string&, std::string&, const size_t&, size_t)’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:1092:95: error: taking address of rvalue [-fpermissive]
> 1092 | std::string smaller_dim_str = static_cast<std::ostringstream*>(&(std::ostringstream() << smaller_dim))->str();
> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:1093:93: error: taking address of rvalue [-fpermissive]
> 1093 | std::string dim_ratio_str = static_cast<std::ostringstream*>(&(std::ostringstream() << dim_ratio))->str();
> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp: In function ‘clfftStatus genTransposeKernel(const Signature&, std::string&, const tile&, size_t, size_t, const tile&)’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:474:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 474 | for(int i = 2; i < params.fft_DataDim - 1; i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:484:23: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> 484 | switch( params.fft_outputLayout )
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:507:23: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> 507 | switch( params.fft_inputLayout )
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:615:32: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
> 615 | else if(branchingInAny)
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:694:31: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> 694 | switch( params.fft_inputLayout )
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:786:23: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> 786 | switch( params.fft_outputLayout )
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:850:32: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
> 850 | else if(branchingInAny)
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:961:31: warning: enumeration value ‘ENDLAYOUT’ not handled in switch [-Wswitch]
> 961 | switch( params.fft_outputLayout )
> | ^
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp: In member function ‘clfftStatus FFTGeneratedTransposeGCNAction::initParams()’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:1059:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 1059 | for(i = 0; i < (this->signature.fft_DataDim - 1); i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp: In member function ‘virtual clfftStatus FFTGeneratedTransposeGCNAction::getWorkSizes(std::vector<long unsigned int>&, std::vector<long unsigned int>&)’:
> /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:1221:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
> 1221 | for(int i = 2; i < this->signature.fft_DataDim - 1; i++)
> | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.h:21,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.gcn.cpp:28:
> /<<PKGBUILDDIR>>/src/library/plan.h: At global scope:
> /<<PKGBUILDDIR>>/src/library/plan.h:608:13: warning: ‘bool Is1DPossible(size_t, size_t)’ defined but not used [-Wunused-function]
> 608 | static bool Is1DPossible(size_t length, size_t large1DThreshold)
> | ^~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/library/repo.h:23,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.h:22,
> from /<<PKGBUILDDIR>>/src/library/generator.transpose.cpp:24:
> /<<PKGBUILDDIR>>/src/library/plan.h: At global scope:
> /<<PKGBUILDDIR>>/src/library/plan.h:608:13: warning: ‘bool Is1DPossible(size_t, size_t)’ defined but not used [-Wunused-function]
> 608 | static bool Is1DPossible(size_t length, size_t large1DThreshold)
> | ^~~~~~~~~~~~
> make[3]: *** [library/CMakeFiles/clFFT.dir/build.make:163: library/CMakeFiles/clFFT.dir/generator.transpose.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/clfft_2.12.2-3.1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list