Odd linker error in Debian Testing
Hi
I am not sure what commit caused it, or if it's a change in Debian Testing, but I get
[1/88] Generating git-version.h with a custom command
[2/31] Linking target ivi-shell/hmi-controller.so
FAILED: ivi-shell/hmi-controller.so
cc -o ivi-shell/hmi-controller.so ivi-shell/hmi-controller.so.p/meson-generated_.._.._protocol_ivi-hmi-controller-protocol.c.o ivi-shell/hmi-controller.so.p/hmi-controller.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,hmi-controller.so -Os -Wno-error '-Wl,-rpath,$ORIGIN/../frontend:$ORIGIN/../libweston' -Wl,-rpath-link,/var/cache/srcbuild/weston/build/frontend -Wl,-rpath-link,/var/cache/srcbuild/weston/build/libweston -Wl,--start-group frontend/libexec_weston.so.0.0.0 libweston/libweston-14.so.0.0.90 shared/libshared.a /opt/lib/x86_64-linux-gnu/libwayland-server.so /opt/lib/x86_64-linux-gnu/libpixman-1.so /opt/lib/x86_64-linux-gnu/libxkbcommon.so /opt/lib/x86_64-linux-gnu/libwayland-client.so /opt/lib/x86_64-linux-gnu/libEGL.so -Wl,--end-group
/usr/bin/ld: ivi-shell/hmi-controller.so.p/hmi-controller.c.o: in function `wl_fixed_from_double':
hmi-controller.c:(.text+0x3c8): undefined reference to `round'
collect2: error: ld returned 1 exit status
[3/31] Linking target tests/test-pointer
FAILED: tests/test-pointer
cc -o tests/test-pointer tests/test-pointer.p/meson-generated_.._.._protocol_input-timestamps-unstable-v1-protocol.c.o tests/test-pointer.p/pointer-test.c.o tests/test-pointer.p/input-timestamps-helper.c.o -Wl,--as-needed -Wl,--no-undefined -Os -Wno-error '-Wl,-rpath,$ORIGIN/../frontend:$ORIGIN/../libweston' -Wl,-rpath-link,/var/cache/srcbuild/weston/build/frontend -Wl,-rpath-link,/var/cache/srcbuild/weston/build/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a frontend/libexec_weston.so.0.0.0 libweston/libweston-14.so.0.0.90 tests/libtest-runner.a /opt/lib/x86_64-linux-gnu/libwayland-client.so /opt/lib/x86_64-linux-gnu/libpixman-1.so -pthread /usr/lib/x86_64-linux-gnu/libudev.so /opt/lib/x86_64-linux-gnu/libwayland-server.so /opt/lib/x86_64-linux-gnu/libxkbcommon.so /opt/lib/x86_64-linux-gnu/libEGL.so /opt/lib/x86_64-linux-gnu/libcairo.so -ldl -Wl,--end-group
/usr/bin/ld: tests/test-pointer.p/pointer-test.c.o: undefined reference to symbol 'round@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[4/31] Linking target tests/test-surface-global
FAILED: tests/test-surface-global
cc -o tests/test-surface-global tests/test-surface-global.p/surface-global-test.c.o -Wl,--as-needed -Wl,--no-undefined -Os -Wno-error '-Wl,-rpath,$ORIGIN/../frontend:$ORIGIN/../libweston' -Wl,-rpath-link,/var/cache/srcbuild/weston/build/frontend -Wl,-rpath-link,/var/cache/srcbuild/weston/build/libweston -Wl,--start-group tests/libtest-client.a shared/libshared.a frontend/libexec_weston.so.0.0.0 libweston/libweston-14.so.0.0.90 tests/libtest-runner.a /opt/lib/x86_64-linux-gnu/libwayland-client.so /opt/lib/x86_64-linux-gnu/libpixman-1.so -pthread /usr/lib/x86_64-linux-gnu/libudev.so /opt/lib/x86_64-linux-gnu/libwayland-server.so /opt/lib/x86_64-linux-gnu/libxkbcommon.so /opt/lib/x86_64-linux-gnu/libEGL.so /opt/lib/x86_64-linux-gnu/libcairo.so -ldl -Wl,--end-group
/usr/bin/ld: tests/test-surface-global.p/surface-global-test.c.o: undefined reference to symbol 'round@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[5/31] Linking target tests/test-plugin.so
FAILED: tests/test-plugin.so
cc -o tests/test-plugin.so tests/test-plugin.so.p/meson-generated_.._.._protocol_weston-test-protocol.c.o tests/test-plugin.so.p/weston-test.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,test-plugin.so -Os -Wno-error '-Wl,-rpath,$ORIGIN/../frontend:$ORIGIN/../libweston' -Wl,-rpath-link,/var/cache/srcbuild/weston/build/frontend -Wl,-rpath-link,/var/cache/srcbuild/weston/build/libweston -Wl,--start-group frontend/libexec_weston.so.0.0.0 libweston/libweston-14.so.0.0.90 /opt/lib/x86_64-linux-gnu/libwayland-server.so /opt/lib/x86_64-linux-gnu/libpixman-1.so /opt/lib/x86_64-linux-gnu/libxkbcommon.so -Wl,--end-group -pthread
/usr/bin/ld: tests/test-plugin.so.p/weston-test.c.o: in function `notify_pointer_position':
weston-test.c:(.text+0xcca): undefined reference to `round'
/usr/bin/ld: weston-test.c:(.text+0xce5): undefined reference to `round'
building Weston. It started a few weeks ago, but I am just getting around to reporting it now
Let me know if I need to provide new information
Thanks