Re: [PATCH, testsuite]: Use -gdwarf-2 for g++.dg/other/anon5.C

2016-08-29 Thread Tom de Vries
On 01/02/16 23:10, Jeff Law wrote: On 02/01/2016 03:05 PM, Uros Bizjak wrote: Hello! This test case fails for targets, where dwarf-4 is unsupported (e.g. CentOS 5.11) with /usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information. We can use -gdwarf-2

Re: [PATCH, testsuite]: Use -gdwarf-2 for g++.dg/other/anon5.C

2016-02-01 Thread Jeff Law
On 02/01/2016 03:05 PM, Uros Bizjak wrote: Hello! This test case fails for targets, where dwarf-4 is unsupported (e.g. CentOS 5.11) with /usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information. We can use -gdwarf-2 here, and still get correct linker

[PATCH, testsuite]: Use -gdwarf-2 for g++.dg/other/anon5.C

2016-02-01 Thread Uros Bizjak
Hello! This test case fails for targets, where dwarf-4 is unsupported (e.g. CentOS 5.11) with /usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information. We can use -gdwarf-2 here, and still get correct linker error message on Cent OS 5.11 and Fedora 23.