* [PATCH 0 of 1] compilinmg glibc-2.9 with binutils-2.20 @ 2009-11-25 7:49 Frederic Roussel 2009-11-25 7:49 ` [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 Frederic Roussel 0 siblings, 1 reply; 3+ messages in thread From: Frederic Roussel @ 2009-11-25 7:49 UTC (permalink / raw) To: Yann E. MORIN; +Cc: crossgcc Hi all Here's a glibc patch to allow compiling glibc-2.9 with binutils-2.20. Just configure needed change. I am far from certain that my configure.in change is 100% correct. The problem showed up when I tried to compile glibc-2.10.1, but it failed with a problem already discussed earlier (July 23 in the mailing list). So I changed the glibc version without back-revving the binutils too. Anyway, more on that after the turkey ;-) Happy Thanksgiving --Frederic -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 2009-11-25 7:49 [PATCH 0 of 1] compilinmg glibc-2.9 with binutils-2.20 Frederic Roussel @ 2009-11-25 7:49 ` Frederic Roussel 0 siblings, 0 replies; 3+ messages in thread From: Frederic Roussel @ 2009-11-25 7:49 UTC (permalink / raw) To: Yann E. MORIN; +Cc: crossgcc # HG changeset patch # User "Frederic Roussel" <fr.frasc@gmail.com> # Date 1259133428 28800 # Node ID 427cca5560d3ff2df143e6fb4e3b34028c094e97 # Parent 496eeb7effad7574955bceb2cbec7c3b970189ed patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 the configure script had to be modified to accept as/ld at versions greater than 2.19 Signed-off-by: Frederic Roussel <fr.frasc@gmail.com> -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 0 of 1] compiling glibc-2.9 with binutils-2.20 [RETRY] @ 2009-11-25 8:15 Frederic Roussel 2009-11-25 8:14 ` [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 Frederic Roussel 0 siblings, 1 reply; 3+ messages in thread From: Frederic Roussel @ 2009-11-25 8:15 UTC (permalink / raw) To: Yann E. MORIN; +Cc: crossgcc Hi all Sorry for the retry - I'm still a mercurial noobie and it shows :-( Here's a glibc patch to allow compiling glibc-2.9 with binutils-2.20. Just configure needed change. I am far from certain that my configure.in change is 100% correct. The problem showed up when I tried to compile glibc-2.10.1, but it failed with a problem already discussed earlier (July 23 in the mailing list). So I changed the glibc version without back-revving the binutils too. Anyway, more on that after the turkey ;-) Happy Thanksgiving --Frederic -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 2009-11-25 8:15 [PATCH 0 of 1] compiling glibc-2.9 with binutils-2.20 [RETRY] Frederic Roussel @ 2009-11-25 8:14 ` Frederic Roussel 0 siblings, 0 replies; 3+ messages in thread From: Frederic Roussel @ 2009-11-25 8:14 UTC (permalink / raw) To: Yann E. MORIN; +Cc: crossgcc # HG changeset patch # User "Frederic Roussel" <fr.frasc@gmail.com> # Date 1259136642 28800 # Node ID 489e9f2158fa8bd86e3080af1c63983b097fc93e # Parent 496eeb7effad7574955bceb2cbec7c3b970189ed patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 the configure script had to be modified to accept as/ld at versions greater than 2.19 Signed-off-by: Frederic Roussel <fr.frasc@gmail.com> diff -r 496eeb7effad -r 489e9f2158fa patches/glibc/2.9/600-recent-binutils.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.9/600-recent-binutils.patch Wed Nov 25 00:10:42 2009 -0800 @@ -0,0 +1,37 @@ +diff -r -u glibc-cvs-2.9.orig/configure glibc-cvs-2.9/configure +--- glibc-cvs-2.9.orig/configure 2008-11-11 01:50:11.000000000 -0800 ++++ glibc-cvs-2.9/configure 2009-11-24 17:52:27.000000000 -0800 +@@ -4531,7 +4531,7 @@ + ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 2.1[3-9]*) ++ 2.1[3-9]*|2.20) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + +@@ -4594,7 +4594,7 @@ + ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 2.1[3-9]*) ++ 2.1[3-9]*|2.20) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + +diff -r -u glibc-cvs-2.9.orig/configure.in glibc-cvs-2.9/configure.in +--- glibc-cvs-2.9.orig/configure.in 2008-11-11 01:50:11.000000000 -0800 ++++ glibc-cvs-2.9/configure.in 2009-11-24 17:53:35.000000000 -0800 +@@ -844,10 +844,10 @@ + # Accept binutils 2.13 or newer. + AC_CHECK_PROG_VER(AS, $AS, --version, + [GNU assembler.* \([0-9]*\.[0-9.]*\)], +- [2.1[3-9]*], AS=: critic_missing="$critic_missing as") ++ [2.1[3-9]*|2.20], AS=: critic_missing="$critic_missing as") + AC_CHECK_PROG_VER(LD, $LD, --version, + [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], +- [2.1[3-9]*], LD=: critic_missing="$critic_missing ld") ++ [2.1[3-9]*|2.20], LD=: critic_missing="$critic_missing ld") + + # We need the physical current working directory. We cannot use the + # "pwd -P" shell builtin since that's not portable. Instead we try to -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-25 8:14 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-11-25 7:49 [PATCH 0 of 1] compilinmg glibc-2.9 with binutils-2.20 Frederic Roussel 2009-11-25 7:49 ` [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 Frederic Roussel 2009-11-25 8:15 [PATCH 0 of 1] compiling glibc-2.9 with binutils-2.20 [RETRY] Frederic Roussel 2009-11-25 8:14 ` [PATCH 1 of 1] patches/glibc: allows glibc2.9 to be compiled with binutils 2.20 Frederic Roussel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).