[Wayland-bugs] [Bug 82292] New: fails to compile due to a hardcoded "-static" LDFLAG

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 7 04:55:46 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82292

          Priority: medium
            Bug ID: 82292
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: fails to compile due to a hardcoded "-static" LDFLAG
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: vincent.riera at imgtec.com
          Hardware: Other
            Status: NEW
           Version: 1.5.0
         Component: libinput
           Product: Wayland

libinput-0.5.0 fails to compile with this error:

---------------------------------------------
make[2]: Entering directory `/buildroot/output/build/libinput-0.5.0/tools'
/bin/sh ../libtool  --tag=CC   --mode=link
/buildroot/output/host/usr/bin/i586-buildroot-linux-gnu-gcc -std=gnu99
-I/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/include  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os 
-static  -o event-debug event_debug-event-debug.o ../src/libinput.la
-L/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib -ludev  
-lrt -lm 
libtool: link: /buildroot/output/host/usr/bin/i586-buildroot-linux-gnu-gcc
-std=gnu99
-I/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/include
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os
-static -o event-debug event_debug-event-debug.o  ../src/.libs/libinput.a
-L/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libmtdev.a
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libevdev.a
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libudev.a
-lrt -lm
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libevdev.a(libevdev.o):
In function `log_msg':
libevdev.c:(.text.log_msg+0x0): multiple definition of `log_msg'
../src/.libs/libinput.a(libinput_la-libinput.o):/buildroot/output/build/libinput-0.5.0/src/libinput.c:116:
first defined here
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libudev.a(libudev-util.o):
In function `util_lookup_group':
libudev-util.c:(.text+0x255): warning: Using 'getgrnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc version
used for linking
/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libudev.a(libudev-util.o):
In function `util_lookup_user':
libudev-util.c:(.text+0x140): warning: Using 'getpwnam_r' in statically linked
applications requires at runtime the shared libraries from the glibc version
used for linking
collect2: error: ld returned 1 exit status
make[2]: *** [event-debug] Error 1
---------------------------------------------

In the Makefile.am and Makefile.in we find under "libinput-0.5.0/tools/", there
is a hardcoded "-static" LDFLAG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140807/bc6a3a01/attachment.html>


More information about the Wayland-bugs mailing list