Skip to contentSkip to conversation

About update binutils (2.24 to 2.25)

DISCUSSION Robert Yang 2 participants 5 messages Jan 8, 2015

lore
Share & tools
lore
#0 lore raw

Hi Khem,

I'm trying to upgrade binutils from 2.24 to 2.25, there is a patch binutils/libtool-2.4-update.patch which has 19317 lines, do you have any ideas on how did we make it in the past, please ?

$ diffstat ./binutils/libtool-2.4-update.patch
 bfd/configure        | 1314 +++++++++++++++++-----
 bfd/configure.in     |    2
 binutils/configure   | 1312 +++++++++++++++++-----
 configure            |    2
 gas/configure        | 1312 +++++++++++++++++-----
 gprof/configure      | 1317 +++++++++++++++++-----
 ld/configure         | 1693 ++++++++++++++++++++++-------
 libtool.m4           | 1094 +++++++++++++------
 ltmain.sh            | 2925 ++++++++++++++++++++++++++++++++++-----------------
 ltoptions.m4         |    2
 ltversion.m4         |   12
 lt~obsolete.m4       |    2
 opcodes/configure    | 1314 +++++++++++++++++-----
 opcodes/configure.in |    2
 14 files changed, 8937 insertions(+), 3366 deletions(-)
Signature · 3 lines
Thanks

Robert
#1 lore raw
Quoted 10 lines · Robert Yang

Hi Khem,

I'm trying to upgrade binutils from 2.24 to 2.25, there is a patch binutils/libtool-2.4-update.patch which has 19317 lines, do you have any ideas on how did we make it in the past, please ?

what conflicts are you seeing ? if they are just in configure files then you
need to autoteconf them manually one by one using the appropriate version of auototools as recommended for bintutils 2.25 usually gcc/binutils don’t use latest auto tools.

but if they are reporting changes in other files then its a different problem needs to be looked at.

Quoted 22 lines
$ diffstat ./binutils/libtool-2.4-update.patch
bfd/configure        | 1314 +++++++++++++++++-----
bfd/configure.in     |    2
binutils/configure   | 1312 +++++++++++++++++-----
configure            |    2
gas/configure        | 1312 +++++++++++++++++-----
gprof/configure      | 1317 +++++++++++++++++-----
ld/configure         | 1693 ++++++++++++++++++++++-------
libtool.m4           | 1094 +++++++++++++------
ltmain.sh            | 2925 ++++++++++++++++++++++++++++++++++-----------------
ltoptions.m4         |    2
ltversion.m4         |   12
lt~obsolete.m4       |    2
opcodes/configure    | 1314 +++++++++++++++++-----
opcodes/configure.in |    2
14 files changed, 8937 insertions(+), 3366 deletions(-)
Signature · 3 lines
Thanks

Robert
#2 lore raw
Quoted 6 lines · Khem Raj
Quoted 6 lines · Robert Yang

Hi Khem,

Quoted 8 lines
Quoted 4 lines

I'm trying to upgrade binutils from 2.24 to 2.25, there is a patch binutils/libtool-2.4-update.patch which has 19317 lines, do you have any ideas on how did we make it in the past, please ?

what conflicts are you seeing ? if they are just in configure files then you
need to autoteconf them manually one by one using the appropriate version of auototools as recommended for bintutils 2.25 usually gcc/binutils don’t use latest auto tools.

Conflicts in ld/configure, I fixed it manually, I was curious how we made this patch, and now you have explained, thanks.

// Robert

Quoted 29 lines

but if they are reporting changes in other files then its a different problem needs to be looked at.

Quoted 22 lines
$ diffstat ./binutils/libtool-2.4-update.patch
bfd/configure        | 1314 +++++++++++++++++-----
bfd/configure.in     |    2
binutils/configure   | 1312 +++++++++++++++++-----
configure            |    2
gas/configure        | 1312 +++++++++++++++++-----
gprof/configure      | 1317 +++++++++++++++++-----
ld/configure         | 1693 ++++++++++++++++++++++-------
libtool.m4           | 1094 +++++++++++++------
ltmain.sh            | 2925 ++++++++++++++++++++++++++++++++++-----------------
ltoptions.m4         |    2
ltversion.m4         |   12
lt~obsolete.m4       |    2
opcodes/configure    | 1314 +++++++++++++++++-----
opcodes/configure.in |    2
14 files changed, 8937 insertions(+), 3366 deletions(-)

