Current-Users archive

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

Re: Build broken with new gcc 4.8.3.

In article <>,
henning petersen  <> wrote:
>/usr/netbsd/tools.amd64/bin/x86_64--netbsd-gcc -O2
>-I/usr/src/external/cddl/osnet/dist  -I/usr/src/external/cddl/osnet/dist
> -I/usr/src/external/cddl/osnet/dist/head
>-I/usr/src/external/cddl/osnet/dist/uts/common  -g  -std=gnu99 -Werror
>  --sysroot=/usr/netbsd/dest.amd64  -c
>/usr/netbsd/tools.amd64/bin/nbctfconvert -g -L VERSION -g alist.o
>ERROR: nbctfconvert: failed to initialize DWARF: Wrong CU version. Only
>2 and 3 supported [dwarf_init_info(541)]
>Removing alist.o
>*** Failed target:  alist.o
>*** Failed command: /usr/netbsd/tools.amd64/bin/nbctfconvert -g -L
>VERSION -g alist.o
>*** Error code 1
>I think that libdwarf/libelf is too old (no support for dwarf4).

Yes, we should probably add -gdwarf-2; Even dwarf-3 does not work properly.


Home | Main Index | Thread Index | Old Index