Closed Bug 1478063 Opened 8 years ago Closed 8 years ago

error: relocation R_X86_64_PC32 cannot refer to absolute symbol

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

When building with cfi-vcall and --disable-optimize, the following errors are observed: > /home/tom/Documents/moz/mozilla-unified-cfi/clang/bin/ld.lld: error: relocation R_X86_64_PC32 cannot refer to absolute symbol: __typeid_all-vtables_align > >>> defined in lto.tmp > >>> referenced by cdm-test-decryptor.h:0 (/home/tom/Documents/moz/mozilla-unified-cfi/dom/media/fake-cdm/cdm-test-decryptor.h:0) > >>> lto.tmp:(FakeDecryptor::Destroy()) > /home/tom/Documents/moz/mozilla-unified-cfi/clang/bin/ld.lld: error: relocation R_X86_64_PC32 cannot refer to absolute symbol: __typeid_all-vtables_size_m1 > >>> defined in lto.tmp > >>> referenced by cdm-test-decryptor.h:131 (/home/tom/Documents/moz/mozilla-unified-cfi/dom/media/fake-cdm/cdm-test-decryptor.h:131) > >>> lto.tmp:(FakeDecryptor::Destroy()) > /home/tom/Documents/moz/mozilla-unified-cfi/clang/bin/ld.lld: error: relocation R_X86_64_PC32 cannot refer to absolute symbol: __typeid_all-vtables_inline_bits > >>> defined in lto.tmp > >>> referenced by cdm-test-decryptor.h:0 (/home/tom/Documents/moz/mozilla-unified-cfi/dom/media/fake-cdm/cdm-test-decryptor.h:0) > >>> lto.tmp:(FakeDecryptor::Destroy()) > (repeats a lot) This may be related to Bug 1477722 so I'm going to focus on opt builds for now and re-investigate this once that one is fixed.
This also seems to be fixed by the compiler bump from 1477722!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.