Open Bug 1615657 Opened 6 years ago Updated 3 years ago

Build failure enabling DMD on android

Categories

(Core :: DMD, defect, P3)

75 Branch
Unspecified
Android
defect

Tracking

()

Tracking Status
firefox75 --- affected

People

(Reporter: ktaeleman, Unassigned)

Details

Attachments

(1 file)

When adding
ac_add_options --enable-dmd
on android, the following build error occurs:

 0:03.26 memory/replace/logalloc/replay
 0:03.29 mozglue/misc
 0:03.83 In file included from Unified_cpp_logalloc_replay0.cpp:20:
 0:03.83 /home/ktaeleman/code/work1/mozglue/misc/StackWalk.cpp:18:12: fatal error: 'Linker.h' file not found
 0:03.83 #  include "Linker.h"

Fixing the include error by using .../linker/Linker.h causes missing symbol from Elfloader.cpp, indicating that it is not being linked in as well.

After working around it by forcing memory/replace/logalloc/replay to link mozglue, instructions also mention copying libdmd.so to device which can't be found in object folders.

Glandium's probably your best bet for understanding what is going wrong here.

Flags: needinfo?(mh+mozilla)

Added a quick hacky patch for reference that got me around build and runtime issues with DMD.

Priority: -- → P3
Severity: normal → S3
Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: