Jump to page: 1 2 3
Thread overview
[D-runtime] Arghhh, DLLs broken on Win32 *again*!
Mar 21, 2012
Walter Bright
Mar 21, 2012
Walter Bright
Mar 21, 2012
Brad Roberts
Mar 21, 2012
Walter Bright
Mar 21, 2012
Brad Roberts
Mar 21, 2012
Walter Bright
Mar 21, 2012
Brad Roberts
Mar 21, 2012
Walter Bright
Mar 21, 2012
Walter Bright
Mar 25, 2012
Rainer Schuetze
Mar 21, 2012
dawg
Mar 21, 2012
Walter Bright
Mar 21, 2012
dawg
Mar 21, 2012
Sean Kelly
Mar 21, 2012
dawg
Mar 21, 2012
Sean Kelly
Mar 21, 2012
Martin Nowak
Mar 21, 2012
Walter Bright
Mar 21, 2012
Martin Nowak
Mar 22, 2012
Walter Bright
Mar 21, 2012
Walter Bright
Mar 21, 2012
Sean Kelly
March 21, 2012
As we resume our regularly scheduled breakage of DLLs on Win32 with druntime changes.

..\dmd testmydll -version=DYNAMIC_LOAD

testmydll
Start Dynamic Link...
DLL_PROCESS_ATTACH
static this for mydll
object.Error: assert(0) or HLT instruction
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
The bad commit happened sometime since March 14.

Brad, can we somehow get the DLL tests into the test suite? I'm apparently the only one who runs them.

On 3/21/2012 1:23 AM, Walter Bright wrote:
> As we resume our regularly scheduled breakage of DLLs on Win32 with druntime changes.
>
> ..\dmd testmydll -version=DYNAMIC_LOAD
>
> testmydll
> Start Dynamic Link...
> DLL_PROCESS_ATTACH
> static this for mydll
> object.Error: assert(0) or HLT instruction
>
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do windows code if I can avoid it.

On 3/21/2012 1:38 AM, Walter Bright wrote:
> The bad commit happened sometime since March 14.
> 
> Brad, can we somehow get the DLL tests into the test suite? I'm apparently the only one who runs them.
> 
> On 3/21/2012 1:23 AM, Walter Bright wrote:
>> As we resume our regularly scheduled breakage of DLLs on Win32 with druntime changes.
>>
>> ..\dmd testmydll -version=DYNAMIC_LOAD
>>
>> testmydll
>> Start Dynamic Link...
>> DLL_PROCESS_ATTACH
>> static this for mydll
>> object.Error: assert(0) or HLT instruction
>>
> _______________________________________________
> D-runtime mailing list
> D-runtime@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime

_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
I was hoping to delegate!

On 3/21/2012 2:19 AM, Brad Roberts wrote:
> There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do
> windows code if I can avoid it.
>
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
Delegate away, but to someone who actually develops on windows.

On 3/21/2012 2:53 AM, Walter Bright wrote:
> I was hoping to delegate!
> 
> On 3/21/2012 2:19 AM, Brad Roberts wrote:
>> There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do windows code if I can avoid it.
>>
> _______________________________________________
> D-runtime mailing list
> D-runtime@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime

_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
Zitat von Walter Bright <walter@digitalmars.com>:

> As we resume our regularly scheduled breakage of DLLs on Win32 with druntime changes.
>
> ..\dmd testmydll -version=DYNAMIC_LOAD
>
> testmydll
> Start Dynamic Link...
> DLL_PROCESS_ATTACH
> static this for mydll
> object.Error: assert(0) or HLT instruction
> _______________________________________________
> D-runtime mailing list
> D-runtime@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime

You're apparently not referring to this HTML-unittest
http://dlang.org/dll.html#Dcode. None of it compiles,
but once it is made compiling it works.

Start Dynamic Link...
DLL_PROCESS_ATTACH
static this for mydll
Hello world!
DLL_PROCESS_DETACH
static ~this for mydll

Please post a correct way to setup a Windows dmd-dev toolchain, how to run unittest... .

test.d imports mydll.d and needs mydll's ModuleInfo, thus dynamic loading
is not possible. Have you linked the module twice?

_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
The way to compile it doesn't fit into the test harness you created.

On 3/21/2012 3:26 AM, Brad Roberts wrote:
> Delegate away, but to someone who actually develops on windows.
>
> On 3/21/2012 2:53 AM, Walter Bright wrote:
>> I was hoping to delegate!
>>
>> On 3/21/2012 2:19 AM, Brad Roberts wrote:
>>> There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do
>>> windows code if I can avoid it.
>>>
>>
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012

On 3/21/2012 5:23 AM, dawg@dawgfoto.de wrote:
>
>
> You're apparently not referring to this HTML-unittest
> http://dlang.org/dll.html#Dcode. None of it compiles,
> but once it is made compiling it works.
>
> Start Dynamic Link...
> DLL_PROCESS_ATTACH
> static this for mydll
> Hello world!
> DLL_PROCESS_DETACH
> static ~this for mydll
>
> Please post a correct way to setup a Windows dmd-dev toolchain, how to run unittest... .
>
> test.d imports mydll.d and needs mydll's ModuleInfo, thus dynamic loading
> is not possible. Have you linked the module twice?
>

I'm running the same test suite for years for DLLs. No, it is not linking things twice. Historically, it breaks badly every time someone tweaks the druntime startup code.
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
You can run arbitrary .sh files, so anything can be scripted.

On 3/21/2012 10:08 AM, Walter Bright wrote:
> The way to compile it doesn't fit into the test harness you created.
> 
> On 3/21/2012 3:26 AM, Brad Roberts wrote:
>> Delegate away, but to someone who actually develops on windows.
>>
>> On 3/21/2012 2:53 AM, Walter Bright wrote:
>>> I was hoping to delegate!
>>>
>>> On 3/21/2012 2:19 AM, Brad Roberts wrote:
>>>> There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do windows code if I can avoid it.
>>>>
>>>
> _______________________________________________
> D-runtime mailing list
> D-runtime@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime

_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

March 21, 2012
Nobody liked my .sh version of the win32 tests :-)

On 3/21/2012 10:18 AM, Brad Roberts wrote:
> You can run arbitrary .sh files, so anything can be scripted.
>
> On 3/21/2012 10:08 AM, Walter Bright wrote:
>> The way to compile it doesn't fit into the test harness you created.
>>
>> On 3/21/2012 3:26 AM, Brad Roberts wrote:
>>> Delegate away, but to someone who actually develops on windows.
>>>
>>> On 3/21/2012 2:53 AM, Walter Bright wrote:
>>>> I was hoping to delegate!
>>>>
>>>> On 3/21/2012 2:19 AM, Brad Roberts wrote:
>>>>> There should be nothing that prevents anyone from adding tests to the suite.  You don't need me to do it.  I don't do
>>>>> windows code if I can avoid it.
>>>>>
>>>>
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime

« First   ‹ Prev
1 2 3