Christian Helmuth
058990de48
pc/uart: fix build errors with -std=gnu++20
...
Fixes #4885
2023-05-30 12:03:30 +02:00
Christian Helmuth
cfca9899b2
virtualbox6: fix build errors with -std=gnu++20
...
Fixes #4872
2023-05-30 12:03:30 +02:00
Sebastian Sumpf
e1b6855352
libport: remove icu library
...
This was required by QtWebKit in the past, the QtWebEngine ships its own
version. No other code depends on this. Revive if needed.
fixes #4870
2023-05-30 12:03:30 +02:00
Sebastian Sumpf
9713fa505f
vbox6: bump version from 6.1.26 to 6.1.44
...
Fixes most of the GCC 12 problems.
issue #4666
2023-05-30 12:03:30 +02:00
Christian Prochaska
ee9281b458
qt5: install host tools in /usr/local/genode/tool/23.05
...
Issue #4868
2023-05-30 12:03:30 +02:00
Christian Prochaska
c4b8fae563
launchpad: fix build errors with -std=gnu++20
...
Fixes #4884
2023-05-30 12:03:30 +02:00
Christian Prochaska
b696439a67
intel_gpu_drv: fix build errors with -std=gnu++20
...
Fixes #4883
2023-05-30 12:03:30 +02:00
Christian Prochaska
74734b7dd9
vfs_tap: fix build errors with -std=gnu++20
...
Fixes #4882
2023-05-30 12:03:30 +02:00
Alexander Boettcher
1f2dc78feb
intel/display: replace intel_fbdev with drm/kms
...
Fixes #4806
2023-05-30 12:03:30 +02:00
Sebastian Sumpf
ae19ab0cff
gpu/intel: remove vgpus from schedule before destruction
...
When a GPU session is destroyed, remove vgpu of session from scheduling
and as possible active vgpu. Otherwise, page faults might occur in case
already destroyed vgpu object is referenced during interrupt handling.
fixes #4881
2023-05-30 12:03:29 +02:00
Sebastian Sumpf
e64f2eaff9
ldso: save floating point arguments on arm_v8a (GCC 12)
...
Apparently we need to save the floating point arguments when entering
the linker in case "-fno-tree-vectorize" is at work. Otherwise this
registers get corrupted during jump slot relocation.
Fixes #4879
2023-05-30 12:03:29 +02:00
Norman Feske
a12fcfea0d
libc: replace enum by static constexpr (C++20)
...
Related to issue #4869
2023-05-30 12:03:29 +02:00
Norman Feske
8e32e7a14e
os: replace enum by static constexpr (C++20)
...
Fixes the build of the nic_router.
Issue #4869
2023-05-30 12:03:29 +02:00
Norman Feske
29079b2ac8
os: define CAP_QUOTA as constexpr (C++20)
...
Issue #4869
2023-05-30 12:03:29 +02:00
Norman Feske
604d6bf567
os: make nitpicker compatible to C++20
...
Avoid arithmetics on enum values, disambiguate '==' operator of
handle_registry.
Fixes #4875
2023-05-30 12:03:29 +02:00
Norman Feske
f679864c23
trace: C++20 compatibility
...
With the new standard, volatile variables cannot be incremented,
decremented, or modified by compound assignments (e.g., +=).
Issue #4869
2023-05-30 12:03:29 +02:00
Norman Feske
1dac048413
base: make RPC framework compatible to C++20
...
Avoid the use of arithmetics on enum values.
Issue #4869
2023-05-30 12:03:29 +02:00
Norman Feske
81e85bf1b5
sculpt_manager: fix build errors with '-std=gnu++20'
...
Fixes #4874
2023-05-30 12:03:29 +02:00
Christian Prochaska
2383d802ba
test-stdcxx: fix build errors with '-std=gnu++20'
...
Fixes #4877
2023-05-30 12:03:29 +02:00
Christian Helmuth
11de03fedc
vbox5_genode_usb_hid_raw: adapt to usb_host changes
...
Issue #4795
2023-05-30 12:03:29 +02:00
Christian Prochaska
1e1df21a94
Remove stale Xen support
...
Fixes #4859
2023-05-30 12:03:29 +02:00
Christian Helmuth
502f5b8a59
vbox6: fix build errors with GCC 12
...
The fixes were manually backported from virtualbox-trunk.
Issue genodelabs/genode#4827
Fixes genodelabs/genode#4846
2023-05-30 12:03:29 +02:00
Christian Prochaska
03c23d299a
qt5: reduce external dependencies of host tools
...
Fixes #4868
2023-05-30 12:03:28 +02:00
Christian Helmuth
590cf78c0f
lx_emul: clarify Linux does not support -O0/-Og
2023-05-30 12:03:28 +02:00
Norman Feske
978f86ba60
recipes/pkg/sculpt/README: spelling fix
2023-05-30 12:03:28 +02:00
Stefan Kalkowski
5e0a9052d2
hw: prevent alignment faults in bootstrap
...
Either enable strict-alignment or disable FPU code generation by gcc
regarding bootstrap code, which cannot handle alignment faults during
initialization properly.
Ref genodelabs/genode#4827
2023-05-30 12:03:28 +02:00
Christian Helmuth
37d1855907
lx_fs: fix build errors with GCC 12
...
/data/genode/repos/os/src/server/lx_fs/directory.h: In member function ‘virtual Genode::size_t Lx_fs::Directory::read(char*, Genode::size_t, File_system::seek_off_t)’:
/data/genode/repos/os/src/server/lx_fs/directory.h:224:53: error: ‘dent’ may be used uninitialized [-Werror=maybe-uninitialized]
224 | .type = type(dent->d_type),
| ~~~~~~^~~~~~
/data/genode/repos/os/src/server/lx_fs/directory.h:197:40: note: ‘dent’ was declared here
197 | struct dirent *dent;
| ^~~~
Issue genodelabs/genode#4827
2023-05-30 12:03:28 +02:00
Sebastian Sumpf
d59a2b4b38
ldso: fix page fault at IP 0 with GCC 12 on RISC-V
...
Eliminate the creation of 'Genode::String's before the linker has been
self relocated, because 'Genode::String's will call 'Genode::strlen' on
construction from C-Strings, which has now become a GOT relative call,
while the GOT contains only zeros before relocation -> page fault at
IP 0.
fixes #4867
related to #4827
2023-05-30 12:03:28 +02:00
Christian Helmuth
d35e6f1aa2
Remove extra ‘;’
2023-05-30 12:03:28 +02:00
Sebastian Sumpf
cc5d476fb1
libc/riscv: fix link errors with GCC 12
...
Dynamically linked functions can not be called directly with jump ("j",
"jal") and friends. Calls must go through the PLT.
issue #4827
2023-05-30 12:03:28 +02:00
Sebastian Sumpf
ff497bc710
stdcxx/riscv: update to version 12.3.0
...
issue #4827
2023-05-30 12:03:28 +02:00
Sebastian Sumpf
69d3d83930
lx_emul: set minimum alignment of allocations to 16 byte
...
FPU allocations on x86/ARM require a minimum alignment or may raise
faults (#GP or general protection in the x86 case).
2023-05-30 12:03:28 +02:00
Christian Helmuth
9cb9060794
base-nova: prevent linker warning
...
ld: warning: hypervisor has a LOAD segment with RWX permissions
Issue #4827
2023-05-30 12:03:28 +02:00
Christian Prochaska
369af8d8c3
sanitizer: update to version 12.3.0
...
Issue #4827
2023-05-30 12:03:28 +02:00
Christian Prochaska
02a8c279dc
gcov: update to version 12.3.0
...
Issue #4827
2023-05-30 12:03:28 +02:00
Christian Prochaska
2e754da822
stdcxx: update to version 12.3.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
78b8b2785c
gcc: update to version 12.3.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Sebastian Sumpf
07c089e860
stdcxx: add 'std::basic_filebuf' for char
...
needed by glmark2 2023.1
related to genodelabs/genode-world#326
2023-05-30 12:03:27 +02:00
Christian Helmuth
3fa275354d
test-smp: fix build errors with GCC 12
...
error: 'void operator delete(void*, Genode::Deallocator&)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
Issue #4827
Fixes #4850
2023-05-30 12:03:27 +02:00
Christian Helmuth
d0578700bc
test-cache: fix build errors with GCC 12
...
error: ‘void operator delete(void*, Genode::Deallocator&)’ called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
Issue #4827
Fixes #4848
2023-05-30 12:03:27 +02:00
Christian Prochaska
e4ac393de4
sel4: fix build errors with gcc 12
...
Fixes #4864
2023-05-30 12:03:27 +02:00
Christian Prochaska
417547c7d9
qt5: fix build errors with gcc 12
...
Fixes #4863
2023-05-30 12:03:27 +02:00
Christian Prochaska
9e021422c7
sanitizer: update to version 12.2.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
106e322f82
gcov: update to version 12.2.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
b8c80c9570
stdcxx: update to version 12.2.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
de70f17ee4
gdb: update to version 13.1
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
b12ebae6cd
gcc: update to version 12.2.0
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
8602837fd4
binutils: update to version 2.40
...
Issue #4827
2023-05-30 12:03:27 +02:00
Christian Prochaska
f18a12a592
tool chain: update version to 23.05
...
Issue #4827
2023-05-30 12:03:27 +02:00
Norman Feske
8c9ca0e7a9
nitpicker: fix gcc build error
...
An early version of nitpicker used a pointer as 'owner' with the null
pointer representing nitpicker's built-in views, which are nowadays
represented by 'Main::_global_view_ower'. The null-pointer check is a
left-over from the earlier days.
Fixes #4847
2023-05-30 12:03:27 +02:00
Benjamin Lamowski
29238498b6
libc: implement signal(3)
...
Fixes #4824
2023-05-30 12:03:27 +02:00
Benjamin Lamowski
70644186c1
libc: add dummy symbols for the Rust std library
...
Add dummies for sigaltstack(3) and FreeBSD's _umtx_op(2).
Ref #4824
2023-05-30 12:03:27 +02:00
Christian Prochaska
0c70e9e8df
gdb_monitor: fix build error with gcc 12
...
Fixes #4841
2023-05-30 12:03:26 +02:00
Norman Feske
b2bc5912c8
os: use [build_artifacts] in run scripts
...
Issue #4860
2023-05-30 12:03:26 +02:00
Norman Feske
a2832995d0
Remove long unused kdb_uart_drv for fiasco and foc
...
Removed in the context of issue #4860 .
2023-05-30 12:03:26 +02:00
Norman Feske
dab7c64762
os: remove obsolete input.run script
...
Since repos/base/board/pc/devices is empty, the run script no longer
works on PC. Nobody noticed because the use case of this run script -
as development test loop for the ps2 and fb_sdl - are better served by
other scenarios nowadays, e.g., using declaring 'build: ps2' for a
custom Sculpt OS build.
Removed in the context of issue #4860 .
2023-05-30 12:03:26 +02:00
Norman Feske
1cb4b4e2d8
os: remove gpio_led.run and gpio_signal.run
...
The gpio session interface is deprecated and the run scripts are not
regularly executed.
Removed in the context of issue #4860 .
2023-05-30 12:03:26 +02:00
Norman Feske
71bda7db24
Move cpu_quota.run from os to base-hw repository
...
This test works only on the base-hw kernel after all.
2023-05-30 12:03:26 +02:00
Norman Feske
f119d9ee8b
base: use [build_artifacts] in run scripts
...
The patch also removes a few legacies along the way, unifies the coding
style, and cuts back superfluous comments.
Issue #4860
2023-05-30 12:03:26 +02:00
Josef Söntgen
03ed5fc3f4
dde_bsd: update audio driver to OpenBSD 7.3
...
Fixes #4857 .
2023-05-30 12:03:26 +02:00
Norman Feske
05e5ecca86
vfs: fix dangling allocation in dir_file_system
...
Issue #4855
2023-05-30 12:03:26 +02:00
Alexander Boettcher
2a0e45d0f7
log_core: limit buffer to max log string
...
Fixes #4853
2023-05-30 12:03:26 +02:00
Christian Helmuth
d9643b61af
acpi_drv: count only memory allocated by new()
...
Fixes #4844
2023-05-30 12:03:26 +02:00
Norman Feske
2a49eee50f
libc: improve diagnistics on initialization errors
...
This change helps to draw the connection between warnings during the
initialization of file descriptors and the libc configuration.
2023-05-30 12:03:26 +02:00
Christian Prochaska
901cbf0af3
sd_card_drv: fix build errors with gcc 12
...
Fixes #4851
2023-05-30 12:03:26 +02:00
Christian Prochaska
1742eb16b2
test-segfault: fix build error with gcc 12
...
Fixes #4849
2023-05-30 12:03:26 +02:00
Christian Prochaska
b96004fd71
nvme_drv: fix build errors with gcc 12
...
Fixes #4845
2023-05-30 12:03:26 +02:00
Christian Prochaska
4dc5426a45
trace_recorder: fix build error with gcc 12
...
Fixes #4843
2023-05-30 12:03:26 +02:00
Christian Prochaska
db69104f1a
text_area: fix build error with gcc 12
...
Fixes #4842
2023-05-30 12:03:25 +02:00
Christian Prochaska
1edde7c1bc
fetchurl: fix build errors with gcc 12
...
Fixes #4840
2023-05-30 12:03:25 +02:00
Christian Prochaska
c2aacfa9c4
vfs: fix build error with gcc 12
...
Fixes #4839
2023-05-30 12:03:25 +02:00
Christian Prochaska
aa44ada2d4
okl4: fix hanging tests when built with gcc 12
...
Fixes #4838
2023-05-30 12:03:25 +02:00
Christian Prochaska
0eda98b03e
pistachio: fix build errors with gcc 12
...
Fixes #4837
2023-05-30 12:03:25 +02:00
Christian Prochaska
ed5cbbfa1b
fiasco: fix build errors with gcc 12
...
Fixes #4836
2023-05-30 12:03:25 +02:00
Christian Prochaska
36a1428c55
base-sel4: fix build errors with gcc 12
...
Fixes #4835
2023-05-30 12:03:25 +02:00
Christian Prochaska
c74c8d12cf
base-nova: fix page fault in init when built with gcc 12
...
Fixes #4834
2023-05-30 12:03:25 +02:00
Christian Prochaska
920e240f67
foc: fix build errors with gcc 12
...
Fixes #4833
2023-05-30 12:03:25 +02:00
Christian Prochaska
b29db99f1c
hw: fix build error with gcc 12
...
Fixes #4831
2023-05-08 15:55:35 +02:00
Christian Prochaska
acfeda15a7
base-linux: fix build error with gcc 12
...
Fixes #4830
2023-05-08 15:55:35 +02:00
Christian Prochaska
eab8db228b
base: fix build errors with gcc 12
...
Fixes #4829
2023-05-08 15:55:35 +02:00
Christian Prochaska
98bf2dadb8
core: fix build errors with gcc 12
...
Fixes #4828
2023-05-08 15:55:34 +02:00
Stefan Kalkowski
97e3572844
lx_emul: use devio API for USB driver operations
...
Fix genodelabs/genode#4795
2023-05-08 15:55:34 +02:00
Stefan Kalkowski
f079d1f7c3
usb_hid_drv: ensure freeing packets in destructor
...
Ref genodelabs/genode#4795
2023-05-08 15:55:34 +02:00
Stefan Kalkowski
19e2b5b8b2
usb_net_drv: ensure freeing packets in destructor
...
Ref genodelabs/genode#4795
2023-05-08 15:55:34 +02:00
Stefan Kalkowski
3c3e45746a
usb_modem: ensure freeing packets in destructor
...
Ref genodelabs/genode#4795
2023-05-08 15:55:34 +02:00
Stefan Kalkowski
cad11093f1
lx_emul: align of page-size allocations properly
...
Use page-alignment for multiple of page-size allocations within
all kmalloc allocations.
Ref genodelabs/genode#4795
2023-05-08 15:55:34 +02:00
Christian Prochaska
5080e88a7a
qt5: split api recipes with Qt module granularity
...
Fixes #4823
2023-05-08 15:55:34 +02:00
Christian Prochaska
b7d1d8d091
qt5: create 'bin' directory in test run scripts
...
Fixes #4822
2023-05-08 15:55:34 +02:00
Josef Söntgen
bcc454aa89
drivers/usb_block: treat SYNC as barrier
...
The commit implements the SYNC and TRIM as successful NOP, while
the former is handled as an barrier to all other out-standing
requests.
Fixes #4825 .
2023-05-08 15:55:34 +02:00
Josef Söntgen
280724e6b5
nvme_drv: read proper FLBAS value
...
Bit 0:3 indicate which of the (up to) 16 supported LBA formats is
used for this namespace. Instead of only looking at those bits the
driver looked at the complete 0:7 bits. Those, however, also include
information on how metadata may be transferred. That leads to using
the wrong index for reading the LBA format.
Fixes #4832 .
2023-05-08 15:53:13 +02:00
Christian Helmuth
4a5d31e248
depot: update recipe hashes
2023-05-08 15:53:05 +02:00
Josef Söntgen
eb93b5f863
sculpt_manager: check passphrase before ENTER
...
Prevent setting an invalid configuration by guarding against are
premature generation.
Issue #4858 .
2023-05-04 11:59:14 +02:00
Norman Feske
f712d97763
sculpt: always update keyboard focus after input
...
This patch solves keyboard-focus issues with the wifi dialog that were
caused by making the focus update conditional. However, since the update
is not expensive, we can unconditionally re-evaluate the focus atfer
each user interaction.
Issue #4820
Fixes #4856
2023-05-04 11:59:14 +02:00
Norman Feske
0e3a9bfe1f
libc: fix cached ioctl info file access
...
This patch solves the false-negative error message "failed to open file"
referring to an ioctl info file during an ioctl call. The message is
now avoided by checking for the existence of the file before reading it.
However, the observed symptom uncovered an actual bug that was
introduced in commit "libc vfs: open OSS 'info' file only once" with
the attempt to cache the content of ioctl info files. When called
multiple time for different paths, 'Vfs_plugin::_with_info' would
wrongly return the info from the first call as cached in a local
static variable.
The patch fixes the problem by a new added 'Cached_ioctl_info'
implementation in the scope of the 'Vfs_plugin'.
Issue #4372
Fixes #4852
2023-05-04 11:59:14 +02:00
Christian Helmuth
2e76374a35
depot: update recipe hashes
2023-04-28 15:10:43 +02:00
Norman Feske
ab0fe21ac7
sculpt: update README for version 23.04
2023-04-28 15:01:17 +02:00
Christian Helmuth
22d8c4059e
sculpt: hide system_view in graph
2023-04-28 14:46:11 +02:00
Christian Helmuth
97070620af
depot: update recipe hashes
2023-04-28 14:46:11 +02:00
Norman Feske
de106608a0
sculpt: reduces space between depot users
...
Otherwise, the default list of depot users won't fit with the touch
keyboard on the PinePhone's screen.
2023-04-28 14:46:11 +02:00
Norman Feske
01b198657d
sculpt: reset update dialog on changed sculpt fs
...
When changing the used sculpt partiton, the dialog state should be
cleared from the information of the original selection.
Issue #4820
2023-04-28 14:46:11 +02:00