From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id DjlSOyp0pmCKWwAAWB0awg (envelope-from ) for ; Thu, 20 May 2021 10:37:30 -0400 Received: by simark.ca (Postfix, from userid 112) id E57451F11C; Thu, 20 May 2021 10:37:30 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 00A6E1E54D for ; Thu, 20 May 2021 10:37:29 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4FmC4n2vrmz1rlr; Thu, 20 May 2021 10:37:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1621521449; bh=831NmivGo6fIoj/tqt566/B5vn16TNMTy2NyvflzZ38=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=lZSg2EikJzRapNqW9bkaKs0yXtqsd0jDr6w3o+cIQqwGI6cd4HKokvJF7k6lo9l50 l9+LbD0s3uCAGneROdX1Hdqmy7S5NdOopMkMPslIXlTAczpQ+AVVAVi6cZVbt2TbLW QcL1mDNZy1ehFdQmmf5TqjT5HKG/BQN3dfdNFVtnA9aNYSm2ZDjW+lXySjDDi+u4PH kg/3wuyzTWMhp+NCJmD23vh/1hIsb6OKCIuHdsrY6SKrtIAtPR+XanEj95hJ5yriHr LUXNzY29fpLRYdQKmQDhk8gAAch/P9xZGu3dLUywZk6t6trwqkY5yONk7hKJVfLag3 W8heRPH6tZCzA== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4FmC4m0pkLz1s0w for ; Thu, 20 May 2021 10:37:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id A162E33661A for ; Thu, 20 May 2021 10:37:21 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kOc3a2fMqZ8h; Thu, 20 May 2021 10:37:21 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 117CD33650B; Thu, 20 May 2021 10:37:21 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 117CD33650B X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FeFb3JWTeg17; Thu, 20 May 2021 10:37:21 -0400 (EDT) Received: from [172.16.0.63] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id DF483336412; Thu, 20 May 2021 10:37:20 -0400 (EDT) To: lttng-dev@lists.lttng.org References: Message-ID: Date: Thu, 20 May 2021 10:37:20 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Subject: Re: [lttng-dev] 2.13-rc2 fails to build with buildroot crosscompiler X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Jeanson via lttng-dev Reply-To: Michael Jeanson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On 2021-05-20 9:52 a.m., Norbert Lange via lttng-dev wrote: > Hello, > > many tests fail to build, apparently because transitive dependencies > are not found. > I managed to patch out building the test sub-directory, at which > points the errors are gone, > I dont know how to fix it with automake, seems like > /tmp/ZBuild/build/lttng-libust-2.13.0-rc2/src/lib/lttng-ust/.libs > should be added to library search paths. > > Norbert The libtool integration with autotools should be handling these transitive dependencies but somehow doesn't seem to work in your environment. A workaround could be to add the liblttng-ust-common.la file to all the test binaries _LDADD where liblttng-ust.la is already present, for example: ust_fields_compatapi1_LDADD = \ $(top_builddir)/src/lib/lttng-ust/liblttng-ust.la \ $(top_builddir)/src/lib/lttng-ust-common/liblttng-ust-common.la \ $(DL_LIBS) Can you check if this works? Michael _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev