From owner-freebsd-current@FreeBSD.ORG Wed Apr 21 15:26:06 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 9B5F9106566C for ; Wed, 21 Apr 2010 15:26:06 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 53A468FC0C for ; Wed, 21 Apr 2010 15:26:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 826819CB0D2; Wed, 21 Apr 2010 17:23:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EF7YuelqXOPr; Wed, 21 Apr 2010 17:23:38 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 460569CB0DF; Wed, 21 Apr 2010 17:23:38 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o3LFNcoJ077361; Wed, 21 Apr 2010 17:23:38 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 21 Apr 2010 17:23:38 +0200 From: Roman Divacky To: Alexander Best Message-ID: <20100421152338.GA77210@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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 15:26:06 -0000 On Wed, Apr 21, 2010 at 05:20:57PM +0200, Alexander Best wrote: > i might have stumbled upon a problem with clang. i've compiled a kernel from > the clang branch using `make kernel INSTKERNNAME=clang` and booted from it. > i'm now experiencing audio problems with mp3s and certain video files. > playback is awfully slow and the audio output gets distorted massively. `top` > however reports no high cpu load and `vmstat -i` doesn't report anything > unusual either. > > this problem doesn't occur with a regular gcc-kernel. > > both kernels are running under a regular (gcc) world. > > i thought it might be a problem with acpi, but disabling acpi > (hint.acpi.0.disabled=1) gives me a system freeze. I've heard about this problem but did not manage to reproduce that. can you try to bisect what file is being miscompiled? ie. compile half of the kernel with gcc and half with clang and bisect this way to a single file. we can work from there...