[Flang-dev] openblas compilation error

blubee blubeeme gurenchan at gmail.com
Fri Oct 5 08:26:30 EDT 2018


I am trying to compile openblas: https://github.com/xianyi/OpenBLAS

Everything is going smoothly until it reaches
the code in: OpenBLAS-0.2.20/lapack-netlib/SRC

This is the compile command:
flang -c -O2 -Wall -fPIC ssytrd_sb2st.F -o ssytrd_sb2st.o

The compilation fails with this error
F90-S-0023-Syntax error - unbalanced parentheses (ssytrd_sb2st.F: 230)
F90-S-0034-Syntax error at or near integer constant 1 (ssytrd_sb2st.F: 258)
F90-S-0028-Illegal real or double precision constant:  (ssytrd_sb2st.F: 264)
F90-S-0034-Syntax error at or near integer constant 1 (ssytrd_sb2st.F: 457)
F90-S-0034-Syntax error at or near ( (ssytrd_sb2st.F: 474)
F90-S-0034-Syntax error at or near identifier stind (ssytrd_sb2st.F: 508)
F90-S-0050-Assumed size array, d, is not a dummy argument (ssytrd_sb2st.F)
F90-S-0050-Assumed size array, e, is not a dummy argument (ssytrd_sb2st.F)
F90-S-0310-Adjustable array can not have automatic bounds specifiers - ab
(ssytrd_sb2st.F: 250)
F90-S-0050-Assumed size array, ab, is not a dummy argument (ssytrd_sb2st.F)
F90-S-0050-Assumed size array, hous, is not a dummy argument
(ssytrd_sb2st.F)
F90-S-0050-Assumed size array, work, is not a dummy argument
(ssytrd_sb2st.F)
  0 inform,   0 warnings,  12 severes, 0 fatal for MAIN

ssytrd_sb2st.F source code:
https://github.com/xianyi/OpenBLAS/blob/74608e470dfd671f682ca83261ca9b45c492e0b2/lapack-netlib/SRC/ssytrd_sb2st.F

Any suggested fixes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flang-compiler.org/pipermail/flang-dev_lists.flang-compiler.org/attachments/20181005/507fd1e1/attachment.html>


More information about the flang-dev mailing list