[Bug 215395] ctfconvert from -r310152: gcc 6.2.0 based amd64-gcc or powerpc64-gcc output sometimes gets new dwarf error/abort from ctfconvert: die <SOME NUMBER>: failed to get ref

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 19 21:48:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215395

Mark Millard <markmi at dsl-only.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ctfconvert from -r310152:   |ctfconvert from -r310152:
                   |gcc 6.2.0 based             |gcc 6.2.0 based amd64-gcc
                   |powerpc64-gcc output        |or powerpc64-gcc output
                   |sometimes gets new dwarf    |sometimes gets new dwarf
                   |error/abort from            |error/abort from
                   |ctfconvert: die <SOME       |ctfconvert: die <SOME
                   |NUMBER>: failed to get ref  |NUMBER>: failed to get ref

--- Comment #1 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mark Millard from comment #0)

I tried a buildkernel via devel/amd64-gcc and its devel/amd64-binutils and
such.

It also gets notices like the example below:

ERROR: ctfconvert: die 23764: failed to get ref: No entry found
[dwarf_attrval_unsigned(177)]

This example is from:

--- aac_disk.o ---
Using built-in specs.
COLLECT_GCC=/usr/local/bin/x86_64-unknown-freebsd12.0-gcc
Target: x86_64-unknown-freebsd12.0
Configured with:
/usr/obj/portswork/usr/ports/devel/amd64-gcc/work/gcc-6.2.0/configure
--target=x86_64-unknown-freebsd12.0 --disable-nls --enable-languages=c,c++
--without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports
Collection for amd64' --with-system-zl
ib --with-gcc-include-dir=/usr/include/c++/v1/
--with-as=/usr/local/bin/x86_64-freebsd-as
--with-ld=/usr/local/bin/x86_64-freebsd-ld --prefix=/usr/local
--localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/
--build=x86_64-unknown-freebsd12.0
Thread model: posix
gcc version 6.2.0 (FreeBSD Ports Collection for amd64) 
COLLECT_GCC_OPTIONS='-isystem'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/include'
'-L/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib' '-B'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib' '-B'
'/usr/local/x86_64-freebsd/bin/' '-O2' '-pipe'
 '-fno-strict-aliasing' '-Werror' '-D' '_KERNEL' '-D' 'KLD_MODULE' '-nostdinc'
'-D' 'HAVE_KERNEL_OPTION_HEADERS' '-include'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG/opt_global.h'
'-I' '.' '-I' '/usr/src/sys' '-fno-common' '-g' '-fno-omit-frame-point
er' '-mno-omit-leaf-frame-pointer' '-I'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG'
'-mcmodel=kernel' '-mno-red-zone' '-mno-mmx' '-mno-sse' '-msoft-float'
'-fno-asynchronous-unwind-tables' '-ffreestanding' '-fwrapv'
'-fstack-protector' '-gdwarf-2' '-W
all' '-Wredundant-decls' '-Wnested-externs' '-Wstrict-prototypes'
'-Wmissing-prototypes' '-Wpointer-arith' '-Winline' '-Wcast-qual' '-Wundef'
'-Wno-pointer-sign' '-fformat-extensions' '-Wmissing-include-dirs'
'-fdiagnostics-show-option' '-Wno-unknown-pragmas' '-Wno-error=a
ddress' '-Wno-error=aggressive-loop-optimizations' '-Wno-error=array-bounds'
'-Wno-error=attributes' '-Wno-error=cast-qual' '-Wno-error=enum-compare'
'-Wno-error=inline' '-Wno-error=maybe-uninitialized' '-Wno-error=overflow'
'-Wno-error=sequence-point' '-Wno-error=strict-o
verflow' '-Wno-error=unused-but-set-variable'
'-Wno-error=misleading-indentation' '-Wno-error=nonnull-compare'
'-Wno-error=shift-overflow' '-Wno-error=tautological-compare' '-v'
'-finline-limit=8000' '-fms-extensions' '--param' 'inline-unit-growth=100'
'--param' 'large-fun
ction-growth=1000' '-std=c99' '-c' '-o' 'aac_disk.o' '-mtune=generic'
'-march=x86-64'
 /usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.2.0/cc1 -quiet -nostdinc
