Closed
Bug 1031751
Opened 10 years ago
Closed 10 years ago
Dolphin build (mozilla-b2g30_v1_4) fails to load gps.default.so
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
WORKSFORME
blocking-b2g | 1.4+ |
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | unaffected |
b2g-v1.3T | --- | unaffected |
b2g-v1.4 | --- | unaffected |
b2g-v2.0 | --- | unaffected |
b2g-v2.1 | --- | unaffected |
People
(Reporter: dougt, Assigned: dougt)
References
Details
E/HAL ( 307): load: module=/system/lib/hw/gps.default.so E/HAL ( 307): dlopen failed: could not load library "libandroid_runtime.so" needed by "gps.default.so"; caused by library "libandroid_runtime.so" not found
Assignee | ||
Comment 2•10 years ago
|
||
This needs to be figured out or the gps hw will not work.
blocking-b2g: --- → 1.4+
Comment 3•10 years ago
|
||
I find that b2g/device/t2m/flame/extract-files.sh doesn't extract libandroid_runtime.so, however, it is included in the base image. % readelf -d gps.default.so Dynamic section at offset 0x4e1c contains 31 entries: Tag Type Name/Value 0x00000003 (PLTGOT) 0x5f60 0x00000002 (PLTRELSZ) 296 (bytes) 0x00000017 (JMPREL) 0xb68 0x00000014 (PLTREL) REL 0x00000011 (REL) 0xa28 0x00000012 (RELSZ) 320 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffa (RELCOUNT) 31 0x00000006 (SYMTAB) 0x148 0x0000000b (SYMENT) 16 (bytes) 0x00000005 (STRTAB) 0x4c8 0x0000000a (STRSZ) 993 (bytes) 0x00000004 (HASH) 0x8ac 0x00000001 (NEEDED) Shared library: [libutils.so] 0x00000001 (NEEDED) Shared library: [libcutils.so] 0x00000001 (NEEDED) Shared library: [liblog.so] 0x00000001 (NEEDED) Shared library: [libloc_eng.so] 0x00000001 (NEEDED) Shared library: [libloc_core.so] 0x00000001 (NEEDED) Shared library: [libgps.utils.so] 0x00000001 (NEEDED) Shared library: [libdl.so] 0x00000001 (NEEDED) Shared library: [libandroid_runtime.so] 0x00000001 (NEEDED) Shared library: [libc.so] 0x00000001 (NEEDED) Shared library: [libstdc++.so] 0x00000001 (NEEDED) Shared library: [libm.so] 0x0000000e (SONAME) Library soname: [gps.default.so] 0x0000001a (FINI_ARRAY) 0x5e18 0x0000001c (FINI_ARRAYSZ) 4 (bytes) 0x00000010 (SYMBOLIC) 0x0 0x0000001e (FLAGS) SYMBOLIC BIND_NOW 0x6ffffffb (FLAGS_1) Flags: NOW 0x00000000 (NULL) 0x0 We probably need to add libandroid_runtime.so to extract-files.sh or remove the dependency of it from gps.default.so
Updated•10 years ago
|
status-b2g-v1.3:
--- → unaffected
status-b2g-v1.3T:
--- → unaffected
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → ?
Summary: Dolphin build (mozilla-b2g30_v1_4) fals to load gps.default.so → Dolphin build (mozilla-b2g30_v1_4) fails to load gps.default.so
Comment 4•10 years ago
|
||
This bug probably only affects SPRD Dolphin devices. We don't need to uplift this fix to 2.0 if SPRD doesn't plan to ship any devices based on 2.0.
status-b2g-v2.1:
--- → affected
Comment 5•10 years ago
|
||
Kan-Ru: are you looking into this bug? Is the Dolphin device's hardware GPS currently working in SPRD's builds? I know that first Dolphin launch will have hardware GPS disabled, but subsequent Dolphin launches will have hardware GPS enabled.
Comment 6•10 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #5) > Kan-Ru: are you looking into this bug? Is the Dolphin device's hardware GPS > currently working in SPRD's builds? > > I know that first Dolphin launch will have hardware GPS disabled, but > subsequent Dolphin launches will have hardware GPS enabled. I'm not looking into this bug. This seems more like a porting issue. We have to decide whether to pull in libandroid_runtime.so for Dolphin and Flame and maybe future devices. Michael, what do think?
Flags: needinfo?(kchen) → needinfo?(mwu)
Comment 7•10 years ago
|
||
My gps.default.so loads fine. Not getting a lock, but it does start the GPS HAL module.
Flags: needinfo?(mwu)
Comment 8•10 years ago
|
||
Also, fwiw, libandroid_runtime.so is not an acceptable library for extract-files.sh.
Comment 9•10 years ago
|
||
You might want to try updating your vendor/sprd/gps to the latest - the v1.4 branch manifest locks it to an older version.
Comment 10•10 years ago
|
||
Garvan: are you able to reproduce this error (assuming you can now build and install 1.4 for your Dolphin)? dougt reported this problem with his build, so this might be a local problem for him.
Flags: needinfo?(gkeeley)
Comment 11•10 years ago
|
||
reboot device adb logcat | grep gps I don't see this. Of course, I don't get gps either, so I wouldn't trust what I am seeing as being useful for this bug report. I flashed a highly build for this, I can't build: https://bugzilla.mozilla.org/show_bug.cgi?id=1033421
Flags: needinfo?(gkeeley)
Comment 12•10 years ago
|
||
Looks like no one else has this issue. Dougt, would you mind trying this again? If this is a local problem in your environment, we may need to close this bug. What do you think? Thanks!
Flags: needinfo?(dougt)
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(dougt)
Resolution: --- → FIXED
Updated•10 years ago
|
Resolution: FIXED → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•