-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4 Jan 2003 at 18:42, AJ Harrington wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> I've got a similar situation, ie. Linux with g++ 3.2 and needing the -fPIC
> flag.  I got a similar compile failure with the off-the-shelf crypto50.zip. 
> However, after grabbing the CVS source it compiled (however, it gave some
> "implicit typename depreciated" warnings).  The validation suite reported
> all tests passed.  Here's the CXXFLAGS used:
> 
> CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections -fPIC
> 

I would warn against using the -O2 flag. Even though the resulting library 
passes the test suite, I reported code some time ago on this reflector that 
causes a SEGV. It appears to be due to an over-aggressive optimisation on 
the part of g++ 3.2 when compiling xorbuf if -O2 is enabled. -O1 seems to 
be fine.

  Doc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBPhi8i2nXrLw2KRK4EQLUPQCfSYbwjQ1nNmKrlGK6BrRDA/FztLQAoKI+
yWeX3LGwfVO7VcVicsyYfao9
=/BTL
-----END PGP SIGNATURE-----

Reply via email to