[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719049: (no subject)



Next failure:

configure: error: libelf does not properly convert Elf64_Sxword quantities.
If you are using libelf-0.7.0, please use patches/libelf-0.7.0.patch.

$ dpkg -s libelfg0-dev
Package: libelfg0-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 238
Maintainer: Alex Pennace <alex@pennace.org>
Architecture: kfreebsd-i386
Source: libelf
Version: 0.8.13-3
Depends: libelfg0 (= 0.8.13-3), libc6-dev
Conflicts: libelf-dev, libelf0-dev, libelf1-dev

The patch for libelf-0.7.0 is

--- libelf-0.7.0/lib/64.xlatetof.c.jj	Tue Aug 25 17:22:24 1998
+++ libelf-0.7.0/lib/64.xlatetof.c	Wed Sep 26 15:00:18 2001
@@ -42,7 +42,7 @@ __load_i64L(const unsigned char *from) {

 static __libelf_i64_t
 __load_i64M(const unsigned char *from) {
- return ((__libelf_u64_t)__load_u32M(from) << 32) | (__libelf_i64_t)__load_i32M(from + 4); + return ((__libelf_i64_t)__load_i32M(from) << 32) | (__libelf_u64_t)__load_u32M(from + 4);
 }

I don't really want to start messing with libelf but if there is no other way then I will look into this later (unless someone beats me to it).


Reply to: