Project

General

Profile

Actions

Bug #979

closed

Static build: broken popt and uuid detection leading to wrong LDFLAGS

Added by Samuel Martin over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/27/2015
Due date:
% Done:

0%

Estimated time:

Description

For static build, lttng-tool fails at configure time [1] because it misses private ldflags for popt and uuid [2].
It only checks for these libraries presence using AC_CHECK_LIB [3].

Note that, the configure script fails on the first error, the popt one; but once fixed, it fails in a similar way for uuid.

This bug has been triggered by Buildroot autobuilders, using lttng-tools-2.6.0; it can be reproduce with the current master.

A patch has been submitted [4].

[1] http://autobuild.buildroot.net/results/0f1/0f1e015a0c5a5ac2beeb5011d31a1e0058a32a0d/build-end.log
[2] http://autobuild.buildroot.net/results/0f1/0f1e015a0c5a5ac2beeb5011d31a1e0058a32a0d/lttng-tools-2.6.0/config.log
[3] https://git.lttng.org/?p=lttng-tools.git;a=blob;f=configure.ac;hb=HEAD#l221
[4] https://lists.lttng.org/pipermail/lttng-dev/2015-November/025293.html

Actions

Also available in: Atom PDF