OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 23-Jun-2007 14:52:55 Branch: HEAD Handle: 2007062313525500 Modified files: openpkg-src/binutils binutils.patch binutils.spec Log: Silently ignore ld(1) option --hash-style=ARG which RedHat/Fedora introduce in GNU binutils >= 2.17.50. This is required to be able to build GCC under Fedora 7 as here the vendor cc(1) temporarily used our ld(1). Summary: Revision Changes Path 1.20 +37 -0 openpkg-src/binutils/binutils.patch 1.81 +1 -1 openpkg-src/binutils/binutils.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/binutils/binutils.patch ============================================================================ $ cvs diff -u -r1.19 -r1.20 binutils.patch --- openpkg-src/binutils/binutils.patch 6 Jun 2007 09:17:53 -0000 1.19 +++ openpkg-src/binutils/binutils.patch 23 Jun 2007 12:52:55 -0000 1.20 @@ -167,3 +167,40 @@ static void fibheap_ins_root (fibheap_t, fibnode_t); static void fibheap_rem_root (fibheap_t, fibnode_t); +----------------------------------------------------------------------------- + +Silently ignore ld(1) option --hash-style=ARG which +RedHat/Fedora introduce in GNU binutils >= 2.17.50. +This is required to be able to build GCC under Fedora 7 +as here the vendor cc(1) temporarily used our ld(1). + +Index: ld/emultempl/elf32.em +--- ld/emultempl/elf32.em.orig 2006-06-12 15:05:04 +0200 ++++ ld/emultempl/elf32.em 2007-06-23 14:46:32 +0200 +@@ -1734,6 +1734,7 @@ + #define OPTION_GROUP (OPTION_ENABLE_NEW_DTAGS + 1) + #define OPTION_EH_FRAME_HDR (OPTION_GROUP + 1) + #define OPTION_EXCLUDE_LIBS (OPTION_EH_FRAME_HDR + 1) ++#define OPTION_HASH_STYLE (OPTION_EXCLUDE_LIBS + 1) + + static void + gld${EMULATION_NAME}_add_options +@@ -1750,6 +1751,7 @@ + {"enable-new-dtags", no_argument, NULL, OPTION_ENABLE_NEW_DTAGS}, + {"eh-frame-hdr", no_argument, NULL, OPTION_EH_FRAME_HDR}, + {"exclude-libs", required_argument, NULL, OPTION_EXCLUDE_LIBS}, ++ {"hash-style", required_argument, NULL, OPTION_HASH_STYLE}, + {"Bgroup", no_argument, NULL, OPTION_GROUP}, + EOF + fi +@@ -1806,6 +1808,10 @@ + add_excluded_libs (optarg); + break; + ++ case OPTION_HASH_STYLE: ++ /* silently ignore --hash-style=ARG from GNU binutils >= 2.17.50 */ ++ break; ++ + case 'z': + if (strcmp (optarg, "initfirst") == 0) + link_info.flags_1 |= (bfd_vma) DF_1_INITFIRST; @@ . patch -p0 <<'@@ .' Index: openpkg-src/binutils/binutils.spec ============================================================================ $ cvs diff -u -r1.80 -r1.81 binutils.spec --- openpkg-src/binutils/binutils.spec 9 Jun 2007 07:00:43 -0000 1.80 +++ openpkg-src/binutils/binutils.spec 23 Jun 2007 12:52:55 -0000 1.81 @@ -33,7 +33,7 @@ Group: Compiler License: GPL Version: 2.17 -Release: 20070609 +Release: 20070623 # list of sources Source0: ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2 @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org