This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Oct 2011 07:39:43 +0000
- Subject: [Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO
- Auto-submitted: auto-generated
- References: <bug-45375-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #117 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-11 07:39:43 UTC ---
"-flto=4 -fno-fat-lto-objects -fprofile-use -fprofile-correction" breaks
at js/src/xpconnect/src/dombindings.cpp:
...
In file included from
/var/tmp/mozilla-central/js/src/xpconnect/src/dombindings.cpp:1109:0:
./dombindings_gen.cpp: In function
âmozilla::dom::binding::HTMLOptionsCollection_Add(JSContext*, unsigned int,
JS::Value*)â:
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL25HTMLOptionsCollection_AddEP9JSContextjPN2JS5ValueEâ
does not match its profile data (counter âarcsâ) [-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL25HTMLOptionsCollection_AddEP9JSContextjPN2JS5ValueEâ
does not match its profile data (counter âindirect_callâ)
[-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp: In function
âmozilla::dom::binding::HTMLOptionsCollection_SetSelectedIndex(JSContext*,
JSObject*, long, int, JS::Value*)â:
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL38HTMLOptionsCollection_SetSelectedIndexEP9JSContextP8JSObjectliPN2JS5ValueEâ
does not match its profile data (counter âarcsâ) [-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL38HTMLOptionsCollection_SetSelectedIndexEP9JSContextP8JSObjectliPN2JS5ValueEâ
does not match its profile data (counter âindirect_callâ)
[-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp: In function
âmozilla::dom::binding::HTMLOptionsCollection_GetSelectedIndex(JSContext*,
JSObject*, long, JS::Value*)â:
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL38HTMLOptionsCollection_GetSelectedIndexEP9JSContextP8JSObjectlPN2JS5ValueEâ
does not match its profile data (counter âarcsâ) [-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL38HTMLOptionsCollection_GetSelectedIndexEP9JSContextP8JSObjectlPN2JS5ValueEâ
does not match its profile data (counter âindirect_callâ)
[-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp: In function
âmozilla::dom::binding::HTMLOptionsCollection_Item(JSContext*, unsigned int,
JS::Value*)â:
./dombindings_gen.cpp:546:1: warning: no coverage for function
â_ZN7mozilla3dom7bindingL26HTMLOptionsCollection_ItemEP9JSContextjPN2JS5ValueEâ
found [enabled by default]
./dombindings_gen.cpp:546:1: warning: no coverage for function
â_ZN7mozilla3dom7bindingL26HTMLOptionsCollection_ItemEP9JSContextjPN2JS5ValueEâ
found [enabled by default]
./dombindings_gen.cpp: In member function ânsCOMPtr<nsIDOMNode>::~nsCOMPtr()â:
./dombindings_gen.cpp:546:1: warning: no coverage for function
â_ZN8nsCOMPtrI10nsIDOMNodeED2Evâ found [enabled by default]
./dombindings_gen.cpp: In function
âmozilla::dom::binding::HTMLOptionsCollection_NamedItem(JSContext*, unsigned
int, JS::Value*)â:
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL31HTMLOptionsCollection_NamedItemEP9JSContextjPN2JS5ValueEâ
does not match its profile data (counter âarcsâ) [-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
./dombindings_gen.cpp:546:1: error: The control flow of function
â_ZN7mozilla3dom7bindingL31HTMLOptionsCollection_NamedItemEP9JSContextjPN2JS5ValueEâ
does not match its profile data (counter âindirect_callâ)
[-Werror=coverage-mismatch]
./dombindings_gen.cpp:546:1: note: Use -Wno-error=coverage-mismatch to tolerate
the mismatch but performance may drop if the function is hot
cc1plus: some warnings being treated as errors