public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/27286]  New: Compiling OpenSSL gives invalid code??
@ 2006-04-24 15:40 Stefan dot Neis at kobil dot com
  2006-04-25  1:27 ` [Bug target/27286] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan dot Neis at kobil dot com @ 2006-04-24 15:40 UTC (permalink / raw)
  To: gcc-bugs

I'm playing a bit with HP's testdrive systems and noticed that
when compiling a 64 bit version of openssl-0.9.8a with gcc-4.1.0,
the resulting binaries fail during "make test". Since I have no
such problem on any other platform nor with HP's own compiler,
this makes me think that gcc-4.1.0 generated some wrong code.
Changing compilation flags from "-O3" to "-O0" did not help,
so it's apparently not an optimizer problem.

I know, this is about as bad a bug report as it can be, but since
I'm neither very familiar with HP/UX nor have unlimited access to
the system (e.g. there's no 64-bit version of gdb installed...),
there's not much more that I can do than hope that somebody with
better debugging facilities will have a look and refine this
report (or tell me that I'm apparently doing something wrong since
it works for him) - sorry about that.


-- 
           Summary: Compiling OpenSSL gives invalid code??
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Stefan dot Neis at kobil dot com
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27286


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/27286] Compiling OpenSSL gives invalid code??
  2006-04-24 15:40 [Bug target/27286] New: Compiling OpenSSL gives invalid code?? Stefan dot Neis at kobil dot com
@ 2006-04-25  1:27 ` pinskia at gcc dot gnu dot org
  2006-04-26 17:43 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-25  1:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27286


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/27286] Compiling OpenSSL gives invalid code??
  2006-04-24 15:40 [Bug target/27286] New: Compiling OpenSSL gives invalid code?? Stefan dot Neis at kobil dot com
  2006-04-25  1:27 ` [Bug target/27286] " pinskia at gcc dot gnu dot org
@ 2006-04-26 17:43 ` pinskia at gcc dot gnu dot org
  2006-04-26 21:59 ` Stefan dot Neis at kobil dot com
  2006-05-14 22:12 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-26 17:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-04-26 17:43 -------
Hmm, this was once reported as PR 4844 but the testcase that was provided was
in fact undefined C.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27286


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/27286] Compiling OpenSSL gives invalid code??
  2006-04-24 15:40 [Bug target/27286] New: Compiling OpenSSL gives invalid code?? Stefan dot Neis at kobil dot com
  2006-04-25  1:27 ` [Bug target/27286] " pinskia at gcc dot gnu dot org
  2006-04-26 17:43 ` pinskia at gcc dot gnu dot org
@ 2006-04-26 21:59 ` Stefan dot Neis at kobil dot com
  2006-05-14 22:12 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan dot Neis at kobil dot com @ 2006-04-26 21:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from Stefan dot Neis at kobil dot com  2006-04-26 21:59 -------
Subject: Re:  Compiling OpenSSL gives invalid code??

                Hi,

Sorry, any attempt to attach an additional comment in bugzilla results in an
error
message (Not allowed You tried to change the Assignee field from
unassigned@gcc.gnu.org to __UNKNOWN__, but only the assignee of the bug, or a
sufficiently empowered user may change that field.), although I definitely
_only_ filled in the field for comments and pressed the
commit button, so I'm answering by mail ... :-(

> ------- Comment #1 from pinskia at gcc dot gnu dot org  2006-04-26 17:43 -------
> Hmm, this was once reported as PR 4844 but the testcase that was provided was
> in fact undefined C.

I found PR 4844 as well, when looking whether or not the problem is already
known,
but I believe it is unrelated:
- PR 4844 reports a failure while using OpenSSL's BIGNUMs, while the
   failure I'm seeing happens while running "shatest". I didn't check
   the source in sufficient detail to guarantee it 100%, but I'm
   reasonably sure that computing a hash value does _not_ involve
   BIGNUMs. 
- PR 4844 is reported against 3.0.2, here I'm talking about something
   which is failing with 4.1.0.
Also, in the meantime, HP kindly provided a gcc-3.4.5 build
(hppa64-*-* just as for the 4.1.0 bild) and using this results in an
OpenSSL build which is passing "make test" just fine, so this seems
like a regression in 4.0 or 4.1, IMHO. 

         Best regards,
                      Stefan Neis


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27286


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/27286] Compiling OpenSSL gives invalid code??
  2006-04-24 15:40 [Bug target/27286] New: Compiling OpenSSL gives invalid code?? Stefan dot Neis at kobil dot com
                   ` (2 preceding siblings ...)
  2006-04-26 21:59 ` Stefan dot Neis at kobil dot com
@ 2006-05-14 22:12 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-05-14 22:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2006-05-14 22:12 -------
I can't duplicate the shatest failure using gcc 4.1.0 and openssl-0.9.8b.
The test results are clean and identical to those for 3.4.5 on both
hppa64-hp-hpux11.11 and hppa2.0w-hp-hpux11.11.  Given that the report
provides no evidence of a GCC bug, I'm closing as invalid.  


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27286


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-14 22:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-24 15:40 [Bug target/27286] New: Compiling OpenSSL gives invalid code?? Stefan dot Neis at kobil dot com
2006-04-25  1:27 ` [Bug target/27286] " pinskia at gcc dot gnu dot org
2006-04-26 17:43 ` pinskia at gcc dot gnu dot org
2006-04-26 21:59 ` Stefan dot Neis at kobil dot com
2006-05-14 22:12 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).