Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843218 - sys-devel/gcc: ICE when building dev-lang/php-8.0.16-r1 apprentice.c
Summary: sys-devel/gcc: ICE when building dev-lang/php-8.0.16-r1 apprentice.c
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-07 23:58 UTC by Rick Harris
Modified: 2022-05-11 01:48 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,272.40 KB, text/plain)
2022-05-07 23:58 UTC, Rick Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2022-05-07 23:58:24 UTC
Created attachment 777338 [details]
build.log

Reliably reproduces with stable gcc-10 and gcc-11:

/var/tmp/portage/dev-lang/php-8.0.16-r1/work/sapis-build/cli/ext/fileinfo/libmagic/apprentice.c:190:1: internal compiler error: Segmentation fault
  190 | struct type_tbl_s {
      | ^~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make: *** [Makefile:664: ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-lang/php-8.0.16-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-08 00:00:40 UTC
Internal compiler errors (ICEs) are always compiler bugs, not package bugs.

Please do a memtest first (ICEs are often the result of bad memory). If that passes, please proceed to following https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide. We can help as needed.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-08 00:01:09 UTC
(please also include emerge --info)