The Samba-Bugzilla – Attachment 3924 Details for
Bug 5024
Solaris: nss_winbind.so with libthread breaks non-MT program
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for 3.2.8 (v3-2-test) (Remove unnecessary -lthread flag only)
0002-Solaris-nss_winbind.so-with-libthread.so-breaks-non.patch (text/plain), 1.84 KB, created by
SATOH Fumiyasu
on 2009-02-05 07:52:44 UTC
(
hide
)
Description:
Updated patch for 3.2.8 (v3-2-test) (Remove unnecessary -lthread flag only)
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2009-02-05 07:52:44 UTC
Size:
1.84 KB
patch
obsolete
>From 50d7d978d9584ae538c004fedf0dce57d0d9346c Mon Sep 17 00:00:00 2001 >From: SATOH Fumiyasu <fumiyas@osstech.co.jp> >Date: Thu, 5 Feb 2009 14:17:51 +0900 >Subject: [PATCH] Solaris: nss_winbind.so with libthread.so breaks non-MT program > >See: https://bugzilla.samba.org/show_bug.cgi?id=5024 and >see also: https://bugzilla.samba.org/show_bug.cgi?id=1822 > >libthread.so is not required for the thread-safe errno >because ___errno() is in libc.so, not in libthread.so. > >$ uname -a >SunOS blade8 5.8 Generic_117350-49 sun4u sparc SUNW,Sun-Blade-100 >$ /usr/ccs/bin/nm /lib/libc.so |grep ___errno >[4327] | 621164| 56|FUNC |GLOB |0 |9 |___errno >$ /usr/ccs/bin/nm /lib/libthread.so |grep ___errno >[1153] | 0| 0|FUNC |GLOB |0 |UNDEF |___errno >--- > source/configure.in | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > >diff --git a/source/configure.in b/source/configure.in >index 257d2ad..9c400d6 100644 >--- a/source/configure.in >+++ b/source/configure.in >@@ -471,19 +471,16 @@ case "$host_os" in > case "$ac_cv_gcc_compiler_version_number" in > *"gcc version 2.6"*|*"gcc version 2.7"*) > CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE -D_REENTRANT" >- LDFLAGS="$LDFLAGS -lthread" > AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) > ;; > *) > CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64" >- LDFLAGS="$LDFLAGS -lthread" > AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) > AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits]) > ;; > esac > else > CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64" >- LDFLAGS="$LDFLAGS -lthread" > AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) > AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits]) > fi >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5024
:
2944
| 3924