[llvmlinux] "make test" for x86_64 target just hung there, why?

David Woodhouse dwmw2 at infradead.org
Mon Aug 10 08:12:18 UTC 2015


On Sat, 2015-08-08 at 09:33 +0800, Peter Teoh wrote:
> On Sat, Aug 8, 2015 at 8:24 AM, Jan-Simon Moeller <dl9pf at gmx.de> wrote:
> > This is probably due to a lockup in early boot stages (16bit boot 
> > code).

I believe I did fix all of that once, except for the clang bug where it
doesn't honour -mregparm=3 for calls to intrinsics like memcpy:
https://llvm.org/bugs/show_bug.cgi?id=3997

But I'd assume llvmlinux is still carrying the patch which avoids the
issue with an explicit call to its memcpy function instead of just
doing a struct assignment and letting LLVM turn it into a memcpy?

Perhaps another such issue has arisen, though?

> so is there any way to do debugging through "-s -S" option?   

Debugging 16-bit code with gdb was relatively painful. A lot of the
time it's easier just to run it with -d in_asm and read what happened.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5691 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20150810/ea863b36/attachment.bin>


More information about the LLVMLinux mailing list