kylebgorman / pynini

Read-only mirror of Pynini
http://pynini.opengrm.org
Apache License 2.0
118 stars 27 forks source link

compilation fails on GCC with internal compiler error #31

Closed bertsky closed 3 years ago

bertsky commented 3 years ago

I am having difficulties comiling pynini – run via pip install . in the git working directory of the current version (after building+installing OpenFST 1.7.5) or source tarball of upstream 2.1.2 (after building+installing OpenFST 1.7.9).

Unfortunately, I only get this when running in a vanilla Ubuntu 18.04 container within a CircleCI setup (which uses this makefile and is based on this Docker image). I cannot even reproduce this in a local Ubuntu 18.04 myself.

Here are the full logs:

Any help on how to approach this would be much appreciated.

kylebgorman commented 3 years ago

I'll upgrade what's mirrored here to 2.1.2, though as you mention that is not expected to help. In the past when I've seen this is really is perfectly good C++ code that somehow blows the stack of the compiler.

I will assume this can be reproduced on certain platforms, but probably none of the ones I have sitting around.

kylebgorman commented 3 years ago

Upgrade to 2.1.2 is complete

kylebgorman commented 3 years ago

Going to close this from inactivity/can't replicate. CI build testing on Mac OS X and Linux is handled by Conda and that should detect this for most users, and also gets you around the need to build locally.