Antw: failure to build 'Release' under OS X 10.5.9 under Xcode 2.4.1 w/gcc 4.0

17 views
Skip to first unread message

v.miethe

unread,
May 2, 2007, 4:56:11 AM5/2/07
to Nearly Random, Crypto++ Users
Hi,

seems to be an error with asm pentium optimization.
for me it worked to set "CRYPTOPP_DISABLE_X86ASM" in Preprocessor Makros for the Release-Build.

Mac OS X: 10.4.9
GCC: 4.0.1
Xcode: 2.4.1

Regards


------------------------------
Nearly Random <cjhe...@comcast.net>
schrieb am 01.05.2007 20:33

>
> Has anyone witnessed this error - last entries in compiler output?
> Most warnings seem OK - just warnings. But compiler seems to think
> something fatal is really wrong with integer.c. Compiles and links
> into static OR dynlib under 'Debug' release just fine.
>
> =====================================================================================
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> algparam.h:26: warning: unused variable 'cryptopp_assert_26'
> cryptlib.cpp:19: warning: 'CryptoPP::cryptopp_assert_19' defined but
> not used
> cryptlib.cpp:20: warning: 'CryptoPP::cryptopp_assert_20' defined but
> not used
> cryptlib.cpp:21: warning: 'CryptoPP::cryptopp_assert_21' defined but
> not used
> cryptlib.cpp:23: warning: 'CryptoPP::cryptopp_assert_23' defined but
> not used
> cryptlib.cpp:26: warning: 'CryptoPP::cryptopp_assert_26' defined but
> not used
> default.cpp:86: warning: unused variable 'cryptopp_assert_1'
> default.cpp:87: warning: unused variable 'cryptopp_assert_2'
> fipstest.cpp:32: warning: 'CryptoPP::cryptopp_assert_32' defined but
> not used
> idea.cpp:14: warning: 'CryptoPP::cryptopp_assert_14' defined but not
> used
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:147: warning: unused variable 'cryptopp_assert_147'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> misc.h:825: warning: unused variable 'cryptopp_assert_825'
> network.cpp:18: warning: unused variable 'curTime'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> pubkey.h:1057: warning: unused variable 'alg'
> integer.cpp:1181: warning: control reaches end of non-void function
> integer.cpp:1181: warning: no return statement in function returning
> non-void
> integer.cpp:1219: warning: control reaches end of non-void function
> integer.cpp:1219: warning: no return statement in function returning
> non-void
> integer.cpp:1268: warning: control reaches end of non-void function
> integer.cpp:1268: warning: no return statement in function returning
> non-void
> integer.cpp:1315: warning: control reaches end of non-void function
> integer.cpp:1315: warning: no return statement in function returning
> non-void
> integer.cpp:0: Command /usr/bin/gcc-4.0 failed with exit code 1
> =====================================================================================
>
>
> >

Nearly Random

unread,
May 2, 2007, 4:06:34 PM5/2/07
to Crypto++ Users
Perfect! That worked great. Though I now have a suboptimal Mac Intel
application until bug is fixed.

On May 2, 4:56 am, "v.miethe"<vin...@gmx.de> wrote:
> Hi,
>
> seems to be an error with asm pentium optimization.
> for me it worked to set "CRYPTOPP_DISABLE_X86ASM" in Preprocessor Makros for the Release-Build.
>
> Mac OS X: 10.4.9
> GCC: 4.0.1
> Xcode: 2.4.1
>
> Regards
>
> ------------------------------

> Nearly Random <cjheim...@comcast.net>

Wei Dai

unread,
May 2, 2007, 4:53:13 PM5/2/07
to Nearly Random, Crypto++ Users
It's not a bug, it's due to the GNU Assembler on Mac OS X being stuck at
version 1.x and not supporting the ".intel_syntax" directive. The next
release of Crypto++ will contain a lot more assembly to speed up many
algorithms, and unfortunately they can't be enabled on Mac OS X until Apple
upgrades the assembler.
Reply all
Reply to author
Forward
0 new messages