14251 Commits

Author SHA1 Message Date
1cedb2b50d gcc: update to version 14.2.0
Issue #5540
2025-05-27 08:32:04 +02:00
2961bc50ad binutils: update to version 2.44
Issue #5540
2025-05-27 08:32:04 +02:00
19ccea0863 update tool chain version to 25.05
Issue #5540
2025-05-27 08:32:04 +02:00
214d6b5061 core: remove signal_receiver.cc
This part of the signal API is not used by because core never receives
signals.
2025-05-27 08:32:04 +02:00
dc4bc32120 coreutils: fix compile error with GCC 14
Fixes #5547
2025-05-27 08:32:04 +02:00
8fe53d87e3 bash: fix compile errors with GCC 14
Fixes #5546
2025-05-27 08:32:04 +02:00
72b284c13e mesa: adjust egl to GCC 14.2 update
fixes #5551
issue #5540
2025-05-27 08:32:04 +02:00
60d5da2d3f libdrm: adjust to GCC 14.2 update
fixes #5550
issue #5540
2025-05-27 08:32:04 +02:00
0260b4b6df depot_autopilot.run: add test-blit 2025-05-27 08:32:04 +02:00
dd3bb97c84 Unify handling of buffer-exceeded error conditions
- Introduce common Buffer_error type.
- Enforce the handling of buffer-exceeded errors.
- Unify interface of Reporter and Expanding_reporter,
  using Byte_range_ptr instead of basic types.
- Simplify the Xml_generator API by providing the plain
  class function Xml_generator::generate.
- Use Expanding_reporter where appropriate.

Fixes #5561
2025-05-27 08:32:04 +02:00
86643c7483 gems: remove obsolete gems/local_reporter.h
Issue #5561
2025-05-27 08:32:04 +02:00
810efb85f3 libc-resolv: remove -DSTDERR_FILENO=2
STDERR_FILENO is defined in unistd.h.
2025-05-27 08:32:04 +02:00
bcfbcc380e libc-resolv: remove 'sys/sys' include dir
Fixes #5545
2025-05-27 08:32:04 +02:00
cfabcbd859 lx_emul: add mmio functions to x86/asm/io.h
By providing the original implementation of the functions here the
generic ones in 'asm-generic/io.h' are no longer picked up.

Issue #5530.
2025-05-27 08:32:04 +02:00
e89fc85087 pc_lx_emul: prevent emmitting vector instructions
Issue #5530.
2025-05-27 08:32:04 +02:00
cae031a44b base-linux: pass XDG_RUNTIME_DIR to components
This prevents the following warning and configures access to freedesktop
runtime data of the current user for hybrid components, e.g., fb_sdl.

  error: XDG_RUNTIME_DIR is invalid or not set in the environment.
2025-05-27 08:32:04 +02:00
78faee7389 ld: add dynamic list for stdcxx::delete
When deleting destructors are called for base-library classes which are
part of ld.lib.so, a dummy delete operator from 'new_delete.cc' will be
called because ld.lib.so is compiled with -Bsymbolic-functions which leads
to compile time resolution to the weak dummy functions in cxx. These
functions should resolve to the stdcxx library. Therefore, this commit
adds a dynamic list for the stdcxx::delete operators to ld.lib.so, which
generates a jump-slot relocation, and thus, the linker will try to
resolve the operators at runtime.

issue #5560
2025-05-27 08:32:04 +02:00
8eb27914db cxx: separate Genode from stdcxx 'delete' operators
For hybrid base-linux applications the stdcxx destructors are generated
by the host-tool chain in case they are not present. If present, the
implementation given, i.e. our weak cxx operators, are used - which is
not desirable. Therefore, we keep Genode specific new/delete operators
in new_delete.cc and move the stdcxx specific operators into
stdcxx_delete.cc. The cxx library will make use of both, while hybrid
targets will only compile new_delete.cc.

issue #5560
2025-05-27 08:32:03 +02:00
d4fc749c54 sculpt_manager: fix compile error with GCC 14
Fixes #5544
2025-05-27 08:32:03 +02:00
13111fe2e9 gems: fix compile error with GCC 14 in sandboxed_runtime.h
Fixes #5543
2025-05-27 08:32:03 +02:00
b57db1b90a gpu/intel: don't use Id_space::Conflicting_id
Issue #5245
2025-05-27 08:32:03 +02:00
b1500db97c usb: restrict client timeouts of control URBs
Issue #5500
2025-05-27 08:32:03 +02:00
ab3ae715cf dde_linux: free dead tasks
Issue #4575
Issue #5500
2025-05-27 08:32:03 +02:00
30639a6ba9 usb_host: test for client restarts
This test restarts the usb_hid client in a loop.

Issue #5500
2025-05-27 08:32:03 +02:00
48ec296dc5 depot_autopilot: fix compile errors with GCC 14
Fixes #5542
2025-05-27 08:32:03 +02:00
49be93f7c4 nova: adjust to GCC 14.2 update
Issue #5540
Fixes #5541
2025-05-27 08:32:03 +02:00
36be730285 base: remove Allocator_avl::Assign_metadata_failed
Replace exception by a plain bool return value.
Use [[nodiscard]] to enforce the handling of errors.

Issue #5245
2025-05-27 08:32:03 +02:00
80846c8d81 base/weak_ptr.h: remove In_destruction exception
Issue #5245
2025-05-27 08:32:03 +02:00
7d74277ee5 base: remove diagnostic throws from base lib
Replace try/catch/throw by guard objects.
In panic situations, print an error and sleep forever.
Infinitely block invalid IPC calls.
Weasel out of cap ref count overflows by clamping count to max.
Accept ID-space ambiguities but be verbose about it.
Skip Duration::add when detecting an integer overflow.

Issue #5245
2025-05-27 08:32:03 +02:00
d1cf953580 base: remove try/catch/throw from base/registry.cc
Issue #5245
2025-05-27 08:32:03 +02:00
5703f11f8e base: rm Xml_generator::Buffer_exceeded exception
Issue #5245
2025-05-27 08:32:03 +02:00
1d97d040eb base: remove exceptions from base/env.h
The Env::session method no longer throws 'Service_denied'. Instead, the
parent's denial is now considered as fatal, yielding an error message
and stopping the component. This is the common case where sessions are
established via 'Connection' objects. The failure to obtain a connection
because of the parent's decision is not recoverable.

The Env::try_session method now uses a result type instead of exceptions
to reflect all error conditions, including Session_error::DENIED. This
is useful for intermediary component like init, which initiate session
requests on behalf of their children and shall never reach a
non-recoverable state.

The change of Env has ripple effects through service.h and the child
framework. The former reflection of 'Out_of_ram' and 'Out_of_caps' by
Service::initiate_request has been replaced by a result type. The patch
adds diagnostic messages at all places where such errors are further
propagated.

Issue #5251
2025-05-27 08:32:03 +02:00
363ac5fcbc base/component.h: rm 'Service_denied' from aquire
Issue #5251
2025-05-27 08:32:02 +02:00
e1cb988d03 base: remove exceptions from base/child.h
This patch replaces 'Child_policy::resolve_session_request' with
an 'with_route' method that takes two functors as arguments. It also
removes the 'Service_denied' exception from local_connection.h, which,
in turn requires changing 'Child::pd' to 'Child::with_pd' to account for
the error case where a 'Child' object has been created but failed to
obtain its PD session.

Issue #5251
2025-05-27 08:32:02 +02:00
3033b838c9 core: remove 'Service_denied' from CPU service
Ignore invalid affinity arguments.
The ram-quota check in Cpu_root has become obsolete since the commit
"core: remove exception from Trace::Control alloc".

Issue #5251
2025-05-27 08:32:02 +02:00
8a5dd8944a core: remove 'Service_denied' from io_mem_session
Issue #5251
2025-05-27 08:32:02 +02:00
7e6ae1a959 core: remove 'Service_denied' from ROM service
Core's ROM service does not longer reflect a missing ROM module at
session-creation time but delivers an invalid dataspace capability.

This patch also removes the duplication of linux/dataspace_component.cc.

Issue #5251
2025-05-27 08:32:02 +02:00
bfccd98179 core: remove 'Service_denied' from io_port_session
Issue #5251
2025-05-27 08:32:02 +02:00
fb05328d50 base: remove exceptions from root RPC interface
Issue #5251
2025-05-27 08:32:02 +02:00
1670d5ca49 base: remove exceptions from Local_service
Issue #5251
2025-05-27 08:32:02 +02:00
bab2abd7ae base: distinguish alloc errors in rpc_cap_factory
Issue #5057
2025-05-27 08:32:02 +02:00
29b89df1c6 base/thread.h: avoid pointers for stack allocation
This has become possible by the added support of reference types for
'Unique_attempt'.

Issue #5539
2025-05-27 08:32:02 +02:00
3353afdc17 util/reconstructible.h: support reference types
This patch adds a specialization of 'Reconstructible' for reference
types, thereby indirectly enabling the returning of references as
'Unique_attempt' objects.

Fixes #5539
2025-05-27 08:32:02 +02:00
9cd252bb35 libc: fix warning in resolve_symlinks_except_last_element
Fixes #5538
2025-05-27 08:32:02 +02:00
3090bed4a0 core: rework IRQ-number allocation
Replace use of deallocate=false by keeping the IRQ number as guard
object. Don't throw 'Service_denied'. Remove superfluous debug messages.

Issue #5502
Issue #5251
2025-05-27 08:32:02 +02:00
fcbd9cb525 libc: add dummies for utmp(x) handling
Add getutxent(), setutxent() and endutxent() dummy implementations.

Fixes #5526
2025-05-27 08:32:02 +02:00
b921251869 monitor_gdb: boolean key/values in recent qemu
More recent Qemu variants like 8.2 on Ubuntu 24.04 do not support the
sole `server` attribute within `-chardev socket`, but use a boolean value
assigned to the attribute. Also nowait and ipv4 without boolean values
are deprecated.

Fix #5537
2025-05-27 08:32:01 +02:00
d50633607c News item for Sculpt 25.04
Issue #5501
2025-05-27 08:32:01 +02:00
a128bbd6b8 depot: update recipe hashes sculpt-25.04 2025-04-29 11:23:22 +02:00
5c607ad001 Verbose diagnostics in smbios_decoder test 2025-04-29 11:12:26 +02:00