From owner-freebsd-ports@FreeBSD.ORG Fri Nov 21 18:24:58 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40FD5680 for ; Fri, 21 Nov 2014 18:24:58 +0000 (UTC) Received: from vfemail.net (nine.vfemail.net [108.76.175.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3A2B7E6 for ; Fri, 21 Nov 2014 18:24:54 +0000 (UTC) Received: (qmail 61427 invoked by uid 89); 21 Nov 2014 18:24:52 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 21 Nov 2014 18:24:51 -0000 Received: (qmail 61406 invoked by uid 89); 21 Nov 2014 18:24:28 -0000 Received: by simscan 1.3.1 ppid: 61402, pid: 61404, t: 0.1376s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 21 Nov 2014 18:24:28 -0000 Received: (qmail 12036 invoked by uid 89); 21 Nov 2014 18:24:28 -0000 Received: by simscan 1.4.0 ppid: 12001, pid: 12029, t: 1.5056s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 21 Nov 2014 18:24:26 -0000 From: Jan Beich To: Fabian Keil Subject: Re: Request for (i386) testing: american fuzzy lop References: <3dc1c153.7b7b9177@fabiankeil.de> <546DF8A5.3060601@gmail.com> <3fb914c3.1002708a@fabiankeil.de> <8C0E4BEC-3B2B-4234-8BA8-60D53F5E0795@FreeBSD.org> <1e452c69.4f66f2ab@fabiankeil.de> Date: Fri, 21 Nov 2014 19:24:13 +0100 In-Reply-To: <1e452c69.4f66f2ab@fabiankeil.de> (Fabian Keil's message of "Fri, 21 Nov 2014 18:12:13 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 18:24:58 -0000 Fabian Keil writes: >> On 20 Nov 2014, at 17:51, Jan Beich wrote: >> ... >> > while poudriere caught Clang i386 failing >> > >> > [*] Testing the CC wrapper and instrumentation output... >> > AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O2 -pipe >> > -fstack-protector -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 >> > -Wno-pointer-sign -DAFL_PATH=\"/prefix/afl-0.60b/lib/afl\" >> > -DDOC_PATH=\"/prefix/afl-0.60b/share/doc/afl\" -DVERSION=\"0.60b\" >> > -Wno-format test-instr.c -o test-instr >> > /tmp/.afl-19244-1416499444.s: Assembler messages: >> > /tmp/.afl-19244-1416499444.s:222: Error: unknown pseudo-op: `.cfi_sections' >> > clang: error: assembler command failed with exit code 1 (use -v >> > to see invocation) >> >> This has nothing do to with clang per se, it's GNU as outputting these messages. >> Clang just runs it, if you disable its integrated assembler. >> Is "afl-clang" a customized version? > > afl-clang is a thin wrapper around clang that makes sure afl-as > (a wrapper around as) gets called. In clang case, afl-as should feed the modified assembly back to the compiler, not to GNU as. Try replacing |as| with |${CC} -c| except adjusting positional parameters may slightly complicate it. > > Fabian ------------------------------------------------- VFEmail.net - http://www.vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!