Mailinglist Archive: opensuse-bugs (4968 mails)
| < Previous | Next > |
[Bug 503366] New: libbfd: adr2errline resolution does not work for 32bit programs
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 13 May 2009 04:29:23 -0600 (MDT)
- Message-id: <bug-503366-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=503366
Summary: libbfd: adr2errline resolution does not work for 32bit
programs
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: estellnb@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10
(like Gecko) SUSE
Using the addr2errline sample program from
http://linuxgazette.net/151/misc/melinte/addr2line.c
I get the following results:
ThisLine [getlineno.c:49]
It does not depend on the library version. If I link against old 32bit bfd &
liberty librays from x86_32 days of OpenSuse10.1 it does not work either.
Perhaps this is some general incompatibility of 32/64bit plattforms.
Debugging addr2errline.c I found that the error turns out at the following
point:
slurp_symtab(bfd *abfd)
{
..
if ((bfd_get_file_flags(abfd) & HAS_SYMS) == 0)
return -1;
Reproducible: Always
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: libbfd: adr2errline resolution does not work for 32bit
programs
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: estellnb@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10
(like Gecko) SUSE
Using the addr2errline sample program from
http://linuxgazette.net/151/misc/melinte/addr2line.c
I get the following results:
gcc addr2errline.c -o addr2errline -lbfd -liberty -lzmain [getlineno.c:61]
./addr2errline getlineno 0x804b335 0x804b2aa
ThisLine [getlineno.c:49]
gcc -m32 addr2errline.c -o addr2errline -lbfd -liberty -lz
./addr2errline getlineno 0x804b335 0x804b2aa
** no result, nothing found, 0 lines of output **
It does not depend on the library version. If I link against old 32bit bfd &
liberty librays from x86_32 days of OpenSuse10.1 it does not work either.
Perhaps this is some general incompatibility of 32/64bit plattforms.
Debugging addr2errline.c I found that the error turns out at the following
point:
slurp_symtab(bfd *abfd)
{
..
if ((bfd_get_file_flags(abfd) & HAS_SYMS) == 0)
return -1;
Reproducible: Always
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |