From owner-freebsd-current@FreeBSD.ORG Fri Dec 7 01:01:18 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1812216A41A for ; Fri, 7 Dec 2007 01:01:18 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id E2D6013C46B for ; Fri, 7 Dec 2007 01:01:17 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so523604rvb for ; Thu, 06 Dec 2007 17:01:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=Pot05b/HLgHXFzAPc4NCfKEjY2KWrJyj7p1EQ3FWKkA=; b=rw9eJWISE3irBgfEyR1DM1TTPV555SsK2sWT/uE3VPEb624j30BsiMXMUjFf5szPHo+AK5IJm1MAgn7EG5YN42Azpbyy+WCQlNbIJ+vxWs849Oz0ZTFWrlKks/YzxNXamtny6cY8OeJVknVxrtEC7euHq1YnNSDWlro5spFZpQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=IoYAzYN+U9VHdC8Y7bpuSfliIu/UP+BVS7BOhdZWkK9ZSpiLjk+Mg5g2gMUD3dhXO8L4B/PVtlbjEcuoVSAVuZF9uhGAMEn25LkybedZ03lMC+8tJ/buk6JZZ8lhXbgrmI8lXJ2K95IQMWkJ84XQf+v8EAyq7Pfq6z3xuyCkzck= Received: by 10.140.201.1 with SMTP id y1mr2354478rvf.1196987727139; Thu, 06 Dec 2007 16:35:27 -0800 (PST) Received: by 10.141.63.14 with HTTP; Thu, 6 Dec 2007 16:35:27 -0800 (PST) Message-ID: <9bbcef730712061635k382f8838t33c77756212798ad@mail.gmail.com> Date: Fri, 7 Dec 2007 01:35:27 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 46c8305c35a728f9 Cc: Subject: unionfs over cd9660 - solved (?) 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: Fri, 07 Dec 2007 01:01:18 -0000 hi, I've reported (at least twice) a problem with mounting unionfs over cd9660 as the underlying device, that seemed to appear in 7.0-BETA2 or 7.0-BETA3. I've received no independent confirmation of the problems or ideas why it would occur, so I kept trying to solve it when I got time. At last I I've narrowed it down to a strange conclusion: it appears the problem was connected somehow to my build machine, i.e. it's probably not in the code itself. After unsuccessfully trying various dates for cvsup times and similar things, I've created a clean machine as a last resort, and the problem was gone! After comparing the two setups, the most likely cause is a compiler bug when certain optimizations are enabled. The old system had "-Os -mtune=generic", and based on previous experience and reports on the mailing lists I believe the "-Os" part is the most likely culprit. I'll try to verify this theory soon-ish. This solves my problem but the mystery remains why the error condition suddenly appeared at that specific time. Of course, with a buggy compiler almost any change in the code could have provoked it, but still, the rest of the system (and ports) compiled with the flags was working perfectly fine.