This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]