[LLVMbugs] [Bug 14420] New: Assertion failed: (Loc.isValid() && "point of instantiation must be valid!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 23 06:32:13 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14420

             Bug #: 14420
           Summary: Assertion failed: (Loc.isValid() && "point of
                    instantiation must be valid!")
           Product: clang
           Version: 3.2
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ambrosehua at wo.com.cn
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


OS verion:
FreeBSD lateaxfreebsd 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+3d6311e: Sun Nov
18 10:11:12 CST 2012     root at lateaxfreebsd:/usr/obj/usr/src/sys/KTR  amd64

My freebsd box clang was build witht libc++

When I update the ports/devel/binutils with the same new make.conf as I build
the clang from base
/etc/make.conf
................
CFLAGS+=-O2 -fno-omit-frame-pointer -pipe -fno-strict-aliasing
CXXFLAGS+=-stdlib=libc++ -std=c++11

...............

Assertion failed: (Loc.isValid() && "point of instantiation must be valid!"),
function setPointOfI
nstantiation, file
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include/clang
/AST/DeclTemplate.h, line 1374.
Stack dump:
0.      Program arguments: /usr/bin/clang++ -cc1 -triple
x86_64-unknown-freebsd10.0 -emit-obj -dis
able-free -main-file-name object.cc -mrelocation-model static -mdisable-fp-elim
-relaxed-aliasing 
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu athlon64
-momit-leaf-frame-pointer
 -coverage-file object.o -resource-dir /usr/bin/../lib/clang/3.2
-dependency-file .deps/object.Tpo
 -sys-header-deps -MP -MT object.o -D HAVE_CONFIG_H -D
LOCALEDIR="/usr/local/share/locale" -D BIND
IR="/usr/local/bin" -D TOOLBINDIR="/usr/local/x86_64-portbld-freebsd10.0/bin"
-D _LARGEFILE_SOURCE
 -D _FILE_OFFSET_BITS=64 -I . -I . -I ./../include -I ./../elfcpp -I
/usr/local/include -fmodule-c
ache-path /var/tmp/clang-module-cache -stdlib=libc++ -O2 -W -Wall -std=c++11
-fdeprecated-macro -f
debug-compilation-dir /usr/ports/devel/binutils/work/binutils-2.22/gold
-ferror-limit 19 -fmessage
-length 98 -mstackrealign -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions
-fdiagnostics-show-
option -fcolor-diagnostics -o object.o -x c++ object.cc
1.      <eof> parser at end of file
2.      object.cc:558:1: instantiating function definition
'build_compressed_section_map'
clang++: error: unable to execute command: Abort trap (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.2 (trunk 162107) 20120817
Target: x86_64-unknown-freebsd10.0
Thread model: posix
clang++: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the
 crash backtrace, preprocessed source, and associated run script.
clang++: note: diagnostic msg:

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list