[llvm-bugs] [Bug 48654] New: Compilation problem for target arm-v8_5a-pc-win32.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 4 11:40:31 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48654
Bug ID: 48654
Summary: Compilation problem for target arm-v8_5a-pc-win32.
Product: libraries
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: eric at andante.org
CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
Ties.Stuij at arm.com
Created attachment 24338
--> https://bugs.llvm.org/attachment.cgi?id=24338&action=edit
Testcase
I am getting a compilation problem when compiling for 32-bit ARM. The
stacktrace below is for a debug build. In a release build, I get a different
failure, but without a really useful stacktrace, but it is in the pass "ARM
Instruction Selection".
..\..\..\llvm-project-11.0.0\build\Release\bin\llc cxa_demangle.bc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0. Program arguments:
..\..\..\llvm1100\llvm-project-11.0.0\build\Debug\bin\llc cxa_demangle.bc
1. Running pass 'Function Pass Manager' on module 'cxa_demangle.bc'.
2. Running pass 'Expand Atomic instructions' on function '@__cxa_demangle'
#0 0x79e2b020 (C:\WINDOWS\SYSTEM32\ucrtbased.dll+0x8b020)
#1 0x79e2db3c (C:\WINDOWS\SYSTEM32\ucrtbased.dll+0x8db3c)
#2 0x79e2e110 (C:\WINDOWS\SYSTEM32\ucrtbased.dll+0x8e110)
#3 0x0319b11f llvm::SmallVectorImpl<class llvm::LLT>::~SmallVectorImpl<class
llvm::LLT>(void)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\include\llvm\adt\smallvector.h:382:0
#4 0x03413c20 llvm::SmallVector<class llvm::LLT,4>::~SmallVector<class
llvm::LLT,4>(void)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\include\llvm\adt\smallvector.h:891:0
#5 0x04c51546
<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>::~<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>
(C:\Users\eyoungdale\work\llvm1100\llvm-project-11.0.0\build\Debug\bin\llc.exe+0x40e1546)
#6 0x04c51739
std::_Func_impl_no_alloc<<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>,bool,llvm::LegalityQuery
const
&>::~_Func_impl_no_alloc<<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>,bool,llvm::LegalityQuery
const &>
(C:\Users\eyoungdale\work\llvm1100\llvm-project-11.0.0\build\Debug\bin\llc.exe+0x40e1739)
#7 0x04c534c6
std::_Func_impl_no_alloc<<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>,bool,llvm::LegalityQuery
const &>::`scalar deleting destructor'
(C:\Users\eyoungdale\work\llvm1100\llvm-project-11.0.0\build\Debug\bin\llc.exe+0x40e34c6)
#8 0x04c54578
std::_Func_impl_no_alloc<<lambda_6c8c790d9dcdf1179f8f3ee7595a0b95>,bool,llvm::LegalityQuery
const &>::_Delete_this c:\program files (x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.16.27023\include\functional:1241:0
#9 0x013ff816 std::_Func_class<bool,struct llvm::LegalityQuery const
&>::_Tidy(void) c:\program files (x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.16.27023\include\functional:1391:0
#10 0x013f5f36 std::_Func_class<bool,struct llvm::LegalityQuery const
&>::~_Func_class<bool,struct llvm::LegalityQuery const &>(void) c:\program
files (x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.16.27023\include\functional:1272:0
#11 0x013f61b6 std::function<bool >::~function<bool >(void) c:\program files
(x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.16.27023\include\list:981:0
#12 0x013f2fed llvm::LegalityPredicates::all<class std::function<bool > >(class
std::function<bool >,class std::function<bool >)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\include\llvm\codegen\globalisel\legalizerinfo.h:198:0
#13 0x013ffcd6 llvm::LegalizeRuleSet::actionForCartesianProduct(enum
llvm::LegalizeActions::LegalizeAction,class std::initializer_list<class
llvm::LLT>,class std::initializer_list<class llvm::LLT>)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\include\llvm\codegen\globalisel\legalizerinfo.h:489:0
#14 0x01401388 llvm::LegalizeRuleSet::legalForCartesianProduct(class
std::initializer_list<class llvm::LLT>,class std::initializer_list<class
llvm::LLT>)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\include\llvm\codegen\globalisel\legalizerinfo.h:566:0
#15 0x01a22541 llvm::ARMLegalizerInfo::ARMLegalizerInfo(class
llvm::ARMSubtarget const &)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\target\arm\armlegalizerinfo.cpp:87:0
#16 0x018faf13 llvm::ARMSubtarget::ARMSubtarget(class llvm::Triple const
&,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
llvm::ARMBaseTargetMachine const &,bool,bool)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\target\arm\armsubtarget.cpp:114:0
#17 0x018cddfa std::make_unique<class llvm::ARMSubtarget,class llvm::Triple
const &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > &,class
llvm::ARMBaseTargetMachine const &,bool const &,bool,0>(class llvm::Triple
const &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > &,class
llvm::ARMBaseTargetMachine const &,bool const &,bool &&) c:\program files
(x86)\microsoft visual
studio\2017\professional\vc\tools\msvc\14.16.27023\include\memory:2539:0
#18 0x018ca602 llvm::ARMBaseTargetMachine::getSubtargetImpl(class
llvm::Function const &)const
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\target\arm\armtargetmachine.cpp:295:0
#19 0x031ab783 `anonymous namespace'::AtomicExpand::runOnFunction
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\codegen\atomicexpandpass.cpp:172:0
#20 0x037ea022 llvm::FPPassManager::runOnFunction(class llvm::Function &)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\ir\legacypassmanager.cpp:1516:0
#21 0x037ea30a llvm::FPPassManager::runOnModule(class llvm::Module &)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\ir\legacypassmanager.cpp:1552:0
#22 0x037ead62 `anonymous namespace'::MPPassManager::runOnModule
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\ir\legacypassmanager.cpp:1617:0
#23 0x037eb615 llvm::legacy::PassManagerImpl::run(class llvm::Module &)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\ir\legacypassmanager.cpp:614:0
#24 0x037e570d llvm::legacy::PassManager::run(class llvm::Module &)
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\lib\ir\legacypassmanager.cpp:1738:0
#25 0x00e422ff compileModule
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\tools\llc\llc.cpp:653:0
#26 0x00e43130 main
c:\users\eyoungdale\work\llvm1100\llvm-project-11.0.0\llvm\tools\llc\llc.cpp:360:0
#27 0x052ace0e invoke_main
d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78:0
#28 0x052acca7 _scrt_common_main_seh
d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
#29 0x052acb3d _scrt_common_main
d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331:0
#30 0x052ace88 mainCRTStartup
d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17:0
#31 0x76746359 (C:\WINDOWS\System32\KERNEL32.DLL+0x16359)
#32 0x77268944 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x68944)
#33 0x77268914 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x68914)
--
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/20210104/5a016480/attachment.html>
More information about the llvm-bugs
mailing list