Date: Mon, 19 Dec 2016 21:48:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [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 Message-ID: <bug-215395-8-kqWJRp6kRC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215395-8@https.bugs.freebsd.org/bugzilla/> References: <bug-215395-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215395 Mark Millard <markmi@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@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=3D/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=3Dx86_64-unknown-freebsd12.0 --disable-nls --enable-languages=3Dc,= c++ --without-headers --with-gmp=3D/usr/local --with-pkgversion=3D'FreeBSD Ports Collection for amd64' --with-system-zl ib --with-gcc-include-dir=3D/usr/include/c++/v1/ --with-as=3D/usr/local/bin/x86_64-freebsd-as --with-ld=3D/usr/local/bin/x86_64-freebsd-ld --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man --infodir=3D/usr/local/inf= o/ --build=3Dx86_64-unknown-freebsd12.0 Thread model: posix gcc version 6.2.0 (FreeBSD Ports Collection for amd64)=20 COLLECT_GCC_OPTIONS=3D'-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' '-nostdi= nc' '-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=3Dkernel' '-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=3Da ddress' '-Wno-error=3Daggressive-loop-optimizations' '-Wno-error=3Darray-bo= unds' '-Wno-error=3Dattributes' '-Wno-error=3Dcast-qual' '-Wno-error=3Denum-compa= re' '-Wno-error=3Dinline' '-Wno-error=3Dmaybe-uninitialized' '-Wno-error=3Dover= flow' '-Wno-error=3Dsequence-point' '-Wno-error=3Dstrict-o verflow' '-Wno-error=3Dunused-but-set-variable' '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' '-Wno-error=3Dshift-overflow' '-Wno-error=3Dtautological-compare' '-v' '-finline-limit=3D8000' '-fms-extensions' '--param' 'inline-unit-growth=3D1= 00' '--param' 'large-fun ction-growth=3D1000' '-std=3Dc99' '-c' '-o' 'aac_disk.o' '-mtune=3Dgeneric' '-march=3Dx86-64' /usr/local/libexec/gcc/x86_64-unknown-freebsd12.0/6.2.0/cc1 -quiet -nostdi= nc -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=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mtune=3Dg= eneric -march=3Dx86-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=3Dadd= ress -Wno-error=3Daggressive-loop-optimizations -Wno-error=3Darray-bounds -Wno-error=3Dattributes -Wno-error=3Dcast-qual -Wno-error=3Denum-compare -Wno-error=3Dinline -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dove rflow -Wno-error=3Dsequence-point -Wno-error=3Dstrict-overflow -Wno-error=3Dunused-but-set-variable -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare -Wno-error=3Dshift-overflow -Wno-error=3Dtautological-compare -std=3Dc99 -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=3D8000 -fms-extensions --param inline-unit-growth=3D100 --pa= ram large-function-growth=3D1000 -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=3D100 --param ggc-min-heapsize=3D131= 072 #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=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 4b2283cf33a9225d87b2fb0e7da88667 . . . --- aac_disk.o --- COMPILER_PATH=3D/usr/obj/amd64_xtoolchain/amd64.amd64/usr/src/tmp/usr/lib/:= /usr/local/x86_64-freebsd/bin/:/usr/local/libexec/gcc/x86_64-unknown-freebs= d12.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=3D/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=3D'-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' '-nostdi= nc' '-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=3Dkernel' '-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=3Da ddress' '-Wno-error=3Daggressive-loop-optimizations' '-Wno-error=3Darray-bo= unds' '-Wno-error=3Dattributes' '-Wno-error=3Dcast-qual' '-Wno-error=3Denum-compa= re' '-Wno-error=3Dinline' '-Wno-error=3Dmaybe-uninitialized' '-Wno-error=3Dover= flow' '-Wno-error=3Dsequence-point' '-Wno-error=3Dstrict-o verflow' '-Wno-error=3Dunused-but-set-variable' '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' '-Wno-error=3Dshift-overflow' '-Wno-error=3Dtautological-compare' '-v' '-finline-limit=3D8000' '-fms-extensions' '--param' 'inline-unit-growth=3D1= 00' '--param' 'large-fun ction-growth=3D1000' '-std=3Dc99' '-c' '-o' 'aac_disk.o' '-mtune=3Dgeneric' '-march=3Dx86-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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215395-8-kqWJRp6kRC>