Jump to page: 1 2 3
Thread overview
This week's experiment build gdc with tls disabled.
Dec 16, 2013
Iain Buclaw
Dec 16, 2013
Iain Buclaw
Dec 17, 2013
Iain Buclaw
Dec 17, 2013
John Colvin
Dec 17, 2013
Iain Buclaw
Dec 17, 2013
Iain Buclaw
Dec 17, 2013
David Nadlinger
Dec 17, 2013
Iain Buclaw
Dec 17, 2013
David Nadlinger
Dec 17, 2013
Iain Buclaw
Dec 18, 2013
Johannes Pfau
Dec 18, 2013
Iain Buclaw
Dec 18, 2013
Jacob Carlborg
Dec 19, 2013
Johannes Pfau
Dec 19, 2013
David Nadlinger
Dec 19, 2013
Johannes Pfau
Dec 20, 2013
Jacob Carlborg
Dec 20, 2013
Johannes Pfau
Dec 20, 2013
Jacob Carlborg
Dec 20, 2013
Iain Buclaw
Dec 20, 2013
David Nadlinger
Dec 20, 2013
Iain Buclaw
Dec 20, 2013
David Nadlinger
Dec 20, 2013
Jacob Carlborg
Dec 20, 2013
Johannes Pfau
Dec 20, 2013
Jacob Carlborg
Dec 19, 2013
Johannes Pfau
Dec 19, 2013
Iain Buclaw
Dec 19, 2013
Johannes Pfau
Dec 19, 2013
Iain Buclaw
December 16, 2013
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
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
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
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
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
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
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
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
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
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.
« First   ‹ Prev
1 2 3