--
Thanks

Robert

#3 lore raw
Quoted 17 lines · Robert Yang
Quoted 11 lines · Khem Raj
Quoted 10 lines · Robert Yang

Hi Khem,

I'm trying to upgrade binutils from 2.24 to 2.25, there is a patch binutils/libtool-2.4-update.patch which has 19317 lines, do you have any ideas on how did we make it in the past, please ?

Quoted 6 lines
Quoted 3 lines

what conflicts are you seeing ? if they are just in configure files then you
need to autoteconf them manually one by one using the appropriate version of auototools as recommended for bintutils 2.25 usually gcc/binutils don’t use latest auto tools.

Conflicts in ld/configure, I fixed it manually, I was curious how we made this patch, and now you have explained, thanks.

some portions are written and others are generated. since we do not autoreconf binutils, we do have to regenerate configure scripts so its a special case. Usually that would not be needed for autotooled recipes

Quoted 32 lines

// Robert

Quoted 29 lines

but if they are reporting changes in other files then its a different problem needs to be looked at.

Quoted 22 lines
$ diffstat ./binutils/libtool-2.4-update.patch
bfd/configure        | 1314 +++++++++++++++++-----
bfd/configure.in     |    2
binutils/configure   | 1312 +++++++++++++++++-----
configure            |    2
gas/configure        | 1312 +++++++++++++++++-----
gprof/configure      | 1317 +++++++++++++++++-----
ld/configure         | 1693 ++++++++++++++++++++++-------
libtool.m4           | 1094 +++++++++++++------
ltmain.sh            | 2925 ++++++++++++++++++++++++++++++++++-----------------
ltoptions.m4         |    2
ltversion.m4         |   12
lt~obsolete.m4       |    2
opcodes/configure    | 1314 +++++++++++++++++-----
opcodes/configure.in |    2
14 files changed, 8937 insertions(+), 3366 deletions(-)

--
Thanks

Robert

#4 lore raw
Quoted 21 lines · Khem Raj
Quoted 21 lines · Robert Yang
Quoted 14 lines · Khem Raj
Quoted 10 lines · Robert Yang

Hi Khem,

I'm trying to upgrade binutils from 2.24 to 2.25, there is a patch binutils/libtool-2.4-update.patch which has 19317 lines, do you have any ideas on how did we make it in the past, please ?

what conflicts are you seeing ? if they are just in configure files then you
need to autoteconf them manually one by one using the appropriate version of auototools as recommended for bintutils 2.25 usually gcc/binutils don’t use latest auto tools.

Quoted 5 lines
Quoted 2 lines

Conflicts in ld/configure, I fixed it manually, I was curious how we made this patch, and now you have explained, thanks.

some portions are written and others are generated. since we do not autoreconf binutils, we do have to regenerate configure scripts so its a special case. Usually that would not be needed for autotooled recipes

Thanks, got it.

// Robert

Quoted 36 lines
Quoted 33 lines

// Robert

Quoted 29 lines

but if they are reporting changes in other files then its a different problem needs to be looked at.

Quoted 22 lines
$ diffstat ./binutils/libtool-2.4-update.patch
bfd/configure        | 1314 +++++++++++++++++-----
bfd/configure.in     |    2
binutils/configure   | 1312 +++++++++++++++++-----
configure            |    2
gas/configure        | 1312 +++++++++++++++++-----
gprof/configure      | 1317 +++++++++++++++++-----
ld/configure         | 1693 ++++++++++++++++++++++-------
libtool.m4           | 1094 +++++++++++++------
ltmain.sh            | 2925 ++++++++++++++++++++++++++++++++++-----------------
ltoptions.m4         |    2
ltversion.m4         |   12
lt~obsolete.m4       |    2
opcodes/configure    | 1314 +++++++++++++++++-----
opcodes/configure.in |    2
14 files changed, 8937 insertions(+), 3366 deletions(-)

--
Thanks

Robert