From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 7 04:59:42 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A0C216A4DD for ; Fri, 7 Jul 2006 04:59:42 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from omta04sl.mx.bigpond.com (omta04sl.mx.bigpond.com [144.140.93.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5CA343D49 for ; Fri, 7 Jul 2006 04:59:41 +0000 (GMT) (envelope-from andrew@areilly.bpa.nu) Received: from areilly.bpa.nu ([141.168.7.22]) by omta04sl.mx.bigpond.com with ESMTP id <20060707045937.PKZY7229.omta04sl.mx.bigpond.com@areilly.bpa.nu> for ; Fri, 7 Jul 2006 04:59:37 +0000 Received: (qmail 62925 invoked by uid 501); 7 Jul 2006 04:59:33 -0000 Date: Fri, 7 Jul 2006 14:59:33 +1000 From: Andrew Reilly To: Albert Message-ID: <20060707045933.GA62708@duncan.reilly.home> References: <200607070030.k670USem033655@freefall.freebsd.org> <20060707013019.GB58922@duncan.reilly.home> <44ADCCCD.6060707@sansha.tatung.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44ADCCCD.6060707@sansha.tatung.com.tw> User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@FreeBSD.org Subject: Re: amd64/99475: Mail attachement was modified X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 04:59:42 -0000 On Fri, Jul 07, 2006 at 10:54:05AM +0800, Albert wrote: > It toke me two weeks to find out where the problem is. > FreeBSD 6.1/amd64 SMP +sendmail 8.13.6 & 8.13.7 and > FreeBSD 5.4/amd64 SMP +sendmail 8.13.6 & 8.13.7 are both the same result. > All looks okey. BUT ....... > I use FreeBSD as mail server from 2.2.8 to 5.2.1, it is the first time I > met this kind of thing. > May be it is the bug of sendmail, but it runs no problem on i386 platform. > Is there huge difference on i386 and amd64 on the topic of mail server? > My box is a running system, may be I have few chance to try again. Sorry > about that! One other possibility, given that you don't have the problem on the same box runninng i386 code, could be related to the GCC compiler bug that I reported in relation to ports/sysutils/ucspi-tcp recently. The system default CFLAGS is -O2 -fno-strict-aliasing, which seems to allow a bug in the system gcc version 3.4. Changing -O2 to -O in CFLAGS, or changing CC from cc to gcc41 (installed from ports) both solved that problem. Maybe it will help sendmail too? (I don't build or run sendmail myself, so I'm not going to test this theory...) Cheers, -- Andrew