code coverage: llvm-ar: undefined reference to `llvm::raw_fd_ostream::current_pos() const'

Sylvestre Ledru sylvestre at debian.org
Thu Aug 1 06:44:40 PDT 2013


Le 01/08/2013 04:14, Rafael Espíndola a écrit :
>>> Which host compiler are you using?
>> gcc 4.8.1-2
> I can reproduce the bug with gcc 4.8. It does look like a bug in gcc.
> In the attached testcase it produces an undefined reference to
> _ZNK4llvm14raw_fd_ostream11current_posEv, but that function is defined
> inline.
>
> It reproduces with "cc1plus llvm-ar.ii -quiet -std=c++11
> -fprofile-arcs -o test.s -O2". It may or may not be a duplicate of
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808.
>
> Do you want to report a bug with them or should I?
Please go ahead :) You did all of the work!

Are you aware of any workaround ?

Thanks
Sylvestre




More information about the llvm-commits mailing list