<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - fails to compile due to a hardcoded "-static" LDFLAG"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82292">82292</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fails to compile due to a hardcoded "-static" LDFLAG
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vincent.riera@imgtec.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.5.0
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>