← Back to team overview

gma500 team mailing list archive

[Bug 880897] [NEW] fails to build with LDFLAGS=-Wl, -z, defs

 

Public bug reported:

/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)

** Affects: unico
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of GMA500
Team, which is subscribed to Unico.
https://bugs.launchpad.net/bugs/880897

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

Status in The Unico Gtk+ Theming Engine:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/unico/+bug/880897/+subscriptions


Follow ups

References