From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753891AbdKNJIL (ORCPT ); Tue, 14 Nov 2017 04:08:11 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:63994 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753853AbdKNJH7 (ORCPT ); Tue, 14 Nov 2017 04:07:59 -0500 X-IronPort-AV: E=Sophos;i="5.44,393,1505772000"; d="scan'208";a="244539032" Date: Tue, 14 Nov 2017 10:07:28 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Masahiro Yamada cc: cocci@systeme.lip6.fr, Nicolas Palix , Gilles Muller , Linux Kernel Mailing List , Linux Kbuild mailing list Subject: Re: Coccinelle: badzero.cocci failure In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > coccicheck failed > $ cat cocci-debug.txt > /home/masahiro/bin/spatch -D report --no-show-diff --very-quiet > --cocci-file scripts/coccinelle/null/badzero.cocci --dir . -I > ./arch/x86/include -I ./arch/x86/include/generated -I ./include -I > ./arch/x86/include/uapi -I ./arch/x86/include/generated/uapi -I > ./include/uapi -I ./include/generated/uapi --include > ./include/linux/kconfig.h --jobs 8 --chunksize 1 > Fatal error: exception > Yes_prepare_ocamlcocci.LinkFailure("/tmp/ocaml_cocci_18c9f9.cmxs") Does your Coccinelle support OCaml? I'm not sure what is the proper way to check for this, but in my coccinelle/config.log file I have FEATURE_OCAML='1' spatch --version gives: spatch version 1.0.6-00147-g19f9421 compiled with OCaml version 4.02.3 Flags passed to the configure script: [none] Python scripting support: yes Syntax of regular expresssions: Str I'm not sure why it doesn't give feedback on whether OCaml scripting is supported. I will check on this. julia