public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/2122: Error in openssl
@ 2002-01-27 15:44 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2002-01-27 15:44 UTC (permalink / raw)
To: ask, gcc-bugs, gcc-prs, nobody
Synopsis: Error in openssl
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 27 15:44:56 2002
State-Changed-Why:
Fixed in gcc 3.0.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2122
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: optimization/2122: Error in openssl
@ 2002-01-08 8:26 Alexander Klimov
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Klimov @ 2002-01-08 8:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/2122; it has been noted by GNATS.
From: Alexander Klimov <ask@wisdom.weizmann.ac.il>
To: Craig Rodrigues <rodrigc@mediaone.net>
Cc: gcc-bugs@gcc.gnu.org, <nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Subject: Re: optimization/2122: Error in openssl
Date: Tue, 8 Jan 2002 18:17:23 +0200 (IST)
On Thu, 27 Dec 2001, Craig Rodrigues wrote:
> Can you try gcc 3.0.3?
> See: http://gcc.gnu.org/gcc-3.0/
3.0.3 do not have this bug, but I don't sure if it means that 3.1 is free
from it -- initialy it was in 3.1 20010226
Regards,
ASK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: optimization/2122: Error in openssl
@ 2001-12-27 10:06 Craig Rodrigues
0 siblings, 0 replies; 6+ messages in thread
From: Craig Rodrigues @ 2001-12-27 10:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/2122; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: Alexander Klimov <ask@wisdom.weizmann.ac.il>
Cc: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: optimization/2122: Error in openssl
Date: Thu, 27 Dec 2001 13:02:52 -0500
On Thu, Dec 27, 2001 at 12:32:40PM +0200, Alexander Klimov wrote:
> Sorry, I can't build current gcc on solaris:
Can you try gcc 3.0.3?
See: http://gcc.gnu.org/gcc-3.0/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: optimization/2122: Error in openssl
@ 2001-12-27 2:36 Alexander Klimov
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Klimov @ 2001-12-27 2:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR optimization/2122; it has been noted by GNATS.
From: Alexander Klimov <ask@wisdom.weizmann.ac.il>
To: rodrigc@gcc.gnu.org, <gcc-bugs@gcc.gnu.org>, <gcc-prs@gcc.gnu.org>,
<nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: optimization/2122: Error in openssl
Date: Thu, 27 Dec 2001 12:32:40 +0200 (IST)
On 27 Dec 2001 rodrigc@gcc.gnu.org wrote:
> Synopsis: Error in openssl
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Wed Dec 26 20:19:24 2001
> State-Changed-Why:
> Does this problem still occur in gcc 3.0.3 or the
> latest gcc 3.1 snapshots?
Sorry, I can't build current gcc on solaris:
/export/home/ask/build/gcc-build/gcc/xgcc -B/export/home/ask/build/gcc- build/gcc/ -nostdinc++ -L/export/home/ask/build/gcc-build/sparc-sun-solaris2.6/l ibstdc++-v3/src -L/export/home/ask/build/gcc-build/sparc-sun-solaris2.6/libstdc+ +-v3/src/.libs -B/usr/local/gcc/sparc-sun-solaris2.6/bin/ -B/usr/local/gcc/sparc -sun-solaris2.6/lib/ -isystem /usr/local/gcc/sparc-sun-solaris2.6/include -nostd inc++ -I/export/home/ask/build/gcc-build/sparc-sun-solaris2.6/libstdc++-v3/inclu de/sparc-sun-solaris2.6 -I/export/ home/ask/build/gcc-build/sparc-sun-solaris2.6/ libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++ -I../../../../gcc/ libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite -strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-se ctions -g -c ../../../../gcc/libstdc++-v3/src/cmath.cc -o cmath.o >/dev/null 2>& 1
make[4]: *** [cmath.lo] Error 1
make[4]: Leaving directory `/export/home/ask/build/gcc-build/sparc-sun- solaris2.6/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/ask/build/gcc-build/sparc-sun- solaris2.6/libstdc++-v3'
> Can you provide more information about what
> function is not being correctly optimized?
I found file using binary search -- don't shure how to continue to the
level of function and I don't have current gcc anyway, sorry.
Regards,
ASK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: optimization/2122: Error in openssl
@ 2001-12-26 20:19 rodrigc
0 siblings, 0 replies; 6+ messages in thread
From: rodrigc @ 2001-12-26 20:19 UTC (permalink / raw)
To: ask, gcc-bugs, gcc-prs, nobody
Synopsis: Error in openssl
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Wed Dec 26 20:19:24 2001
State-Changed-Why:
Does this problem still occur in gcc 3.0.3 or the
latest gcc 3.1 snapshots?
Can you provide more information about what
function is not being correctly optimized?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2122
^ permalink raw reply [flat|nested] 6+ messages in thread
* optimization/2122: Error in openssl
@ 2001-04-01 0:00 ask
0 siblings, 0 replies; 6+ messages in thread
From: ask @ 2001-04-01 0:00 UTC (permalink / raw)
To: gcc-gnats
>Number: 2122
>Category: optimization
>Synopsis: Error in openssl
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 28 04:46:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Alexander Klimov
>Release: 3.1 20010226 (CVS)
>Organization:
>Environment:
SunOS iridium 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-5_10
>Description:
It is bug in optimisation, but I could not say exactly where
it is, sorry.
I bootstraped gcc:
../gcc/configure --prefix=/usr/local/gcc --with-cpu=ultrasparc --enable-languages=c++,objc,f77 &&\
make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap && \
make install
I build openssl-0.9.6 ( http://www.openssl.org/source/openssl-0.9.6.tar.gz )
Configure --openssldir=/tmp/ssl solaris-sparcv9-gcc && make
and run tests (make test) many of them are OK, but one is
failed with core dump:
cd test
../apps/openssl verify -CApath ../certs ../certs/*.pem
Backtrace is:
(gdb) where
#0 0xf7d74 in BN_mod_exp2_mont ()
#1 0x992ac in dsa_do_verify ()
#2 0x98bc0 in DSA_verify ()
#3 0xa9ba4 in EVP_VerifyFinal ()
#4 0xfc310 in ASN1_verify ()
#5 0xcaffc in internal_verify ()
#6 0xcab40 in X509_verify_cert ()
#7 0x31f38 in check ()
#8 0x31af0 in verify_main ()
#9 0x312d4 in do_cmd ()
#10 0x31054 in main ()
I changed in Makefile.ssl
CFLAG= -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM
-O3 to -O2
and try
make clean && make && make test
now all tests are OK
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-27 23:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-27 15:44 optimization/2122: Error in openssl rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-01-08 8:26 Alexander Klimov
2001-12-27 10:06 Craig Rodrigues
2001-12-27 2:36 Alexander Klimov
2001-12-26 20:19 rodrigc
2001-04-01 0:00 ask
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).