Re: www/chromium 148.0.7778.96 compile failure on 14.3-RELEASE-p11

George Mitchell <[email protected]> Tue, 12 May 2026 18:53:19 -0400
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On 5/12/26 16:35, George Mitchell wrote:
> On 5/11/26 15:31, George Mitchell wrote:
>> [... Is the problem llvm22? ...]
>>  (bugzilla 295067).>
>>> [...]
>>
>> -- George
>>
> Gitup problem solved and I am back in business, trying a chromium
> build specifically using llvm21.  It'll probably be tomorrow before
> I'll have results to report.                            -- George
Once again proving how easy I am to confuse, I started a build of
the current version of chromium after ensuring that devel/llvm22 is
not installed.  Nevertheless, here's a typical line of compile output:

/usr/bin/c++ -DLLVM_EXPORTS -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/usr/ports/devel/llvm22/work-default/.build/lib/Support 
-I/usr/ports/devel/llvm22/work-default/llvm-project-22.1.5.src/llvm/lib/Support 
-I/usr/ports/devel/llvm22/work-default/.build/include 
-I/usr/ports/devel/llvm22/work-default/llvm-project-22.1.5.src/llvm/include 
-I/usr/ports/devel/llvm22/work-default/llvm-project-22.1.5.src/llvm/../third-party/siphash/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 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections  -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=c++17 
-fno-exceptions -funwind-tables -MD -MT 
lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF 
lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o 
lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c 
/usr/ports/devel/llvm22/work-default/llvm-project-22.1.5.src/llvm/lib/Support/FloatingPointMode.cpp

So somewhere along the line a /usr/ports/devel/llvm22/work-default/
directory got created, but "/usr/bin/c++' seems to be the compiler
invoked, and its version is "FreeBSD clang version 19.1.7" which is
what you would expect for FreeBSD 14.3-RELEASE-p11.  I guess I'll
have to restart and see when and why that directory gets created ...
-- George
OpenPGP_signature.asc (application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQQ6b7/Z+PlMzCwCfBGaHA937rZnfQUCagOvYAUDAAAAAAAKCRCaHA937rZnfVDd
AP90yXBg6D9Vukdbi14wzt0G+c0NCEqwSi7hcJ161DTdFQEA0RW5H3EuQNbGxFZF4ZdSr9ZRsPPq
1kabRnpLOkJGHQg=
=xqMN
-----END PGP SIGNATURE-----