develooper Front page | perl.perl5.porters | Postings from January 2014

[perl #120925] Visual C 32 bits USE_64_BIT_INT won't build 5.18, new hash randomization code, missing symbol

Thread Previous
From:
Tony Cook via RT
Date:
January 8, 2014 05:00
Subject:
[perl #120925] Visual C 32 bits USE_64_BIT_INT won't build 5.18, new hash randomization code, missing symbol
Message ID:
rt-4.0.18-12892-1389157243-1698.120925-15-0@perl.org
On Fri Jan 03 19:59:13 2014, bulk88 wrote:
> Building 5.18 with USE_64_BIT_INT, with Visual C 2003 32 bits, causes a 
> build failure, which is caused by the new hash randomization code added 
> in 5.17. This is a regression since USE_64_BIT_INT probably worked in 
> the past with Visual C.
> 
...
> 
> I found adding "#pragma intrinsic(_rotl64)" to hv_func.h solved the 
> issue on for DEBUGGING and non-DEBUGGING. The msvcrt.lib included with 
> VC 2003 only has _rotl symbol, not a _rotl64 symbol. I'm not sure enough 
> about this problem to make a patch, or if any VCs other than 2003 have 
> this same problem and also can't build a 32 bit USE_64_BIT_INT due to 
> _rotl64.

I can build blead using the SDK VC for 32-bit with USE_64_BIT_INT.

I believe the SDK uses the VC 2008 tools and library.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=120925

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About