Thread overview | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 16, 2013 This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
We really need to understand this problem first before can start merging Martin's shared library work into gdc. Running testsuite: === gdc Summary === # of expected passes 13841 # of unexpected failures 1 FAIL: runnable/testaa.d execution test Running unittests: ./libdruntime/unittest Success! ./src/unittest Floating point exception (core dumped) This has me surprised. |
December 16, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Monday, 16 December 2013 at 15:46:59 UTC, Iain Buclaw wrote: > We really need to understand this problem first before can start merging Martin's shared library work into gdc. > > Running testsuite: > > === gdc Summary === > > # of expected passes 13841 > # of unexpected failures 1 > > FAIL: runnable/testaa.d execution test > OF course, the problem that I am running into here is in the same spirit as: http://d.puremagic.com/issues/show_bug.cgi?id=11139 |
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | Gthreads and Emulated TLS are now in GDC!!! https://github.com/D-Programming-GDC/GDC/commit/62554bfe1b35ee4f586634a76c65d83ebfa871ef The bug noted above still exists, however what I am going to do is update and hook emulated TLS into the GC. |
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Tuesday, 17 December 2013 at 17:48:40 UTC, Iain Buclaw wrote:
> Gthreads and Emulated TLS are now in GDC!!!
>
> https://github.com/D-Programming-GDC/GDC/commit/62554bfe1b35ee4f586634a76c65d83ebfa871ef
>
> The bug noted above still exists, however what I am going to do is update and hook emulated TLS into the GC.
Warning, n00b question ahead:
What are the wider implications for this?
Will this fix the problems with tls for embedded targets, windows xp and os x < 10.7?
|
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 17 December 2013 18:35, John Colvin <john.loughran.colvin@gmail.com> wrote: > On Tuesday, 17 December 2013 at 17:48:40 UTC, Iain Buclaw wrote: >> >> Gthreads and Emulated TLS are now in GDC!!! >> >> >> https://github.com/D-Programming-GDC/GDC/commit/62554bfe1b35ee4f586634a76c65d83ebfa871ef >> >> The bug noted above still exists, however what I am going to do is update and hook emulated TLS into the GC. > > > Warning, n00b question ahead: > > What are the wider implications for this? > > Will this fix the problems with tls for embedded targets, windows xp and os x < 10.7? Yes. |
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
On 17 December 2013 19:08, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> On 17 December 2013 18:35, John Colvin <john.loughran.colvin@gmail.com> wrote:
>> On Tuesday, 17 December 2013 at 17:48:40 UTC, Iain Buclaw wrote:
>>>
>>> Gthreads and Emulated TLS are now in GDC!!!
>>>
>>>
>>> https://github.com/D-Programming-GDC/GDC/commit/62554bfe1b35ee4f586634a76c65d83ebfa871ef
>>>
>>> The bug noted above still exists, however what I am going to do is update and hook emulated TLS into the GC.
>>
>>
>> Warning, n00b question ahead:
>>
>> What are the wider implications for this?
>>
>> Will this fix the problems with tls for embedded targets, windows xp and os x < 10.7?
>
> Yes.
And will also make them primed and ready for shared library support too.
Native TLS support on linux will have to wait a while before I get that working... (but you could always build with --disable-tls)
|
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Tuesday, 17 December 2013 at 19:09:31 UTC, Iain Buclaw wrote:
> Native TLS support on linux will have to wait a while before I get
> that working... (but you could always build with --disable-tls)
Wait, so GDC doesn't (entirely) support native TLS on Linux?! Or are you just talking about shared libraries?
David
|
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On 17 December 2013 19:34, David Nadlinger <code@klickverbot.at> wrote:
> On Tuesday, 17 December 2013 at 19:09:31 UTC, Iain Buclaw wrote:
>>
>> Native TLS support on linux will have to wait a while before I get that working... (but you could always build with --disable-tls)
>
>
> Wait, so GDC doesn't (entirely) support native TLS on Linux?! Or are you just talking about shared libraries?
>
Shared libraries (sorry, it made sense to me when I wrote it)... The hidden subtext that you didn't understand being, I'm holding back on Martin's patches for now.
|
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Tuesday, 17 December 2013 at 20:07:41 UTC, Iain Buclaw wrote:
> The hidden subtext that you didn't understand being, I'm holding back on Martin's patches for now.
That subtext isn't exactly hidden, given the first sentence in your first post. ;)
Do you have a plan yet regarding how to implement module discovery for shared libraries? Would be a good idea to coordinate efforts and find a solution that works for all the backends, as Martin has been suggesting as well.
David
|
December 17, 2013 Re: This week's experiment build gdc with tls disabled. | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On 17 December 2013 20:12, David Nadlinger <code@klickverbot.at> wrote:
> On Tuesday, 17 December 2013 at 20:07:41 UTC, Iain Buclaw wrote:
>>
>> The hidden subtext that you didn't understand being, I'm holding back on Martin's patches for now.
>
>
> That subtext isn't exactly hidden, given the first sentence in your first post. ;)
>
> Do you have a plan yet regarding how to implement module discovery for shared libraries? Would be a good idea to coordinate efforts and find a solution that works for all the backends, as Martin has been suggesting as well.
>
Not yet, but that will be my focus after getting shared libs with emulated TLS working.
|
Copyright © 1999-2021 by the D Language Foundation