-v -I . -I /usr/src/sys -I
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG -isysroot
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp -D _KERNEL -D KLD_MODULE -D
HAVE_KERNEL_OPTI
ON_HEADERS -isystem
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/include -include
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG/opt_global.h
/usr/src/sys/modules/aac/../../dev/aac/aac_disk.c -quiet -dumpbase aac_disk.c
-mno-omit-leaf-frame-pointe
r -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mtune=generic
-march=x86-64 -auxbase-strip aac_disk.o -g -gdwarf-2 -O2 -Werror -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wn
o-pointer-sign -Wmissing-include-dirs -Wno-unknown-pragmas -Wno-error=address
-Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds
-Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare
-Wno-error=inline -Wno-error=maybe-uninitialized -Wno-error=ove
rflow -Wno-error=sequence-point -Wno-error=strict-overflow
-Wno-error=unused-but-set-variable -Wno-error=misleading-indentation
-Wno-error=nonnull-compare -Wno-error=shift-overflow
-Wno-error=tautological-compare -std=c99 -version -fno-strict-aliasing
-fno-common -fno-omit
-frame-pointer -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -fformat-extensions -fdiagnostics-show-option
-finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param
large-function-growth=1000 -o - |
 /usr/local/bin/x86_64-freebsd-as -v -I . -I /usr/src/sys -I
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG -o aac_disk.o
GNU C99 (FreeBSD Ports Collection for amd64) version 6.2.0
(x86_64-unknown-freebsd12.0)
        compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 3.9.1
(tags/RELEASE_391/final 289601), GMP version 5.1.3, MPFR version 3.1.5, MPC
version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/src/sys
 /usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG
 /usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/include
End of search list.
GNU C99 (FreeBSD Ports Collection for amd64) version 6.2.0
(x86_64-unknown-freebsd12.0)
        compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 3.9.1
(tags/RELEASE_391/final 289601), GMP version 5.1.3, MPFR version 3.1.5, MPC
version 1.0.3, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4b2283cf33a9225d87b2fb0e7da88667
. . .
--- aac_disk.o ---
COMPILER_PATH=/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib/:/usr/local/x86_64-freebsd/bin/:/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.2.0/:/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.2.0/:/usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/:/usr
/local/lib/gcc/x86_64-unknown-freebsd12.0/6.2.0/:/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/
LIBRARY_PATH=/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib/:/usr/local/x86_64-freebsd/bin/:/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.2.0/:/usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.2.0/../../../:/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/lib/:
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib/
COLLECT_GCC_OPTIONS='-isystem'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/include'
'-L/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib' '-B'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib' '-B'
'/usr/local/x86_64-freebsd/bin/' '-O2' '-pipe'
 '-fno-strict-aliasing' '-Werror' '-D' '_KERNEL' '-D' 'KLD_MODULE' '-nostdinc'
'-D' 'HAVE_KERNEL_OPTION_HEADERS' '-include'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG/opt_global.h'
'-I' '.' '-I' '/usr/src/sys' '-fno-common' '-g' '-fno-omit-frame-point
er' '-mno-omit-leaf-frame-pointer' '-I'
'/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG'
'-mcmodel=kernel' '-mno-red-zone' '-mno-mmx' '-mno-sse' '-msoft-float'
'-fno-asynchronous-unwind-tables' '-ffreestanding' '-fwrapv'
'-fstack-protector' '-gdwarf-2' '-W
all' '-Wredundant-decls' '-Wnested-externs' '-Wstrict-prototypes'
'-Wmissing-prototypes' '-Wpointer-arith' '-Winline' '-Wcast-qual' '-Wundef'
'-Wno-pointer-sign' '-fformat-extensions' '-Wmissing-include-dirs'
'-fdiagnostics-show-option' '-Wno-unknown-pragmas' '-Wno-error=a
ddress' '-Wno-error=aggressive-loop-optimizations' '-Wno-error=array-bounds'
'-Wno-error=attributes' '-Wno-error=cast-qual' '-Wno-error=enum-compare'
'-Wno-error=inline' '-Wno-error=maybe-uninitialized' '-Wno-error=overflow'
'-Wno-error=sequence-point' '-Wno-error=strict-o
verflow' '-Wno-error=unused-but-set-variable'
'-Wno-error=misleading-indentation' '-Wno-error=nonnull-compare'
'-Wno-error=shift-overflow' '-Wno-error=tautological-compare' '-v'
'-finline-limit=8000' '-fms-extensions' '--param' 'inline-unit-growth=100'
'--param' 'large-fun
ction-growth=1000' '-std=c99' '-c' '-o' 'aac_disk.o' '-mtune=generic'
'-march=x86-64'
ERROR: ctfconvert: die 23764: failed to get ref: No entry found
[dwarf_attrval_unsigned(177)]
Building
/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/sys/GENERIC-NODBG/vnode_if.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list