Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 22:22:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 206299] base/projects/clang3.8.0-import -r294096 buildworld targeting arm (for rpi2): assertion failed
Message-ID:  <bug-206299-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206299

            Bug ID: 206299
           Summary: base/projects/clang3.8.0-import -r294096 buildworld
                    targeting arm (for rpi2): assertion failed
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: markmi@dsl-only.net

Created attachment 165644
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165644&action=
=3Dedit
.zip of the the .sh and .c that clang generated for the report.

My attempted buildworld of -r294096 from amd64 targeting arm for an rpi2
stopped with:

--- all_subdir_usr.sbin ---
Assertion failed: (Offset <=3D PieceOffset && "overlapping or duplicate pie=
ces"),
function finalize, file
/usr/src/lib/clang/libllvmasmprinter/../../../contrib/llvm/lib/CodeGen/AsmP=
rinter/DwarfDebug.cpp,
line 1561.
. . .
--- all_subdir_usr.sbin ---
clang: note: diagnostic msg:=20
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/parser-392d84.c
clang: note: diagnostic msg: /tmp/parser-392d84.sh
clang: note: diagnostic msg:=20

********************
*** [parser.o] Error code 254

make[4]: stopped in /usr/src/usr.sbin/nscd
1 error

Detailed context:

make.conf: empty.

src.conf:

TO_TYPE=3Darmv6
#
KERNCONF=3DRPI2-NODBG
TARGET=3Darm
.if ${.MAKE.LEVEL} =3D=3D 0
TARGET_ARCH=3D${TO_TYPE}
.export TARGET_ARCH
.endif
#
WITH_FAST_DEPEND=3D
WITH_LIBCPLUSPLUS=3D
WITH_BINTOOLS_BOOTSTRAP=3D
WITH_CLANG=3D
WITH_CLANG_IS_CC=3D
WITH_CLANG_FULL=3D
WITH_LLDB=3D
WITH_CLANG_EXTRAS=3D
WITH_BOOT=3D
#
WITHOUT_LIB32=3D
WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D
WITHOUT_CLANG_BOOTSTRAP=3D
WITHOUT_GCC_BOOTSTRAP=3D
WITHOUT_GCC=3D
WITHOUT_GNUCXX=3D
#
NO_WERROR=3D
MALLOC_PRODUCTION=3D
#
WITH_DEBUG=3D
WITH_DEBUG_FILES=3D
#
.if ${.MAKE.LEVEL} =3D=3D 0
XCC=3D/usr/bin/clang -v -target ${TO_TYPE}--freebsd11.0-gnueabi -march=3Dar=
mv7a
-mcpu=3Dcortex-a7 -mno-unaligned-access
XCXX=3D/usr/bin/clang++ -v -target ${TO_TYPE}--freebsd11.0-gnueabi -march=
=3Darmv7a
-mcpu=3Dcortex-a7 -mno-unaligned-access
XCPP=3D/usr/bin/clang-cpp -v -target ${TO_TYPE}--freebsd11.0-gnueabi
-march=3Darmv7a -mcpu=3Dcortex-a7 -mno-unaligned-access
.export XCC
.export XCXX
.export XCPP
.endif
#
.if ${.MAKE.LEVEL} =3D=3D 0
CC=3D/usr/bin/clang -v
CXX=3D/usr/bin/clang++ -v
CPP=3D/usr/bin/clang-cpp -v
.export CC
.export CXX
.export CPP
.endif


RPI2-NODBG:

ident           RPI2-NODBG

include         "RPI2"

makeoptions     DEBUG=3D-g                # Build kernel with gdb(1) debug
symbols
options         ALT_BREAK_TO_DEBUGGER
#options        VERBOSE_SYSINIT         # Enable verbose sysinit messages

options         KDB                     # Enable kernel debugger support

# For minimum debugger support (stable branch) use:
#options        KDB_TRACE               # Print a stack trace for a panic
options         DDB                     # Enable the kernel debugger

nooptions       INVARIANTS              # Enable calls of extra sanity chec=
king
nooptions       INVARIANT_SUPPORT       # Extra sanity checks of internal
structures, required by INVARIANTS
nooptions       WITNESS                 # Enable checks to detect deadlocks=
 and
cycles
nooptions       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for
speed
nooptions       DIAGNOSTIC

--=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-206299-7>