webrtc unit tests cause --enable-system-jpeg / --enable-system-pixman builds to fail

RESOLVED FIXED in mozilla20

Status

()

P2
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: karlt, Assigned: jesup)

Tracking

Trunk
mozilla20
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
make: Entering directory `/mnt/sda10/karl/obj/media/webrtc/signaling/test'
/home/karl/moz/dev/obj/_virtualenv/bin/python /home/karl/moz/dev/config/pythonpath.py -I../../../../config /home/karl/moz/dev/config/expandlibs_exec.py --depend .deps/signaling_unittests.pp --target signaling_unittests --uselist --  c++  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -fno-omit-frame-pointer  -o signaling_unittests signaling_unittests.o  -lpthread -B/home/karl/bin/gold -Wl,-z,noexecstack -Wl,--icf=safe   -Wl,-rpath-link,/home/karl/moz/dev/obj/dist/bin -Wl,-rpath-link,/usr/local/lib  -L../../../../dist/bin -L../../../../dist/lib  -L/home/karl/moz/dev/obj/dist/bin -lxpcom -lmozalloc -lxul  -L/home/karl/moz/dev/obj/dist/lib -lnspr4 -lplc4 -lplds4 -L../../../../dist/bin -L../../../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lrt ../../../../xpcom/glue/libxpcomglue_s.a ../../../../media/mtransport/standalone/libmtransport_s.a ../../../../media/webrtc/signalingtest/signaling_ecc/libecc.a ../../../../media/webrtc/signalingtest/signaling_sipcc/libsipcc.a ../../../../layout/media/libgkmedias.a ../../../../media/webrtc/trunk/testing/gtest_gtest/libgtest.a ../../../../netwerk/srtp/src/libnksrtp_s.a  -lasound    -lX11  -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0   -lgthread-2.0    -lXrender  /home/karl/moz/dev/obj/dist/lib/libxpcomglue_s.a -L/home/karl/moz/dev/obj/dist/bin -lxpcom -lmozalloc -L/home/karl/moz/dev/obj/dist/lib -lnspr4 -lplc4 -lplds4 /home/karl/moz/dev/obj/dist/lib/libjs_static.a -L/usr/lib -lz -Wl,--whole-archive /home/karl/moz/dev/obj/dist/lib/libmozglue.a -Wl,--no-whole-archive -rdynamic -ldl   
ld.gold: warning: skipping incompatible /usr/lib/libpthread.so while searching for pthread
ld.gold: warning: skipping incompatible /usr/lib/librt.so while searching for rt
ld.gold: warning: skipping incompatible /usr/lib/libdl.so while searching for dl
ld.gold: warning: skipping incompatible /usr/lib/libm.so while searching for m
ld.gold: warning: skipping incompatible /usr/lib/libpthread.so while searching for pthread
ld.gold: warning: skipping incompatible /usr/lib/libc.so while searching for c
/home/karl/moz/dev/gfx/cairo/cairo/src/cairo-image-surface.c:155: error: undefined reference to 'pixman_image_get_width'
/home/karl/moz/dev/gfx/cairo/cairo/src/cairo-image-surface.c:156: error: undefined reference to 'pixman_image_get_height'
/home/karl/moz/dev/gfx/cairo/cairo/src/cairo-image-surface.c:171: error: undefined reference to 'pixman_image_get_data'

...

/home/karl/moz/dev/media/webrtc/trunk/third_party/libyuv/source/mjpeg_decoder.cc:56: error: undefined reference to 'jpeg_std_error'
/home/karl/moz/dev/media/webrtc/trunk/third_party/libyuv/source/mjpeg_decoder.cc:64: error: undefined reference to 'jpeg_resync_to_restart'
(Assignee)

Updated

6 years ago
Priority: -- → P3
Whiteboard: [WebRTC],[blocking-webrtc+]
(Assignee)

Comment 1

6 years ago
Now that we build unit tests this is a blocker.  Taking.
Assignee: nobody → rjesup
Priority: P3 → P2

Comment 2

6 years ago
Created attachment 695614 [details] [diff] [review]
link more libs explicitly

I have slightly different errors...

/usr/local/bin/ld: gfx/cairo/cairo/src/cairo-image-surface.o: undefined reference to symbol 'pixman_image_create_linear_gradient'
/usr/local/bin/ld: note: 'pixman_image_create_linear_gradient' is defined in DSO /usr/local/lib/libpixman-1.so.9 so try adding it to the linker command line
/usr/local/lib/libpixman-1.so.9: could not read symbols: Invalid operation
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [signaling_unittests] Error 1

/usr/local/bin/ld: media/webrtc/trunk/third_party/libyuv/libyuv_libyuv/source/mjpeg_decoder.o: undefined reference to symbol 'jpeg_resync_to_restart@@LIBJPEG_8.0'
/usr/local/bin/ld: note: 'jpeg_resync_to_restart@@LIBJPEG_8.0' is defined in DSO /usr/local/lib/libjpeg.so.11 so try adding it to the linker command line
/usr/local/lib/libjpeg.so.11: could not read symbols: Invalid operation
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [signaling_unittests] Error 1
Attachment #695614 - Flags: review?(rjesup)
(Assignee)

Updated

6 years ago
Attachment #695614 - Flags: review?(rjesup) → review+

Updated

6 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/975686912db8
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Whiteboard: [WebRTC],[blocking-webrtc+] → [WebRTC],[blocking-webrtc+][qa-]
You need to log in before you can comment on or make changes to this bug.