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: 11-Nov-2007 15:50:53
Branch: HEAD Handle: 2007111114505300
Modified files:
openpkg-src/binutils binutils.patch binutils.spec
Log:
get rid of a confusing error message
Summary:
Revision Changes Path
1.22 +24 -0 openpkg-src/binutils/binutils.patch
1.83 +1 -1 openpkg-src/binutils/binutils.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/binutils/binutils.patch
============================================================================
$ cvs diff -u -r1.21 -r1.22 binutils.patch
--- openpkg-src/binutils/binutils.patch 29 Aug 2007 07:54:37 -0000
1.21
+++ openpkg-src/binutils/binutils.patch 11 Nov 2007 14:50:53 -0000
1.22
@@ -151,3 +151,27 @@
static void fibheap_ins_root (fibheap_t, fibnode_t);
static void fibheap_rem_root (fibheap_t, fibnode_t);
+-----------------------------------------------------------------------------
+
+Disable the "error" about "eh_frame_hdr" as it is actually more a
+warning (the linking is *not* aborted) and it occurs at least under
+FreeBSD-7.0/amd64 regularily without doing any obvious harm. Seems
+like the issue itself exists since a longer time, but in recent GNU
+binutils this additional message was introduced. As we cannot observe
+any problems and this message really confused, just disable it for now.
+
+Index: bfd/elf-eh-frame.c
+--- bfd/elf-eh-frame.c.orig 2007-08-06 21:59:22 +0200
++++ bfd/elf-eh-frame.c 2007-11-11 15:46:44 +0100
+@@ -970,9 +970,11 @@
+ return offset != sec->rawsize;
+
+ free_no_table:
++#if 0
+ (*info->callbacks->einfo)
+ (_("%P: error in %B(%A); no .eh_frame_hdr table will be created.\n"),
+ abfd, sec);
++#endif
+ if (ehbuf)
+ free (ehbuf);
+ if (sec_info)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/binutils/binutils.spec
============================================================================
$ cvs diff -u -r1.82 -r1.83 binutils.spec
--- openpkg-src/binutils/binutils.spec 29 Aug 2007 07:54:37 -0000
1.82
+++ openpkg-src/binutils/binutils.spec 11 Nov 2007 14:50:53 -0000
1.83
@@ -33,7 +33,7 @@
Group: Compiler
License: GPL
Version: 2.18
-Release: 20070829
+Release: 20071111
# list of sources
Source0:
ftp://sources.redhat.com/pub/binutils/releases/binutils-%{version}.tar.bz2
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]