pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28858: security/openssl build fails on Sparc64 with ASM errors



>Number:         28858
>Category:       pkg
>Synopsis:       security/openssl build fails on Sparc64 with ASM errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 04 11:24:01 +0000 2005
>Originator:     Gert Doering
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD kirk 2.0 NetBSD 2.0 (KIRK) #0: Thu Dec 2 00:07:28 CET 2004 
gert@kirk:/home/sparc64/obj/home/src-2.0/sys/arch/sparc64/compile/KIRK sparc64
Architecture: sparc64
Machine: sparc64
>Description:

security/openssl (pkgsrc-current, as of Tue Jan  4 12:18:37 CET 2005)
fails on NetBSD 2.0 with #error messages out of crypto/md5/asm/md5-sparcv9.S

[..]
gcc -I.. -I../.. -I../../include -fPIC -DDSO_DLFCN -DHAVE_DLFCN_H 
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -O2 
-mcpu=v9 -pipe -DTERMIOS -O2 -Wall -DMD5_ASM -DMD5_BLOCK_DATA_ORDER -c \
        -o asm/md5-sparcv9.o asm/md5-sparcv9.S
asm/md5-sparcv9.S:83:4: #error "MD5_BLOCK_DATA_ORDER is supported only on 
UltraSPARC!"
asm/md5-sparcv9.S: Assembler messages:
asm/md5-sparcv9.S:121: Error: Unknown opcode: `load'
asm/md5-sparcv9.S:133: Error: Unknown opcode: `load'
asm/md5-sparcv9.S:146: Error: Unknown opcode: `load'
asm/md5-sparcv9.S:161: Error: Unknown opcode: `load'
asm/md5-sparcv9.S:175: Error: Unknown opcode: `load'
(more of these)
asm/md5-sparcv9.S:1022: Error: Unknown opcode: `load'
gmake[2]: *** [asm/md5-sparcv9.o] Error 1
gmake[2]: Leaving directory 
`/home/obj/pkg/security/openssl/work/openssl-0.9.7e/crypto/md5'
gmake[1]: *** [subdirs] Error 1


>How-To-Repeat:
        just try to build pkgsrc/security/openssl on NetBSD/Sparc64

>Fix:
        I don't understand Sparc64 assembly and/or OpenSSL configure magic
        enough to offer a fix, sorry.




Home | Main Index | Thread Index | Old Index