Skip to content

Instantly share code, notes, and snippets.

@twwlogin
Last active February 24, 2023 20:40
Show Gist options
  • Save twwlogin/6065e8b4191bd4bb957f692e4905b845 to your computer and use it in GitHub Desktop.
Save twwlogin/6065e8b4191bd4bb957f692e4905b845 to your computer and use it in GitHub Desktop.
cd /opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/redhat-linux-build/lib/Frontend && /usr/bin/g++ -DFLANG_LITTLE_ENDIAN=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/include -I/opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/redhat-linux-build/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -ffunction-sections -fdata-sections -Wno-deprecated-copy -fno-strict-aliasing -fno-semantic-interposition -O2 -g -DNDEBUG -std=c++17 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -MD -MT lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -MF CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o.d -o CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -c /opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/lib/Frontend/FrontendActions.cpp
In file included from /opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/include/flang/Tools/CLOptions.inc:16,
from /opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/lib/Frontend/FrontendActions.cpp:480:
/opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/include/flang/Optimizer/CodeGen/CodeGen.h:72:10: fatal error: flang/Optimizer/CodeGen/CGPasses.h.inc: No such file or directory
72 | #include "flang/Optimizer/CodeGen/CGPasses.h.inc"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [lib/Frontend/CMakeFiles/obj.flangFrontend.dir/build.make:135: lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o] Error 1
gmake[2]: Leaving directory '/opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:1970: lib/Frontend/CMakeFiles/obj.flangFrontend.dir/all] Error 2
gmake[1]: Leaving directory '/opt/src/latest/devel/llvm-15.0.7/src/01-1/BUILD/flang-15.0.7.src/redhat-linux-build'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment