From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cBWZLJ1w5WTeygAASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 04:36:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0IGuLJ1w5WS0iQAA9RJhRA (envelope-from ) for ; Wed, 23 Aug 2023 04:36:13 +0200 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 429A769950 for ; Wed, 23 Aug 2023 04:36:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=zCFK+cW6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692758173; a=rsa-sha256; cv=none; b=lGk7G15ysEr+ugpqtLKeaq/VGkAoeDNhXov4Z+tSJL3R0Ga2FKkr9Zi5tFyKuuFEOymzUH kwNlSEfqqnuEyu0nFCjpXqCU5FG3CRd4Ip+NRgOWl9eDbYaDSmCBvSxnekPwW96nH3zISp VhqIEM4HtO6womCUDqhGBXcbFcFCAftv+cBAqAZ09nIkI0AO9kqrYdnA5V0OMDTYzVskyi Ai4f8BxPh4nS+vGY8rBqguhA/4MtFsDBRbneShIlsS1WnusorS97TeZTv9QY6KXVf79F5k xRr1+0M4xaDPdBuFRPYhCH8qyxdVehU1ArtuQPmwszB0QwPu5uct87Xmw+47Cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=zCFK+cW6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692758173; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=Ub4eWMEG0dhPwuiGV2GsmlbtP2JMQTFCM2tJYz0Pzn8=; b=pLMy7Y58BxGzpwG+/Onpl59wc57Wq7gpzDzkx0lkCs+POtu7t7PPzuU4uBO8FdSad2FXK8 /8cyBfp6R9n0xM/DaVmwf/E7h1/eqLwIp0Zdu9FF5rmsfAWRNSUTv9gTuhyVnTi2v9Bmsf hrV7ASo6E/OcnBcx2doyh3mwRp0wosh/2PofKBUlTdvoKG/oxJIJWi+08+Aju5MXyj9tKN Zee8rPE3bUuo3RMLRM8SOJKBu4LKSpvpUTBFR2eyThOD6ajbtnP5d22rf+eW8K/UtkUYsp QjjHQvdwAE4BuwVg8j4lgiEOOaU6MGSUFDm/z/ZdXysYcMVZgHxMX1pbf5MgAg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYdiz-0006Dh-Ry; Tue, 22 Aug 2023 22:36:01 -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 1qYdiy-0006DK-4C for guix-patches@gnu.org; Tue, 22 Aug 2023 22:36:00 -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 1qYdix-0006tb-7G for guix-patches@gnu.org; Tue, 22 Aug 2023 22:35:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYdj0-000369-7G for guix-patches@gnu.org; Tue, 22 Aug 2023 22:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62666] [PATCH 0/2] Add aflplusplus Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Aug 2023 02:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Denis 'GNUtoo' Carikli Cc: 62666@debbugs.gnu.org Received: via spool by 62666-submit@debbugs.gnu.org id=B62666.169275814811888 (code B ref 62666); Wed, 23 Aug 2023 02:36:02 +0000 Received: (at 62666) by debbugs.gnu.org; 23 Aug 2023 02:35:48 +0000 Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYdil-00035g-Ig for submit@debbugs.gnu.org; Tue, 22 Aug 2023 22:35:47 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:43728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYdih-00035W-I7 for 62666@debbugs.gnu.org; Tue, 22 Aug 2023 22:35:46 -0400 Date: Wed, 23 Aug 2023 10:34:48 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1692758107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ub4eWMEG0dhPwuiGV2GsmlbtP2JMQTFCM2tJYz0Pzn8=; b=zCFK+cW6qPTszJ/vJ7F4LE6zRPFBqu8UrkEkQZk6dXA/gIZL/u6YeA8zET+NkkXUGuf4F8 rjPG7bKEyV9kKBuhO6efMJwQAMcKvKxwPs1gVLlHvlTuXsArXe8U/P+XVA1zxwYg9pkqiq 9WrUomBzdFBcRhtnlmb0GgnvMLvxioCKv/0tycWbHCgusf6gzjfulDQbU19xAKCV7xU3n1 6J56HMDlZPDg0K7zfSc80mm4dsPo46I3wyHWoo1uIblqKv6zkSbHDcaO/7rorqVfjkMhRk nFpV83JufVXOPXNk8aubD6OI8itp9LoXQThLjMZ/dYCUMeCK9e1I4MFXMH4UeA== Message-ID: <87a5ui4hbr.wl-hako@ultrarare.space> In-Reply-To: <20230404174449.5297-1-GNUtoo@cyberdimension.org> References: <20230404174449.5297-1-GNUtoo@cyberdimension.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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-Scanner: mx0.migadu.com X-Spam-Score: -6.71 X-Migadu-Queue-Id: 429A769950 X-Migadu-Spam-Score: -6.71 X-TUID: +/dfe5J9co8g Hi Denis, On Wed, 05 Apr 2023 01:44:49 +0800, Denis 'GNUtoo' Carikli wrote: > > Hi, > > Here's two patches to add aflplusplus. I've also patches (not part of this > serie) to add support for faster compilers with GCC plugins, but when I do > that it somehow fails to run: > $ cat main.c > int main() > { > printf("Hello world\n"); > } > $ afl-gcc-fast ./main.c > afl-cc++4.05c by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: GCC_PLUGIN-DEFAULT > cc1: error: cannot load plugin /gnu/store/sx55p7b4r21kiw7sagi8cb8ff6zmvmqd-aflplusplus-4.05c/bin/../lib/afl//afl-gcc-pass.so: /gnu/store/sx55p7b4r21kiw7sagi8cb8ff6zmvmqd-aflplusplus-4.05c/bin/../lib/afl//afl-gcc-pass.so: undefined symbol: _Z30gimple_build_call_internal_vec11internal_fn3vecIP9tree_node7va_heap6vl_ptrE > > So I limited that serie to what works well. > > > Denis 'GNUtoo' Carikli (2): > gnu: Add aflplusplus. > gnu: aflplusplus: Add python support > > gnu/packages/debug.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > > base-commit: b9c9c23939a40a850a8c78579adaec25d1972bd1 > -- > 2.39.1 I think (for the plugin) this is related: --8<---------------cut here---------------start------------->8--- [+] All set and ready to build. g++ -O3 -g -funroll-loops -D_FORTIFY_SOURCE=1 -Wall -std=c++11 -fPIC -fno-rtti -I"/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/plugin"/include -I"/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so In file included from /gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/plugin/include/gcc-plugin.h:28, from instrumentation/afl-gcc-common.h:46, from instrumentation/afl-gcc-pass.so.cc:127: /gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/plugin/include/system.h:698:10: fatal error: gmp.h: No such file or directory 698 | #include | ^~~~~~~ compilation terminated. make[1]: *** [GNUmakefile.gcc_plugin:149: afl-gcc-pass.so] Error 1 make[1]: Leaving directory '/tmp/guix-build-aflplusplus-4.05c.drv-0/source' make: [GNUmakefile:790: install] Error 2 (ignored) --8<---------------cut here---------------end--------------->8--- Can you address the issue and send an updated patch? Thanks