You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing a build failure in the gst-plugins-rs subproject when building GStreamer on an Intel N100 CPU.
The same build software environment works flawlessly on an Intel Core 11th Gen CPU.
Here are the details of the issue
Describe the bug
Trying to setting up a Rust environment and configuring a Meson build.
Meson Build Configuration in Shell:
rustup default stable
# bash completion is not supported in meson above 0.62
run meson setup . ../gstreamer \
--buildtype release --unity off --strip \
--prefix=/opt/test \
--libdir=/opt/test/lib \
--default-library shared \
--wrap-mode=nofallback \
-Dorc-source=system \
-Dgpl=enabled \
-Drs=enabled \
-Dcpp_args="-std=c++20" \
-Dexamples=disabled -Dtests=enabled -Dgtk_doc=disabled \
-Dpackage-origin="https://github.com/GStreamer" -Dvaapi=enabled \
"$@"
}
____BUILD_PHASE____
run install -d "/opt/test/include"
time run ninja -l $AD_HW_CORES all
AD_HW_CORES=4
On Intel N100 CPU
The execution logs of above script:
# rustup default stable
----------------------------------------
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-05-02, rust version 1.78.0 (9b00956e5 2024-04-29)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
15.1 MiB / 15.1 MiB (100 %) 11.0 MiB/s in 1s ETA: 0s
info: downloading component 'rust-std'
24.3 MiB / 24.3 MiB (100 %) 11.0 MiB/s in 2s ETA: 0s
info: downloading component 'rustc'
63.7 MiB / 63.7 MiB (100 %) 10.5 MiB/s in 6s ETA: 0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
15.1 MiB / 15.1 MiB (100 %) 3.4 MiB/s in 4s ETA: 0s
info: installing component 'rust-std'
24.3 MiB / 24.3 MiB (100 %) 13.5 MiB/s in 1s ETA: 0s
info: installing component 'rustc'
63.7 MiB / 63.7 MiB (100 %) 14.1 MiB/s in 4s ETA: 0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
stable-x86_64-unknown-linux-gnu installed - rustc 1.78.0 (9b00956e5 2024-04-29)
----------------------------------------
meson setup . ../gstreamer --buildtype release --unity off --strip --prefix=/opt/test --libdir=/opt/test/lib --default-library shared --wrap-mode=nofallback -Dorc-source=system -Dgpl=enabled -Drs=enabled -Dcpp_args=-std=c++20 -Dexamples=disabled -Dtests=enabled -Dgtk_doc=disabled -Dpackage-origin=https://github.com/GStreamer/gstreamer
----------------------------------------
The Meson build system
Version: 1.4.0
Source dir: /mnt/gstreamer
Build dir: /mnt/gstreamer.build
Build type: native build
Project name: gstreamer-full
Project version: 1.24.0
C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/opt/miniconda/bin/python3.11)
Program gitlint found: NO
Message: gitlint not found or too old, please install it with your package manager or `python3 -m pip install gitlint` to enable the commit message hook
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency orc-0.4 found: YES 0.4.33
Following all Subproject finished.
Executing subproject gstreamer
gstreamer| Project name: gstreamer
gstreamer| Project version: 1.24.0
gstreamer| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gstreamer| Subproject gstreamer finished.
Executing subproject gst-plugins-base
gst-plugins-base| Project name: gst-plugins-base
gst-plugins-base| Project version: 1.24.0
gst-plugins-base| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-base| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-base| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-base| Subproject gst-plugins-base finished.
Executing subproject gst-plugins-good
gst-plugins-good| Project name: gst-plugins-good
gst-plugins-good| Project version: 1.24.0
gst-plugins-good| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-good| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-good| Subproject gst-plugins-good finished.
Executing subproject libnice
libnice| Project name: libnice
libnice| Project version: 0.1.21.1
libnice| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
libnice| C linker for the host machine: cc ld.bfd 2.38
libnice| Subproject libnice finished.
../gstreamer/meson.build:208: WARNING: DEPRECATED use of the `plugins` variable in libnice.
../gstreamer/meson.build:209: WARNING: The variable should now be called `gst_plugins` and use:
../gstreamer/meson.build:210: WARNING: `declare_dependency( link_with: <plugin_target>, variable: {'full_path': <plugin_target>.full_path()})` instead
Executing subproject gst-plugins-bad
gst-plugins-bad| Project name: gst-plugins-bad
gst-plugins-bad| Project version: 1.24.0
gst-plugins-bad| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-bad| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-bad| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-bad| Message: Hotdoc not found, not building the documentation
gst-plugins-bad| Build targets in project: 1186
gst-plugins-bad| Subproject gst-plugins-bad finished.
Executing subproject gst-plugins-ugly
gst-plugins-ugly| Project name: gst-plugins-ugly
gst-plugins-ugly| Project version: 1.24.0
gst-plugins-ugly| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-ugly| C linker for the host machine: cc ld.bfd 2.38
gst-plugins-ugly| C++ compiler for the host machine: c++ (gcc 12.3.0 "c++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-plugins-ugly| Configuring config.h using configuration
gst-plugins-ugly| Build targets in project: 1246
gst-plugins-ugly| Subproject gst-plugins-ugly finished.
Executing subproject gst-libav
gst-libav| Project name: gst-libav
gst-libav| Project version: 1.24.0
gst-libav| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-libav| C linker for the host machine: cc ld.bfd 2.38
gst-libav| Message: Package release date: 2024-03-04
gst-libav| Configuring config.h using configuration
gst-libav| Build targets in project: 1254
gst-libav| Subproject gst-libav finished.
Executing subproject gst-rtsp-server
gst-rtsp-server| Project name: gst-rtsp-server
gst-rtsp-server| Project version: 1.24.0
gst-rtsp-server| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-rtsp-server| C linker for the host machine: cc ld.bfd 2.38
gst-rtsp-server| Dependency gio-2.0 found: YES 2.72.4 (cached)
gst-rtsp-server| Configuring config.h using configuration
gst-rtsp-server| Build targets in project: 1275
gst-rtsp-server| Subproject gst-rtsp-server finished.
Executing subproject gst-devtools
gst-devtools| Project name: gst-devtools
gst-devtools| Project version: 1.24.0
gst-devtools| C compiler for the host machine: cc (gcc 12.3.0 "cc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0")
gst-devtools| Program /mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher found: YES (/mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher)
gst-devtools| Program hotdoc skipped: feature doc disabled
gst-devtools| Message: Hotdoc not found, not building the documentation
gst-devtools| Build targets in project: 1301
gst-devtools| Subproject gst-devtools finished.
To Reproduce
Please include your meson.build files, preferably as a minimal toy example showing the issue.
You may need to create simple source code files (don't include private/proprietary code). Rust environment_build_logs.log
System parameters
What operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.)
Ubuntu 22.04
What Python version are you using e.g. 3.8.0
*3.10.8-1~22.04 What rustc version
rustc 1.78.0
What meson --version
0.61.2
What ninja --version if it's a Ninja build
1.10.1
Kernel
uname -a
Linux DEB-HYPERV-3b058ba093d 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux
CPU
root@DEB-HYPERV-3b058ba093d:# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel(R) Corporation
Model name: Intel(R) N100
BIOS Model name: Intel(R) N100 None CPU @ 2.8GHz
BIOS CPU family: 1
CPU family: 6
Model: 190
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: 0
BogoMIPS: 1612.79
Observations:
The error only occurs on the Intel N100 CPU.
The build completes successfully on the Intel Core 11th Gen CPU with the same configuration.
The failure is isolated to the gst-plugins-rs subproject.
The text was updated successfully, but these errors were encountered:
AFAICT this is not a bug in the compiler. Please fire the issue on gst-plugins-rs instead.
Also from the build log, the build seems to fall because rustc didn't not exit with status 0.
But rustc in that case only generated 2 warnings. You might check that your meson build
doesn't deny warnings or whatever.
The log says that rustc was killed by (signal: 9, SIGKILL: kill). Have you checked your kernel logs whether it was killed by the OOM killer/there was some event that caused the kernel to kill the process?
I'm experiencing a build failure in the gst-plugins-rs subproject when building GStreamer on an Intel N100 CPU.
The same build software environment works flawlessly on an Intel Core 11th Gen CPU.
Here are the details of the issue
Describe the bug
Trying to setting up a Rust environment and configuring a Meson build.
Meson Build Configuration in Shell:
AD_HW_CORES=4
On Intel N100 CPU
The execution logs of above script:
Following all Subproject finished.
Its failing Executing subproject gst-plugins-rs
To Reproduce
Please include your
meson.build
files, preferably as a minimal toy example showing the issue.You may need to create simple source code files (don't include private/proprietary code).
Rust environment_build_logs.log
System parameters
Ubuntu 22.04
*3.10.8-1~22.04
What rustc version
rustc 1.78.0
meson --version
0.61.2
ninja --version
if it's a Ninja build1.10.1
Kernel
CPU
Observations:
The text was updated successfully, but these errors were encountered: