1 |
Thank you very much! I will give it a try. |
2 |
|
3 |
|
4 |
At 2022-07-30 02:29:14, "Laurence Perkins" <lperkins@×××××××.net> wrote: |
5 |
>Turning on zswap or, better yet, setting up a zram swap with a file to back it helps quite a bit on swapping since a lot of the data in question is highly compressible. |
6 |
> |
7 |
>Additionally, disable the "pipe" compiler option in make.conf so that it writes intermediate files out to disk instead of trying to keep them in memory. |
8 |
> |
9 |
>And finally, if you have a more powerful machine sitting around, look into distcc and/or setting up a binhost. You'll be much happier in the long-run. |
10 |
> |
11 |
>LMP |
12 |
> |
13 |
>-----Original Message----- |
14 |
>From: David M. Fellows <dmf@××××××××××××××.ca> |
15 |
>Sent: Friday, July 29, 2022 7:50 AM |
16 |
>To: gentoo-user@l.g.o; johnstrass <johnstrass@×××.com> |
17 |
>Subject: Re: [gentoo-user] gcc 12.1.1 compile error on loongson2f Yeeloong |
18 |
> |
19 |
>>Dear friends, I am updating the gentoo mip-n32 system on my Yeeloong |
20 |
>>netbook. During updating of the @world, it began to update the gcc |
21 |
>>12.1.1 from gcc 11.3.0 which is also the one doing the compilation. And |
22 |
>>after a long-time compilation, it stops with error messages: " ...... |
23 |
> |
24 |
>Hmm. 1G ram and 1G swap is not much memory for building gcc. |
25 |
>You could check dmesg and syslog for out-of memory kill messages occurring during your builds. |
26 |
> |
27 |
>It would be easy to try again specifying MAKEOPTS="-j1". Also make sure that you have no unnecesary other processes running during the build - especially memory hogs like a web browser. |
28 |
> |
29 |
>You could add swap, but if you are doing much swapping it will be intolerably slow. |
30 |
> |
31 |
>I would also arrange for some extra cooling of the laptop just in the load is causing overheating. |
32 |
> |
33 |
>DaveF |
34 |
> |
35 |
>> |
36 |
>> |
37 |
>>rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod |
38 |
>>cpp.pod gcov.pod lto-dump.pod make[2]: *** [Makefile:5000: |
39 |
>>all-stage2-gcc] Error 2 make[1]: *** [Makefile:22474: stage2-bubble] |
40 |
>>Error 2 make: *** [Makefile:22697: bootstrap-lean] Error 2 * ERROR: |
41 |
>>sys-devel/gcc-12.1.1_p20220625::gentoo failed (compile phase): * emake |
42 |
>>failed * * If you need support, post the output of `emerge --info |
43 |
>>'=sys-devel/gcc-12.1.1_p20220625::gentoo'`, * the complete build log |
44 |
>>and the output of `emerge -pqv '=sys-devel/gcc-12.1.1_p20220625::gentoo'`. |
45 |
>>* The complete build log is located at |
46 |
>>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log'. |
47 |
>>* The ebuild environment file is located at |
48 |
>>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/environment'. |
49 |
>>* Working directory: |
50 |
>>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/build' * S: |
51 |
>>'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625' |
52 |
>>* Please include |
53 |
>>/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-build-logs.tar. |
54 |
>>bz2 in your bug report. * |
55 |
>> |
56 |
>> |
57 |
>>>>> Failed to emerge sys-devel/gcc-12.1.1_p20220625, Log file: |
58 |
>> |
59 |
>> |
60 |
>>>>> '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log' " |
61 |
>>>>> I |
62 |
>>also tried to emerge 11.3.1, but it still stoped at the compile stage. |
63 |
>>But I forgot to save the enviroment. |
64 |
>> |
65 |
>> |
66 |
>>Any help? The necessary log files are attached. Thanks. |
67 |
>>>> application/x-gzip attachment, name=buildlogs-12.1.1.tar.gz |
68 |
>>>> application/x-gzip attachment, name=buildlogs-11.3.1.tar.gz |
69 |
> |