SPECS (AC-branch): glibc.spec - no_tls_direct_seg_refs bcond for b...
jajcus
jajcus at pld-linux.org
Mon May 1 14:01:48 CEST 2006
Author: jajcus Date: Mon May 1 12:01:48 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- no_tls_direct_seg_refs bcond for building Xen-friendly glibc, disabled by default.
I suggest enabling it by default, after a bit of testing.
Please note, that for Th this bcond would be implemented in a bit different
way (gcc option -mno-tls-direct-seg-refs)
---- Files affected:
SPECS:
glibc.spec (1.583.2.73 -> 1.583.2.74)
---- Diffs:
================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.583.2.73 SPECS/glibc.spec:1.583.2.74
--- SPECS/glibc.spec:1.583.2.73 Fri Apr 14 17:02:20 2006
+++ SPECS/glibc.spec Mon May 1 14:01:43 2006
@@ -19,8 +19,11 @@
%bcond_with cross # build using crossgcc (without libgcc_eh)
%bcond_with boot64 # bootstrap *64 using cross* (sparc64 currently)
%bcond_with pax # apply PaX hack
+%bcond_with no_tls_direct_seg_refs # enable -DNO_TLS_DIRECT_SEG_REFS for Xen
+
#
# TODO:
+# - test with no_tls_direct_seg_refs, and enable by default if no problems found
# - look at locale fixes/updates in bugzilla
# [OLD]
# - localedb-gen man pages(?)
@@ -87,7 +90,7 @@
Summary(uk): GNU libc ×ĹŇÓŚ§ 2.3
Name: glibc
Version: 2.3.6
-Release: 5
+Release: 5.1
Epoch: 6
License: LGPL
Group: Libraries
@@ -983,7 +986,8 @@
--with%{!?with_selinux:out}-selinux \
--with%{!?with_tls:out}-tls \
--enable-add-ons=linuxthreads \
- --enable-profile
+ --enable-profile \
+ %{?with_no_tls_direct_seg_refs:CFLAGS="%{rpmcflags} -DNO_TLS_DIRECT_SEG_REFS"}
%{__make}
%endif
%if %{with nptl}
@@ -1000,7 +1004,8 @@
--with%{!?with_selinux:out}-selinux \
--with-tls \
--enable-add-ons=nptl \
- --enable-profile
+ --enable-profile \
+ %{?with_no_tls_direct_seg_refs:CFLAGS="%{rpmcflags} -DNO_TLS_DIRECT_SEG_REFS"}
# simulate cross-compiling so we can perform dual builds on 2.4.x kernel
%{__make} \
%{?with_dual:cross-compiling=yes}
@@ -1720,6 +1725,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.583.2.74 2006/05/01 12:01:43 jajcus
+- no_tls_direct_seg_refs bcond for building Xen-friendly glibc, disabled by default.
+ I suggest enabling it by default, after a bit of testing.
+ Please note, that for Th this bcond would be implemented in a bit different
+ way (gcc option -mno-tls-direct-seg-refs)
+
Revision 1.583.2.73 2006/04/14 15:02:20 glen
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/glibc.spec?r1=1.583.2.73&r2=1.583.2.74&f=u
More information about the pld-cvs-commit
mailing list