Re: [lldb-dev] How to link lldb on i386

2016-05-24 Thread Pavel Labath via lldb-dev
Is it only lldb-server you are having problems with? (i.e., are you
able to link liblldb.so?)

If so, then you might be able to make it link by reducing the number
of things that go into it. Right now lldb-server uses only a fraction
of its linker input, but we still need to pass in everything (and rely
on linker garbage collection to make sense of it) because it is not
possible to make a clear cut. This has several problems, most
important being that it is very easy to drastically increase the size
of the executable by random code perturbations. Being able to remove
all of clang from linker inputs would be a massive improvement, and it
would solve your problem as well. However, it is not going to be
easy...

pl


On 23 May 2016 at 22:28, Zachary Turner via lldb-dev
 wrote:
> cross building on a 64-bit machine using a 64-bit toolchain is what we have
> to do on Windows.
>
> On Mon, May 23, 2016 at 2:21 PM Greg Clayton via lldb-dev
>  wrote:
>>
>> Don't generate debug info would be one that comes to mind. The other is to
>> cross build for i386 on a 64 bit machine.
>>
>> Greg
>>
>> > On May 22, 2016, at 3:36 AM, Sylvestre Ledru via lldb-dev
>> >  wrote:
>> >
>> > Hello,
>> >
>> > Lately, I haven't been able to link lldb because it uses too much
>> > memory:
>> >
>> > /usr/bin/ld: final link failed: Memory exhausted
>> >
>> > As reported here:
>> >
>> > https://llvm.org/bugs/show_bug.cgi?id=27237
>> >
>> >
>> > (yes, I use shared libraries)
>> >
>> > Any workaround?
>> >
>> > Thanks,
>> > Sylvestre
>> > PS: please cc me !
>> >
>> > ___
>> > 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
>
>
> ___
> 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] How to link lldb on i386

2016-05-24 Thread Siva Chandra via lldb-dev
We hit similar problems in the past when building with debug info
enabled; using -gsplit-dwarf helped us.

On Sun, May 22, 2016 at 3:36 AM, Sylvestre Ledru via lldb-dev
 wrote:
> Hello,
>
> Lately, I haven't been able to link lldb because it uses too much memory:
>
> /usr/bin/ld: final link failed: Memory exhausted
>
> As reported here:
> https://llvm.org/bugs/show_bug.cgi?id=27237
>
> (yes, I use shared libraries)
>
> Any workaround?
>
> Thanks,
> Sylvestre
> PS: please cc me !
>
>
> ___
> 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] How to link lldb on i386

2016-05-24 Thread Kamil Rytarowski via lldb-dev
I had similar problems on NetBSD/amd64 - using standalone builds helped
me. I'm building and installing LLVM, Clang and LLDB separately. It may
help on i386.

Also there might be a problem with using too many jobs. Try to build
with -j1.

On 24.05.2016 20:01, Siva Chandra via lldb-dev wrote:
> We hit similar problems in the past when building with debug info
> enabled; using -gsplit-dwarf helped us.
> 
> On Sun, May 22, 2016 at 3:36 AM, Sylvestre Ledru via lldb-dev
>  wrote:
>> Hello,
>>
>> Lately, I haven't been able to link lldb because it uses too much memory:
>>
>> /usr/bin/ld: final link failed: Memory exhausted
>>
>> As reported here:
>> https://llvm.org/bugs/show_bug.cgi?id=27237
>>
>> (yes, I use shared libraries)
>>
>> Any workaround?
>>
>> Thanks,
>> Sylvestre
>> PS: please cc me !
>>
>>
>> ___
>> 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
> 

___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 27861] New: TestObjCMethods2.py - test_NSString_expr_commands_gmodules() fails

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27861

Bug ID: 27861
   Summary: TestObjCMethods2.py -
test_NSString_expr_commands_gmodules() fails
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Once http://reviews.llvm.org/D19998 lands, this test is failing when using
gmodules debugging info, on OS X 10.11.5 with the top of tree clang.

-- 
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 27862] New: TestRuntimeTypes.py test_break_gmodules() fails on OS X

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27862

Bug ID: 27862
   Summary: TestRuntimeTypes.py test_break_gmodules() fails on OS
X
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

When http://reviews.llvm.org/D19998 lands, test_break_gmodules() will fail on
OS X 10.11.5 using the top of tree clang compiler.

-- 
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 27863] New: TestGlobalVariables.py test_c_global_variables_gmodules() fails on OS X

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27863

Bug ID: 27863
   Summary: TestGlobalVariables.py
test_c_global_variables_gmodules() fails on OS X
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Once http://reviews.llvm.org/D19998 lands, test_c_global_variables_gmodules()
is not passing when using gmodules debug info.

-- 
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 27863] TestGlobalVariables.py test_c_global_variables_gmodules() fails on OS X

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27863

Todd Fiala  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Todd Fiala  ---


*** This bug has been marked as a duplicate of bug 25872 ***

-- 
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 27864] New: TestTopLevelExprs.py test_top_level_expressions_gmodules() fails on OS X

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27864

Bug ID: 27864
   Summary: TestTopLevelExprs.py
test_top_level_expressions_gmodules() fails on OS X
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Once http://reviews.llvm.org/D19998 lands,
test_top_level_expressions_gmodules() fails.This is only happening with
gmodules debug info.

-- 
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] [Attn: Bot Owners!] Raising CMake minimum version to 3.4.3

2016-05-24 Thread Chris Bieneman via lldb-dev
Meant to send this yesterday, but I want to remind everyone that we’re going to 
be raising the CMake minimum version to 3.4.3 next week.

If you maintain bots please ensure that your bots are updated by end of day 
5/29 so that we can move on 5/30 (next Monday).

I have already heard from most bot owners either saying they had made the 
change, or scheduled to make it.

If you have any questions or concerns please let me know.

Thank you,
-Chris
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] [cfe-dev] [Attn: Bot Owners!] Raising CMake minimum version to 3.4.3

2016-05-24 Thread Eric Fiselier via lldb-dev
Upgraded the libc++ bots.

On Tue, May 24, 2016 at 2:54 PM, Chris Bieneman via cfe-dev <
cfe-...@lists.llvm.org> wrote:

> Meant to send this yesterday, but I want to remind everyone that we’re
> going to be raising the CMake minimum version to 3.4.3 next week.
>
> If you maintain bots please ensure that your bots are updated by end of
> day 5/29 so that we can move on 5/30 (next Monday).
>
> I have already heard from most bot owners either saying they had made the
> change, or scheduled to make it.
>
> If you have any questions or concerns please let me know.
>
> Thank you,
> -Chris
> ___
> cfe-dev mailing list
> cfe-...@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 27865] New: DeadStripTest.py test_gmodules() fails on Linux x86_64

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27865

Bug ID: 27865
   Summary: DeadStripTest.py test_gmodules() fails on Linux x86_64
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

When http://reviews.llvm.org/D19998 lands: on Ubuntu 14.04 x86_64, using top of
tree clang, DeadStripTestCase.test_gmodules() fails.

-- 
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 27868] New: Evaluating JITed expressions on arm cannot handle hard float ABI

2016-05-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27868

Bug ID: 27868
   Summary: Evaluating JITed expressions on arm cannot handle hard
float ABI
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: omair.jav...@linaro.org
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Following tests failing on arm hardware platform:
TestCallUserAnonTypedef.py
TestIRInterpreter.py

JiTed expressions do not take into account arm hard float ABI and thus fail
when we are debugging armhf targets.

Also we do not handle return values of JiTed expressions when they are returned
in double or single precision floating point registers.

-- 
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


Re: [lldb-dev] [Attn: Bot Owners!] Raising CMake minimum version to 3.4.3

2016-05-24 Thread Kamil Rytarowski via lldb-dev
On 24.05.2016 22:54, Chris Bieneman via lldb-dev wrote:
> Meant to send this yesterday, but I want to remind everyone that we’re going 
> to be raising the CMake minimum version to 3.4.3 next week.
> 
> If you maintain bots please ensure that your bots are updated by end of day 
> 5/29 so that we can move on 5/30 (next Monday).
> 
> I have already heard from most bot owners either saying they had made the 
> change, or scheduled to make it.
> 
> If you have any questions or concerns please let me know.
> 
> Thank you,
> -Chris
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
> 

3.4.3 in LLDB? Lately we moved to 2.8.12.2 in the CMakeLists.txt files.

netbsd7 currently runs with cmake-3.3.1, I will update during the weekend.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] netbsd7 buildbot broken

2016-05-24 Thread Kamil Rytarowski via lldb-dev
http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/4296

It looks like after this build, scripts for bots were altered to require
clang + clang++? I'm using the GNU toolchain. Could we please revert
this enforcement?
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] netbsd7 buildbot broken

2016-05-24 Thread Zachary Turner via lldb-dev
There's no CMake change in any of these patches.  It looks like something
is wrong with your bot.

On Tue, May 24, 2016 at 5:14 PM Kamil Rytarowski via lldb-dev <
lldb-dev@lists.llvm.org> wrote:

> http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/4296
>
> It looks like after this build, scripts for bots were altered to require
> clang + clang++? I'm using the GNU toolchain. Could we please revert
> this enforcement?
> ___
> 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] netbsd7 buildbot broken

2016-05-24 Thread Kamil Rytarowski via lldb-dev
There is a change in build scripts from buildbot farm:

+ cmake -GNinja -DCMAKE_BUILD_TYPE=Release
/home/motus/build/build/scripts/../llvm -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++

A commit earlier it was:

+ cmake -GNinja -DCMAKE_BUILD_TYPE=Release
/home/motus/build/build/scripts/../llvm -DCMAKE_C_COMPILER=gcc
-DCMAKE_CXX_COMPILER=g++ -DLLDB_DISABLE_CURSES:BOOL=FALSE

On 25.05.2016 02:22, Zachary Turner wrote:
> There's no CMake change in any of these patches.  It looks like
> something is wrong with your bot.
> 
> On Tue, May 24, 2016 at 5:14 PM Kamil Rytarowski via lldb-dev
> mailto:lldb-dev@lists.llvm.org>> wrote:
> 
> http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/4296
> 
> It looks like after this build, scripts for bots were altered to require
> clang + clang++? I'm using the GNU toolchain. Could we please revert
> this enforcement?
> ___
> 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