Gentoo Archives: gentoo-user

From: johnstrass <johnstrass@×××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gcc 12.1.1 compile error on loongson2f Yeeloong
Date: Fri, 29 Jul 2022 12:58:20
Message-Id: 7450043b.5e3e.1824a08eca5.Coremail.johnstrass@163.com
1 Dear friends,
2 I am updating the gentoo mip-n32 system on my Yeeloong netbook. During updating of the @world, it began to update the gcc 12.1.1 from gcc 11.3.0 which is also the one doing the compilation. And after a long-time compilation, it stops with error messages:
3 "
4 ......
5
6
7 rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod
8 make[2]: *** [Makefile:5000: all-stage2-gcc] Error 2
9 make[1]: *** [Makefile:22474: stage2-bubble] Error 2
10 make: *** [Makefile:22697: bootstrap-lean] Error 2
11 * ERROR: sys-devel/gcc-12.1.1_p20220625::gentoo failed (compile phase):
12 * emake failed
13 *
14 * If you need support, post the output of `emerge --info '=sys-devel/gcc-12.1.1_p20220625::gentoo'`,
15 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-12.1.1_p20220625::gentoo'`.
16 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log'.
17 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/environment'.
18 * Working directory: '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/build'
19 * S: '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625'
20 * Please include /var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-build-logs.tar.bz2 in your bug report.
21 *
22
23
24 >>> Failed to emerge sys-devel/gcc-12.1.1_p20220625, Log file:
25
26
27 >>> '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log'
28 "
29 I also tried to emerge 11.3.1, but it still stoped at the compile stage. But I forgot to save the enviroment.
30
31
32 Any help? The necessary log files are attached. Thanks.

Attachments

File name MIME type
buildlogs-12.1.1.tar.gz application/x-gzip
buildlogs-11.3.1.tar.gz application/x-gzip

Replies

Subject Author
Re: [gentoo-user] gcc 12.1.1 compile error on loongson2f Yeeloong "David M. Fellows" <dmf@××××××××××××××.ca>