unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: 62666@debbugs.gnu.org
Subject: [bug#62666] [PATCH 0/2] Add aflplusplus
Date: Wed, 23 Aug 2023 10:34:48 +0800	[thread overview]
Message-ID: <87a5ui4hbr.wl-hako@ultrarare.space> (raw)
In-Reply-To: <20230404174449.5297-1-GNUtoo@cyberdimension.org>

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 <gmp.h>
      |          ^~~~~~~
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




  parent reply	other threads:[~2023-08-23  2:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04 17:44 [bug#62666] [PATCH 0/2] Add aflplusplus Denis 'GNUtoo' Carikli
2023-04-05  1:29 ` [bug#62666] [PATCH 1/2] gnu: " Denis 'GNUtoo' Carikli
2023-04-05  1:29   ` [bug#62666] [PATCH 2/2] gnu: aflplusplus: Add python support Denis 'GNUtoo' Carikli
2023-08-23  2:34 ` Hilton Chain via Guix-patches via [this message]
2023-09-15  3:25   ` [bug#62666] [PATCH 0/2] Add aflplusplus Denis 'GNUtoo' Carikli
2023-11-23 16:56 ` [bug#62666] (no subject) Denis 'GNUtoo' Carikli
2024-01-08  8:19 ` [bug#62666] [PATCH v3] gnu: Add aflplusplus Hilton Chain via Guix-patches via
2024-01-24  0:09   ` Denis 'GNUtoo' Carikli
2024-01-25 16:35     ` bug#62666: " Hilton Chain via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5ui4hbr.wl-hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=62666@debbugs.gnu.org \
    --cc=GNUtoo@cyberdimension.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).