Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856271 - dev-lang/perl-5.36.0 with gcc-12.1.1 - pp_sort.c: error: inlining failed in call to always_inline S_amagic_i_ncmp: function not considered for inl
Summary: dev-lang/perl-5.36.0 with gcc-12.1.1 - pp_sort.c: error: inlining failed in c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: ~arch gcc
Keywords:
Depends on:
Blocks: perl-5.36
  Show dependency tree
 
Reported: 2022-07-03 15:13 UTC by Toralf Förster
Modified: 2022-12-12 10:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2022-07-03 15:13 UTC, Toralf Förster
Details
dev-lang:perl-5.36.0:20220703-144927.log (dev-lang:perl-5.36.0:20220703-144927.log,120.58 KB, text/plain)
2022-07-03 15:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,5.12 KB, text/plain)
2022-07-03 15:13 UTC, Toralf Förster
Details
environment (environment,97.71 KB, text/plain)
2022-07-03 15:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.70 KB, application/x-bzip)
2022-07-03 15:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.82 KB, application/x-bzip)
2022-07-03 15:13 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 2022-07-03 15:13:21 UTC
x86_64-pc-linux-gnu-gcc -c -DPERL_CORE -pipe -march=native -fno-diagnostics-color -Og -g -D_GLIBCXX_ASSERTIONS -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -pipe -march=native -fno-diagnostics-color -Og -g -D_GLIBCXX_ASSERTIONS -Wall -Werror=pointer-arith -Werror=vla -Wextra -Wno-long-long -Wno-declaration-after-statement -Wc++-compat -Wwrite-strings -fPIC caretx.c
In function 'dynprep',
    inlined from 'S_sortsv_flags_impl' at pp_sort.c:354:20,
    inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:568:5:
pp_sort.c:1224:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
 1224 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
      | ^~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4_debug-20220703-140222

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
Python 3.10.5
php cli:

  HEAD of ::gentoo
commit bc66a36a8d3ee0b9409b766e09e1a16df89a781f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 3 14:01:46 2022 +0000

    2022-07-03 14:01:46 UTC

emerge -qpvO dev-lang/perl
[ebuild     U ] dev-lang/perl-5.36.0 [5.34.1-r3] USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath"
Comment 1 Toralf Förster gentoo-dev 2022-07-03 15:13:23 UTC
Created attachment 789914 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-03 15:13:24 UTC
Created attachment 789917 [details]
dev-lang:perl-5.36.0:20220703-144927.log
Comment 3 Toralf Förster gentoo-dev 2022-07-03 15:13:25 UTC
Created attachment 789920 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-07-03 15:13:26 UTC
Created attachment 789923 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-03 15:13:28 UTC
Created attachment 789926 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-03 15:13:29 UTC
Created attachment 789929 [details]
temp.tar.bz2
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2022-12-10 22:35:16 UTC
Can you reproduce this with more recent gcc-12 ?
Comment 8 Toralf Förster gentoo-dev 2022-12-12 10:37:58 UTC
(In reply to Andreas K. Hüttel from comment #7)
> Can you reproduce this with more recent gcc-12 ?

no