🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.ports
1 messages
1 total messages Started by Brooks Davis Tue, 10 Nov 2026 15:42
Re: devel/llvm20 does not build
#158
Author: Brooks Davis
Date: Tue, 10 Nov 2026 15:42
89 lines
6653 bytes
It builds for many so you'll need to provide considerably more
information if you want help.

What ports tree revision is this?  What host are you building on
(architecture and specs)?  What is in your make.conf and ports.conf?
What options are selected?  Have any processes been killed by the OOM
killer during the prior build?

-- Brooks

On Tue, Nov 10, 2026 at 04:26:24PM +0100, Xavier Humbert wrote:
> Hi,
> 
> llvm21 and 22 build fine, but llvm20 fails :
> 
> [root@numenor llvm20]# MAKE_JOBS_UNSAFE=yes make all
> [...]
> [ 22% 1648/7367] /usr/bin/c++ -DCLANG_EXPORTS -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -I/usr/ports/devel/llvm20/work-default/.build/tools/clang/lib/AST
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/lib/AST
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/include
> -I/usr/ports/devel/llvm20/work-default/.build/tools/clang/include
> -I/usr/ports/devel/llvm20/work-default/.build/include
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/llvm/include
> -O2 -pipe -g -march=core2 -fstack-protector-strong -isystem /usr/local/include
> -fno-strict-aliasing -g?? -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 -fno-common -Woverloaded-virtual
> -Wno-nested-anon-types -O2 -pipe -g -march=core2 -fstack-protector-strong
> -isystem /usr/local/include -fno-strict-aliasing -g?? -isystem
> /usr/local/include?? -DNDEBUG -std=c++17?? -fno-exceptions -funwind-tables -MD
> -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -MF
> tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o.d -o
> tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -c /usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/lib/AST/TemplateName.cpp
> FAILED: [code=1]
> tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o
> /usr/bin/c++ -DCLANG_EXPORTS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS
> -I/usr/ports/devel/llvm20/work-default/.build/tools/clang/lib/AST
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/lib/AST
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/include
> -I/usr/ports/devel/llvm20/work-default/.build/tools/clang/include
> -I/usr/ports/devel/llvm20/work-default/.build/include
> -I/usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/llvm/include
> -O2 -pipe -g -march=core2 -fstack-protector-strong -isystem /usr/local/include
> -fno-strict-aliasing -g?? -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 -fno-common -Woverloaded-virtual
> -Wno-nested-anon-types -O2 -pipe -g -march=core2 -fstack-protector-strong
> -isystem /usr/local/include -fno-strict-aliasing -g?? -isystem
> /usr/local/include?? -DNDEBUG -std=c++17?? -fno-exceptions -funwind-tables -MD
> -MT tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -MF
> tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o.d -o
> tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -c /usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/lib/AST/TemplateName.cpp
> /usr/ports/devel/llvm20/work-default/llvm-project-20.1.8.src/clang/lib/AST/TemplateName.cpp:14:10:
> fatal error: 'clang/AST/Decl.h' file not found
> ?? ??14 | #include "clang/AST/Decl.h"
> ?? ?? ?? |?? ?? ?? ?? ?? ^~~~~~~~~~~~~~~~~~
> 1 error generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1
> 
> Regards,
> 
> Xavier
> 
> -- 
> Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
> https://www.amdh.fr
> 
> 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads