[openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

Rich Salz via RT
Hello,


I tried openssl-1.1.0-pre2 on Solaris10 x86/x64.

For x86, no error found.
But for X64, make fails in crypto/modes.
Got the same result with solarisstudio12.4 & gcc-4.8.5.


1. with solarisstudio12.4
% ./Configure solaris64-x86_64-cc
% make
  :
cc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xarch=generic64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xdepend -xbuiltin -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
Assembler:
        "ghash-x86_64.s", line 890 : Syntax error
        Near line: "    movq    $1.15473355479995e+19,%rax"
cc: fbe failed for ghash-x86_64.s
<builtin>: recipe for target 'ghash-x86_64.o' failed
make[2]: *** [ghash-x86_64.o] Error 2
make[2]: Leaving directory '/tmp/openssl-1.1.0-pre2/crypto/modes'



2. with gcc-4.8.5
% ./Configure solaris64-x86_64-gcc
% make
  :
make[2]: Entering directory '/tmp/openssl-1.1.0-pre2/crypto/modes'
gcc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -pthread -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -Wall -DL_ENDIAN -DFILIO_H -O3 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
ghash-x86_64.s: Assembler messages:
ghash-x86_64.s:890: Error: junk `.15473355479995e+19' after expression
<builtin>: recipe for target 'ghash-x86_64.o' failed
make[2]: *** [ghash-x86_64.o] Error 1
make[2]: Leaving directory '/tmp/openssl-1.1.0-pre2/crypto/modes'
Makefile:90: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory '/tmp/openssl-1.1.0-pre2/crypto'
Makefile:287: recipe for target 'build_crypto' failed
make: *** [build_crypto] Error 1


Regards,

--- Kiyoshi <[hidden email]>


_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: [openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

Viktor Dukhovni

> On Jan 29, 2016, at 4:59 AM, Kiyoshi KANAZAWA via RT <[hidden email]> wrote:
>
> cc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xarch=generic64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xdepend -xbuiltin -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
> cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
> Assembler:
>         "ghash-x86_64.s", line 890 : Syntax error
>         Near line: "    movq    $1.15473355479995e+19,%rax"

You'll need a 64-bit Perl.  When I try "perl ghash-x86_64.pl" I get:

...
        subq    $48,%rcx
        movq    $11547335547999543296,%rax
        movdqu  48(%rsi),%xmm14
        movdqu  64(%rsi),%xmm15
...

--
        Viktor.



_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: [openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

Rich Salz via RT

> On Jan 29, 2016, at 4:59 AM, Kiyoshi KANAZAWA via RT <[hidden email]> wrote:
>
> cc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xarch=generic64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xdepend -xbuiltin -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
> cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
> Assembler:
>         "ghash-x86_64.s", line 890 : Syntax error
>         Near line: "    movq    $1.15473355479995e+19,%rax"

You'll need a 64-bit Perl.  When I try "perl ghash-x86_64.pl" I get:

...
        subq    $48,%rcx
        movq    $11547335547999543296,%rax
        movdqu  48(%rsi),%xmm14
        movdqu  64(%rsi),%xmm15
...

--
        Viktor.




_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: [openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

Short, Todd
This sounds like RT3885.

I have an available fix:


--
-Todd Short
// "One if by land, two if by sea, three if by the Internet."

On Jan 29, 2016, at 12:04 PM, Viktor Dukhovni via RT <[hidden email]> wrote:


On Jan 29, 2016, at 4:59 AM, Kiyoshi KANAZAWA via RT <[hidden email]> wrote:

cc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xarch=generic64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xdepend -xbuiltin -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
Assembler:
       "ghash-x86_64.s", line 890 : Syntax error
       Near line: "    movq    $1.15473355479995e+19,%rax"

You'll need a 64-bit Perl.  When I try "perl ghash-x86_64.pl" I get:

...
       subq    $48,%rcx
       movq    $11547335547999543296,%rax
       movdqu  48(%rsi),%xmm14
       movdqu  64(%rsi),%xmm15
...

--
Viktor.




_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

Re: [openssl.org #4279] openssl-1.1.0-pre2 make failes on Solaris10 x64

Rich Salz via RT
This sounds like RT3885.

I have an available fix:

https://github.com/openssl/openssl/pull/597

--
-Todd Short
// [hidden email]<mailto:[hidden email]>
// "One if by land, two if by sea, three if by the Internet."

On Jan 29, 2016, at 12:04 PM, Viktor Dukhovni via RT <[hidden email]<mailto:[hidden email]>> wrote:


On Jan 29, 2016, at 4:59 AM, Kiyoshi KANAZAWA via RT <[hidden email]<mailto:[hidden email]>> wrote:

cc -I.. -I../.. -I../modes -I../include -I../../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -xarch=generic64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xdepend -xbuiltin -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
Assembler:
       "ghash-x86_64.s", line 890 : Syntax error
       Near line: "    movq    $1.15473355479995e+19,%rax"

You'll need a 64-bit Perl.  When I try "perl ghash-x86_64.pl" I get:

...
       subq    $48,%rcx
       movq    $11547335547999543296,%rax
       movdqu  48(%rsi),%xmm14
       movdqu  64(%rsi),%xmm15
...

--
Viktor.




_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

[openssl.org #3885] [BUGFIX] OpenSSL fails to cross-compile on 32-bit->64-bit

Rich Salz via RT
In reply to this post by Short, Todd
I have an available fix:

https://github.com/openssl/openssl/pull/597

--
-Todd Short
// [hidden email]<mailto:[hidden email]>
// "One if by land, two if by sea, three if by the Internet."


_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Reply | Threaded
Open this post in threaded view
|

[openssl.org #4279] Re: [openssl.org #3885] [BUGFIX] OpenSSL fails to cross-compile on 32-bit->64-bit

Rich Salz via RT
> I have an available fix:
>
> https://github.com/openssl/openssl/pull/597

As per
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fd7dc201d3b9d43972de6a0e659f7ef6421c99cc
problem is addressed in a little bit alternative way. Closing ticket[s].



--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4279
Please log in as guest with password guest if prompted

--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev