Skip to contentSkip to conversation

support/gnuconfig: update config.{guess, sub} to a newer version

PATCH New Thomas Petazzoni 4 participants 5 messages Nov 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/gnuconfig: update config.{guess, sub} to a newer version

We need more recent versions of config.guess and config.sub in order to support the aarch64 architecture. Otherwise, all autoconf packages fail to build with failures like:

http://autobuild.buildroot.org/results/abcdbe1aaf1c203c82dc3e4ec8c002b9b9e550e0/build-end.log

We take this opportunity to turn the config.* patches into proper Git patches, and note which Git commit of the config.git repository we used as the original source.

---
 support/gnuconfig/README.buildroot                 |    5 +-
 support/gnuconfig/config.guess                     |   74 +++++---
 support/gnuconfig/config.sub                       |  138 ++++++++++-----
 .../0001-config-add-support-for-uClibc.patch       |  184 ++++++++++++++++++++
 .../patches/0002-config-add-support-for-ps2.patch  |   60 +++++++
 .../gnuconfig/patches/config.guess.uclibc.patch    |  149 ----------------
 support/gnuconfig/patches/config.sub.ps2.patch     |   45 -----
 7 files changed, 392 insertions(+), 263 deletions(-)
 create mode 100644 support/gnuconfig/patches/0001-config-add-support-for-uClibc.patch
 create mode 100644 support/gnuconfig/patches/0002-config-add-support-for-ps2.patch
 delete mode 100644 support/gnuconfig/patches/config.guess.uclibc.patch
 delete mode 100644 support/gnuconfig/patches/config.sub.ps2.patch
support/gnuconfig/README.buildroot +4 -1
index 83a4e9c..5f96b3c 100644
@@ -17,9 +17,12 @@ GNU config is now managed in git, so to update:
 
 # git clone git://git.savannah.gnu.org/config.git
 # cp config/config.* .
-# for p in $(ls patches/*.patch); do patch -p0 < $p; done
+# for p in $(ls patches/*.patch); do patch -p1 < $p; done
 # rm -rf config
 
 A few local customizations are used to support uClibc so you may
 have to make sure they're still needed.  The patches are broken
 out in the patches/ dir to keep things simple.
+
+The current Buildroot version is based on the Git commit
+9582436dfae5755279f96898ce30bde28e4e69ea of the config.git repository.
support/gnuconfig/config.guess +50 -24

187 lines not on this page · raw message

support/gnuconfig/config.sub +94 -44

339 lines not on this page · raw message

support/gnuconfig/patches/0001-config-add-support-for-uClibc.patch new file +184 -0

184 lines not on this page · raw message

support/gnuconfig/patches/0002-config-add-support-for-ps2.patch new file +60 -0

60 lines not on this page · raw message

support/gnuconfig/patches/config.guess.uclibc.patch deleted +0 -149

149 lines not on this page · raw message

support/gnuconfig/patches/config.sub.ps2.patch deleted +0 -45

45 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 support/gnuconfig: update config.{guess, sub} to a newer version

Quoted 11 lines · Thomas Petazzoni

We need more recent versions of config.guess and config.sub in order to support the aarch64 architecture. Otherwise, all autoconf packages fail to build with failures like:

   http://autobuild.buildroot.org/results/abcdbe1aaf1c203c82dc3e4ec8c002b9b9e550e0/build-end.log

We take this opportunity to turn the config.* patches into proper Git patches, and note which Git commit of the config.git repository we used as the original source.

Rebuilt some random autotools packages with this patches and they didn't seem to fail.

Quoted 9 lines
---
  support/gnuconfig/README.buildroot                 |    5 +-
  support/gnuconfig/config.guess                     |   74 +++++---
  support/gnuconfig/config.sub                       |  138 ++++++++++-----
  .../0001-config-add-support-for-uClibc.patch       |  184 ++++++++++++++++++++
  .../patches/0002-config-add-support-for-ps2.patch  |   60 +++++++
  .../gnuconfig/patches/config.guess.uclibc.patch    |  149 ----------------
  support/gnuconfig/patches/config.sub.ps2.patch     |   45 -----
  7 files changed, 392 insertions(+), 263 deletions(-)
Quoted 4 lines

create mode 100644 support/gnuconfig/patches/0001-config-add-support-for-uClibc.patch create mode 100644 support/gnuconfig/patches/0002-config-add-support-for-ps2.patch delete mode 100644 support/gnuconfig/patches/config.guess.uclibc.patch delete mode 100644 support/gnuconfig/patches/config.sub.ps2.patch

Did you forget -M in git send-email?

Is the ps2 patch still relevant? We certainly don't have mipsEE or ps2 or irx or iop or dvp
in out target tuple, and I can't imagine that anyone tries to build on a ps2...

Can the uClibc patch be upstreamed?

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH 1/1 support/gnuconfig: update config.{guess, sub} to a newer version

Dear Arnout Vandecappelle,

Quoted 13 lines · Arnout Vandecappelle
Quoted 8 lines
  support/gnuconfig/README.buildroot                 |    5 +-
  support/gnuconfig/config.guess                     |   74 +++++---
  support/gnuconfig/config.sub                       |  138 ++++++++++-----
  .../0001-config-add-support-for-uClibc.patch       |  184 ++++++++++++++++++++
  .../patches/0002-config-add-support-for-ps2.patch  |   60 +++++++
  .../gnuconfig/patches/config.guess.uclibc.patch    |  149 ----------------
  support/gnuconfig/patches/config.sub.ps2.patch     |   45 -----
  7 files changed, 392 insertions(+), 263 deletions(-)
Quoted 4 lines

create mode 100644 support/gnuconfig/patches/0001-config-add-support-for-uClibc.patch create mode 100644 support/gnuconfig/patches/0002-config-add-support-for-ps2.patch delete mode 100644 support/gnuconfig/patches/config.guess.uclibc.patch delete mode 100644 support/gnuconfig/patches/config.sub.ps2.patch

Quoted 1 line

Did you forget -M in git send-email?

Does git send-email supports -M ? I know format-patch does, but I used directly send-email to format+send the patch.

Quoted 2 lines

Is the ps2 patch still relevant? We certainly don't have mipsEE or ps2 or irx or iop or dvp
in out target tuple, and I can't imagine that anyone tries to build on a ps2...

I don't think it is necessary, but is was there, so I just updated it.

Quoted 1 line

Can the uClibc patch be upstreamed?

It probably could, yes. Do you want to try pushing it? I'm already working with the libtirpc developers to get our patches merged, and it's quite a bit of work.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 1/1 support/gnuconfig: update config.{guess, sub} to a newer version

Thomas, All,

Quoted 3 lines · On Thursday 15 November 2012 Thomas Petazzoni wrote:
Quoted 1 line · Arnout Vandecappelle

Did you forget -M in git send-email?

Does git send-email supports -M ?

Yes, it does. I usually use it, along with -C and --find-copies-harder.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 support/gnuconfig: update config.{guess, sub} to a newer version

In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> We need more recent versions of config.guess and config.sub in order Thomas> to support the aarch64 architecture. Otherwise, all autoconf packages Thomas> fail to build with failures like:

Thomas> http://autobuild.buildroot.org/results/abcdbe1aaf1c203c82dc3e4ec8c002b9b9e550e0/build-end.log

Thomas> We take this opportunity to turn the config.* patches into proper Git Thomas> patches, and note which Git commit of the config.git repository we Thomas> used as the original source.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard