Re: [lldb-dev] did anyone konw LLDB support lldb + openocd to run dotest.py in bare board like ARM or other non-x86 architecture?

2017-11-30 Thread Ramana via lldb-dev
These sort of issues I have faced in the past and in my case the
reason was I used the incorrect host triple while building LLDB (LLVM
etc).

Example:
   Assuming you are using GCC/G++ compiler to build LLVM+LLDB, I would
set the LLVM_HOST_TRIPLE to the one used in the library path and not
essentially that of the 'Target' in 'gcc -v'.

$ gcc -v

Target: i686-linux-gnu
...
$ ldd /usr/bin/gcc

libc.so.6 => /lib/i386-linux-gnu/libc.so.6
..

Now, I would set LLVM_HOST_TRIPLE to i386-linux-gnu but not i686-linux-gnu.

See if that works for you.

- Ramana

> Hi

> You mean should use “platform select remote-linux” ? I use it but also report 
> error: unable to launch a GDB server on 'debian-armhf.""'

> in-addition, you said gdb-server is “GNU GDB server” or just lldb-server 
> services ?

> Best Regards
> —cuibixiong
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Sanitizers update: The LLVM Thread Sanitizer has been ported to NetBSD

2017-11-30 Thread Kamil Rytarowski via lldb-dev
Hello,

I've finished the LLVM TSan porting:

https://blog.netbsd.org/tnf/entry/the_llvm_thread_sanitizer_has

Next goal:
Finish MSan followed by the switch to LLDB/NetBSD corrections.



signature.asc
Description: OpenPGP digital signature
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] Sanitizers update: The LLVM Thread Sanitizer has been ported to NetBSD

2017-11-30 Thread Zachary Turner via lldb-dev
Have you been able to run lldb under any sanitizers yet?
On Thu, Nov 30, 2017 at 12:24 PM Kamil Rytarowski via lldb-dev <
lldb-dev@lists.llvm.org> wrote:

> Hello,
>
> I've finished the LLVM TSan porting:
>
> https://blog.netbsd.org/tnf/entry/the_llvm_thread_sanitizer_has
>
> Next goal:
> Finish MSan followed by the switch to LLDB/NetBSD corrections.
>
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] Sanitizers update: The LLVM Thread Sanitizer has been ported to NetBSD

2017-11-30 Thread Kamil Rytarowski via lldb-dev
Yes, I can run LLDB under at least ASan and TSan.

Pity, the backend part (lldb-server) broke after refactoring the code in
recent months. I'm observing an early NULL pointer deference from NetBSD
Process Plugin - this is unrelated to the previous stability bugs that
inspired me to get the sanitizers aboard.

I will be back to LLDB once I will finish MSan.

On 30.11.2017 21:27, Zachary Turner wrote:
> Have you been able to run lldb under any sanitizers yet?
> On Thu, Nov 30, 2017 at 12:24 PM Kamil Rytarowski via lldb-dev
> mailto:lldb-dev@lists.llvm.org>> wrote:
> 
> Hello,
> 
> I've finished the LLVM TSan porting:
> 
> https://blog.netbsd.org/tnf/entry/the_llvm_thread_sanitizer_has
> 
> Next goal:
> Finish MSan followed by the switch to LLDB/NetBSD corrections.
> 
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org 
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
> 




signature.asc
Description: OpenPGP digital signature
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 35484] New: Debug server can't be built on High Sierra

2017-11-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35484

Bug ID: 35484
   Summary: Debug server can't be built on High Sierra
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: dav...@freebsd.org
CC: llvm-b...@lists.llvm.org

[1/262] Linking CXX executable bin/debugserver
FAILED: bin/debugserver
: &&
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
 -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing
-Wno-deprecated-register -Wno-vla-extension
-Wno-gnu-zero-variadic-macro-arguments -Wno-zero-length-array
-Wno-extended-offsetof -g -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -stdlib=libc++
-Wl,-sectcreate,__TEXT,__info_plist,/Users/davide/work/llvm/llvm/tools/lldb/tools/debugserver/source/../resources/lldb-debugserver-Info.plist
tools/lldb/tools/debugserver/source/CMakeFiles/debugserver.dir/debugserver.cpp.o
 -o bin/debugserver  -Wl,-rpath,@loader_path/../lib
lib/liblldbDebugserverCommon.a -framework Cocoa -framework CoreFoundation
-framework Foundation lib/liblldbDebugserverArchSupport.a
lib/liblldbDebugserverDarwin_DarwinLog.a -lcompression && cd
/Users/davide/work/llvm/build/bin && /usr/local/Cellar/cmake/3.10.0/bin/cmake
-E env
CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
codesign --force --sign lldb_codesign
/Users/davide/work/llvm/build/bin/debugserver
error: The specified item could not be found in the keychain.

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


[lldb-dev] [Bug 35484] Debug server can't be built on High Sierra

2017-11-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35484

Greg Clayton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID
 CC||clayb...@gmail.com

--- Comment #1 from Greg Clayton  ---
You need to create the lldb_codesign code signing certificate by following the
instructions at:

svn cat http://llvm.org/svn/llvm-project/lldb/trunk/docs/code-signing.txt

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


[lldb-dev] [Bug 35484] Debug server can't be built on High Sierra

2017-11-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35484

Davide Italiano  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |---

--- Comment #3 from Davide Italiano  ---
Reopening. The error message is particularly cryptic, in particular for
somebody who doesn't understand how the code signing mechanism works.
FWIW, I think this, rather than failing at link time can fail at configure time
(if possible). Then, it should point to the instructions you linked.

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


[lldb-dev] [Bug 35488] New: [Meta] tracking test suite failure on Mac OS

2017-11-30 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=35488

Bug ID: 35488
   Summary: [Meta] tracking test suite failure on Mac OS
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: dav...@freebsd.org
CC: llvm-b...@lists.llvm.org

I ran lldb on a pristine, freshly installed (stock) Mac OS High Sierra.
This is the current status of the test suite (ran through `ninja check-lldb`):

===
Test Result Summary
===
Test Methods:   2659
Reruns:6
Success:1682
Expected Failure:100
Failure:   8
Error:   510
Exceptional Exit:  0
Unexpected Success:   37
Skip:320
Timeout:   2
Expected Timeout:  0

This status makes slightly harder to push non-trivial changes in lldb, because
it's not entirely obvious how to track regressions. Let's open this PR to keep
track.

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