March 24, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=70

           Summary: valgrind: Conditional jump or move depends on
                    uninitialised value(s) in elf_findstr
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


<< a.d >>
int main(){ return 0; }
>> a.d <<

valgrind-3.1.0 -q --leak-check=no --tool=memcheck /opt/dmd/150/dmd/bin/dmd -I/opt/dmd/150/dmd/src/phobos -L-L/opt/dmd/150/dmd/lib a.d

Conditional jump or move depends on uninitialised value(s)
   at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x8090874: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd)

Conditional jump or move depends on uninitialised value(s)
   at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80908BF: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd)

Conditional jump or move depends on uninitialised value(s)
   at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80908CF: obj_ehsections() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80B062F: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd)

Conditional jump or move depends on uninitialised value(s)
   at 0x808F158: elf_findstr(Outbuffer*, char const*, char const*) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x80909BD: elf_getsegment(char const*, char const*, int, int) (in
/opt/dmd/150/dmd/bin/dmd)
   by 0x809094B: obj_comdat(Symbol*) (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80CD8A5: writefunc2(Symbol*) (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80CD507: writefunc(Symbol*) (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80B00F8: FuncDeclaration::toObjFile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80AFC6C: Module::genobjfile() (in /opt/dmd/150/dmd/bin/dmd)
   by 0x80BF3DC: main (in /opt/dmd/150/dmd/bin/dmd)


--