Closed
Bug 1160253
Opened 9 years ago
Closed 4 years ago
Use mozPoisonValue in GuardObjectNotifier
Categories
(Core :: MFBT, task)
Core
MFBT
Tracking
()
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
firefox40 | --- | affected |
People
(Reporter: erahm, Assigned: erahm)
References
Details
Attachments
(1 file)
1.29 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1145056 +++ As a follow up to bug 1145056 it would be nice to properly use |mozPoisonValue| [1] in GuardObjectNotifier [2] rather than #defining |MOZ_POISON|. This cannot be done until we fix build errors related to how mfbt is linked (or not) for various targets on various platforms. I will file blocking bugs for each identified build issue. [1] https://hg.mozilla.org/mozilla-central/annotate/4b9b12c248dc/mfbt/Poison.h#l27 [2] https://hg.mozilla.org/mozilla-central/annotate/4b9b12c248dc/mfbt/GuardObjects.h#l71
Assignee | ||
Comment 1•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=afeb15d94e60
Assignee | ||
Comment 2•9 years ago
|
||
W/ poison.cpp added to DMD: https://treeherder.mozilla.org/#/jobs?repo=try&revision=75a9fd14670e There still seem to be mozglue related linking failures on Windows and Android. Windows: > LINK : fatal error LNK1194: cannot delay-load 'mozglue.dll' due to import of data symbol '__imp__gMozillaPoisonValue'; link without /DELAYLOAD:mozglue.dll Android: > /builds/slave/try-and-api-9-d-00000000000000/build/src/mozglue/linker/ElfLoader.cpp:845: error: undefined reference to 'gMozillaPoisonValue' > ../../dist/include/mozilla/GuardObjects.h:98: error: undefined reference to 'gMozillaPoisonValue' > /builds/slave/try-and-api-9-d-00000000000000/build/src/mozglue/linker/Zip.cpp:42: error: undefined reference to 'gMozillaPoisonValue'
Assignee | ||
Comment 3•9 years ago
|
||
glandium suggested that if we only using |mozPoisonValue| in libxul builds we can avoid the build failures. This seems good enough to me.
Assignee | ||
Comment 4•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b44bfd55bdb
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8685221 -
Flags: review?(nfroyd)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Updated•9 years ago
|
Attachment #8685221 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Eric Rahm [:erahm] from comment #6) > (See comment 4) Oh right, we need to land bug 1160272 first.
Keywords: checkin-needed
Updated•4 years ago
|
Type: defect → task
Assignee | ||
Comment 8•4 years ago
|
||
Nathan's removing GuardObjectNotifier usage in bug 1223932, I'm going to abandon this.
Assignee | ||
Updated•4 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•