Closed Bug 861637 Opened 7 years ago Closed 7 years ago

error: undefined reference to 'clone' in mediapipeline_unittest

Categories

(Core :: WebRTC: Signaling, defect)

x86
Android
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: gcp, Assigned: gcp)

References

(Blocks 1 open bug)

Details

(Whiteboard: [WebRTC][blocking-webrtc-][android-webrtc+][qa-])

Attachments

(1 file)

https://tbpl.mozilla.org/?tree=Try&rev=7f4ce89539aa

/tools/android-ndk-r8c/toolchains/x86-4.6/prebuilt/linux-x86/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: /builds/slave/try-and-x86-000000000000000000/build/obj-firefox/media/webrtc/signaling/test/../../trunk/testing/gtest_gtest/gtest/src/gtest-death-test.o: in function testing::internal::ExecDeathTest::AssumeRole():../../../../../../media/webrtc/trunk/testing/gtest/src/gtest-death-test.cc:1079: error: undefined reference to 'clone'
collect2: ld returned 1 exit status
make[5]: *** [mediapipeline_unittest] Error 1

Only happens on x86 Android with WebRTC enabled.
Looks like missing sched.h include that happens to work on other platforms.
Whiteboard: [WebRTC][android-webrtc+]
-> gcp since he knows what's needed; if you need someone else to handle it let us know
Assignee: nobody → gpascutto
Whiteboard: [WebRTC][android-webrtc+] → [WebRTC][blocking-webrtc-][android-webrtc+]
Target Milestone: --- → mozilla23
Believe it or not, Android doesn't support "clone" on x86. :facepalm:
Attachment #737513 - Flags: review?(blassey.bugs)
Attachment #737513 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/490573bc3a7c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [WebRTC][blocking-webrtc-][android-webrtc+] → [WebRTC][blocking-webrtc-][android-webrtc+][qa-]
You need to log in before you can comment on or make changes to this bug.