pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/glib2



tnn%NetBSD.org@localhost said:
> ld: .libs/gthread.o: relocation R_X86_64_PC32 against symbol
> `_g_atomic_thread_init' can not be used when making a shared object;
> recompile with -fPIC

How about this?
best regards
Matthias


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
$NetBSD$

--- glib/gatomic-gcc.c.orig     2010-06-01 15:18:24.000000000 +0000
+++ glib/gatomic-gcc.c
@@ -22,6 +22,7 @@
 
 #include "glib.h"
 #include "galias.h"
+#include "gthreadprivate.h"
 
 gint
 g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,


Home | Main Index | Thread Index | Old Index