[dmd-internals] AutoTester breaking

Vladimir Panteleev thecybershadow.lists at gmail.com
Sun Nov 6 18:44:51 PST 2011


On Sun, 06 Nov 2011 21:08:58 +0200, kenji hara <k.hara.pg at gmail.com> wrote:

> - Breaking std.socket in OSX
>
>> std/socket.d(355): Error: std.c.osx.socket.IPPROTO_RAW at  
>> std/c/osx/socket.d(39) conflicts with  
>> core.sys.posix.netinet.in_.IPPROTO_RAW at  
>> ../druntime/import/core/sys/posix/netinet/in_.di(413)
>> std/socket.d(2164): Error: std.c.osx.socket.IPV6_MULTICAST_HOPS at  
>> std/c/osx/socket.d(73) conflicts with  
>> core.sys.posix.netinet.in_.IPV6_MULTICAST_HOPS at  
>> ../druntime/import/core/sys/posix/netinet/in_.di(218)
>> std/socket.d(2167): Error: std.c.osx.socket.IPV6_V6ONLY at  
>> std/c/osx/socket.d(78) conflicts with  
>> core.sys.posix.netinet.in_.IPV6_V6ONLY at  
>> ../druntime/import/core/sys/posix/netinet/in_.di(222)
>
> It seems that is symbol definition duplication.
> Unfortunately, I don't have OSX.

My access to Apple hardware is limited as well. Someone who maintains  
std.c.osx will need to look into this.

> - Breaking Phobos test in Windows
>
>> OPTLINK (R) for Win32  Release 8.00.11
>> Copyright (C) Digital Mars 1989-2010  All rights reserved.
>> http://www.digitalmars.com/ctg/optlink.html
>> ws2_32.lib
>>  Warning 2: File Not Found ws2_32.lib
>> unittest.obj(unittest)
>>  Error 42: Symbol Undefined _WSAIoctl at 36
>
> I think this is AutoTester environment problem.
> Because the all builds and tests are succeeding in my PC (Windows 7 64  
> bit).
> It is *false positive* IMO.

This is definitely a false positive. The DMD zip file contains ws2_32.lib.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the dmd-internals mailing list