rpms/frysk/F-8 frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch, NONE, 1.1 frysk.spec, 1.122, 1.123

Andrew Cagney (cagney) fedora-extras-commits at redhat.com
Wed Feb 6 01:49:50 UTC 2008


Author: cagney

Update of /cvs/pkgs/rpms/frysk/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21346

Modified Files:
	frysk.spec 
Added Files:
	frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch 
Log Message:
* Tue Feb 5 2008 Andrew Cagney <cagney at redhat.com> - 0.0.1.2008.01.18.rh1-3
- Add frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch to fix elfutils
  errors.


frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch:

--- NEW FILE frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch ---
diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h
--- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h.elfutils-werror	2008-02-05 16:47:35.000000000 -0500
+++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/ld.h	2008-02-05 16:48:06.000000000 -0500
@@ -1087,19 +1087,5 @@ extern bool dynamically_linked_p (void);
 
 /* Checked whether the symbol is undefined and referenced from a DSO.  */
 extern bool linked_from_dso_p (struct scninfo *scninfo, size_t symidx);
-extern inline bool
-linked_from_dso_p (struct scninfo *scninfo, size_t symidx)
-{
-  struct usedfiles *file = scninfo->fileinfo;
-
-  /* If this symbol is not undefined in this file it cannot come from
-     a DSO.  */
-  if (symidx < file->nlocalsymbols)
-    return false;
-
-  struct symbol *sym = file->symref[symidx];
-
-  return sym->defined && sym->in_dso;
-}
 
 #endif	/* ld.h */
diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c
--- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c.elfutils-werror	2008-02-05 17:33:50.000000000 -0500
+++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/src/elflint.c	2008-02-05 17:33:57.000000000 -0500
@@ -1514,8 +1514,7 @@ check_dynamic (Ebl *ebl, GElf_Ehdr *ehdr
       [DT_RELENT] = { [DT_REL] = true },
       [DT_JMPREL] = { [DT_PLTRELSZ] = true, [DT_PLTREL] = true },
       [DT_RUNPATH] = { [DT_STRTAB] = true },
-      [DT_PLTREL] = { [DT_JMPREL] = true },
-      [DT_PLTRELSZ] = { [DT_JMPREL] = true }
+      [DT_PLTREL] = { [DT_JMPREL] = true }
     };
   bool has_dt[DT_NUM];
   bool has_val_dt[DT_VALNUM];
diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c
--- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c.elfutils-werror	2008-02-05 19:33:32.000000000 -0500
+++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/tests/dwfl-bug-fd-leak.c	2008-02-05 19:34:44.000000000 -0500
@@ -102,7 +102,7 @@ main (void)
 
   for (int i = 0; i < 5000; ++i)
     {
-      Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) main);
+      Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) (long) main);
       elfutils_close (dwfl);
     }
 
diff -up frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h.elfutils-werror frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h
--- frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h.elfutils-werror	2008-02-05 14:50:24.000000000 -0500
+++ frysk-0.0.1.2008.01.18.rh1/frysk-imports/elfutils/libelf/common.h	2008-02-05 14:51:37.000000000 -0500
@@ -111,7 +111,7 @@ allocate_elf (int fildes, void *map_addr
 
 
 /* Acquire lock for the descriptor and all children.  */
-static void
+static inline void
 libelf_acquire_all (Elf *elf)
 {
   rwlock_wrlock (elf->lock);
@@ -130,7 +130,7 @@ libelf_acquire_all (Elf *elf)
 }
 
 /* Release own lock and those of the children.  */
-static void
+static inline void
 libelf_release_all (Elf *elf)
 {
   if (elf->kind == ELF_K_AR)


Index: frysk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/frysk/F-8/frysk.spec,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- frysk.spec	22 Jan 2008 03:02:26 -0000	1.122
+++ frysk.spec	6 Feb 2008 01:49:15 -0000	1.123
@@ -1,7 +1,7 @@
 Summary:	Frysk execution analysis and debugging tools
 Name:		frysk
 Version:	0.0.1.2008.01.18.rh1
-Release:	1%{?dist}
+Release:	3%{?dist}
 # antlrv2 is Public Domain; antlrv3 is BSD.
 # cdtparser is EPL
 # getopt is GPLv2 with exception
@@ -23,6 +23,7 @@
 
 Patch4:         frysk-0.0.1.2008.01.18.rh1-no-sysroot.patch
 Patch5:         frysk-0.0.1.2008.01.18.rh1-line-npe.patch
+Patch6:		frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch
 
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -114,6 +115,7 @@
 pwd
 %patch4 -p1 -b .no-sysroot
 %patch5 -p1 -b .line-npe
+%patch6 -p1 -b .elfutils-werror
 ./bootstrap.sh
 
 %build 
@@ -253,6 +255,13 @@
 %{_datadir}/gnome/help/%{name}/*
 
 %changelog
+* Tue Feb 5 2008 Andrew Cagney <cagney at redhat.com> - 0.0.1.2008.01.18.rh1-3
+- Add frysk-0.0.1.2008.01.18.rh1-elfutils-werror.patch to fix elfutils
+  errors.
+
+* Mon Feb  4 2008 Stepan Kasal <skasal at redhat.com> - 0.0.1.2008.01.18.rh1-2
+- rebuild against rebuilt java-gnome
+
 * Mon Jan 20 2008 Andrew Cagney <cagney at redhat.com> - 0.0.1.2008.01.18.rh1-1
 - Import frysk-0.0.1.2008.01.18.rh1 (4cff0daa2996b28274985fa4674160f15e5fd9e2)
 - Delete run_make_check code.




More information about the fedora-extras-commits mailing list