From owner-freebsd-arm@FreeBSD.ORG Wed Dec 23 11:12:09 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F28A106568B for ; Wed, 23 Dec 2009 11:12:09 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 102008FC14 for ; Wed, 23 Dec 2009 11:12:08 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NNP8S-0003Cv-E7 for freebsd-arm@freebsd.org; Wed, 23 Dec 2009 03:12:08 -0800 Message-ID: <26897662.post@talk.nabble.com> Date: Wed, 23 Dec 2009 03:12:08 -0800 (PST) From: RuiDC To: freebsd-arm@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ruidc@yahoo.com References: <26886004.post@talk.nabble.com> <26894643.post@talk.nabble.com> Subject: Re: Samba Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2009 11:12:09 -0000 the samba core developer - Volker Lendecke has managed to get the testparm executable to work by changing the LDFLAGS to remove -pie I've tried the following: make rmconfig make config CONFIGURE_ARGS+= --enable-pie=no make CONFIGURE_ARGS+= --enable-pie=no but this does not seem to pass down to config and make, extract from output: ... checking for -pie and -fPIE... yes ... Using FLAGS = -I/usr/ports/net/samba33/work/samba-3.3.9/source/iniparser/src -Iinclude ... PICFLAG = -fPIC -DPIC LIBS = -lcrypt -lexecinfo -liconv LDFLAGS = -pie -Wl,-z,relro -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L./bin Does anybody know how to pass the enable-pie=no option through ports for this one port? -- View this message in context: http://old.nabble.com/Samba-Illegal-instruction%3A-4-%28core-dumped%29-when-running-testparm----sn-mbd-with-default-config-tp26886004p26897662.html Sent from the freebsd-arm mailing list archive at Nabble.com.