From owner-freebsd-current@FreeBSD.ORG Wed Jul 4 17:57:26 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC37F16A46B for ; Wed, 4 Jul 2007 17:57:26 +0000 (UTC) (envelope-from bdonnell@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id 9803913C4BC for ; Wed, 4 Jul 2007 17:57:26 +0000 (UTC) (envelope-from bdonnell@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so148304wra for ; Wed, 04 Jul 2007 10:57:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hTHPZ496ycsEshwjrWc1ClsdZDjhVRfTyaF9432SWYuD2Fzf0K1SZ1AmIDqQdAAmvCSH/QutVYYF11EIztNh8rBXzJHZZDnEj9Pe99vnj1PABZGvSS8IAR6lTiDFzkKpQrQ2kbrM6TcXNawoeCnsIFgzDX5WvxJo2cQZA3A/Oyc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DFI9U9oB8mHBDCK+SwOCPqIE5b1YCFfZHf9PMLIM069ebSL2cqQEwcd5sNH0Vhp4ZaygFw6KhE/s0D6aJjzD/JyI8vlStlAo59OQn5BO/FLgf7fiAj8JNcbqYlFekd+6FPHVBqrSf/RUGC2OE/BQGfxIlNDgV6Ttfjq/kyPEGJw= Received: by 10.142.229.4 with SMTP id b4mr302845wfh.1183571845397; Wed, 04 Jul 2007 10:57:25 -0700 (PDT) Received: by 10.143.44.7 with HTTP; Wed, 4 Jul 2007 10:57:25 -0700 (PDT) Message-ID: <1c5c32890707041057x75712a20vef9800a7ddef7a6a@mail.gmail.com> Date: Wed, 4 Jul 2007 13:57:25 -0400 From: "Brian Donnell" To: "Boris S." In-Reply-To: <46644820.6020609@dva.dyndns.org> MIME-Version: 1.0 References: <46633B27.50601@dva.dyndns.org> <1c5c32890707031732s195a97c3vd29fb46323f28fae@mail.gmail.com> <46644820.6020609@dva.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current Subject: Re: ZFS vs Samba Debugging Results ... Need Help. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 17:57:26 -0000 It looks like it might be another AMD64/i386 difference. I recompiled samba3 with the exact same CFLAGS using gcc 4.2.1 (from ports) and it still crashes on my i386 system. I don't have an AMD64 system to test on anymore. It looks like the only difference is our hardware or perhaps samba3 build config. Which options are selected in your 'make config' of samba? -- Brian On 6/4/07, Boris S. wrote: > > Brian Donnell schrieb: > > > Boris, care to share any more info on how you managed to get it working? > > > I've nothing special done. > My System: BSD/AMD64, Nforce 4 Mainboard, 2GB RAM, A64/3000+ > Compiled Samba with gcc from base -> crash. > Compiled gcc42 from ports. > Added following lines in make.conf: > > CFLAGS= -O2 -fno-strict-aliasing -pipe > CC=/usr/local/bin/gcc42 > CPP=/usr/local/bin/cpp42 > CXX=/usr/local/bin/c++42 > > Compiled Samba, started, no crash anymore. > > Do you use amd64 or i386 mode? > > Boris >