Re: dwarf2 problem in gcc-4.9.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 December 2015 at 06:31, vikram1729 wrote:
> hi all
>
> i am trying to port gcc-4.9.2 to a custom processor. i got following error
> while compiling glibc
>
>
> 'found dwarf version 4 but this reader handles only 2 or 3'
>
> linker is complaining this
> my binutils version is 2.19.

If you can't upgrade binutils then you can compile with -gdwarf-3 to
prevent GCC outputting DWARF v4 data.

If you still get problems then use -gdwarf-3 -gstrict-dwarf



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux