This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: issue with gcc version 3.0 20010418 (prerelease) on x86/redhat 6. 2 w/ openssl 0.9.6a
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: RE: issue with gcc version 3.0 20010418 (prerelease) on x86/redhat 6. 2 w/ openssl 0.9.6a
- From: "Neulinger, Nathan" <nneul at umr dot edu>
- Date: Thu, 17 May 2001 13:17:20 -0500
FYI - this problem with openssl still exists with cvs 3.0 as of 05/15.
-- Nathan
> -----Original Message-----
> From: Neulinger, Nathan
> Sent: Friday, April 27, 2001 1:58 PM
> To: 'gcc-bugs@gcc.gnu.org'
> Subject: RE: issue with gcc version 3.0 20010418 (prerelease) on
> x86/redhat 6. 2 w/ openssl 0.9.6a
>
>
> Not sure it helps any, but as soon as I add
> -fexpensive-optimizations to -O it fails.
>
> -- Nathan
>
> > -----Original Message-----
> > From: Neulinger, Nathan
> > Sent: Friday, April 27, 2001 1:48 PM
> > To: 'gcc-bugs@gcc.gnu.org'
> > Subject: RE: issue with gcc version 3.0 20010418 (prerelease) on
> > x86/redhat 6. 2 w/ openssl 0.9.6a
> >
> >
> > I did a couple more tests...
> >
> > The problem goes away when I build pem_lib.c with -O instead
> > of the default -O3? -O2 also fails.
> >
> > I'm about to go home, so can't really do anything more with
> > this at the moment, but would at least like to know if anyone
> > else can reproduce the symptom.
> >
> > -- Nathan
> >
> > > -----Original Message-----
> > > From: Neulinger, Nathan
> > > Sent: Friday, April 27, 2001 1:38 PM
> > > To: 'gcc-bugs@gcc.gnu.org'
> > > Subject: RE: issue with gcc version 3.0 20010418 (prerelease) on
> > > x86/redhat 6. 2 w/ openssl 0.9.6a
> > >
> > >
> > > crypto/pem/pem_lib.c
> > >
> > > When compiled with snapshot, fails to read key. When compiled
> > > with old gcc, it works fine.
> > >
> > > If I build all of 0.9.6a with snapshot, and then adjust path
> > > and build pem_lib.c with old gcc (either 2.91.66 or
> > > 2.96.20000727), it works.
> > >
> > > I attached the relevant files. Hope this helps diagnostics.
> > > .old is from 2.91, .new is from 3.0 snapshot.
> > >
> > > To reproduce:
> > >
> > > openssl genrsa -des3 -out blah.key 1024
> > > type any password
> > > openssl rsa -in blah.key
> > >
> > > if it works, it will prompt for password, if it fails, it
> > > will say unable to load key.
> > >
> > > I am not very familiar with the internals of openssl/etc, so
> > > really have no idea what routine/etc. the problem might be in.
> > >
> > > -- Nathan
> > >
> > > > -----Original Message-----
> > > > From: Alexandre Oliva [mailto:aoliva@redhat.com]
> > > > Sent: Friday, April 27, 2001 12:34 PM
> > > > To: Neulinger, Nathan
> > > > Cc: 'gcc-bugs@gcc.gnu.org'
> > > > Subject: Re: issue with gcc version 3.0 20010418 (prerelease) on
> > > > x86/redhat 6. 2 w/ openssl 0.9.6a
> > > >
> > > >
> > > > On Apr 27, 2001, "Neulinger, Nathan" <nneul@umr.edu> wrote:
> > > >
> > > > > When openssl 0.9.6a is built with this gcc, it is unable to
> > > > read any rsa
> > > > > keys. I don't really have any more details than that, but
> > > > someone might want
> > > > > to look into it.
> > > >
> > > > Could you do some more investigation, such as trying to
> > > find out which
> > > > object file, when compiled with egcs 1.1.2, gets it to work
> > > (or, which
> > > > one, when compiled with the development snapshot, gets it
> > to break)?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Alexandre Oliva Enjoy Guarana', see
> > http://www.ic.unicamp.br/~oliva/
> > > Red Hat GCC Developer aoliva@{cygnus.com,
> > redhat.com}
> > > CS PhD student at IC-Unicamp
> > oliva@{lsd.ic.unicamp.br, gnu.org}
> > > Free Software Evangelist *Please* write to mailing
> > lists, not to me
> > >
> >
>