all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 09/10] gnu: base: Remove a multiple definition from libpthread.
@ 2015-05-18 22:23 Manolis Ragkousis
  2015-05-19 16:29 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Manolis Ragkousis @ 2015-05-18 22:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

This and the previous one will become part of the add glibc/hurd commit.

[-- Attachment #2: 0009-gnu-base-Remove-a-multiple-definition-from-libpthrea.patch --]
[-- Type: text/x-patch, Size: 1233 bytes --]

From c79795377c6325739fdd1f5d1f40942f0dc349ad Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 19 May 2015 00:57:04 +0300
Subject: [PATCH 09/10] gnu: base: Remove a multiple definition from
 libpthread.

gnu/packages/patches/glibc-hurd-extern-inline.patch: Remove a multiple definition from libpthread.
---
 gnu/packages/patches/glibc-hurd-extern-inline.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/patches/glibc-hurd-extern-inline.patch b/gnu/packages/patches/glibc-hurd-extern-inline.patch
index 33eb3a4..dd18d1b 100644
--- a/gnu/packages/patches/glibc-hurd-extern-inline.patch
+++ b/gnu/packages/patches/glibc-hurd-extern-inline.patch
@@ -14,3 +14,20 @@ considered a standard part of the API in GNU-land.
  
  endif
 
+There is a definition of __libc_getspecific in libpthread that causes the
+build to fail. Remove it. 
+--- a/libpthread/pthread/cthreads-compat.c
++++ b/libpthread/pthread/cthreads-compat.c
+@@ -70,12 +70,6 @@
+   return 0;
+ }
+ 
+-void *
+-__libc_getspecific (cthread_key_t key)
+-{
+-  return pthread_getspecific (key);
+-}
+-
+ int
+ cthread_setspecific (cthread_key_t key, void *val)
+ {
\ No newline at end of file
-- 
2.4.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-19 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18 22:23 [PATCH 09/10] gnu: base: Remove a multiple definition from libpthread Manolis Ragkousis
2015-05-19 16:29 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.