** Description changed:

  Seeing this error on the amd64v3 due to a codepath enabled by AVX
  enablement,
  
  /usr/bin/c++ -DCPUINFO_SUPPORTED_PLATFORM=1 -DDISABLE_ABSEIL -DDNNL_OPENMP 
-DEIGEN_MPL2_ONLY -DEIGEN_USE_THREADS -DENABLE_CPU_FP16_TRAINING_OPS 
-DENABLE_DLPACK -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -DORT_ENABLE_STREAM 
-DPLATFORM_POSIX -DUSE_DNNL=1 -DUSE_XNNPACK=1 -D_GNU_SOURCE 
-I/<<PKGBUILDDIR>>/include/onnxruntime 
-I/<<PKGBUILDDIR>>/include/onnxruntime/core/session -I/<<PKGBUILDDIR>> 
-I/<<PKGBUILDDIR>>/onnxruntime -I/usr/include/eigen3 -isystem 
/usr/include/safeint -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-march=x86-64-v3 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/onnxruntime-1.23.2+dfsg-4 -O3 
-Wno-error=uninitialized -Wdate-time -D_FORTIFY_SOURCE=3 -ffunction-sections 
-fdata-sections -DCPUINFO_SUPPORTED -O3 -DNDEBUG -fPIC -Wall -Wextra 
-Wno-deprecated-copy -Wno-nonnull-compare -Wno-deprecated-literal-operator 
-Wno-interference-size -Werror -MD -MT 
CMakeFiles/onnxruntime_common.dir/onnxruntime/core/common/threadpool.cc.o -MF 
CMakeFiles/onnxruntime_common.dir/onnxruntime/core/common/threadpool.cc.o.d -o 
CMakeFiles/onnxruntime_common.dir/onnxruntime/core/common/threadpool.cc.o -c 
/<<PKGBUILDDIR>>/onnxruntime/core/common/threadpool.cc
  In file included from 
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/Core:199,
-                  from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
-                  from 
/<<PKGBUILDDIR>>/include/onnxruntime/core/common/eigen_common_wrapper.h:70,
-                  from 
/<<PKGBUILDDIR>>/onnxruntime/core/common/threadpool.cc:22:
+                  from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:14,
+                  from 
/<<PKGBUILDDIR>>/include/onnxruntime/core/common/eigen_common_wrapper.h:70,
+                  from 
/<<PKGBUILDDIR>>/onnxruntime/core/common/threadpool.cc:22:
  
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/PacketMath.h:
 In function ‘Eigen::internal::Packet8bf Eigen::internal::F32ToBf16(const 
Packet8f&)’:
  
/usr/include/eigen3/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX/PacketMath.h:1275:13:
 error: unused variable ‘r’ [-Werror=unused-variable]
-  1275 |   Packet8bf r;
+  1275 |   Packet8bf r;
+ 
+ 
+ See: 
https://launchpadlibrarian.net/846780316/buildlog_ubuntu-resolute-amd64v3.onnxruntime_1.23.2+dfsg-4_BUILDING.txt.gz

** Changed in: onnxruntime (Ubuntu)
     Assignee: (unassigned) => Charles (charles05)

** Changed in: onnxruntime (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141490

Title:
  FTBFS on amd64v3 due to Werror and unused-variable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/onnxruntime/+bug/2141490/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to