Your message dated Fri, 24 Dec 2021 17:52:27 +0100
with message-id <[email protected]>
and subject line fixed upstream
has caused the Debian Bug report #737275,
regarding Clang crashes on SPARC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
737275: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737275
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang
Version: 1.3.0-6.2

Invoking clang on any 'c' file including <stdlib.h> crashes the
compiler with a "Bus Error" and a backtrace. Crash log is below.

-Richard

""""""""""""""""""""""""""""""""""""

rsaxvc@home:~/code$ cat test.c
#include <stdlib.h>
rsaxvc@home:~/code$ clang test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
0  libLLVM-3.0.so.1 0xf7704cd0
1  libpthread.so.0  0xf69850b8
2  clang            0x00998bb8
3  clang            0x00999d3c
4  clang            0x00999f58
clang::Expr::Evaluate(clang::Expr::EvalResult&, clang::ASTContext
const&) const + 24
5  clang            0x0099b144
clang::Expr::isIntegerConstantExpr(llvm::APSInt&, clang::ASTContext&,
clang::SourceLocation*, bool) const + 100
6  clang            0x009880dc
clang::Expr::isNullPointerConstant(clang::ASTContext&,
clang::Expr::NullPointerConstantValueDependence) const + 604
7  clang            0x00550440
clang::Sema::PrepareScalarCast(clang::ActionResult<clang::Expr*,
true>&, clang::QualType) + 1184
8  clang            0x0046e3e8
clang::Sema::BuildCStyleCastExpr(clang::SourceLocation,
clang::TypeSourceInfo*, clang::SourceLocation, clang::Expr*) + 2952
9  clang            0x00565838
clang::Sema::ActOnCastExpr(clang::Scope*, clang::SourceLocation,
clang::Declarator&, clang::OpaquePtr<clang::QualType>&,
clang::SourceLocation, clang::Expr*) + 344
10 clang            0x00430968
clang::Parser::ParseParenExpression(clang::Parser::ParenParseOption&,
bool, bool, clang::OpaquePtr<clang::QualType>&,
clang::SourceLocation&) + 2696
11 clang            0x0042c288
clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 1608
12 clang            0x0042e768
clang::Parser::ParseCastExpression(bool, bool, bool) + 40
13 clang            0x0042f0f8 clang::Parser::ParseAssignmentExpression() + 56
14 clang            0x0042fe94 clang::Parser::ParseExpression() + 20
15 clang            0x004306b4
clang::Parser::ParseParenExpression(clang::Parser::ParenParseOption&,
bool, bool, clang::OpaquePtr<clang::QualType>&,
clang::SourceLocation&) + 2004
16 clang            0x0042c288
clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 1608
17 clang            0x0042e768
clang::Parser::ParseCastExpression(bool, bool, bool) + 40
18 clang            0x0042f0f8 clang::Parser::ParseAssignmentExpression() + 56
19 clang            0x0042fe94 clang::Parser::ParseExpression() + 20
20 clang            0x004306b4
clang::Parser::ParseParenExpression(clang::Parser::ParenParseOption&,
bool, bool, clang::OpaquePtr<clang::QualType>&,
clang::SourceLocation&) + 2004
21 clang            0x00432044
clang::Parser::ParseExprAfterUnaryExprOrTypeTrait(clang::Token const&,
bool&, clang::OpaquePtr<clang::QualType>&, clang::SourceRange&) + 420
22 clang            0x00411594
clang::Parser::ParseTypeofSpecifier(clang::DeclSpec&) + 84
23 clang            0x00417098
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext) + 728
24 clang            0x004188fc
clang::Parser::ParseSimpleDeclaration(clang::ASTOwningVector<clang::Stmt*,
32u>&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&,
bool, clang::Parser::ForRangeInit*) + 348
25 clang            0x00418b54
clang::Parser::ParseDeclaration(clang::ASTOwningVector<clang::Stmt*,
32u>&, unsigned int, clang::SourceLocation&,
clang::Parser::ParsedAttributesWithRange&) + 116
26 clang            0x00402700
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::Parser::ParsingDeclSpec*) + 1024
27 clang            0x004033b0
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&)
+ 176
28 clang            0x003d97f8 clang::ParseAST(clang::Sema&, bool) + 248
29 clang            0x002b7b60 clang::CodeGenAction::ExecuteAction() + 32
30 clang            0x001c3c04 clang::FrontendAction::Execute() + 292
31 clang            0x001a9fe4
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 356
32 clang            0x001915c8
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1032
33 clang            0x00189a7c cc1_main(char const**, char const**,
char const*, void*) + 924
34 clang            0x00187a34 main + 2228
35 libc.so.6        0xf65b8e4c __libc_start_main + 268
36 clang            0x0018954c _start + 44
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple
sparc-unknown-linux-gnu -S -disable-free -disable-llvm-verifier
-main-file-name test.c -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -msoft-float -target-feature +soft-float
-target-linker-version 2.22 -momit-leaf-frame-pointer -resource-dir
/usr/bin/../lib/clang/3.0 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.0/include
-internal-externc-isystem /usr/include/sparc-linux-gnu
-internal-externc-isystem /usr/include -ferror-limit 19
-fmessage-length 112 -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/test-O9U962.s -x c test.c
1.      /usr/include/clang/3.0/include/stddef.h:31:28: current parser token ')'
clang: error: unable to execute command: Bus error
clang: error: clang frontend command failed due to signal 2 (use -v to
see invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all
diagnostic information.
clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/test-R6d9n5.i
rsaxvc@home:~/code$

""""""""""""""""""""""""""""""""""""""""""""

--- End Message ---
--- Begin Message ---
fixed 737275
thanks

--- End Message ---

Reply via email to