This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/1491: 'Section index is uninitialized' on Alpha Tru64 5.1


>Number:         1491
>Category:       gdb
>Synopsis:       'Section index is uninitialized' on Alpha Tru64 5.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 18 19:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Max Zinal <Zlat0@mail.ru>
>Release:        gdb-6.0, gdb-20031209-cvs
>Organization:
>Environment:
alphaev56-dec-osf5.1
GCC 3.3.2
native assembler and linker
>Description:
GDB reports the following error message:

mdebugread.c:3355:internal-error: Section index is uninitialized

when I try to debug (run under GDB) any program which is  linked with the dynamic library containing a static variable of type pthread_t.

A possible cause of a problem could be some GCC issue, which does not currently have an 'official' support for '-pthread' compilation flag. Anyway, the resulting binaries seem to work fine, and there is no other way to create threaded programs on Tru64 with GCC.
>How-To-Repeat:
Unpack files from the attached archive, then run 'make'.
You will get a 'checkme' executable and a shared library 'libthrlib.so'.

gdb ./checkme
<snip>
run
...

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-gzip; name="bug.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.tgz"

H4sIAKyc4T8CA+2V32/aMBDHea3/ipPKAxlKZBNoJNpOm2CbUJlAotL6FqXGgEWIK9vspdr/XtM4
AfbQh0kFTb3Pg3/lfN/LWWf/zNZiIXPReEcopVfdLriedZKe71/nJQmLgSZJQmN2RVkPKIs7vcR9
b5yArbGZdqEY/du+ZbdRhbRKv/WTDqj7/wSS5Xkf+Erw9UYQMh5+H3/9MbsNn+xKi2xOBn4+TKeT
2eghnY5G6WwyuPt2D+EvtxcqS4Bw6VL5aNoxGQzHfttiOhpAONy1zVbpKyDEy9W6kYJcPjo/ro2M
IhdLzp29DyaAUEHzy4FxOI6cXG7snLfbblDurP1Gau+Zl85Cvtf/yx0n5FC8D37owziKw6wyLebe
QWXnAtCWkGpaO9hL77R9SoLjzU6c5yIr+uRCbyBcwKedbjk8Tkm5Vh2UnxqV5opnVqrCkH86/zoL
Z6x/V/d1/bOks6v/GOv/NMjCwiaTRSuAZ9DCbnUB9Br+kAbyEajuoXO+/4wmdf13GH19/7sM6/8U
XMqC59u5gBv/jkerz8SlxEoOfiW1sEyNXD5pxVP/2N9Cq/4a0Gu8LRAEQRAEQRAEQRAEQRAEQRAE
QRAEQc7NC08Jy3IAKAAA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]