Closed Bug 1111370 Opened 10 years ago Closed 8 years ago

linking libxul.so Unified_cpp_dom_indexedDB0.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC

Categories

(Core :: Storage: IndexedDB, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bc, Unassigned)

References

Details

(Keywords: regression)

Attachments

(3 files)

I ran into this compiling debug fennec on fedora 20 x86_64 during linking libxul.so

Unified_cpp_dom_indexedDB0.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC

fennec opt compiled fine. I bisected down to:

user:        Ben Turner <bent.mozilla@gmail.com>
date:        Wed Oct 15 21:56:52 2014 -0700
summary:     Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey.
This is the mozconfig I used.
bent, Is this just fall out from the split apk work or should I just adjust my mozconfig?
Flags: needinfo?(bent.mozilla)
This fixes it for me.
Attachment #8536870 - Flags: review?(bent.mozilla)
Comment on attachment 8536870 [details] [diff] [review]
0001-Fix-linking-error.patch

Thanks!
Flags: needinfo?(bent.mozilla)
Attachment #8536870 - Flags: review?(bent.mozilla) → review+
Jeff, what was solved by moving the static const string definitions? I am triggering the same problem with new code I am merging into the media/webrtc source.
Flags: needinfo?(jgilbert)
(In reply to Paul Kerr [:pkerr] from comment #6)
> Jeff, what was solved by moving the static const string definitions? I am
> triggering the same problem with new code I am merging into the media/webrtc
> source.

Some linker error.
You should be able to fix this by moving the definitions to a .cpp file.
Flags: needinfo?(jgilbert)
I don't get this problem anymore.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: