This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug gcov-profile/51449] New: [4.7 regression] Rev181994 causes tramp3d-v4 profiled build failure


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51449

             Bug #: 51449
           Summary: [4.7 regression] Rev181994 causes tramp3d-v4 profiled
                    build failure
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


http://www.suse.de/~rguenther/tramp3d/tramp3d-v4.cpp.gz

 % c++ -w -Ofast -fprofile-generate -march=native tramp3d-v4.cpp
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to
'__gcov0__ZNKSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to
'__gcov0__ZNKSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to '__gcov0__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to '__gcov0__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to '__gcov0__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to '__gcov0__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to
'__gcov0__ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE3strERKSs'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::flush(): error: undefined
reference to
'__gcov0__ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE3strERKSs'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Statistics::print(Inform&, long
(*)(long)): error: undefined reference to '__gcov0__ZNSolsEl'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Statistics::print(Inform&, long
(*)(long)): error: undefined reference to '__gcov0__ZNSolsEl'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform& operator<< <double>(Inform&,
double const&) [clone .isra.122]: error: undefined reference to
'__gcov0__ZNSolsEd'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform& operator<< <double>(Inform&,
double const&) [clone .isra.122]: error: undefined reference to
'__gcov0__ZNSolsEd'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function
Pooma::Options::operator=(Pooma::Options const&): error: undefined reference to
'__gcov0__ZNSsaSERKSs'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function
Pooma::Options::operator=(Pooma::Options const&): error: undefined reference to
'__gcov0__ZNSsaSERKSs'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::setPrefix(char const*): error:
undefined reference to '__gcov0__ZNSsaSEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::setPrefix(char const*): error:
undefined reference to '__gcov0__ZNSs6assignEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::setPrefix(char const*): error:
undefined reference to '__gcov0__ZNSs6assignEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Inform::setPrefix(char const*): error:
undefined reference to '__gcov0__ZNSsaSEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::reset(): error:
undefined reference to '__gcov0__ZNSsaSEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::reset(): error:
undefined reference to '__gcov0__ZNSs6assignEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::reset(): error:
undefined reference to '__gcov0__ZNSs6assignEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::reset(): error:
undefined reference to '__gcov0__ZNSsaSEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSsD2Ev'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSs4_Rep10_M_disposeERKSaIcE'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSsD2Ev'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSs4_Rep10_M_disposeERKSaIcE'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSs4_Rep10_M_disposeERKSaIcE'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function Pooma::Options::parse(int&, char**&):
error: undefined reference to '__gcov0__ZNSs4_Rep10_M_disposeERKSaIcE'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function handle_cmd_args(int, char**): error:
undefined reference to '__gcov0__ZNSs6appendEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function handle_cmd_args(int, char**): error:
undefined reference to '__gcov0__ZNSs6appendEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function handle_cmd_args(int, char**): error:
undefined reference to '__gcov0__ZNSs6appendEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function handle_cmd_args(int, char**): error:
undefined reference to '__gcov0__ZNSs6appendEPKc'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function main: error: undefined reference to
'__gcov0__ZNSolsEd'
/tmp/ccMmeivA.o:tramp3d-v4.cpp:function main: error: undefined reference to
'__gcov0__ZNSolsEd'
collect2: error: ld returned 1 exit status

git bisected to:
6c56d3c9153627a6bbf0cdc045c3bd411315f540 is the first bad commit
commit 6c56d3c9153627a6bbf0cdc045c3bd411315f540
Author: nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Sun Dec 4 18:27:19 2011 +0000

        * gcov-io.h (struct gcov_info): Replace trailing array with
        pointer to array.
        * profile.c (branch_prob): Only call renamed
        coverage_begin_function once.
        * coverage.h (coverage_begin_output): Rename to ...
        (coverage_begin_function): ... here.
        * coverage.c (struct function_list): Rename to ...
        (struct coverage_data): ... this.  Update all uses.
        (gcov_info_var, gcov_fn_info_type, gcov_fn_info_ptr_type): New
        globals.
        (bbg_file_opened, bbg_function_announced): Remove.
        (get_coverage_counts): Adjust message.
        (coverage_begin_ouput): Rename to ...
        (coverage_begin_function): ... here.  Move file opening to
        coverage_init.  Adjust for being called only once.
        (coverage_end_function): Remove bbg file and inhibit further
        output here on error.
        (build_info_type): Adjust for change to pointer to array.
        (build_info): Receive array of function pointers and adjust.
        (create_coverage): Break into ...
        (coverage_obj_init, coverage_obj_fn, coverage_obj_finish):
        ... these, and adjust.
        (coverage_init): Open the notes file here.  Tidy.
        (coverage_finish): Call coverage_obj_init etc.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181994
138bc75d-0d04-0410-961f-82ee72b054a4

Will try to delta-reduce later.


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