From: michelemartone@users.sourceforge.net (Michele Martone)
To: cocci@systeme.lip6.fr
Subject: [Cocci] [cocci-bug] coccinelle 1.0.6: OpenMP #pragma directive leads to function ignore
Date: Wed, 2 May 2018 15:16:39 +0200 [thread overview]
Message-ID: <20180502131639.GA26874@localhost> (raw)
In-Reply-To: <CA+MoWDrmVnz+cXjepPwWqBPgAoujD9m+1pAMv7JJMFy_2CjNUA@mail.gmail.com>
On 20180430 at 09:44, Peter Senna Tschudin wrote:
> [...]
>
> > #!/bin/bash
> > set -e
> > set -x
> > trap "read" EXIT # will block for input on error
> > git clone https://github.com/coccinelle/coccinelle.git
> > cd coccinelle
> > ./autogen
> > ./configure
> > make # it stops here
> > # make install
> >
> > and it reaches:
> >
> > ...
> > OCAMLOPT enter.ml
> > OCAMLC main.mli
> > OCAMLOPT main.ml
> > OCAMLOPT -o spatch.opt
> > /usr/lib64/ocaml/libbigarray.a(bigarray_stubs.o): In function `caml_ba_deserialize':
> > /home/abuild/rpmbuild/BUILD/ocaml-4.03.0/otherlibs/bigarray/bigarray_stubs.c:979: undefined reference to `caml_umul_overflow'
> > /home/abuild/rpmbuild/BUILD/ocaml-4.03.0/otherlibs/bigarray/bigarray_stubs.c:985: undefined reference to `caml_umul_overflow'
> > collect2: error: ld returned 1 exit status
> > File "caml_startup", line 1:
> > Error: Error during linking
> > Makefile:609: recipe for target 'spatch.opt' failed
> > make: *** [spatch.opt] Error 2
> > rm parsing_cocci/lexer_cli.ml parsing_cocci/parser_cocci_menhir.ml.d parsing_cocci/parser_cocci_menhir.mli.d parsing_cocci/lexer_script.ml parsing_cocci/lexer_cocci.ml parsing_c/lexer_c.ml
> > + read
>
> I usually ask the package manager to install build dependencies for me:
>
> Fedora:
> $ sudo dnf builddep coccinelle
>
> Ubuntu/Debian:
> $ sudo apt-get build-dep coccinelle
>
> [...]
Dear Peter, thanks for the apt-get based recipe,
it worked for me on debian buster with ocaml-4.0.5.
Dear Julia, thanks for the pragma patch which will
enable coccinelle to support OpenMP-enabled listings
too (I just tested it on the above setup) :-)
Michele
next prev parent reply other threads:[~2018-05-02 13:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 8:12 [Cocci] [cocci-bug] coccinelle 1.0.6: OpenMP #pragma directive leads to function ignore Michele Martone
2018-04-26 8:25 ` Julia Lawall
2018-04-26 10:21 ` Michele Martone
2018-04-26 10:22 ` Julia Lawall
2018-04-30 6:43 ` Julia Lawall
2018-04-30 7:39 ` Michele Martone
2018-04-30 7:42 ` Julia Lawall
2018-04-30 7:47 ` Michele Martone
2018-04-30 7:44 ` Peter Senna Tschudin
2018-05-02 13:16 ` Michele Martone [this message]
2018-05-25 13:56 ` Michele Martone
2018-04-26 13:01 ` [Cocci] Coccinelle " SF Markus Elfring
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180502131639.GA26874@localhost \
--to=michelemartone@users.sourceforge.net \
--cc=cocci@systeme.lip6.fr \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.