summaryrefslogtreecommitdiff
path: root/src-release.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add a SECURITY.txt file describing the GNU Binutils' project's stance on ↵Nick Clifton2023-04-201-1/+1
| | | | security related bugs.
* src-release.sh: Fix gdb source tarball build failure due to libsframeJoel Brobecker2022-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This script was recently changed as follow: | commit e619dddb3a45780ae66d762756882a3b896b617d | Date: Tue Nov 15 15:07:13 2022 -0800 | Subject: src-release.sh: Add libsframe | | Add libsframe to the list of top level directories that will be included | in a release. Since then, the gdb source tarball has been failing with the error below during the "make configure-host configure-target" phase: | make[3]: *** No rule to make target '../libsframe/libsframe.la', | needed by 'libbfd.la'. Stop. | make[3]: Leaving directory '/tmp/gdb-public/bfd' This patch fixes the issue by adding libsframe to the list of GDB_SUPPORT_DIRS, similar to what was done for BINUTILS. ChangeLog: * src-release.sh (GDB_SUPPORT_DIRS): Add libsframe.
* src-release.sh: Add libsframeIndu Bhagat2022-11-151-2/+2
| | | | | | | | | Add libsframe to the list of top level directories that will be included in a release. ChangeLog: * src-release.sh: Add libsframe
* Add ability to create reproducible source tarballs.Nick Clifton2022-10-101-4/+16
| | | | | | | * src-release.sh: Add "-r <date>" option to create reproducible tarballs based upon a fixed timestamp of <date>. * binutils/README-how-to-make-a-release: Add a line showing how to use -r <date> when creating a binutils release.
* gprofng: a new GNU profilerVladimir Mezentsev2022-03-111-2/+2
| | | | | | | | | | | | | | | | | | | top-level * Makefile.def: Add gprofng module. * configure.ac: Add --enable-gprofng option. * src-release.sh: Add gprofng. * Makefile.in: Regenerate. * configure: Regenerate. * gprofng: New directory. binutils * MAINTAINERS: Add gprofng maintainer. * README-how-to-make-a-release: Add gprofng. include. * collectorAPI.h: New file. * libcollector.h: New file. * libfcollector.h: New file.
* src-release.sh: add libbacktrace to GDB_SUPPORT_DIRSAndrew Burgess2021-09-281-1/+1
| | | | | | | | | | After the previous commit that imported libbacktrace from gcc, this commit updates src-release.sh so that the libbacktrace directory is included in the gdb release tar file. ChangeLog: * src-release.sh (GDB_SUPPPORT_DIRS): Add libbacktrace.
* src-release: fix indentationMike Frysinger2021-01-121-35/+33
| | | | | | The indentation of the body of the nested statements got out of sync leading to the entire function being indented incorrectly and looking like it's part of the for loop.
* Use sha256 for hashes in the release processAndreas Rammhold2020-10-281-9/+9
| | | | | | | | | | | | | | | | | | | | | | I just came across the GDB 10.1 release notes and saw that md5 is still being used in those. I thought it would be a good idea to instead have a more modern, secure and wildly available hash function such as SHA256 as part of the release process. The changes have been done rather mechnically via sed but executing the `src-release.sh -b gdb` did work so I am confident about the result. While this does not directly address the release mails, I was wasn't able to find the template/script used for those, this is probably still an improvement. ChangeLog: * src-release.sh: Use sha256sum instead of md5sum. binutils/ChangeLog: * README-how-to-make-a-release: Use sha256sum instead of md5sum. Change-Id: I9cf19ea40699137c45463b8514f6e29271af2347
* Move gdbserver to top levelTom Tromey2020-02-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves gdbserver to the top level. This patch is as close to a pure move as possible -- gdbserver still builds its own variant of gnulib and gdbsupport. Changing this will be done in a separate patch. [v2] Note that, per Simon's review comment, this patch changes the tree so that gdbserver is not built for or1k or score. This makes sense, because there is apparently not actually a gdbserver port here. [v3] This version of the patch also splits out some configury into a new file, gdbserver/configure.host, so that the top-level configure script can simply rely on it in order to decide whether gdbserver should be built. [v4] This version adds documentation and removes some unnecessary top-level dependencies. [v5] Update docs to mention "make all-gdbserver" and change how top-level configure decides whether to build gdbserver, switching to a single, shared script. Tested by the buildbot. ChangeLog 2020-02-07 Tom Tromey <tom@tromey.com> Pedro Alves <palves@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver. * gdbserver: New directory, moved from gdb/gdbserver. * configure.ac (host_tools): Add gdbserver. Only build gdbserver on certain systems. * Makefile.in, configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gdbserver. * MAINTAINERS: Add gdbserver. gdb/ChangeLog 2020-02-07 Tom Tromey <tom@tromey.com> * README: Update gdbserver documentation. * gdbserver: Move to top level. * configure.tgt (build_gdbserver): Remove. * configure.ac: Remove --enable-gdbserver. * configure: Rebuild. * Makefile.in (distclean): Don't mention gdbserver. Change-Id: I826b7565b54604711dc7a11edea0499cd51ff39e
* Adjust src-release.sh's getver due to gdbsupport's move to toplevelSergio Durigan Junior2020-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | The move of gdbsupport to the top level directory requires a small change to src-release.sh's "getver" function, which is responsible for determining the version string that will be appended to the release tarball: now the create-version.sh script lives under ./gdbsupport, and not under gdb/gdbsupport anymore. This patch unbreaks the snapshot generation, which hasn't been working since January 14th. ChangeLog: 2020-01-29 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (getver): Look for gdbsupport's create-version.sh script at the current directory if tool is "gdb". Change-Id: Id3b8bed6583a1aaa120c07009366f6c94a62d5db
* Move gdbsupport to the top levelTom Tromey2020-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the gdbsupport directory to the top level. This is the next step in the ongoing project to move gdbserver to the top level. The bulk of this patch was created by "git mv gdb/gdbsupport gdbsupport". This patch then adds a build system to gdbsupport and wires it into the top level. Then it changes gdb to use the top-level build. gdbserver, on the other hand, is not yet changed. It still does its own build of gdbsupport. ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport. * MAINTAINERS: Add gdbsupport. * configure: Rebuild. * configure.ac (configdirs): Add gdbsupport. * gdbsupport: New directory, move from gdb/gdbsupport. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. gdb/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * nat/x86-linux-dregs.c: Include configh.h. * nat/linux-ptrace.c: Include configh.h. * nat/linux-btrace.c: Include configh.h. * defs.h: Include config.h, bfd.h. * configure.ac: Don't source common.host. (CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files. * configure: Rebuild. * acinclude.m4: Update path. * Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables. (CONFIG_SRC_SUBDIR): Remove gdbsupport. (INTERNAL_CFLAGS_BASE): Add INCSUPPORT. (CLIBS): Add LIBSUPPORT. (CDEPS): Likewise. (COMMON_SFILES): Remove gdbsupport files. (HFILES_NO_SRCDIR): Likewise. (stamp-version): Update path to create-version.sh. (ALLDEPFILES): Remove gdbsupport files. gdb/gdbserver/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * server.h: Include config.h. * gdbreplay.c: Include config.h. * configure: Rebuild. * configure.ac: Don't source common.host. * acinclude.m4: Update path. * Makefile.in (INCSUPPORT): New variable. (INCLUDE_CFLAGS): Add INCSUPPORT. (SFILES): Update paths. (version-generated.c): Update path to create-version.sh. (gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths. gdbsupport/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * common-defs.h: Add GDBSERVER case. Update includes. * acinclude.m4, aclocal.m4, config.in, configure, configure.ac, Makefile.am, Makefile.in, README: New files. * Moved from ../gdb/gdbsupport/ Change-Id: I07632e7798635c1bab389bf885971e584fb4bb78
* Add libctf to src-release.sh:GDB_SUPPORT_DIRSSergio Durigan Junior2019-10-171-1/+1
| | | | | | | | | | | | We're forgetting to include the libctf directory when creating the snapshot. This commit changes src-release.sh and adds it to GDB_SUPPORT_DIRS. 2019-10-17 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add libctf. Change-Id: Iada82e5c9e4f8d5a0a5e467d2a628f1fba66002e
* PR29, Coreutils POSIX2_VERSION as 200112LAlan Modra2019-10-171-1/+1
| | | | | | | | | | | | | | | As of today we have just the following oddities left ./gnulib/update-gnulib.sh:ver=`autoconf --version 2>&1 | head -1 | sed 's/.*) //'` ./gnulib/update-gnulib.sh:ver=`automake --version 2>&1 | head -1 | sed 's/.*) //'` ./gnulib/update-gnulib.sh:ver=`aclocal --version 2>&1 | grep -v "called too early to check prototype" | head -1 | sed 's/.*) //'` ./src-release.sh: head -1 $tool/version.in ./contrib/dg-extract-results.sh:tail -2 $FIRST_SUM | $GREP '^#' > /dev/null || tail -2 $FIRST_SUM gnulib and contrib (from gcc) are outside of binutils control, so with this patch I'm going to declare this 15 year old bug fixed. PR 29 * src-release.sh (getver): Replace "head -1" with "head -n 1".
* adjust src-release following the renaming of gdb/common/ to gdb/gdbsupport/Joel Brobecker2019-07-131-0/+4
| | | | | | | | | | | | | | | | | | | | A recent change renamed the common/ directory into gdbsupport/ in gdb. This causes problems in the getver function in the src-release script which doesn't find the create-version.sh script anymore. As a result, it falls back on using the version.in file verbatim, meaning that the "DATE" placeholder doesn't get replaced with the snapshot date, and the "-git" suffix doesn't get stripped. More precisely, we get snapshots called "gdb-8.3.50-DATE-git.tar" instead of (e.g.) "gdb-8.3-20190712.tar". This commit fixes the issue by adding support for this situation. I left the support for $tool/common/create-version.sh, because the sim still uses that directory structure. ChangeLog: * src-release (getver): If $tool/gdbsupport/create-version.sh exists, use that to determine the version number.
* Add gnulib to gdb release tarballAndreas Schwab2019-06-211-1/+1
| | | | * src-release.sh (GDB_SUPPORT_DIRS): Add gnulib.
* Update release tools with libctf support.Nick Clifton2019-05-291-2/+2
| | | | | | | | top * src-release.sh (do_proto_toplev): Add libctf to list of directories that can be disabled. binutils* README-how-to-make-a-release: Add libctf to list of directories that need updates in their ChangeLogs.
* Move potentially obsolete BFD targets into the definitely obsolete section. ↵Nick Clifton2019-02-071-9/+7
| | | | | | | | | | Add a note to the README-how-to-make-a-release document about doing this. bfd * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets into the definitely obsolete list. binutils * README-how-to-make-a-release: Add a note about updating the obsolete targets in the bfd/config.bfd file.
* Add "contrib" to the list of GDB support dirs (on src-release.sh)Sergio Durigan Junior2018-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | On commit: commit 5a6996172e6294ea37054b1a9caa3a923a8fe399 Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> Date: Mon Aug 6 16:05:16 2018 +0200 Update dg-extract-results.* from gcc dg-extract-results.sh was moved from the "gdb/contrib/" directory to the toplevel "contrib/" directory. However, src-release.sh was not updated in order to include "contrib/" in the tarball release of GDB. This makes it very inconvenient to run and analyze the GDB testsuite results. This commit adds "contrib/" to the list of support directories that are included in each GDB release. ChangeLog: 2018-09-12 Sergio Durigan Junior <sergiodj@redhat.com> * src-release.sh (GDB_SUPPORT_DIRS): Add "contrib".
* Update the src-release script to include the new top level files test-driver ↵Nick Clifton2018-07-161-1/+1
| | | | | | and ar-lib. * src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib.
* Improve junk file removal in source tarball creation script.Nick Clifton2018-01-301-2/+1
| | | | | * src-release.sh (do_proto_toplev): Add patterns for more junk files to delete before creating the tarball.
* Prevent patch remnants from being included in release tarballs.Nick Clifton2018-01-291-0/+5
| | | | | * src-release.sh (do_proto_toplev): Strip patch remnant files from the sources before creating the tarball.
* Update notes on how to make a releaseNick Clifton2018-01-131-2/+2
|
* Add -l option to src-release script.Nick Clifton2017-09-151-2/+18
| | | | | | | | | | | | | | Since we are updating src-release.sh I thought I would check in this small patch. It adds the option to create lzip compressed tarballs via the -l command line option. * src-release.sh (LZIPPROG): New define. Provides the name of the lzip program. (do_lz): New function. Compresses a tarball using the lzip program. (do_compress): Add support for lzip compression. (usage): Mention -l option. (build_release): Support -l option to invoke lzip compression.
* Enable/disable various dirs in src-release.shAlan Modra2017-09-151-2/+12
| | | | | | | | | | gold needs to be enabled for a binutils release, but it's rather odd to do so for gas, gdb or sim. This patch passes various --enable and --disable options depending on the directories being released. * src-release.sh (do_proto_toplev): Revert last patch. Enable or disable binutils, gas, gdb, gold, gprof, ld, libdecnumber, readline, and sim depending on $tool and $support_files. Echo configure line.
* Add enable-gold and enable-ld to src-releasematt rice2017-09-141-1/+1
| | | | | | So that the tarball picks up gold bison output. * src-release.sh (do_proto_toplev): Enable gold during release process.
* fix gdb version parsing in src-release.shJoel Brobecker2016-01-171-1/+1
| | | | | | | | | | | | | Small change required after we switched the gdb version scheme to using a -git suffix rather than a -cvs one. ChangeLog: * src-release.sh: Compute the gdb tarball name by stripping '-git' rather than '-cvs'. Tested by running "src-release.sh gdb" and verifying the tarball name as well as its contents.
* Adjust src-release.sh for sim using the gdb create-version.sh.Hans-Peter Nilsson2015-04-151-3/+4
| | | | | | | * sim-release.sh (tar_compress): If there's a fifth parameter, use that in the getver call instead of $tool. (sim_release): Pass gdb as fifth parameter to tar_compress. (SIM_SUPPORT_DIRS): Add gdb/common/create-version.sh.
* Remove --with-target-subdir=. --disable-multilibH.J. Lu2015-03-311-3/+1
| | | | | | | zlib/configure is updated to properly handle in-tree build for host. * src-release.sh: Don't configure with --with-target-subdir=. --disable-multilib.
* Replace src-release with src-release.shH.J. Lu2015-03-311-1/+1
| | | | | * src-release.sh (DEVO_SUPPORT): Replace src-release with src-release.sh.
* A zlib to tarballH.J. Lu2015-03-281-5/+7
| | | | | | | | | * 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.
* src-release.sh: configure using --target.Tristan Gingold2014-10-151-1/+1
| | | | * src-release.sh (do_proto_toplev): Configure with --target.
* src-release.sh: Convert src-release to a shell scriptWill Newton2014-08-271-0/+352
This began as an attempt to make a few small changes to src-release but heeding the comments at the top of the file it seemed it might be wise to convert it to a shell script instead which should hopefully be more maintainable. This shell script contains most of the functionality of the Makefile version. It can be run like this: # This will build gdb and compress with bzip2, gzip and xz ./src-release.sh -bgx gdb The functionality that has been removed is building tarballs for insight and gnats, which were broken in the current repository layout and gas+binutils which amounted to basically the same thing as binutils so didn't seem worth keeping. The script always builds a tar file, compression is optional, so no need for specific commands to build tar files rather than compressed tar files. The build of gas releases has been fixed, as has extraction of version numbers which had been broken since the switch to configure.ac files and AC_INIT. I also removed the code for distcleaning the intl sub-directory as it seems like that issue has been fixed. The script is capable of compressing with bzip2, gzip and xz which should cover all formats available on gnu.org. I tested it by producing release tarballs which are substantially identical to the ones produced by the src-release script. ChangeLog: 2014-08-27 Will Newton <will.newton@linaro.org> * src-release.sh: New file. * src-release: Remove file.