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)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: jonco, Assigned: jonco)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

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.
Blocks: 887836
Blocks: 764882
Attached patch bug951230-ggc-browser-link-error (obsolete) — Splinter Review
Patch to link this testcode against the JS engine.
Assignee: nobody → jcoppeard
Attachment #8355226 - Flags: review?(mh+mozilla)
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-
Thanks, patch updated.
Attachment #8355226 - Attachment is obsolete: true
Attachment #8356559 - Flags: review?(mh+mozilla)
Attachment #8356559 - Flags: review?(mh+mozilla) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: