Pelles C forum

Pelles C => Bug reports => Topic started by: vszakats on July 14, 2009, 07:12:03 PM

Title: POLINK: error: Unresolved external symbol 'InterlockedCompareExchange'. [x64]
Post by: vszakats on July 14, 2009, 07:12:03 PM
Hi All,

InterlockedCompareExchange is missing from 64-bit Windows libs, although
it's present in the headers.

Brgds,
Viktor

Update [2009-08-13]:

Our FOSS app retested with 6.0 *release* version:

- Our win64 build stops with missing symbol __WSAFDIsSet() at link phase (AFAIR I've reported something similar for 5.0)
- Quick lookup shows InterlockedCompareExchange() is still missing from win64 libs.
- In win32, without any cmdline options, I'm getting this compiler internal error:
   sha2.c(428): fatal error: Internal error: find_cheapest_spill_range().
   Source code is available here:
   http://www.ouah.org/ogay/sha2/sha2.tar.gz

Title: Re: POLINK: error: Unresolved external symbol 'InterlockedCompareExchange'. [x64]
Post by: nicolas.sitbon on July 14, 2009, 11:36:53 PM
I confirm the bug in pelles 5 (64 bits) at least, even with pelles C extensions enabled.