[Botan-devel] GCC 3.3 + Botan
Brought to you by:
randombit
|
From: Jack L. <ll...@ac...> - 2003-05-20 18:21:49
|
I just GCC 3.3, and ran into a few problems. For one, it looks like GCC 3.3 has reverted back to the 2.95.3 behavior of rejecting long long constants outright, and giving a most annoying warning even if -fpermissive -Wno-long-long is used. To work around this, pass --gcc295x to configure.pl (I'm considering renaming this option to --my-gcc-is-stupid or something). More seriously, there seems to be a strange binutils bug that affects GCC 3.3 but not any previous versions, that causes big_base.cpp to be miscompiled when -O3 -fPIC is passed to the compiler. If you're using GCC 3.3 and the check application dies with a segmentation fault, recompile build/lib/big_base.o with LIB_OPT set to -O2. The full analysis from the GCC folks is not in yet, but it seems this affects only older binutils. All in all, I would say stick with earlier versions of GCC 3.x until these problems are sorted out. -Jack |