* Re: RFC: Import zlib from GCC tree [not found] <CAMe9rOp+5L0na923z1_jJQJuci=npuCQM6ktx7XG=gSOc1nZ+g@mail.gmail.com> @ 2015-03-14 19:31 ` Joel Brobecker 2015-03-15 15:01 ` H.J. Lu 0 siblings, 1 reply; 8+ messages in thread From: Joel Brobecker @ 2015-03-14 19:31 UTC (permalink / raw) To: H.J. Lu, gdb-patches Cc: Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils > I am working on SHF_COMPRESSED support: > > http://www.sco.com/developers/gabi/latest/ch4.sheader.html > > I'd like to import zlib from GCC source tree. Any objections? I'm including the gdb-patches list as well... -- Joel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Import zlib from GCC tree 2015-03-14 19:31 ` RFC: Import zlib from GCC tree Joel Brobecker @ 2015-03-15 15:01 ` H.J. Lu 2015-03-16 23:24 ` Joel Brobecker 0 siblings, 1 reply; 8+ messages in thread From: H.J. Lu @ 2015-03-15 15:01 UTC (permalink / raw) To: Joel Brobecker Cc: GDB, Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils On Sat, Mar 14, 2015 at 12:31 PM, Joel Brobecker <brobecker@adacore.com> wrote: >> I am working on SHF_COMPRESSED support: >> >> http://www.sco.com/developers/gabi/latest/ch4.sheader.html >> >> I'd like to import zlib from GCC source tree. Any objections? > > I'm including the gdb-patches list as well... > I created users/hjl/zlib branch. It imported zlib into binutils-gdb tree and replaced --with-zlib with --with-system-zlib. Any feedbacks? Thanks. -- H.J. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Import zlib from GCC tree 2015-03-15 15:01 ` H.J. Lu @ 2015-03-16 23:24 ` Joel Brobecker 2015-03-16 23:34 ` H.J. Lu 0 siblings, 1 reply; 8+ messages in thread From: Joel Brobecker @ 2015-03-16 23:24 UTC (permalink / raw) To: H.J. Lu Cc: GDB, Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils > I created users/hjl/zlib branch. It imported zlib into binutils-gdb tree > and replaced --with-zlib with --with-system-zlib. Any feedbacks? I'm not sure. Wouldn't some people want to configure --without-zlib? -- Joel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Import zlib from GCC tree 2015-03-16 23:24 ` Joel Brobecker @ 2015-03-16 23:34 ` H.J. Lu 2015-03-19 11:23 ` Joel Brobecker 0 siblings, 1 reply; 8+ messages in thread From: H.J. Lu @ 2015-03-16 23:34 UTC (permalink / raw) To: Joel Brobecker Cc: GDB, Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils On Mon, Mar 16, 2015 at 4:24 PM, Joel Brobecker <brobecker@adacore.com> wrote: >> I created users/hjl/zlib branch. It imported zlib into binutils-gdb tree >> and replaced --with-zlib with --with-system-zlib. Any feedbacks? > > I'm not sure. Wouldn't some people want to configure --without-zlib? GCC doesn't support --without-zlib nor should binutils. zlib is needed to implement SHF_COMPRESSED. -- H.J. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Import zlib from GCC tree 2015-03-16 23:34 ` H.J. Lu @ 2015-03-19 11:23 ` Joel Brobecker 2015-03-23 12:33 ` H.J. Lu 0 siblings, 1 reply; 8+ messages in thread From: Joel Brobecker @ 2015-03-19 11:23 UTC (permalink / raw) To: H.J. Lu Cc: GDB, Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils > >> I created users/hjl/zlib branch. It imported zlib into binutils-gdb tree > >> and replaced --with-zlib with --with-system-zlib. Any feedbacks? > > > > I'm not sure. Wouldn't some people want to configure --without-zlib? > > GCC doesn't support --without-zlib nor should binutils. > zlib is needed to implement SHF_COMPRESSED. Generally speaking, I really don't know what to think of that. Some people might decide that this is a feature they do not want, in which case having support for it is just extra bloat. But, on the other hand, zlib is probably sufficiently small that it would not matter much. Speaking for myself, at least, I can live with that. Just not sure about others. Given the lack of feedback so far, I am thinking no one is strenuously objecting. I propose we give people another week to express their opinion, after which we can move forward. You'll need the approval of the binutils maintainers as well, I suspect. -- Joel ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RFC: Import zlib from GCC tree 2015-03-19 11:23 ` Joel Brobecker @ 2015-03-23 12:33 ` H.J. Lu 2015-03-28 9:43 ` src-release broke with the zlib import Hans-Peter Nilsson 0 siblings, 1 reply; 8+ messages in thread From: H.J. Lu @ 2015-03-23 12:33 UTC (permalink / raw) To: Joel Brobecker, Alan Modra Cc: GDB, Tristan Gingold, Nick Clifton, Paul Koning, Joseph S. Myers, Thomas Schwinge, Binutils On Thu, Mar 19, 2015 at 4:23 AM, Joel Brobecker <brobecker@adacore.com> wrote: >> >> I created users/hjl/zlib branch. It imported zlib into binutils-gdb tree >> >> and replaced --with-zlib with --with-system-zlib. Any feedbacks? >> > >> > I'm not sure. Wouldn't some people want to configure --without-zlib? >> >> GCC doesn't support --without-zlib nor should binutils. >> zlib is needed to implement SHF_COMPRESSED. > > Generally speaking, I really don't know what to think of that. > Some people might decide that this is a feature they do not want, > in which case having support for it is just extra bloat. But, > on the other hand, zlib is probably sufficiently small that > it would not matter much. Speaking for myself, at least, I can > live with that. Just not sure about others. > > Given the lack of feedback so far, I am thinking no one is strenuously > objecting. I propose we give people another week to express their > opinion, after which we can move forward. You'll need the approval > of the binutils maintainers as well, I suspect. I will import zlib from GCC on March 26 if there is no objection. Thanks. -- H.J. ^ permalink raw reply [flat|nested] 8+ messages in thread
* src-release broke with the zlib import 2015-03-23 12:33 ` H.J. Lu @ 2015-03-28 9:43 ` Hans-Peter Nilsson 2015-03-28 13:51 ` H.J. Lu 0 siblings, 1 reply; 8+ messages in thread From: Hans-Peter Nilsson @ 2015-03-28 9:43 UTC (permalink / raw) To: H.J. Lu; +Cc: GDB, Binutils On Mon, 23 Mar 2015, H.J. Lu wrote: > I will import zlib from GCC on March 26 if there is no objection. Looks like the import broke the src-release script, at least for "binutils" and "sim": $ ./src-release.sh -b binutils [...] checking for unistd.h... (cached) yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default-1 commands ./config.status: line 1190: ./../../config-ml.in: No such file or directory make: *** [configure-zlib] Error 1 brgds, H-P ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: src-release broke with the zlib import 2015-03-28 9:43 ` src-release broke with the zlib import Hans-Peter Nilsson @ 2015-03-28 13:51 ` H.J. Lu 0 siblings, 0 replies; 8+ messages in thread From: H.J. Lu @ 2015-03-28 13:51 UTC (permalink / raw) To: Hans-Peter Nilsson; +Cc: GDB, Binutils [-- Attachment #1: Type: text/plain, Size: 761 bytes --] On Sat, Mar 28, 2015 at 2:43 AM, Hans-Peter Nilsson <hp@bitrange.com> wrote: > On Mon, 23 Mar 2015, H.J. Lu wrote: >> I will import zlib from GCC on March 26 if there is no objection. > > Looks like the import broke the src-release script, at least > for "binutils" and "sim": > > $ ./src-release.sh -b binutils > [...] > checking for unistd.h... (cached) yes > configure: updating cache ./config.cache > configure: creating ./config.status > config.status: creating Makefile > config.status: executing default-1 commands > ./config.status: line 1190: ./../../config-ml.in: No such file or directory > make: *** [configure-zlib] Error 1 > > brgds, H-P I checked in this patch. Verified with ./src-release.sh -b binutils and ./src-release.sh -b gdb. -- H.J. [-- Attachment #2: 0001-A-zlib-to-tarball.patch --] [-- Type: text/x-patch, Size: 2836 bytes --] From 92c695a14f6a5a24b177e89624c13d7dbcbf9e1f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <hjl.tools@gmail.com> Date: Sat, 28 Mar 2015 06:48:43 -0700 Subject: [PATCH] A zlib to tarball * src-release.sh (do_proto_toplev): Configure with --target --with-target-subdir and --disable-multilib. (BINUTILS_SUPPORT_DIRS): Add zlib. (GAS_SUPPORT_DIRS): Likewise. (GDB_SUPPORT_DIRS): Likewise. (SIM_SUPPORT_DIRS): Likewise. --- ChangeLog | 9 +++++++++ src-release.sh | 12 +++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b1895b..ad04e40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2015-03-28 H.J. Lu <hongjiu.lu@intel.com> + + * src-release.sh (do_proto_toplev): Configure with --target + --with-target-subdir and --disable-multilib. + (BINUTILS_SUPPORT_DIRS): Add zlib. + (GAS_SUPPORT_DIRS): Likewise. + (GDB_SUPPORT_DIRS): Likewise. + (SIM_SUPPORT_DIRS): Likewise. + 2015-03-17 H.J. Lu <hongjiu.lu@intel.com> * configure.ac (target_configdirs): Exclude target-zlib if diff --git a/src-release.sh b/src-release.sh index dad1649..558b012 100755 --- a/src-release.sh +++ b/src-release.sh @@ -83,7 +83,9 @@ do_proto_toplev() <Makefile.in >tmp mv -f tmp Makefile.in # - ./configure --target=i386-pc-linux-gnu + ./configure --target=i386-pc-linux-gnu \ + --with-target-subdir=. \ + --disable-multilib $MAKE configure-host configure-target \ ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \ CC_FOR_TARGET="$CC" CXX_FOR_TARGET="$CXX" @@ -267,7 +269,7 @@ gdb_tar_compress() } # The FSF "binutils" release includes gprof and ld. -BINUTILS_SUPPORT_DIRS="bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu" +BINUTILS_SUPPORT_DIRS="bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu zlib" binutils_release() { compressors=$1 @@ -276,7 +278,7 @@ binutils_release() tar_compress $package $tool "$BINUTILS_SUPPORT_DIRS" "$compressors" } -GAS_SUPPORT_DIRS="bfd include libiberty opcodes intl setup.com makefile.vms" +GAS_SUPPORT_DIRS="bfd include libiberty opcodes intl setup.com makefile.vms zlib" gas_release() { compressors=$1 @@ -285,7 +287,7 @@ gas_release() tar_compress $package $tool "$GAS_SUPPORT_DIRS" "$compressors" } -GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu" +GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu zlib" gdb_release() { compressors=$1 @@ -295,7 +297,7 @@ gdb_release() } # Corresponding to the CVS "sim" module. -SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in makefile.vms" +SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in makefile.vms zlib" sim_release() { compressors=$1 -- 2.1.0 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-03-28 13:51 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CAMe9rOp+5L0na923z1_jJQJuci=npuCQM6ktx7XG=gSOc1nZ+g@mail.gmail.com> 2015-03-14 19:31 ` RFC: Import zlib from GCC tree Joel Brobecker 2015-03-15 15:01 ` H.J. Lu 2015-03-16 23:24 ` Joel Brobecker 2015-03-16 23:34 ` H.J. Lu 2015-03-19 11:23 ` Joel Brobecker 2015-03-23 12:33 ` H.J. Lu 2015-03-28 9:43 ` src-release broke with the zlib import Hans-Peter Nilsson 2015-03-28 13:51 ` H.J. Lu
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).