From 5e54f4dd320a3559229c017c04dbeb94d0379a2e Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Wed, 27 May 2009 11:32:24 +0200 Subject: [PATCH] libthread_xu: disable use of version script Due to a bug(?) in the gcc driver, the version script has not been used previously. Since we pass it directly to the linker, threaded applications have been crashing erratically. Correctly disable the version script until this issue is resolved. Tracked-down-by: hasso@ --- lib/libthread_xu/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libthread_xu/Makefile b/lib/libthread_xu/Makefile index a5defc5866..ca701114a5 100644 --- a/lib/libthread_xu/Makefile +++ b/lib/libthread_xu/Makefile @@ -13,7 +13,8 @@ CFLAGS+= -g # CFLAGS+=-DSYSTEM_SCOPE_ONLY -LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map +# XXX this breaks threaded applications +#LDFLAGS=-Wl,-version-script=${.CURDIR}/pthread.map # enable extra internal consistancy checks CFLAGS+=-D_PTHREADS_INVARIANTS -- 2.11.4.GIT