Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2017 23:02:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223388] security/openssl: Fails to build without SSE3: implicit declaration of function 'SSLv3_client_method' in s23_clnt.c
Message-ID:  <bug-223388-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223388

            Bug ID: 223388
           Summary: security/openssl: Fails to build without SSE3:
                    implicit declaration of function 'SSLv3_client_method'
                    in s23_clnt.c
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: greenreaper@hotmail.com
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

I'm trying to compile openssl-1.0.2m from ports on 10.3-RELEASE-p20.

The following options are enabled:
DOCS EC SHARED THREADS ASM SSE2 SCTP

The following options are disabled:
MAN3 PADLOCK RFC3779 EXPCIPHERS ZLIB RC5 MD2 SSL2 SSL3

Things go fine, until s23_clnt.c
----
cc -I../crypto -I.. -I../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN =
-O3
-Wall -O2 -pipe -O2 -march=3Dnative  -Werror -Qunused-arguments -fstack-pro=
tector
-fno-strict-aliasing -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_=
ASM
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM
-DGHASH_ASM -DECP_NISTZ256_ASM -c s23_clnt.c -o s23_clnt.o
s23_clnt.c:762:29: error: implicit declaration of function
'SSLv3_client_method' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
                s->method =3D SSLv3_client_method();
                            ^
s23_clnt.c:762:27: error: incompatible integer to pointer conversion assign=
ing
to 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') from 'int'
      [-Werror,-Wint-conversion]
                s->method =3D SSLv3_client_method();
                          ^ ~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
*** Error code 1
----

SSL3 disabling seems to be broken. Enabling SSE3 causes the build to work.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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