Commit Graph

8384 Commits

Author SHA1 Message Date
Christian Helmuth
525cbe9923 libc: use non-anonymous 'operator new' and destroy()
This removes implementations of and also references to anonymous new and
delete operators from the libc implementation. As allocators for
new/delete Libc::Allocator instances are used, which (paradoxically) map
to libc malloc/free.
2019-05-23 15:22:29 +02:00
Christian Helmuth
310a464397 Revert "libc: provide C++ new/delete operators"
Based on offline discussion we remove the operators from libc after all.

This reverts commit 14c2627e1e.
2019-05-23 14:48:09 +02:00
Alexander Boettcher
c56b57bad2 platform_drv: adjust to g++ 8.3.0
Issue #3307
2019-05-23 14:46:42 +02:00
Alexander Boettcher
c77b6e88da acpi_drv: adjust to g++ 8.3.0
Issue #3307
2019-05-23 14:46:34 +02:00
Christian Helmuth
cb598038e6 fixup: "ada-runtime: update to GCC 8.3.0" (restore fixed test string) 2019-05-23 14:43:48 +02:00
Johannes Kliemann
b5f4771c52 fixup: "ada-runtime: update to GCC 8.3.0" (exception propagation) 2019-05-23 14:43:48 +02:00
Norman Feske
64ee151d07 Refinements for updated "Genode Foundations" book
- Improve API descriptions
- Remove obsolete Xml_node::value method (fixes #3323)
- Follow coding style 'const char' -> 'char const'
2019-05-23 13:49:10 +02:00
Christian Prochaska
a87e9f6180 fixup "tool_chain: update GDB to version 8.2.1" (pagination in gdb_monitor.run)
Issue #3307
2019-05-23 13:44:07 +02:00
Christian Helmuth
14c2627e1e libc: provide C++ new/delete operators
A full-fledged C++ runtimes is required to implement various flavors of
the operators. We implement a subset only - see
https://en.cppreference.com/w/cpp/memory/new/operator_delete for a
complete reference.

This fixes an abort on pthread_join() with the new tool chain.
2019-05-23 12:30:18 +02:00
Stefan Kalkowski
6f10b2152f fixup: "base: add initial support for ARM 64-bit" 2019-05-23 11:41:50 +02:00
Stefan Kalkowski
aa39a18975 squash "tool: deprecate board-specific build directories" (PLEASE FIX THE COMMIT MESSAGE ACCORDINGLY: s/arm_v7/arm_v7a/) 2019-05-23 11:41:35 +02:00
3e2498fe89 fixup "stdcxx: update to version 8.3.0" (symbols for OpenTTD)
Issue #3307
2019-05-23 08:11:57 +02:00
fc02b46b12 fixup! Libc update (madvise, uselocale)
Ref #3289
2019-05-22 18:10:22 +02:00
Christian Helmuth
0549673449 arg_string: return default value on parsing error 2019-05-22 16:49:11 +02:00
Pirmin Duss
eb725f8f1a util/string.h: suppress case fallthrough warnings 2019-05-22 16:48:41 +02:00
81940a4f02 fixup! Libc update (merge libm port)
Ref #3289
2019-05-22 16:20:25 +02:00
Johannes Kliemann
4a2d2b5f5c ada-runtime: update to GCC 8.3.0
ref #3362
fixes #3371
2019-05-22 15:54:32 +02:00
a88ece3cda fixup! Libc update (restore BSD4.3 signal compatibility)
Ref #3289
2019-05-22 15:45:14 +02:00
5569feed7e fixup! Libc update (arc4random, _ symbols)
Ref #3289
2019-05-22 15:19:41 +02:00
Martin Stein
4088a6640b nic_dump: do not depend on libports repo
Fixes #3372
2019-05-22 14:08:16 +02:00
Martin Stein
b077d42f94 Fixup "tool/depot: improve handling of missing ports" (content_env_missing_ports.mk)
Ref #3353
2019-05-22 14:08:03 +02:00
Martin Stein
d9ef1ce099 tool/depot: improve handling of missing ports
* The extract tool determines and reports all missing ports at once.
* The extract tool automatically prepares all missing ports if PREPARE_PORTS=1.
* The missing_ports tool prints a list of missing ports for given archives.

Fixes #3353
2019-05-22 14:07:43 +02:00
Stefan Kalkowski
0910c806f5 hw: disable alignment checking at earliest
Fix #3370
2019-05-22 14:02:42 +02:00
Christian Helmuth
6c40fa6d39 fixup "base-hw: fix compile errors with GCC 8.3.0" (muen Vm_state) 2019-05-22 09:35:56 +02:00
Christian Prochaska
1663f642b3 fixup "stdcxx: update to version 8.3.0" (symbols for -O0)
Issue #3307
2019-05-22 09:35:56 +02:00
Josef Söntgen
f3e811c594 fixup 'Libc: update port to Freebsd 12' (e2fsprogs I/O)
Issue #3289.
2019-05-22 09:35:56 +02:00
Sebastian Sumpf
e9c39980e8 hw: enable FPU during CPU startup on x86
Also disable TS (task switch) flag in cr0 during kernel initialization,
so FPU faults are not raised. This became necessary since GCC lately
aggressively generates FPU instructions at arbitrary places and also at
early kernel-bootstrapping stages.

fixes #3365
2019-05-22 09:35:56 +02:00
Christian Helmuth
ac1fa2227b linux: 32-bit compatibility with GCC versions before 7
GCC version 7 and above generate calls to __divmoddi for 64bit integer
division on 32-bit. Unfortunately, libgcc liberaries of older compilers
lack this symbol and are still in use by Debian/Ubuntu LTS at least.
2019-05-22 09:35:55 +02:00
Christian Helmuth
7fe5739520 Update lwip_lx test (vfs plugin, ld="no") 2019-05-22 09:35:55 +02:00
Stefan Kalkowski
f0cecc5ab2 fixup "kernel: differentiate board-specific components" 2019-05-22 09:35:55 +02:00
Christian Prochaska
105f8a9301 fixup "dde_zircon: fix compile errors with GCC 8.3.0" (initialize)
Issue #3366
2019-05-22 09:35:55 +02:00
Christian Prochaska
0e56404e0d fixup "tool_chain: integrate 'ali2dep' tool" (strip)
Issue #3361
2019-05-22 09:35:55 +02:00
Martin Stein
31241be2fe Squash "nic_router_flood sel4: raise test timeout"
Rephrase: "nic_router_flood: adapt test timeout"

Fixes #3368
2019-05-22 09:35:55 +02:00
Alexander Boettcher
f3a66093e2 fixup "nova: adjust to g++ 8.3.0"
Issue #3307
2019-05-22 09:35:55 +02:00
Christian Prochaska
ba1c218920 fixup "stdcxx: update to version 8.3.0" (symbols for numptyphysics)
Issue #3307
2019-05-22 09:35:55 +02:00
Christian Prochaska
3510fd98bb tool_chain: strip gdb
Issue #3307
2019-05-22 09:35:55 +02:00
Martin Stein
ca42e1921d nic_router_flood sel4: raise test timeout
Fixes #3368
2019-05-22 09:35:55 +02:00
Martin Stein
c1e6e87c36 fixup "base-hw: fix compile errors with GCC 8.3.0" (trustzone Vm_state)
arm_v7 + hw: fix Vm_state cast warning

Fixes #3367
2019-05-22 09:35:29 +02:00
Christian Prochaska
5e11c260b5 fixup "base: update 'ld' symbols for tool chain 19.05" (std::uncaught_exceptions)
Issue #3307
2019-05-21 14:42:22 +02:00
Christian Prochaska
7a0e6b89e2 dde_zircon: fix compile error with GCC 8.3.0
Fixes #3366
2019-05-21 14:41:15 +02:00
Alexander Boettcher
82d6b7b249 seoul: adjust to g++ 8.3.0
Issue #3307
2019-05-21 14:36:45 +02:00
Alexander Boettcher
44150c200b nova: adjust to g++ 8.3.0
Issue #3307
2019-05-21 14:35:49 +02:00
03f3354767 fixup! Libc update (file-system symbols)
Ref #3289
2019-05-21 08:47:12 +02:00
fda3ada1f3 fixup! Libc update (Noux signals)
Ref #3289
2019-05-21 08:46:05 +02:00
6d4c060eaf fixup! Libc update (socket symbols)
Ref #3289
2019-05-21 08:44:43 +02:00
Sebastian Sumpf
0d20421fd4 fixup: 'ldso: dynamic linking support for ARM 64-bit'
Add 'Plt_got_generic'

issue #3260
2019-05-21 08:25:55 +02:00
Christian Helmuth
c5adc76a29 fixup "tool_chain: add aarch64 compiler target" (help message) 2019-05-20 14:36:39 +02:00
Christian Helmuth
dd026284b9 fixup "base: increase initial stack" (use explicit stack size value) 2019-05-20 14:23:19 +02:00
Christian Prochaska
cc78ce1a84 Treat 'implicit fallthrough' errors as warnings
After fixing the warnings, the compiler option should be removed.

Issue #3307
2019-05-20 12:40:51 +02:00
Christian Prochaska
5ba4205a63 ada-runtime: adjustments for Genode tool chain 19.05
Issue #3307
2019-05-20 12:40:51 +02:00