C++/DWARF 1 undefined symbols - egcs-19990524

Eric Raskin ehr@listworks.com
Thu May 27 14:20:00 GMT 1999


Hello all...

Firstly, platform build is i586-dg-dgux4.20MU03.

When I compile programs with -g (DWARF 1) debugging turned on, I get
undefined assembler symbols.  It is only in DWARF 1 output and only when -g
is specified.  Here is some of the offending assembler listing (yes -- I did
compile with -fverbose-asm, but I didn't get the comments! 8-\ ):

.L_D4209:
        .4byte  .L_D4209_e-.L_D4209
        .2byte  0x5				<-- TAG_format_parameter
        .2byte  0x12				<-- AT_sibling
        .4byte  .L_D4210
        .2byte  0x83				<-- AT_mod_u_d_type
        .2byte  .L_t4209_e-.L_t4209
.L_t4209:
        .byte   0x2
        .4byte  .L_T8671			<-- the offending Label in this section
.L_t4209_e:
.L_D4209_e:

and

.L_D7339:
        .4byte  .L_D7339_e-.L_D7339
        .2byte  0x1c				<-- TAG_inheritance
        .2byte  0x12				<-- AT_sibling
        .4byte  .L_D7340
        .2byte  0x72				<-- AT_user_def_type
        .4byte  .L_T2109			<-- The offending label in this section
        .2byte  0x23				<-- AT_location ?
        .2byte  .L_l7339_e-.L_l7339
.L_l7339:
        .byte   0x4
        .4byte  0x0
        .byte   0x7
.L_l7339_e:

Forgive me if the descriptions above are wrong -- they're basically a guess.
Also, there were some patches made early in 1998 to fix a similar problem.
Unfortunately, this needs someone more familiar with DWARF than myself to
patch.

TIA
------------------------------------------------------------------------
Eric H. Raskin                            Voice:  914-769-7100 x321
President, CSC Division                   Fax:    914-769-8070
The Listworks Corp.                       E-Mail: ehr@listworks.com
1 Campus Drive
Pleasantville, NY 10570



More information about the Gcc-bugs mailing list