Closed Bug 1834921 Opened 1 year ago Closed 7 months ago

ipc/glue/GeckoChildProcessHost.cpp:378:8: error: expected value in expression

Categories

(Core :: IPC, defect)

Unspecified
iOS
defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Building with --target=aarch64-apple-ios fails with (among many other things):

 1:05.37 /tmp/gecko/ipc/glue/GeckoChildProcessHost.cpp:378:8: error: expected value in expression
 1:05.37 #  elif
 1:05.37        ^

The real intent here is actually to hit the #error on the line that follows: # error "Unknown platform"

The code for mach port-based process launcher is bound to a mix of XP_MACOSX and MOZ_WIDGET_COCOA. Some if not all of it could probably be behind XP_DARWIN.

Group: mozilla-employee-confidential

The severity field is not set for this bug.
:jld, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jld)

The “fix” here is just s/elif/else/, so that we break the build intentionally as expected, instead of accidentally. I'm not sure if this bug is meant to cover just that or the larger task of making this code build on iOS.

Severity: -- → S2
Flags: needinfo?(jld)

The latter. But fixing the former would be nice (possibly in a separate bug)

Note that the cedar branch has a patch for this.

Severity: S2 → S4
Assignee: nobody → mh+mozilla
Group: mozilla-employee-confidential
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9fc878e1562c Add a stub ProcessLauncher for iOS. r=ipc-reviewers,nika
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: