[Bug 296203] llvm1[89] broken with llvm21 if option FLANG enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jun 2026 12:58:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296203
Bug ID: 296203
Summary: llvm1[89] broken with llvm21 if option FLANG enabled
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: brooks@FreeBSD.org
Reporter: lampa@fit.vutbr.cz
Flags: maintainer-feedback?(brooks@FreeBSD.org)
Assignee: brooks@FreeBSD.org
# cd /usr/ports/devel/llvm19
# make
...
FAILED: [code=1]
tools/flang/runtime/CMakeFiles/FortranRuntime.dir/io-api-minimal.cpp.o
/usr/bin/c++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/usr/ports/devel/llvm19/work-default/.build/tools/flang/runtime
-I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/flang/runtime
-I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/flang/include
-I/usr/ports/devel/llvm19/work-default/.build/tools/flang/include
-I/usr/ports/devel/llvm19/work-default/.build/include
-I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/llvm/include
-isystem
/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/llvm/../mlir/include
-isystem /usr/ports/devel/llvm19/work-default/.build/tools/mlir/include
-isystem /usr/ports/devel/llvm19/work-default/.build/tools/clang/include
-isystem
/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/llvm/../clang/include
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC
-fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color
-ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-string-conversion
-Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument
-Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types
-fno-lto -O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17
-U_GLIBCXX_ASSERTIONS -U_LIBCPP_ENABLE_ASSERTIONS -fno-exceptions
-funwind-tables -MD -MT
tools/flang/runtime/CMakeFiles/FortranRuntime.dir/io-api-minimal.cpp.o -MF
tools/flang/runtime/CMakeFiles/FortranRuntime.dir/io-api-minimal.cpp.o.d -o
tools/flang/runtime/CMakeFiles/FortranRuntime.dir/io-api-minimal.cpp.o -c
/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/flang/runtime/io-api-minimal.cpp
/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/flang/runtime/io-api-minimal.cpp:153:11:
error: '__libcpp_verbose_abort' is missing exception specification 'noexcept'
153 | void std::__libcpp_verbose_abort(char const *format, ...) {
| ^
| noexcept
/usr/include/c++/v1/__verbose_abort:24:28: note: previous declaration is here
24 | __printf__, 1, 2) void __libcpp_verbose_abort(const char* __format,
...) _NOEXCEPT;
| ^
1 error generated.
# uname -r
15.1-STABLE
# cc -v
FreeBSD clang version 21.1.8 (https://github.com/llvm/llvm-project.git
llvmorg-21.1.8-0-g2078da43e25a)
Target: x86_64-unknown-freebsd15.1
Thread model: posix
InstalledDir: /usr/bin
# more /var/db/ports/devel_llvm19/options
# This file is auto-generated by 'make config'.
# Options for llvm19-19.1.0
_OPTIONS_READ=llvm19-19.1.0
_FILE_COMPLETE_OPTIONS_LIST=BE_AMDGPU BE_WASM CLANG COMPILER_RT DOCS EXTRAS
FLANG GOLD LIT LLD LLDB MLIR OPENMP POLLY PYCLANG STATIC_LIBS BE_FREEBSD
BE_NATIVE BE_STANDARD
OPTIONS_FILE_SET+=BE_AMDGPU
OPTIONS_FILE_SET+=BE_WASM
OPTIONS_FILE_SET+=CLANG
OPTIONS_FILE_SET+=COMPILER_RT
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=EXTRAS
OPTIONS_FILE_SET+=FLANG
OPTIONS_FILE_SET+=GOLD
OPTIONS_FILE_SET+=LIT
OPTIONS_FILE_SET+=LLD
OPTIONS_FILE_SET+=LLDB
OPTIONS_FILE_SET+=MLIR
OPTIONS_FILE_SET+=OPENMP
OPTIONS_FILE_SET+=POLLY
OPTIONS_FILE_SET+=PYCLANG
OPTIONS_FILE_SET+=STATIC_LIBS
OPTIONS_FILE_UNSET+=BE_FREEBSD
OPTIONS_FILE_UNSET+=BE_NATIVE
OPTIONS_FILE_SET+=BE_STANDARD
--
You are receiving this mail because:
You are the assignee for the bug.