Closed
Bug 951230
Opened 12 years ago
Closed 12 years ago
toolkit/components/places fails to link with generational GC enabled
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jonco, Assigned: jonco)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
|
699 bytes,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
Attempting to build the browser with generational GC enabled gives the following error:
../../../../../dist/include/js/RootingAPI.h:646: error: undefined reference to 'JS::HeapCellRelocate(js::gc::Cell**)'
../../../../../dist/include/js/RootingAPI.h:643: error: undefined reference to 'JS::HeapCellPostBarrier(js::gc::Cell**)'
collect2: error: ld returned 1 exit status
make[6]: *** [test_IHistory] Error 1
make[5]: *** [toolkit/components/places/tests/cpp/binaries] Error 2
This is very similar to bug 942928.
I traced this down to the fix for bug 887836. This makes URLSearchParams derive from nsWrapperCache, which adds a dependecy on the JS engine. This has caused test_IHistory to fail to link.
| Assignee | ||
Comment 1•12 years ago
|
||
Patch to link this testcode against the JS engine.
Assignee: nobody → jcoppeard
Attachment #8355226 -
Flags: review?(mh+mozilla)
Comment 2•12 years ago
|
||
Comment on attachment 8355226 [details] [diff] [review]
bug951230-ggc-browser-link-error
Review of attachment 8355226 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/places/tests/cpp/Makefile.in
@@ +3,5 @@
> +# You can obtain one at http://mozilla.org/MPL/2.0/. */
> +
> +LIBS += \
> + $(MOZ_JS_LIBS) \
> + $(MOZ_ZLIB_LIBS)
You need a ifndef ZLIB_IN_MOZGLUE
Attachment #8355226 -
Flags: review?(mh+mozilla) → feedback-
| Assignee | ||
Comment 3•12 years ago
|
||
Thanks, patch updated.
Attachment #8355226 -
Attachment is obsolete: true
Attachment #8356559 -
Flags: review?(mh+mozilla)
Updated•12 years ago
|
Attachment #8356559 -
Flags: review?(mh+mozilla) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•