From owner-freebsd-stable@FreeBSD.ORG Tue May 23 08:09:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E5616A442 for ; Tue, 23 May 2006 08:09:19 +0000 (UTC) (envelope-from scott@mithrandir.com) Received: from washingtondc.mithrandir.com (washingtondc.mithrandir.com [63.75.133.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5AE743D45 for ; Tue, 23 May 2006 08:09:18 +0000 (GMT) (envelope-from scott@mithrandir.com) Received: from [192.168.3.25] (m194-158-82-33.andorpac.ad [194.158.82.33]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by washingtondc.mithrandir.com (Postfix) with ESMTP id C2F532EE for ; Tue, 23 May 2006 04:09:16 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v746.2) To: freebsd-stable@freebsd.org Message-Id: References: From: Scott Harrison Date: Tue, 23 May 2006 10:09:15 +0200 X-Mailer: Apple Mail (2.746.2) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: Problem with modern Postfix on 4.7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 08:09:23 -0000 Begin forwarded message: > From: Scott Harrison > Date: May 23, 2006 4:31:46 GMT+02:00 > To: freebsd-stable@freebsd.org > Subject: Problem with modern Postfix on 4.7 > > Hello, > > I am not sure if this is the proper place to ask. Please = redirect =20 > as necessary. > > I have a FreeBSD 4.7 box that I have updated the ports files. I = =20 > have tried to recompile Postfix with SASL2 and TLS and now my smtpd =20= > is crashing with a SIGBUS when a TLS connection comes in. Prior to =20= > upgrading the ports files all was working properly. I recompiled =20 > the projects that Postfix needed and the binary seems to be ok: > > mobius# ldd /usr/local/libexec/postfix/smtpd > /usr/local/libexec/postfix/smtpd: > libsasl2.so.2 =3D> /usr/local/lib/libsasl2.so.2 (0x280a0000) > libpam.so.1 =3D> /usr/lib/libpam.so.1 (0x280b5000) > libcrypt.so.2 =3D> /usr/lib/libcrypt.so.2 (0x280bf000) > libssl.so.4 =3D> /usr/local/lib/libssl.so.4 (0x280d8000) > libcrypto.so.4 =3D> /usr/local/lib/libcrypto.so.4 (0x28112000) > libpcre.so.0 =3D> /usr/local/lib/libpcre.so.0 (0x28228000) > libc.so.4 =3D> /usr/lib/libc.so.4 (0x2823e000) > mobius# ls -l /usr/local/lib/libsasl2.so.2 /usr/lib/libpam.so.1 /=20 > usr/lib/libcrypt.so.2 /usr/local/lib/libssl.so.4 /usr/local/lib/=20 > libcrypto.so.4 /usr/local/lib/libpcre.so.0 /usr/lib/libc.so.4 > -r--r--r-- 1 root wheel 574916 Oct 9 2002 /usr/lib/libc.so.4 > -r--r--r-- 1 root wheel 28432 Oct 9 2002 /usr/lib/libcrypt.so.2 > -r--r--r-- 1 root wheel 38396 Oct 9 2002 /usr/lib/libpam.so.1 > -r--r--r-- 1 root wheel 1339626 May 22 19:53 /usr/local/lib/=20 > libcrypto.so.4 > -rwxr-xr-x 1 root wheel 87652 May 22 20:41 /usr/local/lib/=20 > libpcre.so.0 > -rwxr-xr-x 1 root wheel 91881 May 22 20:15 /usr/local/lib/=20 > libsasl2.so.2 > -r--r--r-- 1 root wheel 264102 May 22 19:53 /usr/local/lib/=20 > libssl.so.4 > mobius# > > Is there some issue with updating the ports files? Any other =20= > suggestions? > > TIA, It turns out that the openssl port is not building properly, = getting =20 lots of lines like this: libssl.a(ssl_asn1.o): In function `d2i_SSL_SESSION': ssl_asn1.o(.text+0x9f9): undefined reference to `memcpy' ssl_asn1.o(.text+0xa78): undefined reference to `memcpy' ssl_asn1.o(.text+0xb40): undefined reference to `memcpy' ssl_asn1.o(.text+0xcda): undefined reference to `time' ssl_asn1.o(.text+0x1140): undefined reference to `memcpy' libssl.a(bio_ssl.o): In function `ssl_read': bio_ssl.o(.text+0x201): undefined reference to `time' libssl.a(bio_ssl.o): In function `ssl_write': bio_ssl.o(.text+0x361): undefined reference to `time' libssl.a(bio_ssl.o): In function `ssl_ctrl': bio_ssl.o(.text+0x6d6): undefined reference to `time' And running make test results in a problem: starting big number library test, could take a while... test BN_add test BN_sub test BN_lshift1 test BN_lshift (fixed) test BN_lshift test BN_rshift1 test BN_rshift test BN_sqr Bus error (core dumped) *** Error code 138 Stop in /usr/ports/security/openssl/work/openssl-0.9.8a/test. *** Error code 1 Stop in /usr/ports/security/openssl/work/openssl-0.9.8a. *** Error code 1 Stop in /usr/ports/security/openssl. There was a suggestion on the web indicating that binutils is = the =20 problem and that that should be updated. However, I do not know the =20 proper way to go about updating binutils. Can someone please tell me =20= how to do it or point me to a resource that does? TIA, --=20 =C2=B7=F0=90=91=95=F0=90=91=92=F0=90=91=AA=F0=90=91=91 = =C2=B7=F0=90=91=A3=F0=90=91=BA=F0=90=91=A6=F0=90=91=95=F0=90=91=A9=F0=90=91= =AF Scott Harrison