From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 788003858D1E for ; Thu, 22 Dec 2022 09:09:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 788003858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 821DC41FA; Thu, 22 Dec 2022 09:09:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1671700189; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HQFyP7vYD7CqxmUOGRM63HXuV3HbFi5sC08WiM+Mzz0=; b=NdQKQ5mh+CBWi3MtUzZJn++NxJyJtfGxCu3kFqKG6d/jFqcciUzhzC0cltjSIRn/pUZOaR 4Acm/L3X2y93aOQzmnMTLVoAFfjObt0QHSS1GJgo4+zJ7NewLsAtLL1gXReF2D+5KToX/0 A1itWnvYUPQmaO2rmg5fLBfuFE8ECpk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1671700189; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HQFyP7vYD7CqxmUOGRM63HXuV3HbFi5sC08WiM+Mzz0=; b=wFu6aEbQT/mX2UrKIca8JlBQnmasaCSZO0WHw85KXOVYZvmmRV9lD3IpkvwfrRblRmcJ+/ zmMp8+qYjF0+JZDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6DE38138FD; Thu, 22 Dec 2022 09:09:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FUzqGd0epGOjPwAAMHmgww (envelope-from ); Thu, 22 Dec 2022 09:09:49 +0000 Message-ID: <57b03cfc-a50a-026d-bbaf-fd05b85fa1f8@suse.cz> Date: Thu, 22 Dec 2022 10:09:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: =?UTF-8?Q?Re=3a_=e2=98=a0_Buildbot_=28GNU_Toolchain=29=3a_elfutils-?= =?UTF-8?Q?try-debian-armhf_-_failed_compile_=28failure=29_=28users/marxin/t?= =?UTF-8?Q?ry-zstd-support-v2=29?= Content-Language: en-US To: Mark Wielaard Cc: Mark Wielaard , elfutils-devel@sourceware.org References: <20221221111547.74C4C385B50B@sourceware.org> <3bfe6caf-c08e-583e-a98c-4acdb47530f9@suse.cz> <20e14ca61f27119efca8e1e38292d82ac3048ec8.camel@klomp.org> <5e9cb312-2d45-1094-a106-0431c7c24219@suse.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/22/22 00:38, Mark Wielaard wrote: > Hi Martin, > > On Wed, Dec 21, 2022 at 07:29:19PM +0100, Martin Liška wrote: >>> What goes wrong is that this debian old stable arm setup has libzstd >>> containing a ZSTD_compressStream2 symbol... >>> >>> 40: 0000d349 264 FUNC GLOBAL DEFAULT 11 ZSTD_compressStream2 >>> >>> But the zstd.h header doesn't expose it... >> >> Yeah, that's their way of how to move an API from "staging" into a stable state. >> It was changed in: >> https://github.com/facebook/zstd/commit/d7d89513d6a21 >> >> and so it's present in zstd since 1.4.0. Can we somehow specify library version >> in configure.ac? > Hi Mark. > It isn't as nice, but since there seems to be a pkgconfig libzstd.pc > you could use PKG_CHECK_MODULES. See for example how we check for > libcurl. I can see it, however, it not easily addable to eu_ZIPLIB function :/ I must confess, this autoconf machinery is always something that makes me crazy :) Do you have an elegant way how to handle it? Thanks, Martin > > Cheers, > > Mark