This is the mail archive of the gcc-patches@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]

Re: [libsanitizer] merge fresh sources from upstream


On Fri, Nov 23, 2012 at 6:21 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Fri, Nov 23, 2012 at 06:12:24PM +0400, Konstantin Serebryany wrote:
>> Ok, the tests behave better on ubuntu 12.04.
>> tested:
>> rm -rf rm -rf */{*/,}libsanitizer && make -j20 && make -C gcc
>> check-g{cc,++} RUNTESTFLAGS='--target_board=unix\{-m32,-m64\}
>> asan.exp'
>>
>> The fresh asan library produces slightly different output (added ':'),
>> so the tests (all 1 of them) have been updated.
>> Please take another look.
>
> Ok, thanks.
done.
>
>> > Executing on host: addr2line -f -e
>> > /usr/local/google/kcc/gcc-build/gcc/testsuite/gcc/memcmp-1.exe
>> > 0x80488d1 0x8048560   (timeout = 300)
>> > spawn addr2line -f -e
>> > /usr/local/google/kcc/gcc-build/gcc/testsuite/gcc/memcmp-1.exe
>> > 0x80488d1 0x8048560
>> > BFD: Dwarf Error: found dwarf version '4', this reader only handles
>> > version 2 and 3 information.
>
> Is that split into two lines, or just one line?

Attached the full log file.

Thanks!
--kcc

> I hoped I'm handling even the BFD: prefixed error messages, that should be
> the middle line in
>             regsub -all "\r\n" [lindex $status 1] "\n" addr2line_output
>             regsub -all "(^|\n|\r)BFD: \[^\n\r\]*" $addr2line_output "" addr2line_output
>             set addr2line_output [regexp -inline -all -line "^\[^\n\r]*" $addr2line_output]
> I'll have another look.
>
>         Jakub

Attachment: gcc.log
Description: Binary data


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