[llvm-bugs] [Bug 31436] test-suite/MultiSource/Benchmarks/MiBench/consumer-lame miscompiles for AVX-512 target starting from r289073

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31436

Zvi Rackover  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||mku...@google.com
 Resolution|--- |FIXED

--- Comment #2 from Zvi Rackover  ---
Looks like Michael fixed this one in r290260. Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 31466] New: Unexpected 4-operand DBG_VALUE instruction!

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31466

Bug ID: 31466
   Summary: Unexpected 4-operand DBG_VALUE instruction!
   Product: new-bugs
   Version: trunk
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: new bugs
  Assignee: unassignedb...@nondot.org
  Reporter: octopl...@yandex.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

% cat planar_functions-095ee9.ii
extern void fn1(int, int, int, int, int, int, int, int);
extern void fn2(int *);
void fn3() {
  fn1(0, 0, 0, 0, 0, 0, 0, 0);
  int a;
  for (;;)
fn2(&a);
}

 % /usr/local/bin/clang-4.0 -cc1 -emit-obj -debug-info-kind=limited -O2 -x c++
planar_functions-095ee9.ii
Unexpected 4-operand DBG_VALUE instruction!
UNREACHABLE executed at
/home/markus/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:807!
#0 0x7f8f52495725 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/bin/../lib/libLLVMSupport.so.40+0xfe725)
#1 0x7f8f52493206 llvm::sys::RunSignalHandlers()
(/usr/local/bin/../lib/libLLVMSupport.so.40+0xfc206)
#2 0x7f8f5249356a SignalHandler(int)
(/usr/local/bin/../lib/libLLVMSupport.so.40+0xfc56a)
#3 0x7f8f51e5ebd0 __restore_rt (/lib/libpthread.so.0+0x11bd0)
#4 0x7f8f50c220ae __GI_raise
/home/markus/glibc/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x7f8f50c23cbb __GI_abort /home/markus/glibc/stdlib/abort.c:91:0
#6 0x7f8f5241e1da (/usr/local/bin/../lib/libLLVMSupport.so.40+0x871da)
#7 0x7f8f50b67d09
(/usr/local/bin/../lib/../lib/libLLVMAsmPrinter.so.40+0x68d09)
#8 0x7f8f50b68082
llvm::DwarfDebug::collectVariableInfo(llvm::DwarfCompileUnit&,
llvm::DISubprogram const*, llvm::DenseSet,
llvm::DenseMapInfo > >&) (/usr/local/bin/../lib/../lib/libLLVMAsmPrinter.so.40+0x69082)
#9 0x7f8f50b689ec llvm::DwarfDebug::endFunction(llvm::MachineFunction
const*) (/usr/local/bin/../lib/../lib/libLLVMAsmPrinter.so.40+0x699ec)
#10 0x7f8f50b272dc llvm::AsmPrinter::EmitFunctionBody()
(/usr/local/bin/../lib/../lib/libLLVMAsmPrinter.so.40+0x282dc)
#11 0x7f8f53cfd5f9
llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&)
(/usr/local/bin/../lib/libLLVMX86CodeGen.so.40+0x4b5f9)
#12 0x7f8f5313d52c
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/usr/local/bin/../lib/libLLVMCodeGen.so.40+0x1ef52c)
#13 0x7f8f52d7ec38 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/../lib/libLLVMCore.so.40+0x177c38)
#14 0x7f8f52d7ec99 llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/../lib/libLLVMCore.so.40+0x177c99)
#15 0x7f8f52d7e320 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/../lib/libLLVMCore.so.40+0x177320)
#16 0x7f8f5174e459 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
std::unique_ptr >)
(/usr/local/bin/../lib/libclangCodeGen.so.40+0x9c459)
#17 0x7f8f51918af6
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/usr/local/bin/../lib/libclangCodeGen.so.40+0x266af6)
#18 0x7f8f4fa1dd6a clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/../lib/../lib/libclangParse.so.40+0x2cd6a)
#19 0x7f8f51913730 clang::CodeGenAction::ExecuteAction()
(/usr/local/bin/../lib/libclangCodeGen.so.40+0x261730)
#20 0x7f8f514b008e clang::FrontendAction::Execute()
(/usr/local/bin/../lib/libclangFrontend.so.40+0xc008e)
#21 0x7f8f5147579c
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/../lib/libclangFrontend.so.40+0x8579c)
#22 0x7f8f513ec8d1
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/../lib/libclangFrontendTool.so.40+0x38d1)
#23 0x0040f6b0 cc1_main(llvm::ArrayRef, char const*,
void*) (/usr/local/bin/clang-4.0+0x40f6b0)
#24 0x0040ad1e main (/usr/local/bin/clang-4.0+0x40ad1e)
#25 0x7f8f50c0c331 __libc_start_main
/home/markus/glibc/csu/../csu/libc-start.c:320:0
#26 0x0040be1a _start
/home/markus/glibc/csu/../sysdeps/x86_64/start.S:122:0
Stack dump:
0.  Program arguments: /usr/local/bin/clang-4.0 -cc1 -emit-obj
-debug-info-kind=limited -O2 -x c++ planar_functions-095ee9.ii
1.   parser at end of file
2.  Code generation
3.  Running pass 'Function Pass Manager' on module
'planar_functions-095ee9.ii'.
4.  Running pass 'X86 Assembly Printer' on function '@_Z3fn3v'
[1]17538 abort  /usr/local/bin/clang-4.0 -cc1 -emit-obj
-debug-info-kind=limited -O2 -x c++

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 31467] New: Crash when linking a G++-6 compiled project

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31467

