[pypy-dev] .NET build failures

Ben.Young at risk.sungard.com Ben.Young at risk.sungard.com
Thu Jul 20 15:08:02 CEST 2006


To reply to myself :)

The problem appears to be in the _check function in opcodes.py. This 
generates a number for the jump at opcode creation time. Therefore, if an 
opcode is used twice in a block then you get the error.

I guess the solution would be to create a "_check" micro instruction that 
increments the count on render. I'm afraid I haven't got time to actually 
do that myself though.

Cheers,
Ben


pypy-dev-bounces at codespeak.net wrote on 20/07/2006 08:29:07:

> Hi Antocuni,
> 
> I ran the .NET build last night and it got a lot further. The errors I 
get 
> now are:
> 
> [translation:ERROR] ***** FAILURE *****
> [translation:ERROR]
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(66076) : error 
-- 
> Duplicate label: '__check_block_5'
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(372039) : error 
-- 
> Duplicate label: '__check_block_5'
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(821924) : error 
-- 
> Duplicate label: '__check_block_7'
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(821985) : error 
-- 
> Duplicate label: '__check_block_3'
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(822900) : error 
-- 
> Duplicate label: '__check_block_7'
> [translation:ERROR] 
> c:\docume~1\ben~1.you\locals~1\temp\usession-16\main.il(822961) : error 
-- 
> Duplicate label: '__check_block_3'
> 
> I also notice that you appear to have identifiers with hundreds of 
> underscores appended. Is this expected?
> 
> [translation:ERROR] Assembled global method 
> 
memo_get_unique_interplevel_subclass_4______________________________________________________________________________
> 
________________________________________________________________________________________________________________________________________________________________
> 
________________________________________________________________________________________________________________________________________________________________
> ____________________________________
> 
> Cheers,
> Ben
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
> 




More information about the Pypy-dev mailing list