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

Bug 921621

Summary: sys-devel/gcc-14.0.0_pre20240107 - {standard input}:175: Error: unrecognized opcode: `lfiwzx'
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: UNCONFIRMED ---    
Severity: normal CC: csfore
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113652
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 914580    
Attachments: build.log.xz
emerge --info

Description ernsteiswuerfel archtester 2024-01-09 00:45:41 UTC
gcc-14.0.0_pre20240107 builds ok with -mcpu=powerpc but fails to build with -mcpu=7450:

[...]
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build/./gcc/ -B/usr/powerpc-unknown-linux-gnu/bin/ -B/usr/powerpc-unknown-linux-gnu/lib/ -isystem /usr/powerpc-unknown-linux-gnu/include -isystem /usr/powerpc-unknown-linux-gnu/sys-include   -fno-checking -g -mcpu=7450 -mtune=7450 -pipe -O2 -O2  -g -mcpu=7450 -mtune=7450 -pipe -O2 -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fno-stack-clash-protection  -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/. -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/../gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/../include -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/../libdecnumber/dpd -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/../libdecnumber -DHAVE_CC_TLS  -Wno-type-limits -mvsx -mfloat128 -mno-float128-hardware -mno-gnu-attribute -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/soft-fp -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/config/rs6000  -mno-gnu-attribute -Wno-psabi -mabi=ieeelongdouble  -o _kf_to_sd.o -MT _kf_to_sd.o -MD -MP -MF _kf_to_sd.dep  -c /var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/config/rs6000/_kf_to_sd.c -fvisibility=hidden -DHIDE_EXPORTS
{standard input}: Assembler messages:
{standard input}:175: Error: unrecognized opcode: `lfiwzx'
make[3]: *** [/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/libgcc/shared-object.mk:14: _kf_to_sd.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build/powerpc-unknown-linux-gnu/libgcc'
make[2]: *** [Makefile:18724: all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build'
make[1]: *** [Makefile:24625: stage1-bubble] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build'
make: *** [Makefile:24957: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-14.0.0_pre20240107::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2024-01-09 00:47:09 UTC
Created attachment 881691 [details]
build.log.xz
Comment 2 ernsteiswuerfel archtester 2024-01-09 00:47:31 UTC
Created attachment 881692 [details]
emerge --info