Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFortran 7.3.0 compiler error (Ubuntu 18.04 LTS) #63

Closed
guidokanschat opened this issue Jul 6, 2018 · 1 comment
Closed

GFortran 7.3.0 compiler error (Ubuntu 18.04 LTS) #63

guidokanschat opened this issue Jul 6, 2018 · 1 comment

Comments

@guidokanschat
Copy link

When trying to install ttpy on Ubuntu 18.04 LTS, I run into the following internal error of GFortran 7.3.0:

    gfortran:f90: tt/tt-fort/print/dispmodule.f90
    tt/tt-fort/print/dispmodule.f90:1248:0:
    
         character(widthmax_dint(x, fmt)) :: sa(size(x))
    
    internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
    tt/tt-fort/print/dispmodule.f90:1248:0:
    
         character(widthmax_dint(x, fmt)) :: sa(size(x))
    
    internal compiler error: in conv_function_val, at fortran/trans-expr.c:3717
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
    error: Command "/usr/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops -I/usr/lib/python2.7/dist-packages/numpy/core/include -Ibuild/temp.linux-x86_64-2.7 -Ibuild/temp.linux-x86_64-2.7 -Ibuild/temp.linux-x86_64-2.7 -I/usr/include/python2.7 -c -c tt/tt-fort/print/dispmodule.f90 -o build/temp.linux-x86_64-2.7/tt/tt-fort/print/dispmodule.o -Jbuild/temp.linux-x86_64-2.7 -Ibuild/temp.linux-x86_64-2.7" failed with exit status 1

This happens with pip install as well as with manual install of the cloned sources. I am not sure if you want to fix this or wait, though.

@daskol
Copy link
Collaborator

daskol commented Jul 6, 2018

Duplicate of #60. Try to compile with gfortran newer than 6.0 or older than 9.0 or use other Fortran compiler.

@daskol daskol closed this as completed Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants