fails to build with LDFLAGS=-Wl,-z,defs

Bug #880897 reported by Yves-Alexis Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unico
New
Undecided
Unassigned

Bug Description

/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DUNICO_COMPILATION -pthread -DGSEAL_ENABLE -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-3.0 -I/usr/include/cairo -DNDEBUG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIE -fstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -c -o libunico_la-unico-theme.lo `test -f './unico-theme.c' || echo './'`./unico-theme.c
  CCLD libunico.la
.libs/libunico_la-exponential-blur.o: In function `_expblur':
/tmp/buildd/gtk3-engines-unico-1.0/unico/./exponential-blur.c:142: undefined reference to `expf'
.libs/libunico_la-unico-draw.o: In function `unico_draw_spinbutton_frame':
/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:991: undefined reference to `floor'
/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:992: undefined reference to `floor'
/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:993: undefined reference to `floor'
/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:994: undefined reference to `floor'
.libs/libunico_la-unico-draw.o: In function `unico_draw_spinbutton_background':
/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:962: undefined reference to `floor'
.libs/libunico_la-unico-draw.o:/tmp/buildd/gtk3-engines-unico-1.0/unico/./unico-draw.c:963: more undefined references to `floor' follow
collect2: ld returned 1 exit status
make[3]: *** [libunico.la] Error 1

It seems that it lacks a link on libm (it was previously added through libpng but that's not the case anymore)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.