[Bug 242252] www/qt5-webengine: fails to build on armv7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 28 21:05:29 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242252

Jason E. Hale <jhale at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhale at FreeBSD.org

--- Comment #8 from Jason E. Hale <jhale at FreeBSD.org> ---
(In reply to Robert Clausecker from comment #7)
PCH usage is disabled by default [1] and we don't do anything locally to enable
it. The build error in qt6-webengine (on aarch64) related to PCH being
accidentally enabled (or rather ineffectively disabled) was:

[ 48% 14110/29270] CXX obj/base/base/logging.o
FAILED: obj/base/base/logging.o
/usr/bin/c++ -MMD -MF obj/base/base/logging.o.d -DBASE_IMPLEMENTATION
-DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_OZONE=1
-DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOPENSSL_NO_ASM -DUSE_SYSTEM_LIBEVENT=1
-DGLOG_EXPORT= -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0
-DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I. -Igen
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/abseil-cpp
-I../../../../../qtwebengine-everywhere-s
rc-6.5.3/src/3rdparty/chromium/third_party/boringssl/src/include
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/protobuf/src
-Igen/protoc_out
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/icu/source/common
-I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/icu/source/i18n
-Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough
-Wextra-semi -Wthread-safety -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option
-Wno-predefined-identifier-outside-function -Wno-unknown-pragmas
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-di
agnostics -fmerge-all-constants -no-canonical-prefixes -fno-omit-frame-pointer
-g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion
-Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare
-Wexit-time-destructors -Wglobal-constructors -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=1
-Wno-parentheses-equality -Wno-tautological-compare
-Wno-thread-safety-attributes -Wno-undefined-bool-conversion
-Wno-tautological-undefined-compare -std=c++20 -Wno-trigraphs -fno-exceptions
-fno-rtti -fvisibility-inlines-hidden -include obj/base/base/precompile.h-cc
-isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc
-o obj/base/base/logging.o
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc:24:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/task/common/task_annotator.h:14:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/base_tracing.h:19:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/interned_args_helper.h:13:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event.h:28:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_log.h:30:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event_impl.h:17:
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_util.h:51:3:
error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a
value of unrelated type 'va_list' (aka 'std::__va_list')
  va_start(arguments, format);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start'
  #define       va_start(ap, last)      __builtin_va_start((ap), (last))
                                                           ^~~~
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc:24:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/task/common/task_annotator.h:14:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/base_tracing.h:19:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/interned_args_helper.h:13:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event.h:28:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_log.h:30:
In file included from
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event_impl.h:17:
../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_util.h:53:10:
error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a
value of unrelated type 'va_list' (aka 'std::__va_list')
  va_end(arguments);
         ^~~~~~~~~
/usr/include/sys/_stdarg.h:51:40: note: expanded from macro 'va_end'
  #define       va_end(ap)              __builtin_va_end(ap)
                                                         ^~

I don't think these problems are related. Since the attached build log is over
2 years old now, is the build still failing in the same way with <cmath> not
being found with the latest qt5-webengine? Sorry, but I don't have the CPU time
to test myself.

[1]
https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/buildtools/config/common.pri?h=5.15#n58

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list