Gentoo Archives: gentoo-user

From: bobwxc <bobwxc@××.com>
To: gentoo-user@l.g.o
Cc: confabulate@××××××××.com
Subject: Re: Re: [gentoo-user] meet compile error when install firefox-78.5.0
Date: Mon, 30 Nov 2020 09:24:57
Message-Id: 2e16f291.136d1.17618775643.Coremail.bobwxc@88.com
In Reply to: Re: [gentoo-user] meet compile error when install firefox-78.5.0 by Michael
1 I searched the build.log and find out the 2 errors, hope usefull : )
2
3
4
5
6 102:54.55 /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/nsTArray.h:2780:7: required from 'CopyableTArr
7
8 ay<E>& CopyableTArray<E>::operator=(const CopyableTArray<E>&) [with E = mozilla::dom::workerinternals::JSSettings::JSGCSetting]'
9
10 8102:54.55 /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/mozilla/dom/workerinternals/JSSettings.h:26:8:
11
12 required from here
13
14 102:54.55 /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/nsTArray.h:645:13: warning: 'void* memcpy(void*,
15
16 const void*, size_t)' writing to an object of non-trivially copyable type 'struct mozilla::dom::workerinternals::JSSettings::JSGCSett
17
18 ing'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
19
20 102:54.55 645 | memcpy(aElements + aStart, aValues, aCount * sizeof(ElemType));
21
22 102:54.55 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23
24 102:54.55 In file included from /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/mozilla/dom/WorkerPrivate.
25
26 h:35,
27
28 102:54.55 from /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/mozilla/dom/WorkerLocation
29
30 .h:11,
31
32 102:54.55 from WorkerGlobalScopeBinding.cpp:25,
33
34 102:54.55 from UnifiedBindings23.cpp:327:
35
36 102:54.55 /var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/include/mozilla/dom/workerinternals/JSSettings.h:27:10:
37
38 note: 'struct mozilla::dom::workerinternals::JSSettings::JSGCSetting' declared here
39
40 102:54.55 27 | struct JSGCSetting {
41
42 102:54.55 | ^~~~~~~~~~~
43
44 102:54.55 x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
45
46 102:54.55 compilation terminated.
47
48 102:54.55 gmake[4]: *** [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/rules.mk:748: UnifiedBindings23.o] Err
49
50 or 1
51
52 102:54.56 gmake[4]: *** Deleting file 'UnifiedBindings23.o'
53
54 102:54.62 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dom/bindings'
55
56 102:54.62 gmake[3]: *** [/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0/config/recurse.mk:74: dom/bindings/target-obj
57
58 ects] Error 2
59
60 102:54.62 gmake[3]: *** Waiting for unfinished jobs....
61
62 102:55.30 dom/events/Unified_cpp_dom_events2.o
63
64 102:55.59 /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -std=gnu++17 -o Unified_cpp_dom_events1.o -c -I/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-78.5.0/work/firefox_build/dist/system_wrappers :
65
66
67
68 > ------------------ 原始邮件 ------------------
69 > 发 件 人:Michael <confabulate@××××××××.com>
70 > 发送时间:2020-11-30 17:00:17
71 > 收 件 人:gentoo-user@l.g.o
72 > 抄 送:
73 > 主 题:Re: [gentoo-user] meet compile error when install firefox-78.5.0
74 >
75 > On Monday, 30 November 2020 05:14:06 GMT bobwxc wrote:
76 > > Hi all,
77 > >
78 > > I meet a error when install firefox-78.5.0
79 >
80 > A page or two above "Error 2" you included in your terminal output, emerge
81 > will have also printed the first error it encountered in compiling Firefox.
82 > Can you share that?
83 >

Replies

Subject Author
Re: [gentoo-user] meet compile error when install firefox-78.5.0 Michael <confabulate@××××××××.com>