Bug 196818 - [GTK] LTO warnings
Summary: [GTK] LTO warnings
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Local Build
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2019-04-11 06:39 PDT by Дилян Палаузов
Modified: 2019-04-11 06:39 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Дилян Палаузов 2019-04-11 06:39:54 PDT
Linking 2.24.1 - libjavascriptcoregtk-4.0.so with gcc 8.3.1 20190331 reports:

/src/gnome/webkitgtk-2.24.1/Source/JavaScriptCore/runtime/VMTraps.cpp:57: warning: type ‘struct SignalContext’ violates the C++
 One Definition Rule [-Wodr]
 struct SignalContext {
 
/src/gnome/webkitgtk-2.24.1/Source/JavaScriptCore/tools/SigillCrashAnalyzer.cpp:179: note: a different type is defined in anoth
er translation unit
 struct SignalContext {
 
/src/gnome/webkitgtk-2.24.1/Source/JavaScriptCore/runtime/VMTraps.cpp:75: note: the first difference of corresponding definitio
ns is field ‘registers’
     PlatformRegisters& registers;
 
/src/gnome/webkitgtk-2.24.1/Source/JavaScriptCore/tools/SigillCrashAnalyzer.cpp:184: note: a field with different name is defined in another translation unit
     MacroAssemblerCodePtr<PlatformRegistersPCPtrTag> machinePC;