From owner-freebsd-current@FreeBSD.ORG Wed Apr 21 21:30:20 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00B87106564A; Wed, 21 Apr 2010 21:30:20 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay3.uni-muenster.de (ZIVM-RELAY3.UNI-MUENSTER.DE [128.176.192.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5C54E8FC19; Wed, 21 Apr 2010 21:30:19 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.52,252,1270418400"; d="scan'208";a="31889173" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 21 Apr 2010 23:30:15 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id E365D1B0758; Wed, 21 Apr 2010 23:30:15 +0200 (CEST) Date: Wed, 21 Apr 2010 23:30:15 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Roman Divacky Message-ID: In-Reply-To: <20100421201556.GA14044@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@FreeBSD.org Subject: Re: [CFT]: ClangBSD is selfhosting, we need testers now 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, 21 Apr 2010 21:30:20 -0000 Roman Divacky schrieb am 2010-04-21: > On Wed, Apr 21, 2010 at 09:44:45PM +0200, Alexander Best wrote: > > Roman Divacky schrieb am 2010-04-21: > > [snip] > > > 1) cd modules/sound/sound && make CC=3Dgcc > > after this step these are the sizes of sound.ko* in > > modules/sound/sound: > > -rw-r--r-- 1 root wheel 449120 Apr 21 21:36 sound.ko > > -rw-r--r-- 1 root wheel 2284757 Apr 21 21:36 sound.ko.debug > > -rw-r--r-- 1 root wheel 2055512 Apr 21 21:36 sound.ko.symbols > > > 2) make -V SRCS | tr " " "\n" | grep -v \.h | sort | grep > > > "^[a-m].*" > > > | xargs touch > this line is wrong.. it creates empty files which are used instead > of touching the existing ones... it needs to be adjusted so it > touches the files (thus forcing them to be rebuilt with the second > make invocation) i'm now 100% sure that buffer.c is causing the problem. what i did to verif= y this was: cd sys/modules/sound/sound && make CC=3Dclang && touch =2E./../../dev/sound/pcm/buffer.c && make CC=3Dgcc && make install this gives me working sound! --=20 Alexander Best