Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2015 18:36:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-sparc64@FreeBSD.org
Subject:   [Bug 204527] openssl 1.0.2, when compiled WITH_ASM on sparc64 generates illegal instructions
Message-ID:  <bug-204527-14@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: mat@FreeBSD.org
          Reporter: lidl@pix.net
                CC: freebsd-sparc64@FreeBSD.org
          Assignee: mat@FreeBSD.org
                CC: freebsd-sparc64@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

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     : mat@FreeBSD.org
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204527-14>