Configure does not set cflags correctly on Solaris10 x64.
In Configurations/10-main.conf line 75, it is written as
     cflags           => add_before("-m64 -Wall -DL_ENDIAN"),
but, it is not set to CFLAGS.
Make does not generate 64-bits code (-m64 is not used).

Configure log is attached.



% ./Configure solaris64-x86_64-gcc
% make
  :
gcc -I. -I.. -I../include -Iinclude  -DDSO_DLFCN -DHAVE_DLFCN_H 
-DOPENSSL_THREADS -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 -DGHASH_ASM 
-DECP_NISTZ256_ASM -DPOLY1
305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines\""  -pthread -D
FILIO_H -O3   -c -o cryptlib.o cryptlib.c
  :
/opt/perl5/bin/perl x86_64cpuid.pl elf > x86_64cpuid.s
gcc -I. -I.. -I../include -Iinclude  -DDSO_DLFCN -DHAVE_DLFCN_H 
-DOPENSSL_THREADS -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 -DGHASH_ASM 
-DECP_NISTZ256_ASM -DPOLY1
305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines\""  -pthread -D
FILIO_H -O3 -c  -o x86_64cpuid.o x86_64cpuid.s
x86_64cpuid.s: Assembler messages:
x86_64cpuid.s:15: Error: bad register name `%rdi)'
x86_64cpuid.s:16: Error: bad register name `%rsi'
x86_64cpuid.s:18: Error: bad register name `%r8d'
x86_64cpuid.s:20: Error: bad register name `%r8d'
x86_64cpuid.s:30: Error: bad register name `%rdx'
x86_64cpuid.s:31: Error: bad register name `%rdx'
x86_64cpuid.s:39: Error: bad register name `%rbx'
x86_64cpuid.s:42: Error: bad register name `%rdi)'
x86_64cpuid.s:44: Error: bad register name `%r11d'
x86_64cpuid.s:49: Error: bad register name `%r9d'
x86_64cpuid.s:52: Error: bad register name `%r9d'
x86_64cpuid.s:55: Error: bad register name `%r9d'
x86_64cpuid.s:60: Error: bad register name `%r10d'
x86_64cpuid.s:63: Error: bad register name `%r10d'
x86_64cpuid.s:66: Error: bad register name `%r10d'
x86_64cpuid.s:74: Error: bad register name `%r10d'
x86_64cpuid.s:77: Error: bad register name `%r9d'
x86_64cpuid.s:78: Error: bad register name `%r9d'
x86_64cpuid.s:80: Error: bad register name `%r10d'
x86_64cpuid.s:85: Error: `movzbq' is only supported in 64-bit mode
  :


Best Regards,

--- Kiyoshi <yoi_no_myou...@yahoo.co.jp>

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

Attachment: Configure.log
Description: Binary data

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

Reply via email to