From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gPl8NiaVimb8JgEAe85BDQ:P1 (envelope-from ) for ; Sun, 07 Jul 2024 13:16:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gPl8NiaVimb8JgEAe85BDQ (envelope-from ) for ; Sun, 07 Jul 2024 15:16:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=npoaQ1DQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720356795; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6HMlmyl7PyVw7Kfx1XFUsepGESNQ/DM00VnLk7mP3Kk=; b=cfUcKzh1GoucYZpqKAbilJVFm6Dgxlp914NNhEeEhMYKEY8nQTbl4JV/3rL5BJ8yE7qZjp ubvIIO3jweCJCyLWPY7HHPKV0AtlFMvCBFpeH6mJ7nRWLbl44qD32Ys+dZxwPtRBRwRKlt fAW5fIm9EDCA8UW4whLraNS6lH/tG8mdZsFnR9cHP1OMrIZeBc5YLtzRaEXBlHEh8v8v32 Oe8sRJdhRlrq5gwgL0oA5L2jq5whewcnI3kLE5wdP4/6ZzBovaZWfh8GLerKT28QquTfFv F480sdYmHerpUAnAl6ywpej1JBGDYcj9PCjt2vNp68rj4hYx56R0F9Z0/f4S1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720356795; a=rsa-sha256; cv=none; b=NyiD2qNLBMPF0sERWHPOwd0hyZck0scy1bwGSVIO+zIIqt0ITYjfrac42lYw/9MrRVQNiD 54+x5AfVl1dFSztBlJX2i1nR7U/9476MpSFUOa+f0h7uiL9Yiv9HPgh1+HiK1DM0NDK12T hp2Wn0ieCTG+dER1Is0qaDgSVdUxcZSHenRqtnMCmBecMl6qtmkHQqnnq2DfAdHH2peyHF HsK9Lj8GKFPKd2zhc8cIhj176qFNM70rMkWek8f3wbvGR2gRi5IFJh8G/Qzp2OacL2ZB/u 5Vjqm1CERZrMeUx0J7DskDyURpEkzxHgxw/isJfPu7t3wt5wvYjc5IGeCS8NwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=npoaQ1DQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 050B0A5D5 for ; Sun, 07 Jul 2024 14:53:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQRO2-00032F-0U; Sun, 07 Jul 2024 08:53:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQRNz-000321-1m for guix-patches@gnu.org; Sun, 07 Jul 2024 08:52:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQRNy-0002Ur-IS for guix-patches@gnu.org; Sun, 07 Jul 2024 08:52:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQRO1-0006NM-Q7 for guix-patches@gnu.org; Sun, 07 Jul 2024 08:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71925] [PATCH 2/2] gnu: klee: Build with klee-uclibc support. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Jul 2024 12:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71925 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?S=C3=B6ren?= Tempel Cc: julien@lepiller.eu, 71925@debbugs.gnu.org Received: via spool by 71925-submit@debbugs.gnu.org id=B71925.172035673124448 (code B ref 71925); Sun, 07 Jul 2024 12:53:01 +0000 Received: (at 71925) by debbugs.gnu.org; 7 Jul 2024 12:52:11 +0000 Received: from localhost ([127.0.0.1]:47557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQRNC-0006MF-RG for submit@debbugs.gnu.org; Sun, 07 Jul 2024 08:52:11 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:47439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQRNB-0006M7-6X for 71925@debbugs.gnu.org; Sun, 07 Jul 2024 08:52:09 -0400 Received: by mail-lf1-f68.google.com with SMTP id 2adb3069b0e04-52ea3e499b1so2685234e87.3 for <71925@debbugs.gnu.org>; Sun, 07 Jul 2024 05:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720356664; x=1720961464; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=6HMlmyl7PyVw7Kfx1XFUsepGESNQ/DM00VnLk7mP3Kk=; b=npoaQ1DQ4nZi/4Jujg7O0j+6CHedAxYhVEUzJFxZbY8EOODVFgYj8lSjOjT6XPi1nA Qi0XCA+IIrrWAg4rLOp5XM76UDgPYpvDVH15dIkZVLe3QCHBCGn/U3j88Fb/V57ErnDa ho6B6ffpGwgIbfdoPNg+2muX5WNbU4+ugW+x5q/49kjFpxjC1CYMj6LvWzRraRLSyBy8 GeS19nSNOYXYIFNYx+EcPol9fNZqFi76ezqvAW2LjqR3ap6nS1PU6DpgHBcnjjQAcuuG lLqFMRNRoHrjaT9j8tZewtJ3YxDN4Oc/a8mDJQjJNGLfgmZfCp6rvhA4KShu+zHdkag9 k24Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720356664; x=1720961464; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6HMlmyl7PyVw7Kfx1XFUsepGESNQ/DM00VnLk7mP3Kk=; b=hnmhQdfPojhOjJ+9HfdcE7YArTklSzVj5294rAOWoovJUlP9sG5WGwMbSejik2X9v4 1KsF1FgDl3hr1ghyMD575kYnEfri+Q96P9c4r19lDkwTq3ad+IGdm2GS6xBa6mp4rNOv hf1c/kBoFK1oQJ2Ng6ykrZw1r6mun5QD9Zni6IO10wHsxIIGgk08xADAkslVeuGK99ot yc08OjeOmZpLs3ZrPGoG/UjFdXs3wjghb9K+pQGiJTtzK91oh4TTaLeHYOs3JAP0jGz8 moJqHi8RyQxPE52bEyWSuyDNjpJgoDl8osRYqzucdXlhSkeB5t6c/TC+NyaM+qgNQwDo NLRg== X-Gm-Message-State: AOJu0YyugGCencuTqo+sddmF3mimwT7icNoeCdP9Z6U/tWE6RbBLw47b RMDkEKpvSRsKDZUm7lvr3ZSS5jpuiTOt0cZvrYVze2/spYP1CLbCHjaqyAiH X-Google-Smtp-Source: AGHT+IEr0OM6CpZ9g4WQpxhjJSB11gIyUZ8EZl0JgCnoP0XBv+jeZPttrkNw+ZOg95wBD/yWo3d98A== X-Received: by 2002:a19:6a14:0:b0:52c:d9f8:b033 with SMTP id 2adb3069b0e04-52ea061f85fmr5655875e87.3.1720356663539; Sun, 07 Jul 2024 05:51:03 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a77df7949fasm154081866b.32.2024.07.07.05.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jul 2024 05:51:02 -0700 (PDT) Message-ID: <03ef8e192f61f68529f3ce252f8564e4d16adf22.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 07 Jul 2024 14:51:02 +0200 In-Reply-To: <2XB2CJ5QYV5K9.2OYVJ6R77DM9T@8pit.net> References: <50e13182dab9f13a90c63a670a286eb447133e44.1720033365.git.soeren@soeren-tempel.net> <2XB2CJ5QYV5K9.2OYVJ6R77DM9T@8pit.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.29 X-Spam-Score: -2.29 X-Migadu-Queue-Id: 050B0A5D5 X-Migadu-Scanner: mx11.migadu.com X-TUID: QshodK1DW+sM Am Sonntag, dem 07.07.2024 um 13:24 +0200 schrieb S=C3=B6ren Tempel: > Hi Liliana, >=20 > Thanks a lot for the quick feedback, responses below. >=20 > Liliana Marie Prikler wrote: > > The leading colon is pointless here, since you're doing an "=3D" > > assign. >=20 > Good catch! I can fix this in a patch revision. >=20 > > More importantly, can we make this a search path? >=20 > I don't think so as it's not a colon separated search path, it can > only point to a single directory; hence, I assumed that wrap-program > is more appropriate here. Fair enough. > > Can we use search-input-file for this and dirname our way up? >=20 > The input file that we are looking for here is called libc.a, I am > not > sure what the benefit of using search-input-file is, but I personally > think something along the lines of `(dirname (search-input-file > %build-inputs "/lib/libc.a"))` is less readable then `#$klee-uclibc` > but I can definitely change this if you want me to :) >=20 > > Is this only distributed as an .a file or could we make a .so out > > of it? >=20 > This is only distributed as a .a, not as a shared object. In fact, > KLEE also doesn't not link against this library at all and instead > converts it to an LLVM .bca file (shipped in > /lib/klee/runtime/klee-uclibc.bca) > during build. This file is then used directly by KLEE's symbolic LLVM > interpreter to execute code utilizing libc functions. Hence, klee- > uclibc is also not a propagated input for the klee package. >=20 > Let me know if I should send a revision, would love to get this > merged. Can we make it so that it uses the file directly instead of inferring the name? Then we could install klee-uclibc to, say "/lib/klee/uclibc.a" and reference it in this build by said file name. Cheers