Hi Chris, Can you tell me which line numbers you placed these pragmas at. I'm working on some fixes for the Windows CE support, mainly to support the newer compiler and SDKs, and can incorporate these changes.
I've been building 0.9.7d recently with PPC2003 and haven't encountered any problems, however I've been doing debug builds so the optimiser probably hasn't come into play. Regards, Steven -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Brook Sent: Friday, 2 April 2004 1:57 AM To: [EMAIL PROTECTED] Subject: RE: OpenSSL 0.9.7c Pocket PC 2003 Compile Error Following up on this Pocket PC2003 problem report for any other developers who have encountered similar problems, we have contacted Microsoft and got a workaround as listed below. We applied the #pragma to "rs2_setkey.c" and everything now compiles and runs correctly. ---------------------------------------------- >From Microsoft tech support: I am able to see the problem here. The problem is with the optimizer for ARMV4. The specific optimizations that cause the problem are in the global optimizations. This is being considered for a fix in a future release of the compiler. For the current release, we have a workaround as follows. Turn off the global optimizations for the specific block of code that is suspected to throw up this compiler error. You can do this by placing the block of "suspect" code within #pragma optimize( "g", off ) . . // suspect code here . #pragma optimize( "g", on ) If using the above concept, you can keep all optimizations turned on for the rest of your project. ----------------------------------------------------- Hopes this helps. Chris Brook -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Reddie Sent: Thursday, March 18, 2004 7:49 PM To: [EMAIL PROTECTED] Subject: RE: OpenSSL 0.9.7c Pocket PC 2003 Compile Error Hi Chris, I haven't seen that particular error before, but I have seen reports of problems with PPC2003. Try removing the /Gs0 option from the makefile are rebuild. It will probably be somewhere under wcecompat or OpenSSL's util, util/pl, or ms directories. Regards, Steven -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Brook Sent: Friday, 19 March 2004 8:00 AM To: Openssl-Dev (E-mail) Subject: OpenSSL 0.9.7c Pocket PC 2003 Compile Error When compiling OpensSSL 0.9.7c for Pocket PC 2003 using Microsoft EVC 4.0 SP2 with ARMV4 CPU option, we got the following compilation error sequence: clarm.exe /Fotmp32_ARMV4\rc2_skey.obj -Iinc32 -Itmp32_ARMV4 /W3 /WX /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWCEPLATFORM=MS_POCKET_PC_2003 -DARM -DUNDER_CE=420 -D_WIN32_CE=420 -DUNICODE -D_UNICODE -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -Ic:\openssllib\openssl-0.9.7c-WinCE\wcecompat/include /Fdout32_ARMV4 -DOPENSSL_NO_KRB5 -c .\crypto\rc2\rc2_skey.c Command line warning D4002 : ignoring unknown option '/Gs0' rc2_skey.c c:\openssllib\openssl-0.9.7c-wince\crypto\rc2\rc2_skey.c(137) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'D:\vcmckendric\compiler\utc\src\P2\main.c', line 148) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information NMAKE : fatal error U1077: 'clarm.exe' : return code '0x2' Stop. Has anybody else tried compiling Pocket PC2003 with 0.9.7c? Any problem like this? Any suggested solution? Chris Brook V-ONE ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