Bug ID: 31467
   Summary: Crash when linking a G++-6 compiled project
   Product: lld
   Version: unspecified
  Hardware: Macintosh
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: MachO
  Assignee: unassignedb...@nondot.org
  Reporter: akim.demai...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 17781
  --> https://llvm.org/bugs/attachment.cgi?id=17781&action=edit
self-generated snapshots

Hi!

I'm not sure whether this is the appropriate place to report a bug from Apple's
linker:

$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-274.2
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h
armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.0.0, (clang-800.0.42.1)
TAPI support using: Apple TAPI version 1.30

Please, don't shoot if it's the wrong place.

My project uses heavily templates, and Boost.  For a long while, I was not able
to compile it with GCC on macOS because of incompatibility of the
implementation of the C++ library with which Boost.Python was compiled, but
finally, it works!  Well, sort-of: it compiles, but it fails when it links
either of the three monster shared object of my project.

  CXX  lib/ctx/lib_liblal_char_z_la-libctx.lo
  CXXLDlib/liblal_char_z.la
0  0x1069ec608  __assert_rtn + 144
1  0x1069ffa1b 
mach_o::relocatable::Parser::parse(mach_o::relocatable::ParserOptions
const&) + 3195
2  0x1069f7572  mach_o::relocatable::Parser::parse(unsigned char
const*, unsigned long long, char const*, long, ld::File::Ordinal,
mach_o::relocatable::ParserOptions const&) + 342
3  0x106a38a9c  ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool)
+ 824
4  0x106a3b2fb  ld::tool::InputFiles::parseWorkerThread() + 495
5  0x7fffb150baab  _pthread_body + 180
6  0x7fffb150b9f7  _pthread_body + 0
A linker snapshot was created at:
/tmp/liblal_char_z.0.dylib-2016-11-25-141702.ld-snapshot
ld: Assertion failed: (cfiStartsArray[i] != cfiStartsArray[i-1]), function
parse, file
/Library/Caches/com.apple.xbs/Sources/ld64/ld64-274.2/src/ld/parsers/macho_relocatable_file.cpp,
line 1893.
collect2: error: ld returned 1 exit status
Makefile:2412 : la recette pour la cible « lib/liblal_char_z.la » a échouée

I'm attaching these directories.  Please, let me know what else you need.

Cheers!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 31466] Unexpected 4-operand DBG_VALUE instruction!

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31466

octoploid  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from octoploid  ---
Seems to be fixed in latest git.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 31467] Crash when linking a G++-6 compiled project

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31467

Anton Korobeynikov  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||an...@korobeynikov.info
 Resolution|--- |INVALID

--- Comment #1 from Anton Korobeynikov  ---
Please report all the problems with Apple-provided tools to Apple bugtracker.
LLVM project is not connected with Apple's ld64.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 31457] UB when shifting at llvm/lib/Fuzzer/FuzzerTracePC.cpp:73

2016-12-25 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=31457

Kostya Serebryany  changed:

   What|Removed |Added

 CC||k...@google.com
 Resolution|INVALID |FIXED

--- Comment #3 from Kostya Serebryany  ---
Yep. We've found it ourselves and fixed in 
http://llvm.org/viewvc/llvm-project?view=revision&revision=289607

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs