Summary: | app-arch/xz-utils-5.6.2-r1[pgo] - In function 'hc_find_func': .../work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c:743:1: error: corrupted profile info: profile data is not flow-consistent | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | erhard_f, sam, toolchain |
Priority: | Normal | Keywords: | REGRESSION |
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=945161 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log (ppc, 5.6.2-r1)
emerge --info |
Created attachment 896128 [details]
emerge --info
I think this has to be a GCC bug. Can you try different GCC versions for me? (In reply to Sam James from comment #2) > I think this has to be a GCC bug. Can you try different GCC versions for me? Luckily the most recent GCC gets the job done. ;) gcc-11.4.1_p20240111 ... fails with +pgo gcc-13.3.1_p20240614 ... fails with +pgo gcc-14.1.1_p20240622 ... BUILDS OK with +pgo Any other versions I should try? Re-tested with all current GCC versions: gcc-11.5.0 ... fails with +pgo gcc-12.4.1_p20241114 ... fails with +pgo gcc-13.3.1_p20241115 ... fails with +pgo gcc-14.2.1_p20241116 ... BUILDS OK with +pgo |
Created attachment 896127 [details] build.log (ppc, 5.6.2-r1) 5.4.2[pgo] builds fine on ppc but 5.6.2-r1[pgo] fails: [...] libtool: compile: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma -I../.. -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/api -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/common -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/check -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/rangecoder -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lzma -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/delta -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/simple -I/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/common -DTUKLIB_SYMBOL_PREFIX=lzma_ -pthread -fvisibility=hidden -Wall -Wextra -Wvla -Wformat=2 -Winit-self -Wmissing-include-dirs -Wshift-overflow=2 -Wstrict-overflow=3 -Walloc-zero -Wduplicated-cond -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wdate-time -Wsign-conversion -Wfloat-conversion -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fprofile-use=/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/temp/ppc-pgo -fprofile-dir=/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/temp/ppc-pgo -fprofile-partial-training -c /var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c -fPIC -DPIC -o .libs/liblzma_la-lz_encoder_mf.o /var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c: In function 'hc_find_func': /var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c:743:1: error: corrupted profile info: profile data is not flow-consistent 743 | } | ^ /var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c:743:1: error: corrupted profile info: number of executions for edge 10-18 thought to be 2511326 /var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2/src/liblzma/lz/lz_encoder_mf.c:743:1: error: corrupted profile info: number of executions for edge 10-3 thought to be -111978 make[4]: *** [Makefile:1533: liblzma_la-lz_encoder_mf.lo] Error 1 make[4]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2-.ppc/src/liblzma' make[3]: *** [Makefile:1758: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2-.ppc/src/liblzma' make[2]: *** [Makefile:427: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2-.ppc/src' make[1]: *** [Makefile:596: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-arch/xz-utils-5.6.2-r1/work/xz-5.6.2-.ppc' make: *** [Makefile:486: all] Error 2 * ERROR: app-arch/xz-utils-5.6.2-r1::gentoo failed (compile phase): * emake failed Without pgo 5.6.2-r1 builds fine on ppc. Also 5.6.2-r1[pgo] builds fine on ppc64. So this is probably a ppc (32bit?) specific issue?