[Bug 204527] openssl 1.0.2, when compiled WITH_ASM on sparc64 generates illegal instructions

[email protected]
Newsgroups gmane.os.freebsd.devel.sparc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204527

            Bug ID: 204527
           Summary: openssl 1.0.2, when compiled WITH_ASM on sparc64
                    generates illegal instructions
           Product: Ports & Packages
           Version: Latest
          Hardware: sparc64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
          Assignee: [email protected]
                CC: [email protected]
             Flags: maintainer-feedback?([email protected])

I recently installed a new 10/stable onto a sparc64 host (r290630).

I configured the ports to use the openssl from ports, via having:

WITH_OPENSSL_PORT=yes

In my /etc/make.conf file.

After I got openssl installed, I installed the bind 9.10 package too:
ton# pkg info bind910
bind910-9.10.3_1
Name           : bind910
Version        : 9.10.3_1
Installed on   : Thu Nov 12 22:41:05 EST 2015
Origin         : dns/bind910
Architecture   : freebsd:10:sparc64:64
Prefix         : /usr/local
Categories     : net dns ipv6
Licenses       : ISCL
Maintainer     : [email protected]
WWW            : https://www.isc.org/software/bind
Comment        : BIND DNS suite with updated DNSSEC and DNS64
[...]

With the openssl port configured and compiled WITH_ASM, when I attempted
to start named, it complained:

ton# /usr/local/etc/rc.d/named start
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
wrote key file "/usr/local/etc/namedb/rndc.key"
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
Starting named.
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
__sparc_utrap: fatal illegal instruction
ton# ldd =named
/usr/local/sbin/named:
    libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x4057e000)
    libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x4086a000)
    libz.so.6 => /lib/libz.so.6 (0x40af8000)
    libm.so.5 => /lib/libm.so.5 (0x40c0e000)
    libthr.so.3 => /lib/libthr.so.3 (0x40d74000)
    libc.so.7 => /lib/libc.so.7 (0x40e9e000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x4115c000)

I re-installed the openssl port, this time without the WITH_ASM
setting.

ton# /usr/local/etc/rc.d/named start
Starting named.
ton# ldd =named
/usr/local/sbin/named:
    libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x4057e000)
    libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x40858000)
    libz.so.6 => /lib/libz.so.6 (0x40ae6000)
    libm.so.5 => /lib/libm.so.5 (0x40bfc000)
    libthr.so.3 => /lib/libthr.so.3 (0x40d62000)
    libc.so.7 => /lib/libc.so.7 (0x40e8c000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x4114a000)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.