* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2007-11-18 3:49 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2007-11-18 3:49 UTC (permalink / raw
To: gentoo-commits
vapier 07/11/18 03:49:33
Modified: src_compile.eblit
Log:
Build gd-based helper tools when USE=gd #198381.
(Portage version: 2.1.3.19)
Revision Changes Path
1.3 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.2&r2=1.3
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- src_compile.eblit 6 Aug 2007 09:50:08 -0000 1.2
+++ src_compile.eblit 18 Nov 2007 03:49:32 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.2 2007/08/06 09:50:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.3 2007/11/18 03:49:32 vapier Exp $
glibc_do_configure() {
local myconf
@@ -75,7 +75,7 @@
--build=${CBUILD_OPT:-${CBUILD}}
--host=${CTARGET_OPT:-${CTARGET}}
$(use_enable profile)
- --without-gd
+ $(use_with gd)
--with-headers=$(alt_build_headers)
--prefix=/usr
--libdir=/usr/$(get_libdir)
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2008-06-23 22:01 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2008-06-23 22:01 UTC (permalink / raw
To: gentoo-commits
vapier 08/06/23 22:01:24
Modified: src_compile.eblit
Log:
Check to see if ports is in $S rather than $PWD #229107.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25 x86_64)
Revision Changes Path
1.5 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.4&r2=1.5
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- src_compile.eblit 23 Jun 2008 01:39:13 -0000 1.4
+++ src_compile.eblit 23 Jun 2008 22:01:23 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.4 2008/06/23 01:39:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.5 2008/06/23 22:01:23 vapier Exp $
glibc_do_configure() {
local myconf
@@ -130,7 +130,7 @@
# Pick out the correct location for build headers
local ports="" myconf="--disable-sanity-checks --enable-hacker-mode"
- [[ -d ports ]] && ports=",ports"
+ [[ -d ${S}/ports ]] && ports=",ports"
myconf="${myconf}
--enable-add-ons=nptl${ports}
--without-cvs
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2008-11-29 21:05 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2008-11-29 21:05 UTC (permalink / raw
To: gentoo-commits
vapier 08/11/29 21:05:49
Modified: src_compile.eblit
Log:
Force compiler tests when building only headers #229391.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)
Revision Changes Path
1.6 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.5&r2=1.6
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- src_compile.eblit 23 Jun 2008 22:01:23 -0000 1.5
+++ src_compile.eblit 29 Nov 2008 21:05:49 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.5 2008/06/23 22:01:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.6 2008/11/29 21:05:49 vapier Exp $
glibc_do_configure() {
local myconf
@@ -128,6 +128,12 @@
mkdir -p "${GBUILDDIR}"
cd "${GBUILDDIR}"
+ # if we don't have a compiler yet, we cant really test it now
+ export \
+ libc_cv_mlong_double_128=yes \
+ libc_cv_mlong_double_128ibm=yes \
+ libc_cv_ppc_machine=yes
+
# Pick out the correct location for build headers
local ports="" myconf="--disable-sanity-checks --enable-hacker-mode"
[[ -d ${S}/ports ]] && ports=",ports"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2009-05-02 2:38 Mark Loeser (halcy0n)
0 siblings, 0 replies; 29+ messages in thread
From: Mark Loeser (halcy0n) @ 2009-05-02 2:38 UTC (permalink / raw
To: gentoo-commits
halcy0n 09/05/02 02:38:25
Modified: src_compile.eblit
Log:
Disable selinux on crosscompile; bug #186780
(Portage version: 2.2_rc31/cvs/Linux i686)
Revision Changes Path
1.7 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.6&r2=1.7
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- src_compile.eblit 29 Nov 2008 21:05:49 -0000 1.6
+++ src_compile.eblit 2 May 2009 02:38:25 -0000 1.7
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.6 2008/11/29 21:05:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.7 2009/05/02 02:38:25 halcy0n Exp $
glibc_do_configure() {
local myconf
@@ -55,7 +55,8 @@
# Since SELinux support is only required for nscd, only enable it if:
# 1. USE selinux
# 2. only for the primary ABI on multilib systems
- if use selinux ; then
+ # 3. Not a crosscompile
+ if ! is_crosscompile && use selinux ; then
if use multilib || has_multilib_profile ; then
if is_final_abi ; then
myconf="${myconf} --with-selinux"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2009-08-27 6:07 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2009-08-27 6:07 UTC (permalink / raw
To: gentoo-commits
vapier 09/08/27 06:07:20
Modified: src_compile.eblit
Log:
Force all linker tests to true for cross headers #282442 by Jack Byer.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Revision Changes Path
1.8 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.7&r2=1.8
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- src_compile.eblit 2 May 2009 02:38:25 -0000 1.7
+++ src_compile.eblit 27 Aug 2009 06:07:20 -0000 1.8
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.7 2009/05/02 02:38:25 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.8 2009/08/27 06:07:20 vapier Exp $
glibc_do_configure() {
local myconf
@@ -129,11 +129,19 @@
mkdir -p "${GBUILDDIR}"
cd "${GBUILDDIR}"
- # if we don't have a compiler yet, we cant really test it now
+ # if we don't have a compiler yet, we cant really test it now ...
+ # hopefully they don't affect header geneation, so let's hope for
+ # the best here ...
export \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
- libc_cv_ppc_machine=yes
+ libc_cv_ppc_machine=yes \
+ libc_cv_z_combreloc=yes \
+ libc_cv_z_execstack=yes \
+ libc_cv_z_initfirst=yes \
+ libc_cv_z_nodelete=yes \
+ libc_cv_z_nodlopen=yes \
+ libc_cv_z_relro=yes
# Pick out the correct location for build headers
local ports="" myconf="--disable-sanity-checks --enable-hacker-mode"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2009-09-04 7:20 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2009-09-04 7:20 UTC (permalink / raw
To: gentoo-commits
vapier 09/09/04 07:20:18
Modified: src_compile.eblit
Log:
Force more compiler/assembler tests to true for cross headers.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Revision Changes Path
1.9 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.8&r2=1.9
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- src_compile.eblit 27 Aug 2009 06:07:20 -0000 1.8
+++ src_compile.eblit 4 Sep 2009 07:20:17 -0000 1.9
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.8 2009/08/27 06:07:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.9 2009/09/04 07:20:17 vapier Exp $
glibc_do_configure() {
local myconf
@@ -133,9 +133,16 @@
# hopefully they don't affect header geneation, so let's hope for
# the best here ...
export \
+ libc_cv_386_tls=yes \
+ libc_cv_asm_cfi_directives=yes \
+ libc_cv_broken_visibility_attribute=no \
+ libc_cv_c_cleanup=yes \
+ libc_cv_forced_unwind=yes \
+ libc_cv_gcc___thread=yes \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
libc_cv_ppc_machine=yes \
+ libc_cv_visibility_attribute=yes \
libc_cv_z_combreloc=yes \
libc_cv_z_execstack=yes \
libc_cv_z_initfirst=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2009-11-06 0:33 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2009-11-06 0:33 UTC (permalink / raw
To: gentoo-commits
vapier 09/11/06 00:33:03
Modified: src_compile.eblit
Log:
move some cross libc cv settings for all builds rather than doing it in the source via patches
Revision Changes Path
1.10 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.9&r2=1.10
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- src_compile.eblit 4 Sep 2009 07:20:17 -0000 1.9
+++ src_compile.eblit 6 Nov 2009 00:33:03 -0000 1.10
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.9 2009/09/04 07:20:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.10 2009/11/06 00:33:03 vapier Exp $
glibc_do_configure() {
local myconf
@@ -136,8 +136,6 @@
libc_cv_386_tls=yes \
libc_cv_asm_cfi_directives=yes \
libc_cv_broken_visibility_attribute=no \
- libc_cv_c_cleanup=yes \
- libc_cv_forced_unwind=yes \
libc_cv_gcc___thread=yes \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
@@ -173,6 +171,12 @@
}
eblit-glibc-src_compile() {
+ if is_crosscompile ; then
+ export \
+ libc_cv_c_cleanup=yes \
+ libc_cv_forced_unwind=yes
+ fi
+
if just_headers ; then
toolchain-glibc_headers_compile
return
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2010-09-12 6:22 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2010-09-12 6:22 UTC (permalink / raw
To: gentoo-commits
vapier 10/09/12 06:22:40
Modified: src_compile.eblit
Log:
Drop useless eselect-compiler logic and notify the world of our explicit CC setup.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.12 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.11&r2=1.12
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- src_compile.eblit 10 Aug 2010 08:08:05 -0000 1.11
+++ src_compile.eblit 12 Sep 2010 06:22:40 -0000 1.12
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.11 2010/08/10 08:08:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.12 2010/09/12 06:22:40 vapier Exp $
glibc_do_configure() {
local myconf
@@ -89,7 +89,8 @@
# since the glibc build will re-run configure on itself
export libc_cv_slibdir=/$(get_libdir)
- has_version app-admin/eselect-compiler || export CC=$(tc-getCC ${CTARGET})
+ export CC=$(tc-getCC ${CTARGET})
+ einfo "Set CC to ${CC}"
local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1
mkdir -p "${GBUILDDIR}"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2010-09-18 9:55 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2010-09-18 9:55 UTC (permalink / raw
To: gentoo-commits
vapier 10/09/18 09:55:18
Modified: src_compile.eblit
Log:
Force another powerpc assembler check when cross-compiling headers-only #336918 by Wouter Vanwalleghem.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.13 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.12&r2=1.13
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- src_compile.eblit 12 Sep 2010 06:22:40 -0000 1.12
+++ src_compile.eblit 18 Sep 2010 09:55:18 -0000 1.13
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.12 2010/09/12 06:22:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.13 2010/09/18 09:55:18 vapier Exp $
glibc_do_configure() {
local myconf
@@ -141,6 +141,7 @@
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
libc_cv_ppc_machine=yes \
+ libc_cv_ppc_rel16=yes \
libc_cv_visibility_attribute=yes \
libc_cv_z_combreloc=yes \
libc_cv_z_execstack=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2010-09-30 6:27 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2010-09-30 6:27 UTC (permalink / raw
To: gentoo-commits
vapier 10/09/30 06:27:59
Modified: src_compile.eblit
Log:
standardize output a bit
Revision Changes Path
1.14 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.13&r2=1.14
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- src_compile.eblit 18 Sep 2010 09:55:18 -0000 1.13
+++ src_compile.eblit 30 Sep 2010 06:27:59 -0000 1.14
@@ -1,10 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.13 2010/09/18 09:55:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.14 2010/09/30 06:27:59 vapier Exp $
glibc_do_configure() {
local myconf
+ einfo "Configuring GLIBC for $1"
+
# set addons
pushd "${S}" > /dev/null
local ADDONS=$(echo */configure | sed \
@@ -89,13 +91,10 @@
# since the glibc build will re-run configure on itself
export libc_cv_slibdir=/$(get_libdir)
- export CC=$(tc-getCC ${CTARGET})
- einfo "Set CC to ${CC}"
-
local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1
mkdir -p "${GBUILDDIR}"
cd "${GBUILDDIR}"
- einfo "Configuring GLIBC for $1 with: ${myconf// /\n\t\t}"
+ echo "${S}"/configure ${myconf}
"${S}"/configure ${myconf} || die "failed to configure glibc"
# since we'll be punting them for cross-compilers, and they can cause
@@ -109,18 +108,18 @@
for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do
einfo " $(printf '%15s' ${v}:) ${!v}"
done
+ export CC=$(tc-getCC ${CTARGET})
+ einfo " $(printf '%15s' 'Manual CC:') ${CC}"
echo
if want_linuxthreads ; then
glibc_do_configure linuxthreads
- einfo "Building GLIBC with linuxthreads..."
emake || die "make for ${ABI} failed"
fi
if want_nptl ; then
# ... and then do the optional nptl build
unset LD_ASSUME_KERNEL
glibc_do_configure nptl
- einfo "Building GLIBC with NPTL..."
emake || die "make for ${ABI} failed"
fi
}
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2010-11-10 21:51 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2010-11-10 21:51 UTC (permalink / raw
To: gentoo-commits
vapier 10/11/10 21:51:18
Modified: src_compile.eblit
Log:
fake out cpuid.h test for headers-only targets #344797 by Alex Buell
(Portage version: 2.2_rc96/cvs/Linux x86_64)
Revision Changes Path
1.16 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.15&r2=1.16
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- src_compile.eblit 30 Sep 2010 06:29:21 -0000 1.15
+++ src_compile.eblit 10 Nov 2010 21:51:18 -0000 1.16
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.15 2010/09/30 06:29:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.16 2010/11/10 21:51:18 vapier Exp $
glibc_do_configure() {
local myconf
@@ -134,6 +134,7 @@
# hopefully they don't affect header geneation, so let's hope for
# the best here ...
export \
+ ac_cv_header_cpuid_h=yes \
libc_cv_386_tls=yes \
libc_cv_asm_cfi_directives=yes \
libc_cv_broken_visibility_attribute=no \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2011-09-19 17:07 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2011-09-19 17:07 UTC (permalink / raw
To: gentoo-commits
vapier 11/09/19 17:07:52
Modified: src_compile.eblit
Log:
Disable forced --hash-style=both linker flags from configure.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Revision Changes Path
1.18 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.17&r2=1.18
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- src_compile.eblit 11 Mar 2011 02:40:28 -0000 1.17
+++ src_compile.eblit 19 Sep 2011 17:07:52 -0000 1.18
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.17 2011/03/11 02:40:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.18 2011/09/19 17:07:52 vapier Exp $
glibc_do_configure() {
local myconf
@@ -92,6 +92,11 @@
# since the glibc build will re-run configure on itself
export libc_cv_slibdir=/$(get_libdir)
+ # We take care of patching our binutils to use both hash styles,
+ # and many people like to force gnu hash style only, so disable
+ # this overriding check. #347761
+ export libc_cv_hashstyle=no
+
local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1
mkdir -p "${GBUILDDIR}"
cd "${GBUILDDIR}"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-01-13 22:45 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-01-13 22:45 UTC (permalink / raw
To: gentoo-commits
vapier 12/01/13 22:45:45
Modified: src_compile.eblit
Log:
Output more FLAG variables in our ABI summary, and make sure to reset LDFLAGS when building the target headers for cross-compilers #395619 by Thomas Sachau and Nathan Phillip Brink.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Revision Changes Path
1.22 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.21&r2=1.22
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- src_compile.eblit 12 Dec 2011 17:47:28 -0000 1.21
+++ src_compile.eblit 13 Jan 2012 22:45:45 -0000 1.22
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.21 2011/12/12 17:47:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.22 2012/01/13 22:45:45 vapier Exp $
glibc_do_configure() {
local myconf
@@ -105,7 +105,7 @@
toolchain-glibc_src_compile() {
echo
local v
- for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC CFLAGS ; do
+ for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
einfo " $(printf '%15s' ${v}:) ${!v}"
done
export CC=$(tc-getCC ${CTARGET})
@@ -170,6 +170,7 @@
CC=gcc \
CFLAGS="-O1 -pipe" \
CPPFLAGS="-U_FORTIFY_SOURCE" \
+ LDFLAGS="" \
"${S}"/configure ${myconf} || die "failed to configure glibc"
}
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-01-17 23:51 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-01-17 23:51 UTC (permalink / raw
To: gentoo-commits
vapier 12/01/17 23:51:59
Modified: src_compile.eblit
Log:
Drop gettext dep (cannot think of a reason for it), and drop USE=nls since the --disable-nls flag has not been in the glibc source for quite some time #398981 by Maxim Kammerer.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Revision Changes Path
1.23 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.22&r2=1.23
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- src_compile.eblit 13 Jan 2012 22:45:45 -0000 1.22
+++ src_compile.eblit 17 Jan 2012 23:51:59 -0000 1.23
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.22 2012/01/13 22:45:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.23 2012/01/17 23:51:59 vapier Exp $
glibc_do_configure() {
local myconf
@@ -19,7 +19,6 @@
[[ -d ports ]] && ADDONS="${ADDONS},ports"
popd > /dev/null
- use nls || myconf="${myconf} --disable-nls"
myconf="${myconf} $(use_enable hardened stackguard-randomization)"
if has_version '<sys-libs/glibc-2.13' ; then
myconf="${myconf} --enable-old-ssp-compat"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-04-14 21:59 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-04-14 21:59 UTC (permalink / raw
To: gentoo-commits
vapier 12/04/14 21:59:47
Modified: src_compile.eblit
Log:
Disable building of static ELFs for ia64 cross-compiler targets to workaround a broken gcc-stage1 libgcc #411677 by Michael Kosarev.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Revision Changes Path
1.24 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.23&r2=1.24
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- src_compile.eblit 17 Jan 2012 23:51:59 -0000 1.23
+++ src_compile.eblit 14 Apr 2012 21:59:47 -0000 1.24
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.23 2012/01/17 23:51:59 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.24 2012/04/14 21:59:47 vapier Exp $
glibc_do_configure() {
local myconf
@@ -99,6 +99,16 @@
cd "${GBUILDDIR}"
echo "${S}"/configure ${myconf}
"${S}"/configure ${myconf} || die "failed to configure glibc"
+
+ # ia64 static cross-compilers are a pita in so much that they
+ # can't produce static ELFs (as the libgcc.a is broken). so
+ # disable building of the programs for those targets if it
+ # doesn't work.
+ # XXX: We could turn this into a compiler test, but ia64 is
+ # the only one that matters, so this should be fine for now.
+ if is_crosscompile && [[ ${CTARGET} == ia64* ]] ; then
+ sed -i '1i+link-static = touch $@' config.make
+ fi
}
toolchain-glibc_src_compile() {
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-04-21 15:54 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-04-21 15:54 UTC (permalink / raw
To: gentoo-commits
vapier 12/04/21 15:54:07
Modified: src_compile.eblit
Log:
Drop USE=glibc-omitfp support since upstream has as well.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Revision Changes Path
1.25 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.24&r2=1.25
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- src_compile.eblit 14 Apr 2012 21:59:47 -0000 1.24
+++ src_compile.eblit 21 Apr 2012 15:54:06 -0000 1.25
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.24 2012/04/14 21:59:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.25 2012/04/21 15:54:06 vapier Exp $
glibc_do_configure() {
local myconf
@@ -24,8 +24,6 @@
myconf="${myconf} --enable-old-ssp-compat"
fi
- use glibc-omitfp && myconf="${myconf} --enable-omitfp"
-
[[ ${CTARGET//_/-} == *-softfloat-* ]] && myconf="${myconf} --without-fp"
if [[ $1 == "linuxthreads" ]] ; then
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-05-03 2:07 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-05-03 2:07 UTC (permalink / raw
To: gentoo-commits
vapier 12/05/03 02:07:55
Modified: src_compile.eblit
Log:
Force ppc32 compile test when building headers #413735 by Frédéric Lochon.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Revision Changes Path
1.26 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.25&r2=1.26
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- src_compile.eblit 21 Apr 2012 15:54:06 -0000 1.25
+++ src_compile.eblit 3 May 2012 02:07:55 -0000 1.26
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.25 2012/04/21 15:54:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.26 2012/05/03 02:07:55 vapier Exp $
glibc_do_configure() {
local myconf
@@ -147,6 +147,7 @@
libc_cv_gcc___thread=yes \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
+ libc_cv_powerpc32_tls=yes \
libc_cv_ppc_machine=yes \
libc_cv_ppc_rel16=yes \
libc_cv_visibility_attribute=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-05-10 5:24 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-05-10 5:24 UTC (permalink / raw
To: gentoo-commits
vapier 12/05/10 05:24:53
Modified: src_compile.eblit
Log:
Cache all arch tls variables when cross-compiling.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Revision Changes Path
1.27 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.26&r2=1.27
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- src_compile.eblit 3 May 2012 02:07:55 -0000 1.26
+++ src_compile.eblit 10 May 2012 05:24:53 -0000 1.27
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.26 2012/05/03 02:07:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.27 2012/05/10 05:24:53 vapier Exp $
glibc_do_configure() {
local myconf
@@ -141,13 +141,12 @@
# the best here ...
export \
ac_cv_header_cpuid_h=yes \
- libc_cv_386_tls=yes \
+ libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{32,64},sh,x86_64}_tls=yes \
libc_cv_asm_cfi_directives=yes \
libc_cv_broken_visibility_attribute=no \
libc_cv_gcc___thread=yes \
libc_cv_mlong_double_128=yes \
libc_cv_mlong_double_128ibm=yes \
- libc_cv_powerpc32_tls=yes \
libc_cv_ppc_machine=yes \
libc_cv_ppc_rel16=yes \
libc_cv_visibility_attribute=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-11-18 8:06 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-11-18 8:06 UTC (permalink / raw
To: gentoo-commits
vapier 12/11/18 08:06:49
Modified: src_compile.eblit
Log:
Disable fortify/ssp compiler checks when build glibc headers #443632 by Andrej Gelenberg.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.29 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.28&r2=1.29
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- src_compile.eblit 3 Jul 2012 20:07:34 -0000 1.28
+++ src_compile.eblit 18 Nov 2012 08:06:49 -0000 1.29
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.28 2012/07/03 20:07:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.29 2012/11/18 08:06:49 vapier Exp $
glibc_do_configure() {
local myconf
@@ -151,6 +151,7 @@
libc_cv_mlong_double_128ibm=yes \
libc_cv_ppc_machine=yes \
libc_cv_ppc_rel16=yes \
+ libc_cv_predef_{fortify_source,stack_protector}=no \
libc_cv_visibility_attribute=yes \
libc_cv_z_combreloc=yes \
libc_cv_z_execstack=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2012-12-25 20:08 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2012-12-25 20:08 UTC (permalink / raw
To: gentoo-commits
vapier 12/12/25 20:08:40
Modified: src_compile.eblit
Log:
Force usage of bfd linker if active linker is gold #269274 by Chris Smith.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.30 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.29&r2=1.30
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- src_compile.eblit 18 Nov 2012 08:06:49 -0000 1.29
+++ src_compile.eblit 25 Dec 2012 20:08:39 -0000 1.30
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.29 2012/11/18 08:06:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.30 2012/12/25 20:08:39 vapier Exp $
glibc_do_configure() {
local myconf
@@ -117,7 +117,15 @@
for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
einfo " $(printf '%15s' ${v}:) ${!v}"
done
+
export CC=$(tc-getCC ${CTARGET})
+ # Glibc does not work with gold (for various reasons) #269274.
+ if $(tc-getLD ${CTARGET}) --version | grep -q 'GNU gold' ; then
+ local d="${T}/bfd-linker"
+ mkdir -p "${d}"
+ ln -sf $(which ${CTARGET}-ld.bfd) "${d}"/ld
+ CC+=" -B${d}"
+ fi
einfo " $(printf '%15s' 'Manual CC:') ${CC}"
echo
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2013-01-02 0:51 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2013-01-02 0:51 UTC (permalink / raw
To: gentoo-commits
vapier 13/01/02 00:51:17
Modified: src_compile.eblit
Log:
Add IUSE=nscd to control support for it.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.32 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.32&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.32&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.31&r2=1.32
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- src_compile.eblit 28 Dec 2012 19:00:51 -0000 1.31
+++ src_compile.eblit 2 Jan 2013 00:51:16 -0000 1.32
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.31 2012/12/28 19:00:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.32 2013/01/02 00:51:16 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -85,6 +85,7 @@
$(use_multiarch || echo --disable-multi-arch)
--enable-obsolete-rpc
$(in_iuse systemtap && use_enable systemtap)
+ $(in_iuse nscd && use_enable nscd)
${EXTRA_ECONF}
)
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2013-01-28 19:53 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2013-01-28 19:53 UTC (permalink / raw
To: gentoo-commits
vapier 13/01/28 19:53:58
Modified: src_compile.eblit
Log:
Also set libc_cv_{sparc,powerpc}_tls as newer versions use that.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.33 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.32&r2=1.33
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- src_compile.eblit 2 Jan 2013 00:51:16 -0000 1.32
+++ src_compile.eblit 28 Jan 2013 19:53:58 -0000 1.33
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.32 2013/01/02 00:51:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.33 2013/01/28 19:53:58 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -156,7 +156,7 @@
# the best here ...
export \
ac_cv_header_cpuid_h=yes \
- libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{32,64},sh,x86_64}_tls=yes \
+ libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{,32,64},sh,x86_64}_tls=yes \
libc_cv_asm_cfi_directives=yes \
libc_cv_broken_visibility_attribute=no \
libc_cv_gcc___thread=yes \
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2013-04-05 0:33 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-05 0:33 UTC (permalink / raw
To: gentoo-commits
vapier 13/04/05 00:33:24
Modified: src_compile.eblit
Log:
Disable info manual generation to simplify older builds #464394 by Jason Mours.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.34 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.33&r2=1.34
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- src_compile.eblit 28 Jan 2013 19:53:58 -0000 1.33
+++ src_compile.eblit 5 Apr 2013 00:33:24 -0000 1.34
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.33 2013/01/28 19:53:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.34 2013/04/05 00:33:24 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -98,6 +98,13 @@
# this overriding check. #347761
export libc_cv_hashstyle=no
+ # Overtime, generating info pages can be painful. So disable this for
+ # versions older than the latest stable to avoid the issue (this ver
+ # should be updated from time to time). #464394
+ if ! version_is_at_least 2.15 ; then
+ export ac_cv_prog_MAKEINFO=:
+ fi
+
local GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-$1
mkdir -p "${GBUILDDIR}"
cd "${GBUILDDIR}"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2013-04-05 18:25 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-05 18:25 UTC (permalink / raw
To: gentoo-commits
vapier 13/04/05 18:25:21
Modified: src_compile.eblit
Log:
Force mips float/abi cached vars #464642 by Bertrand Jacquin. Update the logic to log each var (and its value) that it forced to make debugging simpler.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.35 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.35&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.35&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.34&r2=1.35
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- src_compile.eblit 5 Apr 2013 00:33:24 -0000 1.34
+++ src_compile.eblit 5 Apr 2013 18:25:21 -0000 1.35
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.34 2013/04/05 00:33:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.35 2013/04/05 18:25:21 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -161,24 +161,32 @@
# if we don't have a compiler yet, we cant really test it now ...
# hopefully they don't affect header geneation, so let's hope for
# the best here ...
- export \
- ac_cv_header_cpuid_h=yes \
- libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{,32,64},sh,x86_64}_tls=yes \
- libc_cv_asm_cfi_directives=yes \
- libc_cv_broken_visibility_attribute=no \
- libc_cv_gcc___thread=yes \
- libc_cv_mlong_double_128=yes \
- libc_cv_mlong_double_128ibm=yes \
- libc_cv_ppc_machine=yes \
- libc_cv_ppc_rel16=yes \
- libc_cv_predef_{fortify_source,stack_protector}=no \
- libc_cv_visibility_attribute=yes \
- libc_cv_z_combreloc=yes \
- libc_cv_z_execstack=yes \
- libc_cv_z_initfirst=yes \
- libc_cv_z_nodelete=yes \
- libc_cv_z_nodlopen=yes \
+ local v vars=(
+ ac_cv_header_cpuid_h=yes
+ libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{,32,64},sh,x86_64}_tls=yes
+ libc_cv_asm_cfi_directives=yes
+ libc_cv_broken_visibility_attribute=no
+ libc_cv_gcc___thread=yes
+ libc_cv_mlong_double_128=yes
+ libc_cv_mlong_double_128ibm=yes
+ libc_cv_ppc_machine=yes
+ libc_cv_ppc_rel16=yes
+ libc_cv_predef_{fortify_source,stack_protector}=no
+ libc_cv_visibility_attribute=yes
+ libc_cv_z_combreloc=yes
+ libc_cv_z_execstack=yes
+ libc_cv_z_initfirst=yes
+ libc_cv_z_nodelete=yes
+ libc_cv_z_nodlopen=yes
libc_cv_z_relro=yes
+ libc_mips_abi=${ABI}
+ libc_mips_float=$([[ $(tc-is-softfloat) == "yes" ]] && echo soft || echo hard)
+ )
+ einfo "Forcing cached settings:"
+ for v in "${vars[@]}" ; do
+ einfo " ${v}"
+ export ${v}
+ done
# Pick out the correct location for build headers
local ports="" myconf=()
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2013-09-30 5:28 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2013-09-30 5:28 UTC (permalink / raw
To: gentoo-commits
vapier 13/09/30 05:28:26
Modified: src_compile.eblit
Log:
Disable info page generation for glibc-2.16 and older #465816 by Nikos Chantziaras.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.36 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.35&r2=1.36
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- src_compile.eblit 5 Apr 2013 18:25:21 -0000 1.35
+++ src_compile.eblit 30 Sep 2013 05:28:25 -0000 1.36
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.35 2013/04/05 18:25:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.36 2013/09/30 05:28:25 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -100,8 +100,8 @@
# Overtime, generating info pages can be painful. So disable this for
# versions older than the latest stable to avoid the issue (this ver
- # should be updated from time to time). #464394
- if ! version_is_at_least 2.15 ; then
+ # should be updated from time to time). #464394 #465816
+ if ! version_is_at_least 2.17 ; then
export ac_cv_prog_MAKEINFO=:
fi
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2014-01-17 6:23 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2014-01-17 6:23 UTC (permalink / raw
To: gentoo-commits
vapier 14/01/17 06:23:22
Modified: src_compile.eblit
Log:
Use tc-is-softfloat consistently.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.37 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.37&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.37&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.36&r2=1.37
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- src_compile.eblit 30 Sep 2013 05:28:25 -0000 1.36
+++ src_compile.eblit 17 Jan 2014 06:23:22 -0000 1.37
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.36 2013/09/30 05:28:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.37 2014/01/17 06:23:22 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -24,7 +24,7 @@
myconf+=( --enable-old-ssp-compat )
fi
- [[ ${CTARGET//_/-} == *-softfloat-* ]] && myconf+=( --without-fp )
+ [[ $(tc-is-softfloat) == "yes" ]] && myconf+=( --without-fp )
if [[ $1 == "linuxthreads" ]] ; then
if want_tls ; then
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2014-09-10 5:49 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2014-09-10 5:49 UTC (permalink / raw
To: gentoo-commits
vapier 14/09/10 05:49:04
Modified: src_compile.eblit
Log:
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.41 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.40&r2=1.41
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- src_compile.eblit 21 Aug 2014 14:41:39 -0000 1.40
+++ src_compile.eblit 10 Sep 2014 05:49:03 -0000 1.41
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.40 2014/08/21 14:41:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.41 2014/09/10 05:49:03 vapier Exp $
glibc_do_configure() {
local myconf=()
@@ -9,14 +9,14 @@
# set addons
pushd "${S}" > /dev/null
- local ADDONS=$(echo */configure | sed \
+ local addons=$(echo */configure | sed \
-e 's:/configure::g' \
-e 's:\(linuxthreads\|nptl\|rtkaio\|glibc-compat\)\( \|$\)::g' \
-e 's: \+$::' \
-e 's! !,!g' \
-e 's!^!,!' \
-e '/^,\*$/d')
- [[ -d ports ]] && ADDONS="${ADDONS},ports"
+ [[ -d ports ]] && addons+=",ports"
popd > /dev/null
myconf+=( $(use_enable hardened stackguard-randomization) )
@@ -40,14 +40,16 @@
fi
myconf+=( --disable-sanity-checks )
- myconf+=( --enable-add-ons="linuxthreads${ADDONS}" )
+ addons="linuxthreads${addons}"
myconf+=( --enable-kernel=${LT_KER_VER} )
elif [[ $1 == "nptl" ]] ; then
- myconf+=( --enable-add-ons="nptl${ADDONS}" )
+ # Newer versions require nptl, so there is no addon for it.
+ version_is_at_least 2.20 || addons="nptl${addons}"
myconf+=( --enable-kernel=${NPTL_KERN_VER} )
else
die "invalid pthread option"
fi
+ myconf+=( --enable-add-ons="${addons#,}" )
# Since SELinux support is only required for nscd, only enable it if:
# 1. USE selinux
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2014-09-10 7:41 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2014-09-10 7:41 UTC (permalink / raw
To: gentoo-commits
vapier 14/09/10 07:41:06
Modified: src_compile.eblit
Log:
Move the toolchain dump message to the configure stage.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.42 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.42&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.42&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.41&r2=1.42
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- src_compile.eblit 10 Sep 2014 05:49:03 -0000 1.41
+++ src_compile.eblit 10 Sep 2014 07:41:06 -0000 1.42
@@ -1,11 +1,33 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.41 2014/09/10 05:49:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.42 2014/09/10 07:41:06 vapier Exp $
+
+dump_toolchain_settings() {
+ echo
+
+ einfo "$*"
+
+ local v
+ for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
+ einfo " $(printf '%15s' ${v}:) ${!v}"
+ done
+
+ export CC=$(tc-getCC ${CTARGET})
+ # Glibc does not work with gold (for various reasons) #269274.
+ if $(tc-getLD ${CTARGET}) --version | grep -q 'GNU gold' ; then
+ local d="${T}/bfd-linker"
+ mkdir -p "${d}"
+ ln -sf $(which ${CTARGET}-ld.bfd) "${d}"/ld
+ CC+=" -B${d}"
+ fi
+ einfo " $(printf '%15s' 'Manual CC:') ${CC}"
+ echo
+}
glibc_do_configure() {
- local myconf=()
+ dump_toolchain_settings "Configuring glibc for $1"
- einfo "Configuring GLIBC for $1"
+ local myconf=()
# set addons
pushd "${S}" > /dev/null
@@ -140,23 +162,6 @@
}
toolchain-glibc_src_compile() {
- echo
- local v
- for v in ABI CBUILD CHOST CTARGET CBUILD_OPT CTARGET_OPT CC {AS,C,CPP,CXX,LD}FLAGS ; do
- einfo " $(printf '%15s' ${v}:) ${!v}"
- done
-
- export CC=$(tc-getCC ${CTARGET})
- # Glibc does not work with gold (for various reasons) #269274.
- if $(tc-getLD ${CTARGET}) --version | grep -q 'GNU gold' ; then
- local d="${T}/bfd-linker"
- mkdir -p "${d}"
- ln -sf $(which ${CTARGET}-ld.bfd) "${d}"/ld
- CC+=" -B${d}"
- fi
- einfo " $(printf '%15s' 'Manual CC:') ${CC}"
- echo
-
if want_linuxthreads ; then
glibc_do_configure linuxthreads
emake || die "make for ${ABI} failed"
^ permalink raw reply [flat|nested] 29+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit
@ 2014-09-10 7:46 Mike Frysinger (vapier)
0 siblings, 0 replies; 29+ messages in thread
From: Mike Frysinger (vapier) @ 2014-09-10 7:46 UTC (permalink / raw
To: gentoo-commits
vapier 14/09/10 07:46:43
Modified: src_compile.eblit
Log:
Refactor header compile logic a bit to make it a bit more standalone.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.43 sys-libs/glibc/files/eblits/src_compile.eblit
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.43&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?rev=1.43&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit?r1=1.42&r2=1.43
Index: src_compile.eblit
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- src_compile.eblit 10 Sep 2014 07:41:06 -0000 1.42
+++ src_compile.eblit 10 Sep 2014 07:46:43 -0000 1.43
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.42 2014/09/10 07:41:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.43 2014/09/10 07:46:43 vapier Exp $
dump_toolchain_settings() {
echo
@@ -174,6 +174,8 @@
}
toolchain-glibc_headers_compile() {
+ export ABI=default
+
local builddir=$(builddir "headers")
mkdir -p "${builddir}"
cd "${builddir}"
@@ -186,6 +188,8 @@
libc_cv_{386,390,alpha,arm,hppa,ia64,mips,{powerpc,sparc}{,32,64},sh,x86_64}_tls=yes
libc_cv_asm_cfi_directives=yes
libc_cv_broken_visibility_attribute=no
+ libc_cv_c_cleanup=yes
+ libc_cv_forced_unwind=yes
libc_cv_gcc___thread=yes
libc_cv_mlong_double_128=yes
libc_cv_mlong_double_128ibm=yes
@@ -225,10 +229,9 @@
)
# Nothing is compiled here which would affect the headers for the target.
- # so forcing CC/CFLAGS is sane. unless you dont have `gcc`. then i
- # dont care :p.
+ # So forcing CC/CFLAGS is sane.
set -- "${S}"/configure "${myconf[@]}"
- CC=gcc \
+ CC="$(tc-getBUILD_CC)" \
CFLAGS="-O1 -pipe" \
CPPFLAGS="-U_FORTIFY_SOURCE" \
LDFLAGS="" \
@@ -236,18 +239,17 @@
}
eblit-glibc-src_compile() {
+ if just_headers ; then
+ toolchain-glibc_headers_compile
+ return
+ fi
+
if is_crosscompile ; then
export \
libc_cv_c_cleanup=yes \
libc_cv_forced_unwind=yes
fi
- if just_headers ; then
- export ABI=default
- toolchain-glibc_headers_compile
- return
- fi
-
setup_env
if [[ -z ${OABI} ]] ; then
^ permalink raw reply [flat|nested] 29+ messages in thread
end of thread, other threads:[~2014-09-10 7:46 UTC | newest]
Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19 17:07 [gentoo-commits] gentoo-x86 commit in sys-libs/glibc/files/eblits: src_compile.eblit Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2014-09-10 7:46 Mike Frysinger (vapier)
2014-09-10 7:41 Mike Frysinger (vapier)
2014-09-10 5:49 Mike Frysinger (vapier)
2014-01-17 6:23 Mike Frysinger (vapier)
2013-09-30 5:28 Mike Frysinger (vapier)
2013-04-05 18:25 Mike Frysinger (vapier)
2013-04-05 0:33 Mike Frysinger (vapier)
2013-01-28 19:53 Mike Frysinger (vapier)
2013-01-02 0:51 Mike Frysinger (vapier)
2012-12-25 20:08 Mike Frysinger (vapier)
2012-11-18 8:06 Mike Frysinger (vapier)
2012-05-10 5:24 Mike Frysinger (vapier)
2012-05-03 2:07 Mike Frysinger (vapier)
2012-04-21 15:54 Mike Frysinger (vapier)
2012-04-14 21:59 Mike Frysinger (vapier)
2012-01-17 23:51 Mike Frysinger (vapier)
2012-01-13 22:45 Mike Frysinger (vapier)
2010-11-10 21:51 Mike Frysinger (vapier)
2010-09-30 6:27 Mike Frysinger (vapier)
2010-09-18 9:55 Mike Frysinger (vapier)
2010-09-12 6:22 Mike Frysinger (vapier)
2009-11-06 0:33 Mike Frysinger (vapier)
2009-09-04 7:20 Mike Frysinger (vapier)
2009-08-27 6:07 Mike Frysinger (vapier)
2009-05-02 2:38 Mark Loeser (halcy0n)
2008-11-29 21:05 Mike Frysinger (vapier)
2008-06-23 22:01 Mike Frysinger (vapier)
2007-11-18 3:49 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox