Mercurial > gub
changeset 6328:25f5df644166
Fix linux-ppc::glibc-core (glibc-2.3)
__librt_multiple_threads
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sun, 01 Feb 2015 22:50:08 +0900 |
parents | 58f938d06e4e |
children | 7ed303fca376 |
files | gub/specs/glibc-core.py patches/glibc-2.3-powerpc-linuxthreads-librt_multiple_threads.patch |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/glibc-core.py Sat Jan 31 16:22:02 2015 +0900 +++ b/gub/specs/glibc-core.py Sun Feb 01 22:50:08 2015 +0900 @@ -42,6 +42,7 @@ patches = Glibc_core.patches + [ 'glibc-2.3-linux-ppc-sysdeps-generic-strtol_l.patch', 'glibc-2.3-powerpc-unwind-find-fde.patch', + 'glibc-2.3-powerpc-linuxthreads-librt_multiple_threads.patch', ] # ugh, but the gnulib=-lgcc hack does something else on ppc... # it (huh?) drops *-lgcc* (instead of -lgcc_eh) from libc.so
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc-2.3-powerpc-linuxthreads-librt_multiple_threads.patch Sun Feb 01 22:50:08 2015 +0900 @@ -0,0 +1,15 @@ +--- a/linuxthreads/Makefile 2014-11-12 18:47:29.238567100 +0900 ++++ b/linuxthreads/Makefile 2015-02-01 22:28:42.566756900 +0900 +@@ -186,6 +186,8 @@ + $(objpfx)libpthread.so: +preinit += $(addprefix $(objpfx),$(crti-objs)) + $(objpfx)libpthread.so: +postinit += $(addprefix $(objpfx),$(crtn-objs)) + ++$(objpfx)libpthread_pic.a: dummy_symbol.os ++ + znodelete-yes = -DHAVE_Z_NODELETE + CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES + CFLAGS-specific.c += -D__NO_WEAK_PTHREAD_ALIASES +--- /dev/null 2015-02-01 22:32:29.000000000 +0900 ++++ b/linuxthreads/dummy_symbol.c 2015-02-01 22:30:53.158812200 +0900 +@@ -0,0 +1 @@ ++int __librt_multiple_threads;