D runtime in os x dylib

Jacob Carlborg doob at me.com
Mon Jun 25 11:55:10 PDT 2012


On 2012-06-25 18:26, John Colvin wrote:
> On Monday, 25 June 2012 at 12:17:03 UTC, Jacob Carlborg wrote:
>> On 2012-06-24 16:39, John Colvin wrote:
>>> Hmm, nothing in the last 3 months. Looks like i may have to abandon os x
>>> for development at least for the near future.
>>
>> I'm not entirely sure but maybe you're having this problem:
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=7995
>>
>> Pull the latest source code from github and try that if you're using a
>> release.
>
> I'm having a nightmare getting the runtime to compile, with MODEL=64 I
> get a load of these:
>
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not void[32LU]
> src/core/simd.d(52): Error: template instance
> core.simd.Vector!(void[32LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not double[4LU]
> src/core/simd.d(53): Error: template instance
> core.simd.Vector!(double[4LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not float[8LU]
> src/core/simd.d(54): Error: template instance
> core.simd.Vector!(float[8LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not byte[32LU]
> src/core/simd.d(55): Error: template instance
> core.simd.Vector!(byte[32LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not ubyte[32LU]
> src/core/simd.d(56): Error: template instance
> core.simd.Vector!(ubyte[32LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not short[16LU]
> src/core/simd.d(57): Error: template instance
> core.simd.Vector!(short[16LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not ushort[16LU]
> src/core/simd.d(58): Error: template instance
> core.simd.Vector!(ushort[16LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not int[8LU]
> src/core/simd.d(59): Error: template instance
> core.simd.Vector!(int[8LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not uint[8LU]
> src/core/simd.d(60): Error: template instance
> core.simd.Vector!(uint[8LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not long[4LU]
> src/core/simd.d(61): Error: template instance
> core.simd.Vector!(long[4LU]) error instantiating
> src/core/simd.d(35): Error: base type of __vector must be a 16 byte
> static array, not ulong[4LU]
> src/core/simd.d(62): Error: template instance
> core.simd.Vector!(ulong[4LU]) error instantiating
>
> I tried MODEL=32 just in case and got the same but with "u" insteal of "LU"

Are you using the latest sources of DMD?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list