129 Commits

Author SHA1 Message Date
Natanael Copa
5a835d7baa main/libc0.9.32: backport posix_spawn fix
This should fix the following error when compiling posix-spawn ruby gem:

In file included from posix-spawn.c:9:0:
/usr/include/spawn.h:80:34: error: expected ';', ',' or ')' before 'pid'
 int posix_spawn(pid_t * restrict pid, const char * restrict path,
                                  ^
/usr/include/spawn.h:248:10: error: expected ';', ',' or ')' before 'file_actions'
          file_actions, int fd,
          ^
2014-03-07 13:48:34 +00:00
Natanael Copa
fa1b35ab32 main/libc0.9.32: fix build with 3.10 kernel headers 2013-10-28 13:36:41 +00:00
Timo Teräs
8d05ecc84f main/libc0.9.32: add posix_spawn support
everyself respecting libc needs it nowaday. especially vlc needs it.
2013-10-06 22:05:34 +03:00
Timo Teräs
df0450b014 main/libc0.9.32: don't build on musl toolchain 2013-09-29 16:08:25 +00:00
Natanael Copa
d6e220d66c main/libc0.9.32: use ucontext upstream git master
it includes the definitions in the ucontext.h file.

We also need set ASFLAGS to be re-entrant.
2013-09-24 11:13:47 +00:00
Natanael Copa
871f00fe9d main/libc0.9.32: add mkostemp
needed by util-linux
2013-07-30 12:42:51 +00:00
William Pitcock
627bf322f5 main/libc0.9.32: avoid libgcc unwind functions in nptl
Normally for 'performance', nptl uses the _Unwind_ForcedUnwind() function,
which is provided by GCC.  However, this function depends on libunwind tracking
all register state, which neither libunwind itself (which we do not want as a
core dependency) or GCC's libunwind support register state on some newer x86
CPUs fully.

Thusly, we turn off the unwind-using code and return to using the traditional
cleanup functions.
2013-06-01 18:14:29 -05:00
Natanael Copa
7d25e7fc4a main/libc0.9.32: resync of upstream kernel features
fixes #1907
2013-05-21 07:35:41 +00:00
Natanael Copa
888a762e3e main/libc0.9.32: clean up dead code
fixes #1909
2013-05-21 07:18:52 +00:00
Natanael Copa
eca60a85ee main/libc0.9.32: make getchar/putchar as inlines
fixes issue with lvm2 which modifies stdin.

Patch from Timo.

ref #1527
2013-05-16 14:45:20 +00:00
William Pitcock
305bf33ed7 main/libc0.9.32: suppress ldd debug messages to stderr
The debug messages were being parsed by tools which invoked ldd to discover shared
library dependencies, such as gobject-introspection.  This caused gobject-introspection
to be broken on x86_64 due to the presence of the debug messages.
2013-05-11 22:22:49 -05:00
Natanael Copa
4b5d4a050e main/libc0.9.32: fix previous patch 2013-04-29 09:41:03 +00:00
Natanael Copa
49dabb360c main/libc0.9.32: another dlopen/dlclose patch from Timo
This should fix issue with sdl[1] and apps that does lots of dlopen/dlclose calls
with complicated deps.

[1] see commit be91866229a76e73f1ecdbdbfec83b8e69cb6e69
2013-04-29 09:08:03 +00:00
Natanael Copa
57c63f042b main/libc0.9.32: add fegetround for x86_64 2013-04-25 11:38:58 +00:00
Natanael Copa
612be37134 main/libc0.9.32: fix res_init for asterisk
from https://dev.openwrt.org/ticket/11929
2013-04-09 13:20:59 +00:00
William Pitcock
c30f5d91c6 main/libc0.9.32: more verbose build process 2012-11-18 14:25:48 +00:00
Timo Teräs
d6df4153c8 main/libc0.9.32: missing file for dlsym(RTLD_NEXT) patch 2012-11-02 08:51:11 +02:00
Timo Teräs
6954a34299 main/libc0.9.32: dlsym(RTLD_NEXT) fix 2012-11-02 08:48:35 +02:00
Natanael Copa
d36e402fae main/libc0.9.32: dlclose fix
Issue reported here:
http://lists.uclibc.org/pipermail/uclibc/2012-October/047059.html

Patch is from Timo
2012-11-01 14:30:03 +00:00
Natanael Copa
a698043a5c main/libc0.9.32: fix ucontext for i386 2012-10-30 08:40:09 +00:00
Natanael Copa
9d14dc59a9 main/libc0.9.32: disable ucontext for x86 for now
the assembly code appears to create textrels
2012-10-29 15:05:23 +00:00
Natanael Copa
405da0cba7 main/libc0.9.32: add ucontext support
fixes #1450
2012-10-29 14:41:53 +00:00
Natanael Copa
c73915ec38 main/libc0.9.32: split out libpthread
Avoid that libgcc always are pulled in by libc0.9.32. For compat
reasons we also introduce a subpackage called libc. This way we
don't break all packages depending on libc0.9.32
2012-10-02 18:56:44 +00:00
Natanael Copa
98a000b8e9 main/libc0.9.32: fix for SIGCANCEL from upstream 2012-09-03 08:08:33 +00:00
Natanael Copa
551381b5c5 main/libc0.9.32: sync sys/quota.h with glibc 2012-08-29 11:02:20 +00:00
Natanael Copa
919363a37f main/libc0.9.32: backport posix_madvise
and rebase our posix_fallocate
2012-07-09 09:08:06 +02:00
Natanael Copa
d33928ad3f main/libc0.9.32: backport the pread/pwrite fixes from master
The previous patch I did broke x86_64.
2012-07-05 13:49:52 +00:00
Natanael Copa
049753c091 main/libc0.9.32: fix/workaround posix_fallocate for x86
Might be a gcc bug, but the generated assembly code was broke.

ebp was supposed to be set to zero but it was not.

We work around it by allowing use of immedate values as the 6th syscall
arg. Then gcc don't need to use a memory reference.
2012-07-05 07:40:51 +00:00
Natanael Copa
57e08ebf66 main/libc0.9.32: backport fix of pread/pwrite syscalls
fixes issue with git 1.7.11
2012-06-27 18:45:07 +00:00
Natanael Copa
0c8011d8d1 main/libc0.9.32: backport posix_fallocate
from http://www.mail-archive.com/uclibc@uclibc.org/msg08105.html
2012-06-12 08:07:33 +00:00
Natanael Copa
472f22263f main/libc0.9.32: add mDNS support via avahi-daemon 2012-05-25 19:15:30 +00:00
Natanael Copa
a7e4d66e89 main/libc0.9.32: upgrade to 0.9.33.2 2012-05-16 13:34:38 +00:00
Natanael Copa
3161576d06 main/libc0.9.32: fix eventfd syscall
<tteras> old kernels have only eventfd()
<tteras> they noticed uh oh, we need add a new parameter
<tteras> so there's eventfd2() syscall
<tteras> when it was added to glibc
<tteras> eventfd2 was already there
<tteras> so the glibc call got name eventfd() even though it had signature of syscall eventfd2()
<ncopa> so they picked eventfd()
<tteras> yeah
<ncopa> doh

Requires 2.6.27+ kernel. The old eventfd() syscall, is not really usable
and emulation is not feasible.
2012-04-27 11:47:25 +00:00
Natanael Copa
5a28ad8807 main/libc0.9.32: upgrade to 0.9.33.1 2012-04-18 03:46:40 +00:00
Natanael Copa
2f2e1bf9c8 main/libc0.9.32: fix checksum 2012-02-07 08:12:13 +00:00
Natanael Copa
d5f82899c4 main/libc0.9.32: upgrade to 0.9.33 2012-02-07 07:22:42 +00:00
Natanael Copa
cf93aba150 main/libc0.9.32: do not use old regex implementation
It breaks sed
http://comments.gmane.org/gmane.linux.busybox/35528
2012-01-17 07:46:20 +00:00
Natanael Copa
afdd2a4f0c main/libc0.9.32: increase stdio buf to 8192
will hopefully improve performance slightly
2012-01-13 22:03:12 +00:00
Natanael Copa
5e9951fd11 main/libc0.9.32: upgrade to 0.9.32.1 2012-01-02 14:11:25 +00:00
Natanael Copa
293f29e8c4 main/libc0.9.32: reorganize patches
We keep track of our patches in git now:
http://git.alpinelinux.org/cgit/uClibc-alpine

This is so its easier to keep track of upstream and make sure that
our patches are upstreamed.

we also bump pkgrel so we make sure we get the patches tested properly
2011-12-23 16:33:50 +01:00
William Pitcock
e619a482fc main/libc0.9.32: Implement FTS support inside libc. (deprecates fts package) 2011-12-17 00:29:18 -06:00
Natanael Copa
d30437a748 main/libc0.9.32: rebuild with fixed binutils
The static linking was broke so ldconfig segfaulted.

Simply rebuiling uclibc with a fixed binutils should make it work again.
2011-12-15 10:57:38 +01:00
Natanael Copa
9624f59de7 main/libc0.9.32: update the STATUS doc 2011-12-05 15:37:22 +00:00
Natanael Copa
df7fc5c4ea main/libc0.9.32: remove the librt as-needed fix
We should really fix the broken apps instead as suggested by upstream

This also fixes issue with c++ apps linking in librt when they shouldn't.
gcc needs to be rebuilt with a libstdc++ thats not linked to librt.

ref #854
2011-12-05 15:18:20 +00:00
Natanael Copa
44dc137653 main/libc0.9.32: bump pkgrel so users gets the update 2011-12-01 14:33:53 +00:00
Natanael Copa
8b368431b6 Revert "main/libc: use mgk's wcs?width implementations"
This reverts commit 032fd46472c35ab832c1285b96fa5c8fee256f08.
2011-12-01 14:31:17 +00:00
Natanael Copa
032fd46472 main/libc: use mgk's wcs?width implementations
patch from Aerdan
2011-12-01 14:10:21 +00:00
William Pitcock
8b400bec2f main/libc0.9.32: redesign SHA512 crypt patch (and as a bonus add SHA256 support too) 2011-11-16 06:30:28 -06:00
William Pitcock
a22b7aa39e main/libc0.9.32: add STATUS file tracking where we are in terms of patches. 2011-11-16 05:02:55 -06:00
Timo Teräs
6f8933ee7b main/libc0.9.32: improve the stack unwinding fix
should now work with all syscalls
2011-11-11 14:17:24 +02:00