git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: libcrypto core dump in 64bit

From
H.Merijn Brand <h.m.brand@xs4all.nl>
Date
Feb 12, 2008, 16:38 UTC
Message-ID
<20080212173842.0a3704b1@pc09.procura.nl>
In-Reply-To
<loom.20080212T152138-849@post.gmane.org>

On Tue, 12 Feb 2008 15:26:16 +0000 (UTC), Michal Rokos <michal@rokos.cz> wrote:

Show 20 quoted lines
> Hello,
> 
> H.Merijn Brand <h.m.brand <at> xs4all.nl> writes:
> > On Mon, 11 Feb 2008 22:42:16 +0000 (GMT), Johannes Schindelin
> > <Johannes.Schindelin <at> gmx.de> wrote:
> > > > #0  0xc0000000033c8940:0 in sha1_block_asm_host_order+0x22e0 ()
> > > >    from /usr/local/ssl/lib/libcrypto.so
> > > 
> > > This seems to be an OpenSSL issue, probably in its Itanium-optimised code 
> > > (since Itanium is not _all_ that common, it is quite likely that no many 
> > > people exercise this part of the code).
> > 
> > Now tried with HP C-ANSI-C -O3, -O2, -O1, and -O0 and with GNU gcc 4.2.1 -O3
> > All give the same failure
> > 
> > > Unfortunately, I am not at all an expert in Itanium's assembler, otherwise 
> > > I'd try to help...
> 
> yes, this is OpenSSL issue. I had to recompile OpenSSL myself to make it work
> (with no-asm option)

OK, I did the same now, and the docs tell me to turn down optimization to +O2 when you choose to do so.

Apart from that, when you create shared libs, the default build creates a conflicting situation, so you have to throw away the files that cause dup names: aes-ia64.o rc4-ia64.o bn-ia64.o from libcrypto.a

t5302-pack-index.sh now passes
Show 6 quoted lines
> I'm using only HP cc for building git (with all the toolchain). (No gcc here)
> 
> # uname -mrs
> HP-UX B.11.23 ia64
> # cc --version
> cc: HP C/aC++ B3910B A.06.14 [Feb 22 2007]

HP-UX 11.23/64 U rx1620/64 Itanium 2/1600(2) ia64 2037 Mb cc: HP C/aC++ B3910B A.06.15 [May 16 2007]

Did you get the full test suite to pass?
-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/
Previous: Michal RokosNext: Michal Rokos
Message 5 of 7 in “libcrypto core dump in 64bit”
  1. H.Merijn BrandFeb 11, 2008
  2. Johannes SchindelinFeb 11, 2008
  3. H.Merijn BrandFeb 12, 2008
  4. Michal RokosFeb 12, 2008
  5. H.Merijn BrandFeb 12, 2008
  6. Michal RokosFeb 13, 2008
  7. H.Merijn BrandFeb 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.