Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916970 - sys-devel/gcc-14: generates invalid assembly for dev-libs/ncnn-20231027 ({standard input}:768: Error: unsupported instruction vblendps)
Summary: sys-devel/gcc-14: generates invalid assembly for dev-libs/ncnn-20231027 ({sta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-06 17:57 UTC by Toralf Förster
Modified: 2023-11-28 01:27 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.56 KB, text/plain)
2023-11-06 17:57 UTC, Toralf Förster
Details
dev-libs:ncnn-20231027:20231106-064604.log.xz (dev-libs:ncnn-20231027:20231106-064604.log.xz,41.29 KB, application/x-xz)
2023-11-06 17:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.12 KB, text/plain)
2023-11-06 17:57 UTC, Toralf Förster
Details
environment (environment,96.42 KB, text/plain)
2023-11-06 17:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-06 17:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,48.07 KB, application/x-xz)
2023-11-06 17:57 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,56.00 KB, application/x-xz)
2023-11-06 17:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,63.18 KB, application/x-xz)
2023-11-06 17:57 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 2023-11-06 17:57:30 UTC
too long lines were shrinked:

      |                                                                                                          ~~~~~~~~~~~~~~^~~
/var/tmp/portage/dev-libs/ncnn-20231027/work/ncnn-20231027/src/layer/x86/gridsample_nearest_apply_interpolation.h: In function void ncnn::gridsample_nearest_apply_interpolation_p1(const Mat&, Mat&, const Mat&, const Option&):
/var/tmp/portage/dev-libs/ncnn-20231027/work/ncnn-20231027/src/layer/x86/gridsample_nearest_apply_interpolation.h:102:120: warning: unused parameter opt [-Wunused-parameter]
  102 | static void gridsample_nearest_apply_interpolation_p1(const Mat& src, Mat& dst, const Mat& offset_value, const Option& opt)
      |                                                                                                          ~~~~~~~~~~~~~~^~~
{standard input}: Assembler messages:
{standard input}:768: Error: unsupported instruction `vblendps'
{standard input}:769: Error: unsupported instruction `vblendps'
{standard input}:1165: Error: unsupported instruction `vblendps'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231102-160004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 38158d87a48ee056d1ed11d841c93c4cb7d90209
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 6 06:01:58 2023 +0000

    2023-11-06 06:01:58 UTC

emerge -qpvO dev-libs/ncnn
[ebuild  N    ] dev-libs/ncnn-20231027  USE="vulkan -tools"
Comment 1 Toralf Förster gentoo-dev 2023-11-06 17:57:31 UTC
Created attachment 874159 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-06 17:57:33 UTC
Created attachment 874160 [details]
dev-libs:ncnn-20231027:20231106-064604.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-06 17:57:34 UTC
Created attachment 874161 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-06 17:57:36 UTC
Created attachment 874163 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-06 17:57:36 UTC
Created attachment 874164 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-06 17:57:37 UTC
Created attachment 874165 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-06 17:57:39 UTC
Created attachment 874166 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-06 17:57:41 UTC
Created attachment 874167 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-08 03:51:03 UTC
The older bug 860996 is also odd, although that one may well be fixed already and isn't GCC 14 least.
Comment 10 Ionen Wolkens gentoo-dev 2023-11-08 04:26:37 UTC
(In reply to Sam James from comment #9)
> The older bug 860996 is also odd, although that one may well be fixed
> already and isn't GCC 14 least.
Had kinda forgot about it, been leaving it open because haven't tried musl with this yet (never reproduced with glibc, maybe it hits a broken code path otherwise). It may well be obsolete indeed though.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-28 01:27:10 UTC
Fixed in 14.0.0_pre20231119.