PATCH to GCC-4.0.x gcc_release script

Gabriel Dos Reis gdr@cs.tamu.edu
Mon Jan 29 17:43:00 GMT 2007



The release script is attempting to build diffs and tarballs against
g77 -- which is inexistent in the GCC-4.x series.
Fixed.

There is another issue with uploading, where the script claims it cannot
find diff files it just built (and they do exist in the working
directory).  So I erased a previously unfinished upload on gcc.gnu.org
because of that problem.

-- Gaby
*** ChangeLog	(revision 121293)
--- ChangeLog	(local)
***************
*** 1,3 ****
--- 1,7 ----
+ 2007-01-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+ 	* gcc_release: Don't attempt to build diffs or tarballs for g77.
+
  2006-03-09  Release Manager

  	* GCC 4.0.3 released.
*** gcc_release	(revision 121293)
--- gcc_release	(local)
*************** build_tarfiles() {
*** 317,323 ****
    # Now, build one for each of the languages.
    maybe_build_tarfile gcc-ada-${RELEASE} ${ADA_DIRS}
    maybe_build_tarfile gcc-g++-${RELEASE} ${CPLUSPLUS_DIRS}
!   maybe_build_tarfile gcc-g77-${RELEASE} ${FORTRAN_DIRS}
    maybe_build_tarfile gcc-fortran-${RELEASE} ${FORTRAN95_DIRS}
    maybe_build_tarfile gcc-java-${RELEASE} ${JAVA_DIRS}
    maybe_build_tarfile gcc-objc-${RELEASE} ${OBJECTIVEC_DIRS}
--- 317,323 ----
    # Now, build one for each of the languages.
    maybe_build_tarfile gcc-ada-${RELEASE} ${ADA_DIRS}
    maybe_build_tarfile gcc-g++-${RELEASE} ${CPLUSPLUS_DIRS}
! #  maybe_build_tarfile gcc-g77-${RELEASE} ${FORTRAN_DIRS}
    maybe_build_tarfile gcc-fortran-${RELEASE} ${FORTRAN95_DIRS}
    maybe_build_tarfile gcc-java-${RELEASE} ${JAVA_DIRS}
    maybe_build_tarfile gcc-objc-${RELEASE} ${OBJECTIVEC_DIRS}
*************** build_diffs() {
*** 348,354 ****
    old_vers=${old_file%.tar.bz2}
    old_vers=${old_vers#gcc-}
    inform "Building diffs against version $old_vers"
!   for f in gcc gcc-ada gcc-g++ gcc-g77 gcc-fortran gcc-java gcc-objc gcc-testsuite gcc-core; do
      old_tar=${old_dir}/${f}-${old_vers}.tar.bz2
      new_tar=${WORKING_DIRECTORY}/${f}-${RELEASE}.tar.bz2
      if [ ! -e $old_tar ]; then
--- 348,354 ----
    old_vers=${old_file%.tar.bz2}
    old_vers=${old_vers#gcc-}
    inform "Building diffs against version $old_vers"
!   for f in gcc gcc-ada gcc-g++ gcc-fortran gcc-java gcc-objc gcc-testsuite gcc-core; do
      old_tar=${old_dir}/${f}-${old_vers}.tar.bz2
      new_tar=${WORKING_DIRECTORY}/${f}-${RELEASE}.tar.bz2
      if [ ! -e $old_tar ]; then
*************** upload_files() {
*** 388,394 ****

    # Make sure the directory exists on the server.
    if [ $LOCAL -eq 0 ]; then
!     ${SSH} -l ${GCC_USERNAME} ${GCC_HOSTNAME} \
        mkdir -p "${FTP_PATH}/diffs"
      UPLOAD_PATH="${GCC_USERNAME}@${GCC_HOSTNAME}:${FTP_PATH}"
    else
--- 388,394 ----

    # Make sure the directory exists on the server.
    if [ $LOCAL -eq 0 ]; then
!     ${SSH} -1 -l ${GCC_USERNAME} ${GCC_HOSTNAME} \
        mkdir -p "${FTP_PATH}/diffs"
      UPLOAD_PATH="${GCC_USERNAME}@${GCC_HOSTNAME}:${FTP_PATH}"
    else
*************** with the following options: <code>"svn:/
*** 473,479 ****
    snapshot_print gcc-ada-${RELEASE}.tar.bz2 "Ada front end and runtime"
    snapshot_print gcc-fortran-${RELEASE}.tar.bz2 "Fortran front end and runtime"
    snapshot_print gcc-g++-${RELEASE}.tar.bz2 "C++ front end and runtime"
!   snapshot_print gcc-g77-${RELEASE}.tar.bz2 "Fortran 77 front end and runtime"
    snapshot_print gcc-java-${RELEASE}.tar.bz2 "Java front end and runtime"
    snapshot_print gcc-objc-${RELEASE}.tar.bz2 "Objective-C front end and runtime"
    snapshot_print gcc-testsuite-${RELEASE}.tar.bz2 "The GCC testsuite"
--- 473,479 ----
    snapshot_print gcc-ada-${RELEASE}.tar.bz2 "Ada front end and runtime"
    snapshot_print gcc-fortran-${RELEASE}.tar.bz2 "Fortran front end and runtime"
    snapshot_print gcc-g++-${RELEASE}.tar.bz2 "C++ front end and runtime"
! #  snapshot_print gcc-g77-${RELEASE}.tar.bz2 "Fortran 77 front end and runtime"
    snapshot_print gcc-java-${RELEASE}.tar.bz2 "Java front end and runtime"
    snapshot_print gcc-objc-${RELEASE}.tar.bz2 "Objective-C front end and runtime"
    snapshot_print gcc-testsuite-${RELEASE}.tar.bz2 "The GCC testsuite"



More information about the Gcc-patches mailing list