This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

unresolved dwarf references



This was actually pointed out by jkj@sco.com as failures in the libio
tests (which I've only been able to run in the last 28 hours).  This
only shows up with -g and -melf.

This looks like a problem in dwarf handling, but I don't know how to 
diagnose it from here.   Tell me how to better describe it and I will
help as I can.

If we compile like this:

/home/play/negcs/gcc/xgcc -B/home/play/negcs/gcc/ \
        /play//egcs-971023/libstdc++/testsuite/libstdc++.tests/../../tests/
tvector.cc  \
        -O -I..   -I/play/egcs-971023/libstdc++/testsuite/.. \
        -I/play/egcs-971023/libstdc++/testsuite/../stl -I.  \
         -I/home/play/egcs-971023/libio \
        -I/home/play/negcs/libraries/libio -g  -S -dA \
        -L/home/play/negcs/libraries//libstdc++ -lstdc++   -lm  -melf \
        -o /tmp/tv

The output contains several references to label ".L_T6077", but no
definition of that symbol.

        .file   "tvector.cc"
        .version        "01.01"
/ GNU C++ version egcs-2.90.17 971114 (gcc2-970802 experimental) (i586-pc-s
co3.2v5.0.4) compiled by GNU C version egcs-2.90.17 971114 (gcc2-970802 exp
erimental).
/ options passed:  -melf -g -O
/ options enabled:  -fdefer-pop -fthread-jumps -fpeephole -ffunction-cse
/ -finline -fkeep-static-consts -fpcc-struct-return -fexceptions -fcommon
/ -fverbose-asm -fgnu-linker -falias-check -fargument-alias -m80387
/ -mhard-float -mno-soft-float -mieee-fp -mfp-ret-in-387
/ -mschedule-prologue -mcpu=pentium -march=pentium


[ munch ] 

        .2byte  .L_s901_e-.L_s901
.L_s901:
                .byte   0x0     / FMT_FT_C_C
        .2byte  0x7     / FT_integer
        .4byte  0x0
        .4byte  0xf
                .byte   0x8     / FMT_ET
        .2byte  0x83    / AT_mod_u_d_type
        .2byte  .L_t901_e-.L_t901
.L_t901:
                .byte   0x1     / MOD_pointer_to
        .4byte  .L_T6077
.L_t901_e:
.L_s901_e:
.L_D901_e:
.L_D902:
        .4byte  0x4
        .previous

        .section        .debug
.L_P204:


[ munch ] 
.L_D906:
        .4byte  .L_D906_e-.L_D906
        .2byte  0xc     / TAG_local_variable
        .2byte  0x12    / AT_sibling
        .4byte  .L_D907
        .2byte  0x38    / AT_name
        .string "q"
        .2byte  0x83    / AT_mod_u_d_type
        .2byte  .L_t906_e-.L_t906
.L_t906:
                .byte   0x1     / MOD_pointer_to
        .4byte  .L_T6077
.L_t906_e:
                .set    .L_E10210,.L_D906
.L_D906_e:
.L_D907:
        .4byte  .L_D907_e-.L_D907
        .2byte  0xc     / TAG_local_variable
        .2byte  0x12    / AT_sibling
        .4byte  .L_D908
        .2byte  0x38    / AT_name




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