Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 798045

Summary: media-libs/fdk-aac-2.0.2 - /.../fft.h: error: inlining failed in call to always_inline void fft_8(FIXP_DBL*): indirect function ca (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
media-libs:fdk-aac-2.0.2:20210623-173813.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-23 17:46:41 UTC
In file included from /var/tmp/portage/media-libs/fdk-aac-2.0.2/work/fdk-aac-2.0.2/libFDK/src/fft.cpp:167:
/var/tmp/portage/media-libs/fdk-aac-2.0.2/work/fdk-aac-2.0.2/libFDK/include/fft.h: In function ‘void fft120(FIXP_DBL*)’:
/var/tmp/portage/media-libs/fdk-aac-2.0.2/work/fdk-aac-2.0.2/libFDK/include/fft.h:171:29: error: inlining failed in call to ‘always_inline’ ‘void fft_8(FIXP_DBL*)’: indirect function call with a yet undetermined callee
  171 | static FDK_FORCEINLINE void fft_8(FIXP_DBL *x) {
      |                             ^~~~~
/var/tmp/portage/media-libs/fdk-aac-2.0.2/work/fdk-aac-2.0.2/libFDK/src/fft.cpp:1608:9: note: called from here
 1608 |     fft1(pDst);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j3-20210617-220928

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *
  HEAD of ::gentoo
commit f1ca4fe4aa62cffdfc3a52d8e7af9949fce33816
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 23 17:06:31 2021 +0000

    2021-06-23 17:06:31 UTC

emerge -qpvO media-libs/fdk-aac
[ebuild  N    ] media-libs/fdk-aac-2.0.2  USE="-examples -static-libs" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2021-06-23 17:46:42 UTC
Created attachment 718239 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-23 17:46:43 UTC
Created attachment 718242 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-23 17:46:45 UTC
Created attachment 718245 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-23 17:46:46 UTC
Created attachment 718248 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-23 17:46:47 UTC
Created attachment 718251 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-23 17:46:49 UTC
Created attachment 718254 [details]
media-libs:fdk-aac-2.0.2:20210623-173813.log
Comment 7 Toralf Förster gentoo-dev 2021-06-23 17:46:50 UTC
Created attachment 718257 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-07-17 09:31:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341fa332fd0514a8697cd229b6086370f927d5df

commit 341fa332fd0514a8697cd229b6086370f927d5df
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-07-17 09:27:25 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-07-17 09:27:25 +0000

    media-libs/fdk-aac: Fix failed inlining
    
    Closes: https://bugs.gentoo.org/798045
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/fdk-aac/fdk-aac-2.0.2.ebuild            |  2 +
 .../files/fdk-aac-2.0.2-always_inline.patch        | 72 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)