Closed Bug 1002877 Opened 10 years ago Closed 10 years ago

requires dynamic R_X86_64_PC32 reloc against 'mozilla::MediaEngine::DEFAULT_169_VIDEO_WIDTH' which may overflow at runtime; recompile with -fPIC

Categories

(Core :: WebRTC, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1002729

People

(Reporter: slee, Unassigned)

Details

I built on my Ubuntu and got the following errors. Is there anyone having this problem?

 0:52.14 ../../../build/unix/gold/ld: error: /home/steven/workspace/b2g/mozilla-central/objdir-desktop-debug/toolkit/library/build/../../../content/media/webrtc/Unified_cpp_content_media_webrtc0.o: requires dynamic R_X86_64_PC32 reloc against 'mozilla::MediaEngine::DEFAULT_169_VIDEO_WIDTH' which may overflow at runtime; recompile with -fPIC
 0:52.14 ../../../build/unix/gold/ld: error: /home/steven/workspace/b2g/mozilla-central/objdir-desktop-debug/toolkit/library/build/../../../content/media/webrtc/Unified_cpp_content_media_webrtc0.o: requires dynamic R_X86_64_PC32 reloc against 'mozilla::MediaEngine::DEFAULT_169_VIDEO_HEIGHT' which may overflow at runtime; recompile with -fPIC
 0:52.14 ../../../build/unix/gold/ld: error: read-only segment has dynamic relocations
 0:52.14 /home/steven/workspace/b2g/mozilla-central/content/media/webrtc/MediaEngine.h:158: error: undefined reference to 'mozilla::MediaEngine::DEFAULT_169_VIDEO_WIDTH'
 0:52.14 /home/steven/workspace/b2g/mozilla-central/content/media/webrtc/MediaEngine.h:158: error: undefined reference to 'mozilla::MediaEngine::DEFAULT_43_VIDEO_WIDTH'
 0:52.14 /home/steven/workspace/b2g/mozilla-central/content/media/webrtc/MediaEngine.h:163: error: undefined reference to 'mozilla::MediaEngine::DEFAULT_169_VIDEO_HEIGHT'
 0:52.14 /home/steven/workspace/b2g/mozilla-central/content/media/webrtc/MediaEngine.h:163: error: undefined reference to 'mozilla::MediaEngine::DEFAULT_43_VIDEO_HEIGHT'11
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.