Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953467 - sci-ml/XNNPACK-2024.11.08-r1 - f16-avgpool-9p8x-minmax-f16c-c8.c: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: sci-ml/XNNPACK-2024.11.08-r1 - f16-avgpool-9p8x-minmax-f16c-c8.c: error: dere...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2025-04-09 08:29 UTC by Toralf Förster
Modified: 2025-04-09 08:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,22.75 KB, text/plain)
2025-04-09 08:29 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,104.25 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details
environment (environment,94.61 KB, text/plain)
2025-04-09 08:29 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.45 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,32.98 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,108.04 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details
sci-ml:XNNPACK-2024.11.08-r1:20250409-041030.log (sci-ml:XNNPACK-2024.11.08-r1:20250409-041030.log,24.74 KB, text/plain)
2025-04-09 08:29 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.99 KB, application/x-xz)
2025-04-09 08:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-09 08:29:41 UTC
too long lines were shrinked:

 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-ml/XNNPACK-2024.11.08-r1/work/XNNPACK-4ea82e595b36106653175dcb04b2aa532660d0d8_build"
ninja -v -j4 -l0
[1/4589] /usr/bin/x86_64-pc-linux-gnu-gcc -DXNN_ENABLE_ARM_BF16=0 -DXNN_ENABLE_ARM_DOTPROD=0 -DXNN_ENABLE_ARM_FP16_SCALAR=0 -DXNN_ENABLE_ARM_FP16_VECTOR=0 -DXNN_ENABLE_ARM_I8MM=0 -DXNN_ENABLE_ARM_SME2=0 -DXNN_ENABLE_ARM_SME=0 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_AVX256SKX=1 -DXNN_ENABLE_AVX256VNNI=1
FAILED: CMakeFiles/microkernels-prod.dir/src/f16-avgpool/f16-avgpool-9p8x-minmax-f16c-c8.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DXNN_ENABLE_ARM_BF16=0 -DXNN_ENABLE_ARM_DOTPROD=0 -DXNN_ENABLE_ARM_FP16_SCALAR=0 -DXNN_ENABLE_ARM_FP16_VECTOR=0 -DXNN_ENABLE_ARM_I8MM=0 -DXNN_ENABLE_ARM_SME2=0 -DXNN_ENABLE_ARM_SME=0 -DXNN_ENABLE_ASSEMBLY=1 -DXNN_ENABLE_AVX256SKX=1 -DXNN_ENABLE_AVX256VNNI=1 -DXNN_EN
/var/tmp/portage/sci-ml/XNNPACK-2024.11.08-r1/work/XNNPACK-4ea82e595b36106653175dcb04b2aa532660d0d8/src/f16-avgpool/f16-avgpool-9p8x-minmax-f16c-c8.c: In function xnn_f16_avgpool_minmax_ukernel_9p8x__f16c_c8:
/var/tmp/portage/sci-ml/XNNPACK-2024.11.08-r1/work/XNNPACK-4ea82e595b36106653175dcb04b2aa532660d0d8/src/f16-avgpool/f16-avgpool-9p8x-minmax-f16c-c8.c:36:57: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
   36 |   const __m256 vscale = _mm256_cvtph_ps(_mm_set1_epi16(*(const uint16_t*) &params->scalar.scale));
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20250329-123502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.10
go version go1.24.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.85.1
  [4]   rust-1.85.1
  [5]   rust-bin-1.86
  [6]   rust-1.86 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit 5cad417651ffda21dc5a4090e3d0d3d267f184a9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 9 03:05:20 2025 +0000

    2025-04-09 03:05:20 UTC

The tinderbox task was: sci-ml/XNNPACK

emerge -qpvO =sci-ml/XNNPACK-2024.11.08-r1
[ebuild  N    ] sci-ml/XNNPACK-2024.11.08-r1  USE="assembly memopt sparse -jit -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2025-04-09 08:29:42 UTC
Created attachment 924181 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-09 08:29:43 UTC
Created attachment 924182 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-09 08:29:45 UTC
Created attachment 924183 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-09 08:29:45 UTC
Created attachment 924184 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-09 08:29:47 UTC
Created attachment 924185 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-09 08:29:48 UTC
Created attachment 924186 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-09 08:29:49 UTC
Created attachment 924187 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-09 08:29:50 UTC
Created attachment 924188 [details]
sci-ml:XNNPACK-2024.11.08-r1:20250409-041030.log
Comment 9 Toralf Förster gentoo-dev 2025-04-09 08:29:51 UTC
Created attachment 924189 [details]
temp.tar.xz