#
f758e73f |
|
02-May-2024 |
Jérôme Duval <jerome.duval@gmail.com> |
libbsd: add pthread_sigqueue() * like sigqueue() but for threads. was added recently to FreeBSD, long before to glibc. * also include features.h in gnu/pthread.h Change-Id: I73bca666e2c67d7ff05f341bf85d71df9ccccbe5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7659 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
125b2626 |
|
08-Feb-2023 |
David Karoly <karolyd577@gmail.com> |
libroot: introduce crypt_r Change-Id: Ieacd1b383ac078a440227c7954f5531a36fbbd62 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5827 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
e4e1e6e4 |
|
18-Aug-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
tests: Add fifo_test. Creates, opens, tries to open as directory, then unlinks. The attempt to open as a directory triggers an assertion in the kernel at present (this is #17870.) The next commit will fix that.
|
#
a44af2ec |
|
05-Mar-2021 |
Jérôme Duval <jerome.duval@gmail.com> |
libroot: call thread exit hooks before destroying tls Change-Id: Ide2799ccf8620e42650a8f45177fb5fac4f09696 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3762 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
|
#
5cd8219d |
|
27-Jan-2020 |
Adrien Destugues <adrien.destugues@opensource.viveris.fr> |
Remove annoying message at start of build.
|
#
858e5775 |
|
10-May-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
vfs: fail only truncate on file descriptors opened read-only. chmod is allowed. Change-Id: Idcac38bdd7f0d614538421a41dfd30066a0c316f Reviewed-on: https://review.haiku-os.org/c/1444 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
|
#
901c3d44 |
|
05-Mar-2019 |
Jérôme Duval <jerome.duval@gmail.com> |
pthread: implement pthread_attr_[get|set]stack. remove pthread_attr_[get|set]stackaddr from unimplemented functions. Change-Id: I58807e86c75a189a576639ae1b2e4505a63700a5 Reviewed-on: https://review.haiku-os.org/c/1152 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
5e621d3e |
|
17-Dec-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
tests/posix: Add tls_concurrency_test. From #14342. Crashed before the last commit, now works. Disabled because it won't build under GCC2.
|
#
c90a0ee9 |
|
06-Aug-2018 |
Jérôme Duval <jerome.duval@gmail.com> |
posix_spawn(): dup2() again this time on file_action_dup2. * fixes #14322.
|
#
20694a04 |
|
02-Aug-2018 |
Jérôme Duval <jerome.duval@gmail.com> |
posix_spawn(): dup2() returns a fd on success, -1 on error. * duplicate the just opened file descriptor, instead of the target file descriptor. * fixes #14308.
|
#
3934b3e6 |
|
11-Dec-2017 |
ohnx <me@masonx.ca> |
Add tests for calloc() Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
ccd42320 |
|
05-Sep-2017 |
Jérôme Duval <jerome.duval@gmail.com> |
libroot: add posix_spawn().
|
#
f31b1a2f |
|
17-Jan-2017 |
Andrew Aldridge <i80and@foxquill.com> |
Implement scrypt-based password hashing Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
#
0e0f49e7 |
|
27-Dec-2016 |
Dmytro Shynkevych <dm.shynk@gmail.com> |
libroot: Implemented pthread barriers This is an implementation of pthread barriers pursuant to the relevant specification. Barriers are essentially a special case of conditional variables, such that all threads waiting on one are woken up when the number of waiters reaches a number provided at the initialization of the barrier. In view of that, this implementation mimics the implementation of pthread_cond, except it is more specialized and self-contained. Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
9969137c |
|
18-Dec-2016 |
Jérôme Duval <jerome.duval@gmail.com> |
fork(): Follow-up fix to 17b2a3cfc. * Ingo rightly noticed that the defer_signals counter is reinitialized on thread's user area creation. Setting the flag THREAD_CREATION_FLAG_DEFER_SIGNALS indeed gives the expected behavior, deferring signals until undefer_signals() is called in the child thread. Thanks for the review and fix suggestion. * Added a simple test showing the values of the defer_signals counter after fork().
|
#
dbf060a3 |
|
29-Oct-2015 |
Simon South <ssouth@simonsouth.com> |
libroot: Add brk() and sbrk(). This commit replaces the placeholder implementation of sbrk(), which operated on a process' heap, with real implementations of brk() and sbrk() that adjust a process' program break. * unistd.h: Add standard definitions of brk() and sbrk(); include stdint.h for intptr_t. * thread.cpp: Recognize RLIMIT_AS and RLIMIT_DATA resource limits (both currently unlimited); order limit identifiers alphabetically. * arch-specific.cpp: Remove sbrk_hook(). * malloc_debug_api.cpp: Remove sbrk_hook(). * unistd/Jamfile: Build brk.c instead of sbrk.c. * unistd/brk.c: Add. * unistd/sbrk.c: Delete (placeholder implementation). * libroot_stubs.c: Remove sbrk_hook(). * libroot_stubs_legacy.c: Remove sbrk_hook(). * src/tests/.../posix/Jamfile: Build brk_test.c. * brk_test.c: Add (simple unit test that demonstrates behaviour of sbrk()). Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
4bf862e3 |
|
21-Apr-2015 |
Axel Dörfler <axeld@pinc-software.de> |
syslog_daemon: Converted to BServer. * Instead of letting the kernel search for the syslog port, the daemon now registers itself with the kernel (which even solves a TODO). * A port is created for the actual log messages from the launch_daemon, and used on start. * However, the SyslogTest does not yet work, due to the BMessage <-> KMessage communication problems.
|
#
1c646c0b |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests/posix: Drop bonnie++, recipe exists and not api test
|
#
048ffc1b |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests: Fix wording of echo. No func change
|
#
2ea35f1c |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests: Skip setjmp_test2.S test on non-x86 platforms * We'll need to rewrite this for each arch..
|
#
220d0402 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
7c1acc89 |
|
07-Feb-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
x86_64: align malloc() allocations on 16 bytes. * added a check in memalign_test.
|
#
b0944c78 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
c824d9d6 |
|
29-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add test for fwide() and wide/non-wide streams.
|
#
d8ef8ef4 |
|
07-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add wcs_test, a testsuite for all wchar-related functions.
|
#
5dd04ce5 |
|
11-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add tests for missing mbs/wcs-functions. * add gnulib test for wcsrtombs() * add gnulib tests for mbsnrtowcs() and wcsnrtombs(), both inactive as the respective functions are not publically available (they are part of the [CX] extended ISO-C standard which we do not yet support)
|
#
0983c476 |
|
01-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add gnulib-test-mbsrtowcs.c in order to test mbsrtowcs() * the test exposes problems in our current (glibc's) implementation of mbsrtowcs()
|
#
acbd8998 |
|
01-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add more tests for wchar/multibyte converter functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43091 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
92e68ec1 |
|
17-Feb-2011 |
Jérôme Duval <korli@users.berlios.de> |
added a simple test which seems to reproduce the bug encountered in jamvm git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40544 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cda7f65b |
|
01-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* add fseek_test, which exposes a problem described in #3145 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338ddd83 |
|
14-Sep-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Closing #6499: * add missing getsubopt() POSIX-function * added corresponding test git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38650 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f66598 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b26f6751 |
|
14-Apr-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a test application that show that BFS does not care to fill the space between the former end of the file and the position of a write with zeros as required. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36262 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
93de3bca |
|
05-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed partial (unknown version) Open POSIX Test Suite from the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36039 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b07ef504 |
|
06-Feb-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Add a memalign test that checks for valid alignments and fills/verifies allocated buffers to validate that the full allocated size is actually usable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af7fec03 |
|
14-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* A small test application that shows that our abort() implementation does not work correctly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d46c72cd |
|
23-Sep-2009 |
Jérôme Duval <korli@users.berlios.de> |
add a grist to the test truncate command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33254 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c454bb4 |
|
23-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added another tiny glibc-test, testmb.c, which covers a couple of mb-/wc-related functions (in a failed attempt to reproduce #4113) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31717 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16d5c24e |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ce2ca0f |
|
22-Jun-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added a couple of wchar-related tests (from glibc-2.3.2) that expose several problems in our wchar-support - the worst of which being that our compilers define wchar_t as short while the glibc-implementation is relying on it being 32-bits wide ... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31180 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
530ce9aa |
|
20-Jan-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
added mbtest to the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7a32d7f5 |
|
11-Sep-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Adding unit test for xsi message queue git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
839157e9 |
|
10-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Removing bonnie in favor of bonnie++-1.03d BTW: I've added bonnie++ as it is. That is, I just realized that some unnecessary directory/files (like debian) could have been removed. They shouldn't harm ;-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26920 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3521e43f |
|
07-Aug-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small test for mprotect(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26872 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ed7c4a3e |
|
07-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added simple test app for readdir() to see how it fills out the dirent and the private DIR parts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cefb0690 |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Adding xsi semaphore test unit * Moving common functions and macros used in realtime_sem_test1 to a shared header as they are probably going to be used for other test unit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26854 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe74d94e |
|
04-Aug-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test program to reproduce bug #2562. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc6c784a |
|
01-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Sean C. Farley made me aware that some of the possible solutions to clear the environment would crash on Haiku. Added a small test application that just checks every one of those. * Fixed env locking (in userland, you better check against B_INTERRUPTED). * Made our code safe against an environ of NULL. * There is now an additional sManagedEnviron that points to the environment our code actually managed; whenever an application overrides environ, we'll get aware of it with the next *env() function invocation, and will handle it adequately. * Added non-POSIX clearenv() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2873ace1 |
|
11-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small test program triggering a self-deadlock in the memory allocator when a signal handler that itself uses the allocator is invoked while the thread originally was in the allocator. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25449 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d5becaf8 |
|
10-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test for setjmp() that demonstrates why it isn't a good idea to manipulate the stack pointer as we do. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25426 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13546fd1 |
|
06-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Tests for POSIX Realtime semaphores. Unfortunately they reveal that the semantics of fork()ing with unnamed semaphores on other platforms is different from what I thought it was. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b11e5541 |
|
25-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a small app that's able to truncate files - for testing purposes only. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b0543bd2 |
|
19-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* A simple test that shows that our string compare functions inherited by NewOS are all broken. This is the actual reason for bug #724. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24457 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ed8d60d |
|
20-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added small setpgid() test. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24043 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a728651f |
|
17-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work on the signal code: * get_signal_stack() checked the wrong sig_action field (index is signal-1), also, it had an off-by-one error in the stack range check. * factored out a restart_syscall() function to avoid code duplication * arch_setup_signal_frame() relied on the fact that vregs and the signal stack code is a multiple of 4 bytes in size. * Fixed sigaction(): it did return the error code directly instead of setting errno. * signal() actually had a work-around for the broken sigaction()... * Replaced the sig_func_t typedef with a sighandler_t typedef - this is non-standard anyway, but now we're at least compatible with the GNU world instead of introducing our own solution (BSD seems to use sig_t here, BTW). * Removed now unused sigval structure from the header; it should be added again as soon as we start supporting it. * SA_RESETHAND and SA_ONESHOT are the same thing; the former did not work before. * Made the non-standard SA_* flags refer to the standard ones instead of the other way around. * Added a test application for various signal features - works fine under Haiku, tested also under Linux and BeOS (the latter fails as it does not support SA_RESTART). More tests should be added, though. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21999 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6981ec9f |
|
10-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test to verify that the runtime loader semaphore is not initialized after fork(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cb33db6 |
|
17-May-2006 |
Jérôme Duval <korli@users.berlios.de> |
added some tests from posixtestsuite-1.5.1, these ones fail on Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17488 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b28f887 |
|
14-May-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added sigsetjmp_test to Jamfile. * Fixed Jamfile (was set to only support libbe_test). * Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17457 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
77b1fd22 |
|
20-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed the tests/kernel/core directory like the main directory tests/system/kernel and adapted all Jamfiles. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15630 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4bf862e3689b034d4e44cf94c5e50fe7ae05aee3 |
|
21-Apr-2015 |
Axel Dörfler <axeld@pinc-software.de> |
syslog_daemon: Converted to BServer. * Instead of letting the kernel search for the syslog port, the daemon now registers itself with the kernel (which even solves a TODO). * A port is created for the actual log messages from the launch_daemon, and used on start. * However, the SyslogTest does not yet work, due to the BMessage <-> KMessage communication problems.
|
#
1c646c0bcd776a9f19e5f2a28793c9188088167b |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests/posix: Drop bonnie++, recipe exists and not api test
|
#
048ffc1b1e2acf7b3b45392bfe5808a10379ff52 |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests: Fix wording of echo. No func change
|
#
2ea35f1cb336a97b54b2be1ad75467140abfa19d |
|
02-Feb-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
tests: Skip setjmp_test2.S test on non-x86 platforms * We'll need to rewrite this for each arch..
|
#
220d04022750f40f8bac8f01fa551211e28d04f2 |
|
31-Jul-2014 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use libstdc++, libsupc++ and libgcc from gcc_syslibs. * Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so from the gcc_syslibs build feature for everything except x86_gcc2. * Use libgcc_s.so from the gcc_syslibs build feature for everything but x86_gcc2 (which still carries libgcc as part of libroot.so). * Drop filtering of libgcc objects for libroot, as that is no longer necessary since we're only using libgcc-as-single-object for libroot with x86_gcc2, where the filtered object file doesn't exist. Should the objects that used to be filtered cause any problems as part of libgcc_s.so, we can always filter them as part of the gcc build. * Use libsupc++.so from the gcc_syslibs build feature for everything but x86_gcc2. * Adjust all Jamfiles accordingly. * Deactivate building of faked libstdc++.so for non-x86-gcc2. For x86_gcc2, we still build libstdc++.so from the sources in the Haiku source tree as part of the Haiku build . * Put gcc_syslibs package onto the image, when needed.
|
#
7c1acc8968462eb1eb7719edd7b5af9a1f87f6aa |
|
07-Feb-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
x86_64: align malloc() allocations on 16 bytes. * added a check in memalign_test.
|
#
b0944c78b074a8110bd98e060415d0e8f38a7f65 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
c824d9d6ed8d28698a8029d90227aa0a16388d62 |
|
29-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add test for fwide() and wide/non-wide streams.
|
#
d8ef8ef48b222b074f0ba0714776d17410d2b805 |
|
07-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add wcs_test, a testsuite for all wchar-related functions.
|
#
5dd04ce5da5051aa0e766571cbcd99adc22681bf |
|
11-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add tests for missing mbs/wcs-functions. * add gnulib test for wcsrtombs() * add gnulib tests for mbsnrtowcs() and wcsnrtombs(), both inactive as the respective functions are not publically available (they are part of the [CX] extended ISO-C standard which we do not yet support)
|
#
0983c476d92770e5d7a8652f9aa2f39528fddbc9 |
|
01-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add gnulib-test-mbsrtowcs.c in order to test mbsrtowcs() * the test exposes problems in our current (glibc's) implementation of mbsrtowcs()
|
#
acbd89984d5035bc8416bf8fbd1737e1ec7e25cc |
|
01-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add more tests for wchar/multibyte converter functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43091 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
92e68ec1f8432e30f66de875d9bf330d7e095fdc |
|
17-Feb-2011 |
Jérôme Duval <korli@users.berlios.de> |
added a simple test which seems to reproduce the bug encountered in jamvm git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40544 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cda7f65b326bed577c56ab9103593d8a9d55cf06 |
|
01-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* add fseek_test, which exposes a problem described in #3145 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338ddd836f8bc1473d6911e931d31e2253872a3b |
|
14-Sep-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Closing #6499: * add missing getsubopt() POSIX-function * added corresponding test git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38650 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff88d306ac6e6f8f76eafc61df94f941d6 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3f665982e2e078ba42e7bf941bd5f3dd8989c55 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated posix-locale git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b26f67513bdc7474d6ae54619e0a039b4533ea92 |
|
14-Apr-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a test application that show that BFS does not care to fill the space between the former end of the file and the position of a write with zeros as required. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36262 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
93de3bca5f45f482ace4acc9a198d0cd3fa347ff |
|
05-Apr-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed partial (unknown version) Open POSIX Test Suite from the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36039 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b07ef504a0bad1f6a39c11963a7d73f90bd7e332 |
|
06-Feb-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Add a memalign test that checks for valid alignments and fills/verifies allocated buffers to validate that the full allocated size is actually usable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af7fec0304ef55d86b1fa1e2597818c5ecb46e23 |
|
14-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* A small test application that shows that our abort() implementation does not work correctly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d46c72cd75fbfdc2e2b4b66293f495cb79234b47 |
|
23-Sep-2009 |
Jérôme Duval <korli@users.berlios.de> |
add a grist to the test truncate command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33254 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c454bb4ce1bc2e05c6be18b90ba718aa9159ad0 |
|
23-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added another tiny glibc-test, testmb.c, which covers a couple of mb-/wc-related functions (in a failed attempt to reproduce #4113) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31717 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16d5c24e533eb14b7b8a99ee9f3ec9ba66335b1e |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ce2ca0fc7eec2be8c69a84aaa7883c9824d1a7e |
|
22-Jun-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added a couple of wchar-related tests (from glibc-2.3.2) that expose several problems in our wchar-support - the worst of which being that our compilers define wchar_t as short while the glibc-implementation is relying on it being 32-bits wide ... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31180 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
530ce9aaab71ea696b270edf69ef55c492c54db9 |
|
20-Jan-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
added mbtest to the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7a32d7f5883ae0429790e11b75282785b789bd12 |
|
11-Sep-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Adding unit test for xsi message queue git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
839157e97ca6fcb6a0243ec910536f6f9cd20a2b |
|
10-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Removing bonnie in favor of bonnie++-1.03d BTW: I've added bonnie++ as it is. That is, I just realized that some unnecessary directory/files (like debian) could have been removed. They shouldn't harm ;-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26920 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3521e43f979d060726757bf5ca74cfd816e947ad |
|
07-Aug-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small test for mprotect(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26872 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ed7c4a3e9a9fbb65a5096b567c70d381ac421750 |
|
07-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added simple test app for readdir() to see how it fills out the dirent and the private DIR parts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cefb069022202b5aca22614b93cb4e3b810a8e7a |
|
07-Aug-2008 |
Salvatore Benedetto <salvatore.benedetto@gmail.com> |
* Adding xsi semaphore test unit * Moving common functions and macros used in realtime_sem_test1 to a shared header as they are probably going to be used for other test unit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26854 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe74d94e3c5d5360fa3f69610d4e9e86b06e96e9 |
|
04-Aug-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test program to reproduce bug #2562. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cc6c784ae75a2aac7f5f5acb649d8eb9d9863271 |
|
01-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Sean C. Farley made me aware that some of the possible solutions to clear the environment would crash on Haiku. Added a small test application that just checks every one of those. * Fixed env locking (in userland, you better check against B_INTERRUPTED). * Made our code safe against an environ of NULL. * There is now an additional sManagedEnviron that points to the environment our code actually managed; whenever an application overrides environ, we'll get aware of it with the next *env() function invocation, and will handle it adequately. * Added non-POSIX clearenv() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2873ace1f1269c7901cef3cef984a78fad364f15 |
|
11-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Small test program triggering a self-deadlock in the memory allocator when a signal handler that itself uses the allocator is invoked while the thread originally was in the allocator. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25449 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d5becaf83bcc6ba2ddc5c0a19bb5f6b6e585020d |
|
10-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test for setjmp() that demonstrates why it isn't a good idea to manipulate the stack pointer as we do. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25426 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13546fd19e68c676c2e74739b684acf454aae4a4 |
|
06-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Tests for POSIX Realtime semaphores. Unfortunately they reveal that the semantics of fork()ing with unnamed semaphores on other platforms is different from what I thought it was. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b11e55415650a2ce8c51350f1329cb558572a046 |
|
25-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a small app that's able to truncate files - for testing purposes only. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b0543bd23b3f5318160621e33f6ffa326ed35b1b |
|
19-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* A simple test that shows that our string compare functions inherited by NewOS are all broken. This is the actual reason for bug #724. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24457 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5ed8d60d1a414c05ec58ed084fa3ffe3f41677fc |
|
20-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added small setpgid() test. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24043 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a728651f04320792272030105dbdb10061a2278a |
|
17-Aug-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Some more work on the signal code: * get_signal_stack() checked the wrong sig_action field (index is signal-1), also, it had an off-by-one error in the stack range check. * factored out a restart_syscall() function to avoid code duplication * arch_setup_signal_frame() relied on the fact that vregs and the signal stack code is a multiple of 4 bytes in size. * Fixed sigaction(): it did return the error code directly instead of setting errno. * signal() actually had a work-around for the broken sigaction()... * Replaced the sig_func_t typedef with a sighandler_t typedef - this is non-standard anyway, but now we're at least compatible with the GNU world instead of introducing our own solution (BSD seems to use sig_t here, BTW). * Removed now unused sigval structure from the header; it should be added again as soon as we start supporting it. * SA_RESETHAND and SA_ONESHOT are the same thing; the former did not work before. * Made the non-standard SA_* flags refer to the standard ones instead of the other way around. * Added a test application for various signal features - works fine under Haiku, tested also under Linux and BeOS (the latter fails as it does not support SA_RESTART). More tests should be added, though. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21999 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6981ec9f0a6a3a13803216838271afad51a59018 |
|
10-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Test to verify that the runtime loader semaphore is not initialized after fork(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cb33db616c3bf9f2def7c1147b81b87f144f81f |
|
17-May-2006 |
Jérôme Duval <korli@users.berlios.de> |
added some tests from posixtestsuite-1.5.1, these ones fail on Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17488 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b28f8873c93750fd81222f1766a0682e859cfa9 |
|
14-May-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added sigsetjmp_test to Jamfile. * Fixed Jamfile (was set to only support libbe_test). * Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17457 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
77b1fd224322628748a663de467af3775a474690 |
|
20-Dec-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed the tests/kernel/core directory like the main directory tests/system/kernel and adapted all Jamfiles. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15630 a95241bf-73f2-0310-859d-f6bbb57e9c96
|