Closed Bug 607944 Opened 14 years ago Closed 14 years ago

Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)

Categories

(Core :: XPCOM, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: timeless)

References

Details

Attachments

(1 file, 3 obsolete files)

Canary fails to build with --disable-debug --disable-ipc. /usr/bin/ld.gold.real: ../threads/libxpcomthreads_s.a(nsThread.o): in function nsThread::ProcessNextEvent(int, int*):nsThread.cpp(.text+0x643): error: undefined reference to 'XRE_GetProcessType'
Attached patch my workaround (obsolete) — Splinter Review
It's probably more related to --disable-libxul than --disable-ipc These mozconfig options should reproduce it: ac_add_options --disable-ipc ac_add_options --disable-libxul ac_add_options --enable-shared-js ac_add_options --enable-chrome-format=symlink ac_add_options --disable-debug ac_add_options --enable-optimize
Attached patch another patch (obsolete) — Splinter Review
Attachment #486605 - Flags: review?(jones.chris.g)
Comment on attachment 486605 [details] [diff] [review] another patch I like Mats's approach better. Let's do something like static bool EventLatencyIsImportant() { return NS_IsMainThread() #ifdef MOZ_IPC && ProcessType() == Default then check EventLatencyIsImportant() in the ctor and dtor.
Attachment #486605 - Flags: review?(jones.chris.g)
> It's probably more related to --disable-libxul than --disable-ipc Confirmed.
Summary: Canary fails to build with --disable-debug --disable-ipc (missing symbol XRE_GetProcessType) → Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
Attached patch per cjones (obsolete) — Splinter Review
Assignee: nobody → timeless
Attachment #486603 - Attachment is obsolete: true
Attachment #486605 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #497128 - Flags: review?(jones.chris.g)
Attached patch qrefreshed...Splinter Review
Attachment #497128 - Attachment is obsolete: true
Attachment #497130 - Flags: review?(jones.chris.g)
Attachment #497130 - Flags: approval2.0?
Attachment #497128 - Flags: review?(jones.chris.g)
Attachment #497130 - Flags: review?(jones.chris.g) → review+
Attachment #497130 - Flags: approval2.0? → approval2.0+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: