[Th] rpm at sparc64

Tomasz Mateja tommat at pimpek.one.pl
Mon Jun 18 20:10:13 CEST 2007


Tomasz Mateja napisał(a):
> Jeff Johnson napisał(a):
>> This is likely the -pie linkage and -fpie compilation, new in rpm-4.4.9.
>>
>> Remove PIE compilation/linkage is the easy fix.
>>
>> Upgrading binutils and/or rewriting rpm code may help.
>>
>> 73 de Jeff
>>
> removed and it's built right now, btw binutils are current.
> 
not working:

[root at moon RPMS]# gdb rpm
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-pld-linux"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run --rebuilddb
Starting program: /bin/rpm --rebuilddb

Program received signal SIGBUS, Bus error.
0xfffff8010000fbec in intGetEntry (h=0x26b4e0, tag=1184, 
type=0x7feffef9518, p=0x7feffef951c, c=0x7feffef950c, minMem=1) at 
header.c:1785
1785            if (p) *p = NULL;
(gdb) bt
#0  0xfffff8010000fbec in intGetEntry (h=0x26b4e0, tag=1184, 
type=0x7feffef9518, p=0x7feffef951c, c=0x7feffef950c, minMem=1) at 
header.c:1785
#1  0xfffff801000162ec in headerGetEntryMinMemory (h=0x26b4e0, tag=1184, 
type=0x7feffef9518, p=0x7feffef951c, c=0x7feffef950c)
     at ./hdrinline.h:299
#2  0xfffff8010001937c in rpmdbAdd (db=0x260c50, iid=<value optimized 
out>, h=0x26b4e0, ts=0x25be90, hdrchk=0xfffff801aca602e0 <headerCheck>)
     at rpmdb.c:3125
#3  0xfffff8010001c4b8 in rpmdbRebuild (prefix=0x258a90 "/", 
ts=0x25be90, hdrchk=0xfffff801aca602e0 <headerCheck>) at rpmdb.c:4048
#4  0xfffff801aca8efa0 in rpmtsRebuildDB (ts=0x25be90) at rpmts.c:145
#5  0x0000000000105618 in main (argc=2, argv=<value optimized out>) at 
rpmqv.c:586
#6  0xfffff8010052b030 in __libc_start_main () from /lib64/libc.so.6
#7  0x00000000001041d4 in _start ()

-- 
T.


More information about the pld-devel-en mailing list