Re: Set-up Buildbot for GDC

2017-07-05 Thread Martin Nowak via D.gnu
On Tuesday, 4 July 2017 at 22:45:45 UTC, Iain Buclaw wrote: The ARMs look good. I'm not sure about the X86_64: The 'VPS' are 'shared' but I haven't found any information what exactly they share (shared cores?). Additionally some 2016 reports say the VPS use Intel Atom cores and only the more ex

Re: gdcproject.org down for maintenance

2015-03-09 Thread Martin Nowak via D.gnu
On Saturday, 7 March 2015 at 23:40:38 UTC, Iain Buclaw wrote: Hi, Some aspects of gdcproject.org will be down for the next few hours. Should be all back up Sunday morning-ish time. This is due to work being done by the host providers that requires a reboot of the VM at a time when I will no

Re: D for embedded system

2012-10-23 Thread Martin Nowak
On Saturday, 20 October 2012 at 15:27:34 UTC, Timo Sintonen wrote: STM32F0 may be too small. Yeah probably. Are there any patches required to build a cross-gdc?

Re: D for embedded system

2012-10-20 Thread Martin Nowak
On Thu, 18 Oct 2012 13:36:45 +0200, Timo Sintonen wrote: I have written programs with C for Arm Cortex controller boards. I think that D might be an interesting nut simple enough oo language. So far I have a working gdc for my target, but I can not compile the runtime library because of

Re: Supporting emulated tls

2012-03-25 Thread Martin Nowak
On Sun, 25 Mar 2012 16:29:25 +0200, Jacob Carlborg wrote: On 2012-03-23 12:55, Martin Nowak wrote: Just another point about TLS. extern(C) /*__thread*/ int foo; At some point you want to be able to access C++ TLS variables so emulation should not replace native TLS support. So C++ TLS is

Re: Supporting emulated tls

2012-03-23 Thread Martin Nowak
On Fri, 23 Mar 2012 11:02:44 +0100, Johannes Pfau wrote: For FreeBSD, this is easy again, dtv[1] contains the size of the dtv. But that's probably nonstandard. Yeah, seems to be non-standard. There might also be issues with outdated dtv's.

Re: Supporting emulated tls

2012-03-23 Thread Martin Nowak
Just another point about TLS. extern(C) /*__thread*/ int foo; At some point you want to be able to access C++ TLS variables so emulation should not replace native TLS support.

Re: Supporting emulated tls

2012-03-23 Thread Martin Nowak
I guess the OSX emulated tls code will also be adapted to support multiple modules? I guess we can just wait until your changes are merged into DMD and then think about emulated TLS again. We're already merging since 3 month or so.

Re: Supporting emulated tls

2012-03-22 Thread Martin Nowak
On Mon, 19 Mar 2012 09:15:08 +0100, Johannes Pfau wrote: And how do we get the TLS initialization data? If we placed it into an array, like DMD does on OSX, we could use dlsym for dlopened libraries, but what about initially loaded libraries? That doesn't work because the symbols would coll

Re: Supporting emulated tls

2012-03-22 Thread Martin Nowak
On Mon, 19 Mar 2012 10:40:25 +0100, Jacob Carlborg wrote: As I understand it, in the native ELF implementation, assembly is used to access the current module id, this is for FreeBSD: http://people.freebsd.org/~marcel/tls.html This is how ___tls_get_addr is implemented on FreeBSD ELF i386:

Re: Supporting emulated tls

2012-03-22 Thread Martin Nowak
On Mon, 19 Mar 2012 16:57:29 +0100, Johannes Pfau wrote: The only way to access all loaded library is dl_iterate_phdr. But I'm not sure if it provides all necessary information. Yes it does. The drawback is that it eagerly allocates the TLS block. https://github.com/dawgfoto/druntime/blob/