From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 18:23:27 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCCCC16A421 for ; Tue, 21 Aug 2007 18:23:27 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id 7ECAC13C45D for ; Tue, 21 Aug 2007 18:23:27 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.13.8/8.13.8) with ESMTP id l7LI4emx066884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Aug 2007 14:04:40 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=0.5; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1187719480; bh=kgeQsGG37Dgst/XSStVYunqRJa0=; h=DomainKey-Signature: Received:Date:From:To:cc:Subject:Message-ID:MIME-Version: Content-Type; b=BbqbNW9BBH4mgAjjvsSZh9nn4dKFqFYV8DhprQztLpPmsXuhfV 9N584udJH/wYYRsvIzPE3F2KHC1zEpXev2+A== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:cc:subject:message-id:mime-version:content-type; b=OUzALx/ME/dpMo0vclsDLmR1pLjfXkBMoFUtibyyh5B5bOPH18DZspot84J3B7PFC AhA4HlGfosUoJAZUCl1uA== Received: (from danm@localhost) by prime.gushi.org (8.13.8/8.13.6/Submit) id l7LI4eiG066880; Tue, 21 Aug 2007 14:04:40 -0400 (EDT) (envelope-from danm) Date: Tue, 21 Aug 2007 14:04:39 -0400 (EDT) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Message-ID: <20070821135923.Q64507@prime.gushi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: dougb@freebsd.org Subject: Building UNSTRIPPED binaries in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 18:23:27 -0000 Hello, I am encountering a bug with named-9.4.1-P1 that I am attempting to work with ISC on, that I have built from ports (dns/bind94). However, I need a non-stripped version of the binary to get a backtrace. I can't "roll my own" binary because it may be related to some way that the port is built so I need to maintain a similar build environment. Is there some make.conf or compile time flag that I can set that would prevent the stripping from happening? Or would I just have to manually edit the makefile someplace -- and if so, can anyone give a pointer as to where? Setting the strip command to /bin/true or something, perhaps -- but I can't be sure if the strip_command is being used. I've found references in the porter's handbook that state all binaries should be stripped, but I think in cases like this it would be useful to give the user a universal option to not do so. -Dan -- "Man, this is such a trip" -Dan Mahoney, October 25, 1997 --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------