Open
Bug 1516758
Opened 6 years ago
Updated 2 years ago
-Wodr: C++ One Definition Rule violations in Firefox
Categories
(Firefox Build System :: General: Unsupported Platforms, defect, P5)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: jh, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
I built Firefox with GCC 8 and LTO
Actual results:
I got warnings about ODR vilations
Expected results:
There should be no warnigs
Comment 1•6 years ago
|
||
Here is the kind of warnings:
/aux/hubicka/firefox-2018/release/security/ct/CTLogVerifier.h:29:7: warning: type ‘struct CTLogVerifier’ violates the C++ One Definition Rule [-Wodr]
Summary: C++ One Definition Rule violations in Firefox → -Wodr: C++ One Definition Rule violations in Firefox
Updated•6 years ago
|
Component: Untriaged → General: Unsupported Platforms
Product: Firefox → Firefox Build System
Reporter | ||
Comment 2•6 years ago
|
||
Note that the log I attached is produced by GCC9 where I made the warning hopefully more understandable. Some of issues are easy to fix because they are caused by misplaced forward declarations that should be in proper name-space. I will try to get around preparing patch for them.
Updated•6 years ago
|
Updated•6 years ago
|
Priority: -- → P5
Comment 3•5 years ago
|
||
Hi! I am new here, how can I do to build Firefox with GCC 8 and LTO to replicate the warning?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•