Bug 196818
| Summary: | [GTK] LTO warnings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Дилян Палаузов <dpa-webkit> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | Keywords: | Gtk |
| Priority: | P3 | ||
| Version: | WebKit Local Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Дилян Палаузов
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;
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |