From owner-freebsd-toolchain@FreeBSD.ORG Wed Dec 1 18:10:00 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BDE91065679; Wed, 1 Dec 2010 18:10:00 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6BEAE8FC17; Wed, 1 Dec 2010 18:09:59 +0000 (UTC) Received: by wyf19 with SMTP id 19so7195602wyf.13 for ; Wed, 01 Dec 2010 10:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=HXbOf9qudNqt0HOrEeeGBLzDRUiQfWvzMVLb91Pd5pA=; b=QfXGy9QnX7y6J3rgEVIGnsvyHy5QBeGR4VSlsK2/JXQ5b3zLB6awvSFfe9y1kx6218 VW8iqgWrqIPyYkS81QTscLMwwViJmcJ1PjfMhqyM3BK4iNs+wZ7ngJEcbKW6jIzebWvL TFT5i9chJhFZCN8vzuZETiaeXYqUI0dPmkESI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=vJOlCT/hRCibFcPju9CQl2jWuUFTdFI1wgjHI6znP8TFD9dBtUscFzXjsHfepNvuFm 7UpU+AZfnkxGVxEpTZIZfpXti3/5JuUpAjSngmXAhsI+1VXc8O57/YbFgkF98EF5/YMh yYMpNDrxa4GR08K4L9bjWGZhcu4fydxF0v/tU= MIME-Version: 1.0 Received: by 10.216.171.75 with SMTP id q53mr7941972wel.74.1291225690624; Wed, 01 Dec 2010 09:48:10 -0800 (PST) Received: by 10.216.12.80 with HTTP; Wed, 1 Dec 2010 09:48:10 -0800 (PST) Date: Wed, 1 Dec 2010 11:48:10 -0600 Message-ID: From: Brandon Gooch To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: DTrace and clang -- ERROR: ctfmerge: kernel.debug: Cannot get sect .note.GNU-stack data X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 18:10:00 -0000 I recently attempted to enable DTrace on a system running HEAD built with clang, and saw this error scrolling by when the kernel and modules were being built: ERROR: ctfmerge: kernel.debug: Cannot get sect .note.GNU-stack data Each module being built also displayed a similar message as to the above. ERROR: ctfmerge: module_name: Cannot get sect .note.GNU-stack data I've followed instructions here for building with clang: http://wiki.freebsd.org/BuildingFreeBSDWithClang ...and here for DTrace: http://wiki.freebsd.org/DTrace I've completed several rounds of building world and kernel from SVN r216082 to r216095. Each time, it seems that kernel in world aren't "in sync" # netstat netstat: no namelist I can build the kernel using gcc, and DTrace (and netstat) output is good. I haven't rebuilt world yet with gcc, as it takes a while, but I'll certainly be doing that at some point I'm sure :) Any debugging hints appreciated... -Brandon