1 |
>Dear friends, I am updating the gentoo mip-n32 system on my Yeeloong |
2 |
>netbook. During updating of the @world, it began to update the gcc |
3 |
>12.1.1 from gcc 11.3.0 which is also the one doing the compilation. And |
4 |
>after a long-time compilation, it stops with error messages: " ...... |
5 |
|
6 |
Hmm. 1G ram and 1G swap is not much memory for building gcc. |
7 |
You could check dmesg and syslog for out-of memory kill messages occurring |
8 |
during your builds. |
9 |
|
10 |
It would be easy to try again specifying MAKEOPTS="-j1". Also make |
11 |
sure that you have no unnecesary other processes running during the build - |
12 |
especially memory hogs like a web browser. |
13 |
|
14 |
You could add swap, but if you are doing much swapping it will be intolerably |
15 |
slow. |
16 |
|
17 |
I would also arrange for some extra cooling of the laptop just in the load is |
18 |
causing overheating. |
19 |
|
20 |
DaveF |
21 |
|
22 |
> |
23 |
> |
24 |
>rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod |
25 |
>gpl.pod cpp.pod gcov.pod lto-dump.pod make[2]: *** [Makefile:5000: |
26 |
>all-stage2-gcc] Error 2 make[1]: *** [Makefile:22474: stage2-bubble] |
27 |
>Error 2 make: *** [Makefile:22697: bootstrap-lean] Error 2 * ERROR: |
28 |
>sys-devel/gcc-12.1.1_p20220625::gentoo failed (compile phase): * emake |
29 |
>failed * * If you need support, post the output of `emerge --info |
30 |
>'=sys-devel/gcc-12.1.1_p20220625::gentoo'`, * the complete build log and |
31 |
>the output of `emerge -pqv '=sys-devel/gcc-12.1.1_p20220625::gentoo'`. |
32 |
>* The complete build log is located at |
33 |
>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log'. |
34 |
>* The ebuild environment file is located at |
35 |
>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/environment'. |
36 |
>* Working directory: |
37 |
>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/build' * S: |
38 |
>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625' |
39 |
>* Please include |
40 |
>/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-build-logs.tar. |
41 |
>bz2 in your bug report. * |
42 |
> |
43 |
> |
44 |
>>>> Failed to emerge sys-devel/gcc-12.1.1_p20220625, Log file: |
45 |
> |
46 |
> |
47 |
>>>> '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log' " I |
48 |
>also tried to emerge 11.3.1, but it still stoped at the compile stage. |
49 |
>But I forgot to save the enviroment. |
50 |
> |
51 |
> |
52 |
>Any help? The necessary log files are attached. Thanks. |
53 |
>>> application/x-gzip attachment, name=buildlogs-12.1.1.tar.gz |
54 |
>>> application/x-gzip attachment, name=buildlogs-11.3.1.tar.gz |