[LLVMbugs] [Bug 19781] New: Clang crashed while parsing __visibility__ attribute under arm-linux-gnueabihf
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 18 07:14:39 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19781
Bug ID: 19781
Summary: Clang crashed while parsing __visibility__ attribute
under arm-linux-gnueabihf
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: stpworld at narod.ru
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Bug has been discovered while compiling libcxx, I got next bunch of errors:
In file included from /home/ubuntu/projects/libcxx/include/sstream:174:
In file included from /home/ubuntu/projects/libcxx/include/ostream:131:
In file included from /home/ubuntu/projects/libcxx/include/ios:216:
In file included from /home/ubuntu/projects/libcxx/include/__locale:18:
In file included from /home/ubuntu/projects/libcxx/include/mutex:176:
In file included from /home/ubuntu/projects/libcxx/include/__mutex_base:16:
/home/ubuntu/projects/libcxx/include/system_error:396:33: error: '__do_message'
redeclared with
'public' access
friend class _LIBCPP_HIDDEN __do_message;
^
Invalid access specifier!
UNREACHABLE executed at
/home/ubuntu/projects/toolchain/llvm.src/tools/clang/lib/AST/DeclCXX.cpp:2137!
Stack dump:
0. Program arguments:
/home/ubuntu/projects/toolchain/llvm.obj/Release+Asserts/bin/clang -cc1 -triple
armv7-unknown-linux-gnueabihf -emit-obj -mrelax-all -disable-free
-main-file-name pairs.by.type.pass.cpp -mrelocation-model static
-mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-fuse-init-array -target-cpu cortex-a8 -target-abi aapcs-linux -mfloat-abi hard
-target-linker-version 2.24 -resource-dir
/home/ubuntu/projects/toolchain/llvm.obj/Release+Asserts/bin/../lib/clang/3.5.0
-I /home/ubuntu/projects/libcxx/test/support -I
/home/ubuntu/projects/libcxx/include -internal-isystem /usr/local/include
-internal-isystem
/home/ubuntu/projects/toolchain/llvm.obj/Release+Asserts/bin/../lib/clang/3.5.0/include
-internal-externc-isystem /usr/include/arm-linux-gnueabihf
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/home/ubuntu/projects/libcxx/test/utilities/utility/pairs/pair.astuple
-ferror-limit 19 -fmessage-length 95 -mstackrealign -fno-signed-char
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
/tmp/pairs-b28fc3.o -x c++ pairs.by.type.pass.cpp
1. /home/ubuntu/projects/libcxx/include/system_error:396:45: current
parser token ';'
2. /home/ubuntu/projects/libcxx/include/system_error:231:1
<Spelling=/home/ubuntu/projects/libcxx/include/__config:346:37>: parsing
namespace 'std'
3. /home/ubuntu/projects/libcxx/include/system_error:231:1
<Spelling=/home/ubuntu/projects/libcxx/include/__config:346:59>: parsing
namespace '__1'
4. /home/ubuntu/projects/libcxx/include/system_error:365:1: parsing
struct/union/class body 'error_category'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (trunk 208775) (llvm/trunk 208774)
Target: armv7l-unknown-linux-gnueabihf
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: Error generating preprocessed source(s).
/home/ubuntu/projects/libcxx/test/utilities/utility/pairs/pair.astuple/pairs.by.type.pass.cpp
failed to compile
Compile line was: clang++ -std=c++11 -stdlib=libc++
-I/home/ubuntu/projects/libcxx/test/support
-I/home/ubuntu/projects/libcxx/include -L/home/ubuntu/projects/libcxx.build/lib
-L/home/ubuntu/projects/libcxxabi/lib -lc++abi <everything-that-uses
__mutex_base>.cpp
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140518/7edd9505/attachment.html>
More information about the llvm-bugs
mailing list