[Development] INTEGRITY help needed: IPC & QT_CONFIG weirdness

Niclas Rosenvik nros at netbsd.org
Tue Nov 8 21:59:39 CET 2022


On Tue, 08 Nov 2022 10:35:08 -0800
Thiago Macieira <thiago.macieira at intel.com> wrote:

> On Saturday, 5 November 2022 22:59:06 PST Thiago Macieira wrote:
> > Ok, now I need QNX help from build
> > https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1679395790
> 
> ping, anyone?
> 
> I've updated the configure summary to include whether the key was
> enabled and it was indeed NOT enabled:
> 
>  -- Performing Test HAVE_sysv_shm
>  -- Performing Test HAVE_sysv_shm - Failed
>  -- Performing Test HAVE_sysv_sem
>  -- Performing Test HAVE_sysv_sem - Failed
>  -- Performing Test HAVE_posix_shm
>  -- Performing Test HAVE_posix_shm - Success
>  -- Performing Test HAVE_posix_sem
>  -- Performing Test HAVE_posix_sem - Success
> [...]
>    Defaulting legacy IPC to POSIX ......... no
> 
> This is the last remaining failure in the patchset. If no one
> suggests a fix, I'll create a bug report for Someone Else™ and
> QEXPECT_FAIL the issue.
> 

Hi Thiago, I just looked at the build log at:
https://testresults.qt.io/coin/api/results/qt/qtbase/31eb60ef6fa413035971e47cc3f0eccaeba2a4dd/LinuxUbuntu_20_04x86_64QNXQNX_710arm64GCCqtci-linux-Ubuntu-20.04-x86_64-50-ab8bebDisableTests_UseConfigure/fbbf955d4168c54abbfb4dde4ba71ab3b3195ce0/build_1679395838/log.txt.gz

It includes this:
/CMakeFiles/Core.dir/cmake_pch.hxx -Wp,-MD,src/corelib/CMakeFiles/Core.dir/ipc/qsharedmemory_posix.cpp.o.d -Wp,-MT,src/corelib/CMakeFiles/Core.dir/ipc/qsharedmemory_posix.cpp.o -Wp,-MF,src/corelib/CMakeFiles/Core.dir/ipc/qsharedmemory_posix.cpp.o.d -o src/corelib/CMakeFiles/Core.dir/ipc/qsharedmemory_posix.cpp.o -c /home/qt/work/qt/qtbase/src/corelib/ipc/qsharedmemory_posix.cpp
agent:2022/11/06 03:52:38 build.go:394: In file included from /home/qt/work/qt/qtbase/build/target/include/QtCore/qtipccommon.h:1,
agent:2022/11/06 03:52:38 build.go:394:                  from /home/qt/work/qt/qtbase/src/corelib/ipc/qsharedmemory.h:7,
agent:2022/11/06 03:52:38 build.go:394:                  from /home/qt/work/qt/qtbase/src/corelib/ipc/qsharedmemory_posix.cpp:6:
agent:2022/11/06 03:52:38 build.go:394: /home/qt/work/qt/qtbase/build/target/include/QtCore/../../../../src/corelib/ipc/qtipccommon.h:125:21: warning: 'QNativeIpcKey::TypeAndFlags::type' is too small to hold all values of 'enum class QNativeIpcKey::Type'
agent:2022/11/06 03:52:38 build.go:394:          Type type : 15;
agent:2022/11/06 03:52:38 build.go:394:                      ^~
agent:2022/11/06 03:52:39 build.go:394: [277/1163]
/opt/qnx710/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le
-Wc,-isysroot,/opt/qnx710/target/qnx7 -lang-c++ -DCore_EXPORTS
-DPCRE2_CODE_UNIT_WIDTH=16 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT
-DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_UP_TO=0x050000 

Is this the error that causes QNativeIpcKey::Type::SystemV to be the
value you mentioned?
warning: 'QNativeIpcKey::TypeAndFlags::type' is too small to hold all
values of 'enum class QNativeIpcKey::Type'

I don't know how to fix it but it might be a step in the right
direction, if it is the error.

Regards,
Niclas Rosenvik


More information about the Development mailing list