From owner-freebsd-current@FreeBSD.ORG Sun May 30 00:11:24 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 7731E1065676 for ; Sun, 30 May 2010 00:11:23 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD5D98FC14 for ; Sun, 30 May 2010 00:11:22 +0000 (UTC) Received: by wwb34 with SMTP id 34so1171784wwb.13 for ; Sat, 29 May 2010 17:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=twzuQjE1TgZHuBeOUZyhJ/ENccwVYb/8q/blUqGlLyM=; b=jQlSr5Q+AKlMpHfyULW+ataJ0K2xv8sOAlAZBHo3u/v2WXaPa6/+KbLtF8oOCm14ez f4Nc/EACy3l03x51SrFEzFWT+4j+5iIaswuG/UMLkqgBgaE4S4+OyDwz1QJAccl54lSt Eog5MX4zIsUUIHIKhiq6ZawKN0moStcE4QVL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=qIKT0Fbt1erTLmQ91GctwQkfLo7s47D48HMwLHVp8HP2dP/Aw+3zfeKfEpGA6Brki6 8ByZgS3ws2Jk38P5U5N8JzR45u7tmyTvpMaIoz3QVKUHi8I8pRiYuu30hzqSWTEnGw+T xcrdIsZvvELb1rdEshOcAZ0kwSZuALkvklBJQ= MIME-Version: 1.0 Received: by 10.216.93.19 with SMTP id k19mr2975846wef.5.1275178281467; Sat, 29 May 2010 17:11:21 -0700 (PDT) Received: by 10.216.158.146 with HTTP; Sat, 29 May 2010 17:11:21 -0700 (PDT) Date: Sat, 29 May 2010 20:11:21 -0400 Message-ID: From: "b. f." To: buganini@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@FreeBSD.org Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 00:11:24 -0000 >Hi, with yesterday's CURRENT my bwn works partially. > >this is my hardware >siba_bwn0 at pci0:4:0:0: class=0x028000 card=0x04b514e4 chip=0x431514e4 >rev=0x01 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' > class = network > >it works with WPA ap without destroy/re-create wlan0 >, but it's unstable, at the first time it works, it goes forth and >back between "associated" and "no carrier", >the other times it stay associated but network is down. >and this usually followed by system freeze if I `/etc/rc.d/netif restart` later. > >and it never get associated with a open ap. This sounds similar to the problems detailed in the recent "wpa supplicant (Was: Re: wpi not working on today's current ..." thread. Have you tried reverting r208623 and r208624? b. From owner-freebsd-current@FreeBSD.ORG Sun May 30 02:55:41 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1060) id B50B11065677; Sun, 30 May 2010 02:55:41 +0000 (UTC) Date: Sat, 29 May 2010 19:55:41 -0700 From: Craig Rodrigues To: "datastream datastream.freecity" Message-ID: <20100530025541.GA19805@FreeBSD.org> References: <4BFD4AE6.5040105@cs.rice.edu> <20100526165141.GF83316@deviant.kiev.zoral.com.ua> <4C0158D0.1000902@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current Subject: Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and 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: Sun, 30 May 2010 02:55:41 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, May 30, 2010 at 02:48:13AM +0800, datastream datastream.freecity wrote: > > http://www.nvnews.net/vbulletin/showthread.php?t=150719 > NVIDIA-FreeBSD-x86_64-195.36.24 with r208117 in my T61 laptop works well. Hi, I did the following: - updated r208649 - applied following patch to nvidia-driver port which bumps driver version up to 195.36.24, and also applies kib's patch My system still hangs after doing a startx. I also tried recompiling the driver *without* kib's patch, and my system still hangs. -- Craig Rodrigues rodrigc@crodrigues.org --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="nvidia-patch.txt" ? a.txt ? nvidia-vm_page_lock.1.patch ? work Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11/nvidia-driver/Makefile,v retrieving revision 1.98 diff -r1.98 Makefile 9c9 < DISTVERSION?= 195.36.15 --- > DISTVERSION?= 195.36.24 Index: distinfo =================================================================== RCS file: /home/pcvs/ports/x11/nvidia-driver/distinfo,v retrieving revision 1.36 diff -r1.36 distinfo 1,15c1,3 < MD5 (NVIDIA-FreeBSD-x86-195.36.15.tar.gz) = 2537ca726240344c7eaa44857e2b134e < SHA256 (NVIDIA-FreeBSD-x86-195.36.15.tar.gz) = 21fc89fa59e2cc96e560af856a3fa583ce4bfb7975465c71170c64962201e7a1 < SIZE (NVIDIA-FreeBSD-x86-195.36.15.tar.gz) = 25614326 < MD5 (NVIDIA-FreeBSD-x86_64-195.36.15.tar.gz) = 95af03aedc818a3dfd8ae9f289746ba4 < SHA256 (NVIDIA-FreeBSD-x86_64-195.36.15.tar.gz) = d64c664398cb4dade24af6b108e03607614f1f7584c71449230c646c313d0e7e < SIZE (NVIDIA-FreeBSD-x86_64-195.36.15.tar.gz) = 26449559 < MD5 (NVIDIA-FreeBSD-x86-173.14.25.tar.gz) = 1eca3916a9ae86b953f54405e1881774 < SHA256 (NVIDIA-FreeBSD-x86-173.14.25.tar.gz) = c432ed94ce71e297b2d9304d9f34f906b58e2c7c4bc13d8dbac264ed52fd6261 < SIZE (NVIDIA-FreeBSD-x86-173.14.25.tar.gz) = 16682722 < MD5 (NVIDIA-FreeBSD-x86-96.43.16.tar.gz) = 3fc5c2bb537d4a7664d84a7a0df09c7c < SHA256 (NVIDIA-FreeBSD-x86-96.43.16.tar.gz) = 38bf334284dc600d92d8436333c98d5577e34d69456ed71f1cccc75caa6dffcd < SIZE (NVIDIA-FreeBSD-x86-96.43.16.tar.gz) = 11842453 < MD5 (NVIDIA-FreeBSD-x86-71.86.13.tar.gz) = 19000b906225ebd39ca3edc1b0c3c7a5 < SHA256 (NVIDIA-FreeBSD-x86-71.86.13.tar.gz) = 27ae01cd6fe050871f7785c2146b18e74ea882f6262e46dc965bf26061238447 < SIZE (NVIDIA-FreeBSD-x86-71.86.13.tar.gz) = 8066159 --- > MD5 (NVIDIA-FreeBSD-x86-195.36.24.tar.gz) = b09ee65d4d445fe8679e50bc49bba8c7 > SHA256 (NVIDIA-FreeBSD-x86-195.36.24.tar.gz) = d175c6848ac174f4c0c54ce7325959e21132f833e13d34004fab116c7034244f > SIZE (NVIDIA-FreeBSD-x86-195.36.24.tar.gz) = 25632339 Index: files/patch-nvidia-vm_page_lock.1 =================================================================== RCS file: files/patch-nvidia-vm_page_lock.1 diff -N files/patch-nvidia-vm_page_lock.1 0a1,34 > --- src/nvidia_subr.c.orig 2010-05-26 19:34:20.722118986 +0300 > +++ src/nvidia_subr.c 2010-05-26 19:50:00.198768786 +0300 > @@ -1237,6 +1237,7 @@ > struct nvidia_alloc *at; > struct nvidia_softc *sc = nv->os_state; > vm_offset_t address; > + vm_page_t m; > uint32_t i; > vm_memattr_t attr; > uint32_t size = (count * PAGE_SIZE); > @@ -1301,9 +1302,10 @@ > > for (i = 0; i < count; i++) { > pte_array[i] = at->pte_array[i].physical_address; > - vm_page_lock_queues(); > - vm_page_wire(PHYS_TO_VM_PAGE(pte_array[i])); > - vm_page_unlock_queues(); > + m = PHYS_TO_VM_PAGE(pte_array[i]); > + vm_page_lock(m); > + vm_page_wire(m); > + vm_page_unlock(m); > sglist_append_phys(at->sg_list, pte_array[i], PAGE_SIZE); > } > > @@ -1365,9 +1367,7 @@ > os_flush_cpu_cache(); > > for (i = 0; i < count; i++) { > - vm_page_lock_queues(); > vm_page_unwire(PHYS_TO_VM_PAGE(at->pte_array[i].physical_address), 0); > - vm_page_unlock_queues(); > kmem_free(kernel_map, > at->pte_array[i].virtual_address, PAGE_SIZE); > malloc_type_freed(M_NVIDIA, PAGE_SIZE); --Kj7319i9nmIyA2yE-- From owner-freebsd-current@FreeBSD.ORG Sun May 30 12:50:48 2010 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 AC4851065677 for ; Sun, 30 May 2010 12:50:48 +0000 (UTC) (envelope-from gerd@truschinski.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162]) by mx1.freebsd.org (Postfix) with ESMTP id 37F078FC1B for ; Sun, 30 May 2010 12:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1275223844; l=713; s=domk; d=truschinski.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=CKe2CLlUcbji12kaMESK32I6BXE=; b=eLDBCUnS1MM6pBlD1PzetWcj22vRgwUbvSYGW55wVMmYuTvGY86H1uQA10FY5HW3R9p 5DAlffgKf6JcLIH0VM+nX1//pVRcNp+1T/HMFXzLCM7YHLS7ckZ9FUGbrhP5GUZN/9iqe lf7MZgg/XutXAQBPIwZmp7O1dZunZD+euro= X-RZG-AUTH: :K2kWcWC8aeptqAZ2mRDu0s07mmH1zFKQdF0lCrKer4N5IzlbYCUfXh+UU9cpFXAUAYM= X-RZG-CLASS-ID: mo00 Received: from [192.168.10.105] (dslb-188-103-110-107.pools.arcor-ip.net [188.103.110.107]) by post.strato.de (fruni mo30) (RZmta 23.2) with ESMTP id n05a7bm4UCkpzi for ; Sun, 30 May 2010 14:50:44 +0200 (MEST) Message-ID: <4C025F6C.6030109@truschinski.de> Date: Sun, 30 May 2010 14:51:56 +0200 From: Gerd Truschinski User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: current@freebsd.org References: <4BFBC027.8090504@truschinski.de> In-Reply-To: <4BFBC027.8090504@truschinski.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: No internet with snapshots 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: Sun, 30 May 2010 12:50:48 -0000 Gerd Truschinski wrote: > Hi there, > > I tried to install the latest > FreeBSD-9.0-CURRENT-201005-amd64-bootonly.iso. > FreeBSD is starting, sysinstall is running. > I want to install from ftp.freebsd.org. Therefor I try to set the > _Media Typ_ in the _Options Editor_. > I select the only Network Interface, a nfe, no IP6 but DHCP. I get an > IP address from my Router and then I get a > "Cannot resolv hostname ftp.freebsd.org". > > This seems to happen with older snapshots also. > I have tried some other snapshots. It seems to be a Problem for 9.0-current only. All 8-stable versions I tried are ok. So something in the network area must have changed from 8-stable to 9-current. /gT/ From owner-freebsd-current@FreeBSD.ORG Sun May 30 13:59:05 2010 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 34B561065672; Sun, 30 May 2010 13:59:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id A347C8FC0C; Sun, 30 May 2010 13:59:03 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4UDxDRi048970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 May 2010 16:59:13 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4UDwxpM049143; Sun, 30 May 2010 16:58:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4UDwxdm049142; Sun, 30 May 2010 16:58:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 30 May 2010 16:58:59 +0300 From: Kostik Belousov To: Roman Divacky Message-ID: <20100530135859.GI83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CSCA+PEg5DMXrRMV" Content-Disposition: inline In-Reply-To: <20100529130240.GA99732@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Sun, 30 May 2010 13:59:05 -0000 --CSCA+PEg5DMXrRMV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: > hi, >=20 > ClangBSD was updated to LLVM/clang revision 104832 which is what we > aim to import into HEAD in roughly a week. We would like the initial It was promised that before the import, the public discussion on the mailing list will happen. So far, nothing appeared on either arch@ or current@ providing argumentation why should we accept this. --CSCA+PEg5DMXrRMV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwCbyEACgkQC3+MBN1Mb4iTtgCgrTrxCCcig7ttpreI6wW4EcnI V6UAoPE72KFblwh1mqIGOc+v9dAY4xsY =VlIY -----END PGP SIGNATURE----- --CSCA+PEg5DMXrRMV-- From owner-freebsd-current@FreeBSD.ORG Sun May 30 14:30:39 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 0CE6D1065686; Sun, 30 May 2010 14:30:39 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id BA25C8FC08; Sun, 30 May 2010 14:30:38 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1OIjX9-0003AV-RD; Sun, 30 May 2010 18:30:36 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 1618CB84D; Sun, 30 May 2010 18:30:35 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 032DCB833; Sun, 30 May 2010 18:30:35 +0400 (MSD) Date: Sun, 30 May 2010 18:30:35 +0400 From: Dmitry Marakasov To: freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org Message-ID: <20100530143034.GH43302@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: need better POSIX semaphore support 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: Sun, 30 May 2010 14:30:39 -0000 Hi! Not long ago, POSIX semaphores support was enabled by default as it's becoming more widely used, by e.g. firefox. However, the support for these is still incomplete: we only have systemwide limit of 30 semaphores, and that doesn't seem to be configurable neither online with sysctl, nor at boottime from loader.conf. I only was able to raise semaphore count by changing SEM_MAX in kernel sources. The real appliaction which needs more semaphores is lightspark (graphics/lightspark-devel) flash plugin - it uses ~40 sems for simple clips and ~250 for something like youtube videos. Until there more apps that require proper semaphore support, I guess we need to improve it asap. Given the amount of memory used by ksem, the least can be done is SEM_MAX bumped up to 5120 or so for non-embedded kernels. 5120 semaphores require just 644k of kernel memory (judging by vmstat), and is "ought to be enough for anybody". Another good thing would be to make it configurable at boot-time or even better in runtime. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-current@FreeBSD.ORG Sun May 30 15:06:28 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 3855110656CB; Sun, 30 May 2010 15:06:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id C46458FC16; Sun, 30 May 2010 15:06:27 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4UF6aM4053517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 May 2010 18:06:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4UF6MY7049447; Sun, 30 May 2010 18:06:22 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4UF6MCi049446; Sun, 30 May 2010 18:06:22 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 30 May 2010 18:06:22 +0300 From: Kostik Belousov To: Dmitry Marakasov Message-ID: <20100530150622.GJ83316@deviant.kiev.zoral.com.ua> References: <20100530143034.GH43302@hades.panopticon> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aJd1ttTPPR7r8b0Q" Content-Disposition: inline In-Reply-To: <20100530143034.GH43302@hades.panopticon> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: need better POSIX semaphore support 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: Sun, 30 May 2010 15:06:28 -0000 --aJd1ttTPPR7r8b0Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2010 at 06:30:35PM +0400, Dmitry Marakasov wrote: > Hi! >=20 > Not long ago, POSIX semaphores support was enabled by default as it's > becoming more widely used, by e.g. firefox. However, the support > for these is still incomplete: we only have systemwide limit of 30 > semaphores, and that doesn't seem to be configurable neither online with > sysctl, nor at boottime from loader.conf. I only was able to raise > semaphore count by changing SEM_MAX in kernel sources. >=20 > The real appliaction which needs more semaphores is lightspark > (graphics/lightspark-devel) flash plugin - it uses ~40 sems for simple > clips and ~250 for something like youtube videos. >=20 > Until there more apps that require proper semaphore support, I guess > we need to improve it asap. Given the amount of memory used by ksem, > the least can be done is SEM_MAX bumped up to 5120 or so for > non-embedded kernels. 5120 semaphores require just 644k of kernel > memory (judging by vmstat), and is "ought to be enough for anybody". > Another good thing would be to make it configurable at boot-time > or even better in runtime. HEAD contains different implementation. Apparently, it did not made into stable/8 yet, so it will not appear in the 8.1. Try this, I could try to squeeze it into 8.1. diff --git a/sys/kern/posix4_mib.c b/sys/kern/posix4_mib.c index 5242b31..41e28da 100644 --- a/sys/kern/posix4_mib.c +++ b/sys/kern/posix4_mib.c @@ -57,6 +57,9 @@ SYSCTL_DECL(_p1003_1b); #define P1B_SYSCTL(num, name) \ SYSCTL_INT(_p1003_1b, num, \ name, CTLFLAG_RD, facility + num - 1, 0, ""); +#define P1B_SYSCTL_RW(num, name) \ +SYSCTL_INT(_p1003_1b, num, \ + name, CTLFLAG_RW, facility + num - 1, 0, ""); =20 #else =20 @@ -65,6 +68,9 @@ SYSCTL_DECL(_kern_p1003_1b); #define P1B_SYSCTL(num, name) \ SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \ name, CTLFLAG_RD, facility + num - 1, 0, ""); +#define P1B_SYSCTL_RW(num, name) \ +SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \ + name, CTLFLAG_RW, facility + num - 1, 0, ""); SYSCTL_NODE(_kern, OID_AUTO, p1003_1b, CTLFLAG_RW, 0, "P1003.1B"); =20 #endif @@ -91,7 +97,7 @@ P1B_SYSCTL(CTL_P1003_1B_DELAYTIMER_MAX, delaytimer_max); P1B_SYSCTL(CTL_P1003_1B_MQ_OPEN_MAX, mq_open_max); P1B_SYSCTL(CTL_P1003_1B_PAGESIZE, pagesize); P1B_SYSCTL(CTL_P1003_1B_RTSIG_MAX, rtsig_max); -P1B_SYSCTL(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); +P1B_SYSCTL_RW(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); P1B_SYSCTL(CTL_P1003_1B_SEM_VALUE_MAX, sem_value_max); P1B_SYSCTL(CTL_P1003_1B_SIGQUEUE_MAX, sigqueue_max); P1B_SYSCTL(CTL_P1003_1B_TIMER_MAX, timer_max); --aJd1ttTPPR7r8b0Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwCfu4ACgkQC3+MBN1Mb4inuACgwDhkHfAox2Km+EKeQkUkYQeM QusAmgLSXQKMzuGanmQD8yhBUlqcvDN3 =Irt5 -----END PGP SIGNATURE----- --aJd1ttTPPR7r8b0Q-- From owner-freebsd-current@FreeBSD.ORG Sun May 30 17:48:41 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 1A6421065673; Sun, 30 May 2010 17:48:41 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 99EE28FC14; Sun, 30 May 2010 17:48:40 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 01DFA3A581; Sun, 30 May 2010 19:48:38 +0200 (CEST) Date: Sun, 30 May 2010 19:48:38 +0200 From: Lars Engels To: Rui Paulo Message-ID: <20100530174838.GC41305@e.0x20.net> Mail-Followup-To: Lars Engels , Rui Paulo , bf1783@gmail.com, Doug Barton , freebsd-current@freebsd.org References: <4C00832A.4030102@FreeBSD.org> <958F0C5A-3CE8-41E2-9C6B-AC1C3C1863C7@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="P6d3k5Edf9pZm0D3" Content-Disposition: inline In-Reply-To: <958F0C5A-3CE8-41E2-9C6B-AC1C3C1863C7@FreeBSD.org> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: bf1783@gmail.com, Doug Barton , freebsd-current@freebsd.org Subject: Re: wpa_supplicant (Was: Re: wpi not working on today's current (r208626)) 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: Sun, 30 May 2010 17:48:41 -0000 --P6d3k5Edf9pZm0D3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 29, 2010 at 11:20:18AM +0100, Rui Paulo wrote: >=20 > On 29 May 2010, at 05:39, b. f. wrote: >=20 > > On 5/28/10, Doug Barton wrote: > >> On 5/28/2010 4:50 PM, b. f. wrote: > >>>=20 > >>> I can't see any problems when using WPA2 with AES on r208606 i386 with > >>> uath(4). I'm updating this machine to r208630 tonight, and if I > >>> encounter problems with the later revision, I'll let you know. > >>=20 > >> Ok, thanks. > >>=20 > >>> Are > >>> you saying that you experienced problems when trying to use a r207134 > >>> base with a r208626 kernel? If that's the case, I would recommend > >>> updating the base to the same revision as the kernel, and then > >>> retesting. > >>=20 > >> Yes, that's what I'm doing I actually tried running the newly built > >> wpa_supplicant but that didn't work. I'm kind of hesitant to do the fu= ll > >> upgrade since I'm having kernel problems with the nvidia driver, but if > >> I'm sure wpa_supplicant will work then I suppose I can bite the bullet. > >>=20 > >=20 > > It appears that something is wrong. My wireless stick no longer > > associates with the network with r208630. I'll do some tinkering. >=20 > That's odd. The only way for that to happen would be caused bug in the > taskqueue stuff that zml committed, I think, but that's a long shot. Correction: Wireless actually works if you set the channel manually and start wpa_supplicant afterwards. So wpa_supplicant no longer seems to be able to change the channel itself. --P6d3k5Edf9pZm0D3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkwCpPYACgkQKc512sD3afixDQCgxiqb5N4dD1NU7uHfn1y3XsqL gSEAn0asHbB1i6OynWdK12AfGOeCi84E =I9sV -----END PGP SIGNATURE----- --P6d3k5Edf9pZm0D3-- From owner-freebsd-current@FreeBSD.ORG Sun May 30 22:48:30 2010 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 AABC4106564A for ; Sun, 30 May 2010 22:48:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8832D8FC19 for ; Sun, 30 May 2010 22:48:30 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 3E3BB46B39 for ; Sun, 30 May 2010 18:48:30 -0400 (EDT) Date: Sun, 30 May 2010 23:48:30 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: ^T reports negative real time... 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: Sun, 30 May 2010 22:48:30 -0000 robert@cinnamon-freebsd:~/freebsd/svncommit/base/projects/capabilities8> svn update At revision 208660. load: 0.13 cmd: svn 5129 [select] -1.66r 0.00u 0.00s 0% 22504k Annoying enough that svn is hanging indefinitely here, but the negative runtime makes it worse :-). The process is alive, just... stalled. robert@cinnamon-freebsd:~/p4/projects/trustedbsd/capabilities> ps axl 5129 UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 1001 5129 5046 0 76 0 33268 22512 select S+ 3 0:00.00 svn updat Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Sun May 30 23:54:50 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 7B47B1065670 for ; Sun, 30 May 2010 23:54:50 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3441A8FC16 for ; Sun, 30 May 2010 23:54:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OIsLA-00049X-00 for freebsd-current@freebsd.org; Mon, 31 May 2010 01:54:48 +0200 Received: from 93-141-43-41.adsl.net.t-com.hr ([93.141.43.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 01:54:47 +0200 Received: from ivoras by 93-141-43-41.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 01:54:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org connect(): No such file or directory From: Ivan Voras Date: Mon, 31 May 2010 01:54:38 +0200 Lines: 8 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-141-43-41.adsl.net.t-com.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100507 Thunderbird/3.0.4 In-Reply-To: Subject: SUJ and "mount" reporting 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: Sun, 30 May 2010 23:54:50 -0000 Shouldn't SU+J be visible in the output of "mount" somehow? I've just enabled it on a root file system of a machine and while tunefs and dumpfs report both soft-updates and SUJ are enabled (after reboot), the "mount" command only shows "soft-updates". Alternative question: how to verify is it active on a live file system? (running CURRENT from a few hours ago, kernel&world synced) From owner-freebsd-current@FreeBSD.ORG Mon May 31 00:07:55 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 2A2121065670; Mon, 31 May 2010 00:07:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E73248FC1F; Mon, 31 May 2010 00:07:54 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 2AF2360D1; Sun, 30 May 2010 20:07:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1275264474; bh=6ZFjyaLdDL9D6Us8fEajMrOd7XpPemHa+370jbNtNPM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=LznSqoDtlN6/HJ6qcU/tQV1F8gLXPOOV96zlIR0fgCM9nSG9EZQU9nY6wxScp8Rqm H7e+T1h+bkQ0Ve4g200V2qfFPuzXKDBd0WKYsQcwdRXTiLBJ6wj0OCaJ95pzZAr DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=mPAiMVj+Gj7EEoDxO2CB5L4McJEQZL/XAFBh5iM369dlEk8oeBE+OFloWERvj2+Ek tegy076eThU8Z7htimCTTooEe+o90U4ZDHE54IpZaVuwIM/0L9az9rfCWe9737i Message-ID: <4C02FDD4.4030705@protected-networks.net> Date: Sun, 30 May 2010 20:07:48 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100422 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ivan Voras References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=0442D492 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: SUJ and "mount" reporting 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: Mon, 31 May 2010 00:07:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/30/10 19:54, Ivan Voras wrote: > Shouldn't SU+J be visible in the output of "mount" somehow? I've just > enabled it on a root file system of a machine and while tunefs and > dumpfs report both soft-updates and SUJ are enabled (after reboot), the > "mount" command only shows "soft-updates". Alternative question: how to > verify is it active on a live file system? tunefs -p works even when the file-system is mounted in multi-user mode, e.g. imb@toshi:/home/imb> tunefs -p / tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwC/dQACgkQQv9rrgRC1JKzagCgiviuFD/uTunc5bYQvkjvnT0j p1IAn3OJ8af8W4Jjj34cZVUyX4EMDk32 =cw0I -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon May 31 00:30:08 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 29F591065675; Mon, 31 May 2010 00:30:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id D09228FC18; Mon, 31 May 2010 00:30:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B13D941C7AC; Mon, 31 May 2010 02:30:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id TWlnHhXLB0LZ; Mon, 31 May 2010 02:30:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 0244641C7AB; Mon, 31 May 2010 02:30:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 713EE4448EC; Mon, 31 May 2010 00:25:40 +0000 (UTC) Date: Mon, 31 May 2010 00:25:40 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Ivan Voras In-Reply-To: Message-ID: <20100531002417.R96912@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: SUJ and "mount" reporting 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: Mon, 31 May 2010 00:30:08 -0000 On Mon, 31 May 2010, Ivan Voras wrote: > Shouldn't SU+J be visible in the output of "mount" somehow? I've just enabled > it on a root file system of a machine and while tunefs and dumpfs report both > soft-updates and SUJ are enabled (after reboot), the "mount" command only > shows "soft-updates". Alternative question: how to verify is it active on a > live file system? > > (running CURRENT from a few hours ago, kernel&world synced) As previously stated - this is a hack to do what I think you are asking for: http://people.freebsd.org/~bz/20100309-03-mount.diff Using tunefs, etc. for now would be better. /bz -- Bjoern A. Zeeb I will let you know once I escaped from my bird cage and learnt to fly again. -- Ottawa, ON, Canada, 21st May 2010 From owner-freebsd-current@FreeBSD.ORG Mon May 31 05:56:03 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 D158A1065672 for ; Mon, 31 May 2010 05:56:03 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 76AD68FC2D for ; Mon, 31 May 2010 05:56:02 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 6B80EA60325; Mon, 31 May 2010 13:55:55 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id jpXaYSRt-0Jn; Mon, 31 May 2010 13:55:44 +0800 (CST) Received: from delta.delphij.net (c-24-4-100-103.hsd1.ca.comcast.net [24.4.100.103]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id C34F8A60234; Mon, 31 May 2010 13:55:43 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=w6fYxGNn7oHxHj4y2TE0uSxoZrT/Tl3umTM9rPZqDMMcdZfxfH54hFbkNcQoaxOUd QYq4aIwD6PiFATtqLEpVA== Message-ID: <4C034F5B.10806@delphij.net> Date: Sun, 30 May 2010 22:55:39 -0700 From: Xin LI Organization: The Geek China Organization User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100408 Thunderbird/3.0.4 ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: FreeBSD Current X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: AES NI vs BIOS settings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 05:56:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, I just found that if I disable "AES NI" in BIOS setting, FreeBSD would be able to detect it on boot with: Features2=0x29ee3ff,DCA,SSE4.1,SSE4.2,POPCNT,AESNI> However if it's set to "enabled" I got: Features2=0x9ee3fd,DCA,SSE4.1,SSE4.2,POPCNT> The CPU was Xeon L5630 and motherboard is Supermicro X8STi with BIOS 1.00c. Should I consider this a BIOS issue with known workaround that I consider "Disable" as "Enabled"? :) Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBCAAGBQJMA09bAAoJEATO+BI/yjfB/wAH/jxlUlwLDq/tLans2sbu+Yjl UpoJjcLEx7e3RAlPMyzNFa7/D4NTWwaYhF1G4Vb+ylkIh8CGlNj+2dzfVMOeg93B yBeuAG0geItDB55KmbTvO0Nly4eU6tt5GP2QGAkzgSd9KDWkYgggLYxc8iFtSe+E cF5uyPFR9IQZ/t7wtjqKAFZeqM18dfstZ/lGFgH4nXvwHsL5OScOd2dTrPSJXvoI eYz+TBOw6IwuxRlJjbO9kXUjKQmMyJdH//Wd9R7wpXNZwPtCram+dJGUXSWgRrVw Ku9+iFBjvqUmrqCnx74cFkYSvehlolMoOUtB7vrYorQMPiGy37cKtd4cQq27YDE= =iTxq -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon May 31 06:03:21 2010 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 C5BE0106564A; Mon, 31 May 2010 06:03:21 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3EC8FC0C; Mon, 31 May 2010 06:03:21 +0000 (UTC) Received: from ydesk.samsco.home (ydesk.samsco.home [192.168.254.15]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o4V63Hvp055036; Mon, 31 May 2010 00:03:17 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <20100530135859.GI83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 00:03:17 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Mailer: Apple Mail (2.1077) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 06:03:21 -0000 On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: >> hi, >>=20 >> ClangBSD was updated to LLVM/clang revision 104832 which is what we >> aim to import into HEAD in roughly a week. We would like the initial > It was promised that before the import, the public discussion on > the mailing list will happen. So far, nothing appeared on either > arch@ or current@ providing argumentation why should we accept this. Sounds like you're inviting the discussion right now. I'll start =3D-) 1. I hate gcc with the burning heat of a million suns. It's not a tool, = it's a political weapon wielded by the FSF and their acolytes. It's = also a crummy piece of software that has been "good enough" for far too = long. Its development model is a burden to work with and has been a = major liability towards FreeBSD releases in the past. Its demise cannot = happen soon enough. 2. Due to the political bent of the GPL3 and the FSF's insistence on = shoving it down everyone's throats, FreeBSD is stuck with a dead-end = version of gcc. This has already been a liability in terms of = addressing bugs in gcc itself, and it will only get worse as technology = moves forward and gcc stands still. 3. Clang/LLVM has an active development base and a clear future. It = will move forward while gcc rots. There simply is no future left in gcc = unless the FreeBSD project decides to embrace the GPL3, and that's a = move that has already been heavily discussed, debated, and decided on. = Anecdotally, I think that FreeBSD is benefiting from shunning the GPL3; = it's made it an attractive option for companies looking for an = unencumbered OS for their products. 4. While Clang is immature now, it will mature in the near future, and = FreeBSD will benefit from that process. FreeBSD will get built-in = access to upcoming technologies like GCD+Blocks and better code editors = and development tools that gcc will never support. It'll break free of = the development stranglehold that exists within gcc. Clang has shown = good agility in adapting to the needs of FreeBSD and the legacy of gcc, = thanks in large part to the efforts of people like Roman. Gcc has been = nothing but drama and headache, even with the valiant efforts of people = like Alexander Kabaev. 5. If all of this turns out to not be true and Clang/LLVM fails, = FreeBSD has lost nothing and can remove it from the base system. Gcc = remains where it is for now, at least until it's time for the "remove = gcc discussion". The future is !gcc. Putting Clang+LLVM into a position where it can be = easily embraced by FreeBSD users will greatly benefit the FreeBSD = project. Scott From owner-freebsd-current@FreeBSD.ORG Mon May 31 07:49:37 2010 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 AF39C1065679 for ; Mon, 31 May 2010 07:49:37 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9C78FC18 for ; Mon, 31 May 2010 07:49:36 +0000 (UTC) Received: by gwj23 with SMTP id 23so2706518gwj.13 for ; Mon, 31 May 2010 00:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=paI8ljEkwMq86ijLvGgQAjhiF489PEeRoao3pVRJjns=; b=udEyqIG/6EjdfqKAWmXw+X2TddhqnMATb/WIvz+GZd1nNxkkqJQOdGBtDEusWJgSU+ INGobIDVTFnKskwR9rIwxBgy/YCXdssBCOacfdSpn+d7e+JaRGt1XhndcBs/bk1q86TF NHH6H8DhWYWcSX+G4aMDfVBA+cCsC2totqEx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CEJ89l31E8ZXglpW2w5oVkev7JaY2H/Snj1KEpX/0mYqff9f/Fwor/hdCXLbbxgLPj hNu90mrN1pYyZVpnBImYiKURhepHdPsRQ8TnMjPREZJagBuvna8BWp1HCyRSWfOl2o9w DUjePGE5SpIjUAfyX0A1bRsmjl+7XkHsQ/B8w= MIME-Version: 1.0 Received: by 10.231.120.159 with SMTP id d31mr5277602ibr.89.1275292175367; Mon, 31 May 2010 00:49:35 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 00:49:35 -0700 (PDT) In-Reply-To: <20100529130240.GA99732@freebsd.org> References: <20100529130240.GA99732@freebsd.org> Date: Mon, 31 May 2010 02:49:35 -0500 Message-ID: From: Brandon Gooch To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 07:49:37 -0000 On Sat, May 29, 2010 at 8:02 AM, Roman Divacky wrote= : > hi, > > ClangBSD was updated to LLVM/clang revision 104832 which is what we aim t= o import > into HEAD in roughly a week. We would like the initial import to be as pa= inless > as possible and therefore we ask you to test ClangBSD to assure that the = revision > we are importing does not have some really embarassing bugs. > > How to do it (on i386 and amd64): > > 0) install fresh devel/llvm-devel port > > 1) svn co http://svn.freebsd.org/base/projects/clangbsd src > > 2) echo NO_WERROR=3D >> /etc/src.conf ; echo WERROR=3D >> /etc/src.conf > > 3) cd src && make buildworld > > 4) make installworld DESTDIR=3D/usr/clangbsd > > 5) (optional) try to build kernel with clang and boot it > > =A0 =A0 =A0 =A05.1) cd /sys/{arch}/conf > =A0 =A0 =A0 =A05.2) config YOUR_KERNEL > =A0 =A0 =A0 =A05.3) setenv CC clang in tcsh or export CC=3Dclang in bash > =A0 =A0 =A0 =A05.4) cd ../compile/YOUR_KERNEL > =A0 =A0 =A0 =A05.5) make && make install > > please make sure that it builds (on amd64/i386) and that the resulting wo= rld > is runnable. ie. try to chroot into it and "do stuff". ie. > > =A0 =A0 =A0 =A0chroot /clangbsd /bin/tcsh > > =A0 =A0 =A0 =A0... stuff ... > > > there's a wiki page on this effort: http://wiki.freebsd.org/BuildingFreeB= SDWithClang > > please report back any problems/success to me and/or this mailing list. > > thank you for your testing! > > Roman Divacky on behalf of the ClangBSD team > I'm running on a "full" ClangBSD system (world and kernel), and I've had no issues for the past couple of days. I've had the machine working nearly constantly -- building new and updating installed ports, running several ezjails (PostgreSQL, Apache 2.2, etc...), and generally using/abusing my computer by watching Flash video on the bsdconferences channel on YouTube... So, what exactly should we expect, if anything, to break? :) Is there anything more useful than an "it works" type of feedback that a novice user like myself could provide? And... A Little Message To the ClangBSD Team: As little more than a novice user, I realize that I don't have the full picture of what moving from GCC to clang/llvm means to FreeBSD. I don't have enough experience with either compiler technology or the FreeBSD project to have a lot to say in any discussion or dialog regarding the decisions to come. But I do trust the FreeBSD project as a whole -- the technology and the people involved -- and it seems that this is a mandatory step in order to continue to to enhance FreeBSD. So thank you to the ClangBSD team for making awesome progress. It makes me incredibly happy to see all those involved with ClangBSD, especially Roman, stand up and steer FreeBSD toward the future. Looking forward to it, -Brandon From owner-freebsd-current@FreeBSD.ORG Mon May 31 07:56:20 2010 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 138591065675 for ; Mon, 31 May 2010 07:56:20 +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 C0FF78FC12 for ; Mon, 31 May 2010 07:56:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8001A9CB08A for ; Mon, 31 May 2010 09:52:50 +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 c-gLfgNHUknT for ; Mon, 31 May 2010 09:52:48 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 398E49CB140 for ; Mon, 31 May 2010 09:52:48 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4V7qm5D015371 for current@freebsd.org; Mon, 31 May 2010 09:52:48 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 09:52:48 +0200 From: Roman Divacky To: current@freebsd.org Message-ID: <20100531075248.GA15206@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 07:56:20 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I would like to propose to integrate clang/LLVM into FreeBSD HEAD in the near future (days, not weeks). clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly replace gcc. It is BSDL-like licensed. The sources are ~45MB (the svn checkout is 97MB). Clang/LLVM is written in C++. Clang can compile all of FreeBSD on i386/amd64 including world and booting kernel. Other architectures that are close to working are MIPS, PowerPC and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM sources and the build infrastructure and this is what we aim to integrate at first. =20 The import of clang/LLVM was discussed at the toolchain summit May 10th but I would like to hear your opinion. I got approval from core@ on importing it. So please share your support or resistance to the idea of importing clang. Roman Divacky --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwDatAACgkQLVEj6D3CBEyo8wCfQ7zB85gRp44CLrhxBkTUu/g0 lFwAn0z0wgPfpRsZ6xh6aIC50vHfDKP0 =u/GA -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 08:35:16 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 F2EF81065678 for ; Mon, 31 May 2010 08:35:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 6E48F8FC1A for ; Mon, 31 May 2010 08:35:15 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4V8Z3oM028748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 11:35:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4V8Yoc6054613; Mon, 31 May 2010 11:34:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4V8YosD054612; Mon, 31 May 2010 11:34:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 May 2010 11:34:50 +0300 From: Kostik Belousov To: d@delphij.net Message-ID: <20100531083450.GQ83316@deviant.kiev.zoral.com.ua> References: <4C034F5B.10806@delphij.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mhFomgJQ1VTZ9Fr0" Content-Disposition: inline In-Reply-To: <4C034F5B.10806@delphij.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD Current Subject: Re: AES NI vs BIOS settings 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: Mon, 31 May 2010 08:35:17 -0000 --mhFomgJQ1VTZ9Fr0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2010 at 10:55:39PM -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > Hi, >=20 > I just found that if I disable "AES NI" in BIOS setting, FreeBSD would > be able to detect it on boot with: >=20 > Features2=3D0x29ee3ff,DCA,SSE4.1,SSE4.2,POPCNT,AESNI> >=20 > However if it's set to "enabled" I got: >=20 > Features2=3D0x9ee3fd,DCA,SSE4.1,SSE4.2,POPCNT> >=20 > The CPU was Xeon L5630 and motherboard is Supermicro X8STi with BIOS > 1.00c. Should I consider this a BIOS issue with known workaround that I > consider "Disable" as "Enabled"? :) On the only machine with AESNI-capable Core i5 I have access to thanks to Sentex Communications, AESNI bit is reported as 1 and aesni instructions do work. You could try to actually use aesni and see what is broken. I failed to find a magic bit to enable/disable AESNI in the MSRs. --mhFomgJQ1VTZ9Fr0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwDdKkACgkQC3+MBN1Mb4jsaQCgjk7FlSDrVmiEL2G1G0VS0pd7 bWcAoIyj/7Y2qIuMZfrx+6KBNfsLoBP0 =2ukd -----END PGP SIGNATURE----- --mhFomgJQ1VTZ9Fr0-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 09:00:00 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 2197A1065676 for ; Mon, 31 May 2010 09:00:00 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.net (unknown [IPv6:2a01:240:fe5c::41]) by mx1.freebsd.org (Postfix) with ESMTP id CD1988FC19 for ; Mon, 31 May 2010 08:59:59 +0000 (UTC) Received: from roberto-al.eurocontrol.fr (aran.keltia.net [88.191.250.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix/TLS) with ESMTPSA id 39A5C8A51 for ; Mon, 31 May 2010 10:59:58 +0200 (CEST) Date: Mon, 31 May 2010 10:59:53 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org Message-ID: <20100531085953.GA87750@roberto-al.eurocontrol.fr> References: <20100531075248.GA15206@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100531075248.GA15206@freebsd.org> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 7.2 / Dell D820 SMP User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (keltia.net); Mon, 31 May 2010 10:59:58 +0200 (CEST) Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 09:00:00 -0000 According to Roman Divacky: > So please share your support or resistance to the idea of importing clang. Full support from me (but that will not be a surprise ;-)) -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/ From owner-freebsd-current@FreeBSD.ORG Mon May 31 09:08:53 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 69C5F10657CE for ; Mon, 31 May 2010 09:08:53 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D4AEB8FC1C for ; Mon, 31 May 2010 09:08:52 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJ0zL-0000Yk-QZ for freebsd-current@freebsd.org; Mon, 31 May 2010 11:08:51 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 11:08:51 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 May 2010 11:08:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org connect(): No such file or directory From: Ivan Voras Date: Mon, 31 May 2010 11:08:48 +0200 Lines: 22 Message-ID: References: <20100531002417.R96912@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100518 Thunderbird/3.0.4 In-Reply-To: <20100531002417.R96912@maildrop.int.zabbadoz.net> X-Enigmail-Version: 1.0.1 Subject: Re: SUJ and "mount" reporting 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: Mon, 31 May 2010 09:08:53 -0000 On 05/31/10 02:25, Bjoern A. Zeeb wrote: > On Mon, 31 May 2010, Ivan Voras wrote: > >> Shouldn't SU+J be visible in the output of "mount" somehow? I've just >> enabled it on a root file system of a machine and while tunefs and >> dumpfs report both soft-updates and SUJ are enabled (after reboot), >> the "mount" command only shows "soft-updates". Alternative question: >> how to verify is it active on a live file system? >> >> (running CURRENT from a few hours ago, kernel&world synced) > > As previously stated - this is a hack to do what I think you are > asking for: > http://people.freebsd.org/~bz/20100309-03-mount.diff Yes, this looks like it... > Using tunefs, etc. for now would be better. I did use tunefs, as I've said, but I'm concerned what would happen (if it can - stale kernel?) if the superblock that tunefs reads from the disk and the kernel state are different. From owner-freebsd-current@FreeBSD.ORG Mon May 31 09:56:30 2010 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 2B29D1065672; Mon, 31 May 2010 09:56:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3118FC16; Mon, 31 May 2010 09:56:29 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4V9uWnb035647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 12:56:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4V9uI8t057314; Mon, 31 May 2010 12:56:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4V9uHc2057187; Mon, 31 May 2010 12:56:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 May 2010 12:56:17 +0300 From: Kostik Belousov To: Scott Long Message-ID: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7m9CHdxeBipTaBWu" Content-Disposition: inline In-Reply-To: <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 09:56:30 -0000 --7m9CHdxeBipTaBWu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: > On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: > > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: > >> hi, > >>=20 > >> ClangBSD was updated to LLVM/clang revision 104832 which is what we > >> aim to import into HEAD in roughly a week. We would like the initial > > It was promised that before the import, the public discussion on > > the mailing list will happen. So far, nothing appeared on either > > arch@ or current@ providing argumentation why should we accept this. >=20 > Sounds like you're inviting the discussion right now. I'll start =3D-) >=20 > 1. I hate gcc with the burning heat of a million suns. It's not a > tool, it's a political weapon wielded by the FSF and their acolytes. > It's also a crummy piece of software that has been "good enough" for > far too long. Its development model is a burden to work with and has > been a major liability towards FreeBSD releases in the past. Its > demise cannot happen soon enough. > > 2. Due to the political bent of the GPL3 and the FSF's insistence > on shoving it down everyone's throats, FreeBSD is stuck with a > dead-end version of gcc. This has already been a liability in terms > of addressing bugs in gcc itself, and it will only get worse as > technology moves forward and gcc stands still. > > 3. Clang/LLVM has an active development base and a clear future. It > will move forward while gcc rots. There simply is no future left in > gcc unless the FreeBSD project decides to embrace the GPL3, and that's > a move that has already been heavily discussed, debated, and decided > on. Anecdotally, I think that FreeBSD is benefiting from shunning the > GPL3; it's made it an attractive option for companies looking for an > unencumbered OS for their products. > > 4. While Clang is immature now, it will mature in the near future, > and FreeBSD will benefit from that process. FreeBSD will get built-in > access to upcoming technologies like GCD+Blocks and better code > editors and development tools that gcc will never support. It'll break > free of the development stranglehold that exists within gcc. Clang has > shown good agility in adapting to the needs of FreeBSD and the legacy > of gcc, thanks in large part to the efforts of people like Roman. Gcc > has been nothing but drama and headache, even with the valiant efforts > of people like Alexander Kabaev. > > 5. If all of this turns out to not be true and Clang/LLVM fails, > FreeBSD has lost nothing and can remove it from the base system. Gcc > remains where it is for now, at least until it's time for the "remove > gcc discussion". > > The future is !gcc. Putting Clang+LLVM into a position where it can > be easily embraced by FreeBSD users will greatly benefit the FreeBSD > project. > > Scott > I do not object to a single point in your message. On the other hand, all said could be labeled as distilled propaganda. My main concern is the usefulness of HEAD for routine bug-fixing process. The proposed merge makes it relatively easy for users to start compiling the system with CLang. Our HEAD userbase is one of the most valuable project asset to ensure the quality of the system. After the support for easy compilation with clang is imported, some substantial portion of the HEAD users definitely start experimenting with it. This immediately makes the bug reports against HEAD almost useless, since level of demotivation when looking at the bug is immense. When you do know that the issue can be in the compiler, and not the OS, why looking ? Any bug analisys now shall start with exchange to verify which compiler was used to build the reporter system, and ask to reproduce it with gcc. [I am talking not only about gnats, but also mailing list questions, private pleas for help etc]. My personal opinion is that pushing the import now at the present state of clang makes a disservice to FreeBSD, and possible clang. Why not keep the glue on the branch as it is ? Motivated testers willing to help definitely can checkout from the branch. Import can happen when we are satisfied with the quality of new compiler, instead of discontent about old one. Rather, I would consider the changes to ease the use of any external compiler, from ports or whatever, bent into shape and kept up to date with system progress very important, much less controversial and more useful. Then, addicts of any kool-aid-compiler can drink their potion without starting undesired relations. Unfortunately, this is not what happen. --7m9CHdxeBipTaBWu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwDh8EACgkQC3+MBN1Mb4iaxACg1Nv4ok0kFLBl2e2Is15sIxQQ BjYAoIbzGV2sbvTSFi/lqbFnGcJpqMQH =qy0a -----END PGP SIGNATURE----- --7m9CHdxeBipTaBWu-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 10:28:27 2010 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 7B8691065673 for ; Mon, 31 May 2010 10:28:27 +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 C99488FC1D for ; Mon, 31 May 2010 10:28:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B75F89CB08A; Mon, 31 May 2010 12:24:57 +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 c2E22D6v5KQG; Mon, 31 May 2010 12:24:54 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4F0B99CB1A9; Mon, 31 May 2010 12:24:54 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VAOqV2034770; Mon, 31 May 2010 12:24:52 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 12:24:52 +0200 From: Roman Divacky To: Kostik Belousov Message-ID: <20100531102452.GA33192@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 10:28:27 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 12:56:17PM +0300, Kostik Belousov wrote: > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: > > On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: > > > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: > > >> hi, > > >>=20 > > >> ClangBSD was updated to LLVM/clang revision 104832 which is what we > > >> aim to import into HEAD in roughly a week. We would like the initial > > > It was promised that before the import, the public discussion on > > > the mailing list will happen. So far, nothing appeared on either > > > arch@ or current@ providing argumentation why should we accept this. > >=20 > > Sounds like you're inviting the discussion right now. I'll start =3D-) > >=20 > > 1. I hate gcc with the burning heat of a million suns. It's not a > > tool, it's a political weapon wielded by the FSF and their acolytes. > > It's also a crummy piece of software that has been "good enough" for > > far too long. Its development model is a burden to work with and has > > been a major liability towards FreeBSD releases in the past. Its > > demise cannot happen soon enough. > > > > 2. Due to the political bent of the GPL3 and the FSF's insistence > > on shoving it down everyone's throats, FreeBSD is stuck with a > > dead-end version of gcc. This has already been a liability in terms > > of addressing bugs in gcc itself, and it will only get worse as > > technology moves forward and gcc stands still. > > > > 3. Clang/LLVM has an active development base and a clear future. It > > will move forward while gcc rots. There simply is no future left in > > gcc unless the FreeBSD project decides to embrace the GPL3, and that's > > a move that has already been heavily discussed, debated, and decided > > on. Anecdotally, I think that FreeBSD is benefiting from shunning the > > GPL3; it's made it an attractive option for companies looking for an > > unencumbered OS for their products. > > > > 4. While Clang is immature now, it will mature in the near future, > > and FreeBSD will benefit from that process. FreeBSD will get built-in > > access to upcoming technologies like GCD+Blocks and better code > > editors and development tools that gcc will never support. It'll break > > free of the development stranglehold that exists within gcc. Clang has > > shown good agility in adapting to the needs of FreeBSD and the legacy > > of gcc, thanks in large part to the efforts of people like Roman. Gcc > > has been nothing but drama and headache, even with the valiant efforts > > of people like Alexander Kabaev. > > > > 5. If all of this turns out to not be true and Clang/LLVM fails, > > FreeBSD has lost nothing and can remove it from the base system. Gcc > > remains where it is for now, at least until it's time for the "remove > > gcc discussion". > > > > The future is !gcc. Putting Clang+LLVM into a position where it can > > be easily embraced by FreeBSD users will greatly benefit the FreeBSD > > project. > > > > Scott > > > I do not object to a single point in your message. On the other hand, all > said could be labeled as distilled propaganda. >=20 > My main concern is the usefulness of HEAD for routine bug-fixing process. >=20 > The proposed merge makes it relatively easy for users to start compiling > the system with CLang. Our HEAD userbase is one of the most valuable > project asset to ensure the quality of the system. After the support for > easy compilation with clang is imported, some substantial portion of the > HEAD users definitely start experimenting with it. This immediately makes > the bug reports against HEAD almost useless, since level of demotivation > when looking at the bug is immense. When you do know that the issue can > be in the compiler, and not the OS, why looking ? >=20 > Any bug analisys now shall start with exchange to verify which compiler > was used to build the reporter system, and ask to reproduce it with gcc. > [I am talking not only about gnats, but also mailing list questions, > private pleas for help etc]. =20 agreed. what do you propose to help identify/prevent situations when people are reporting bugs coming from a compiler problem rather than those from a genuine src problem? people are already experimenting with clang installed from ports, with gcc4.{3,4,5} from ports etc. by not importing clang we can maybe delay this a little but it's coming anyway. > My personal opinion is that pushing the import now at the present state > of clang makes a disservice to FreeBSD, and possible clang. Why not keep > the glue on the branch as it is ? Motivated testers willing to help > definitely can checkout from the branch. Import can happen when we are > satisfied with the quality of new compiler, instead of discontent about > old one. =20 people have been testing stuff and identified bugs. those bugs were fixed. there are sure some more but we need wider exposure to identify those new bugs and also clasify them. the amount of people who are willing and able to checkout and test external branch is minimal. I feel we are at the point where more exposure is necessary. by importing we are sending a strong signal to various 3rd parties to show= =20 in what way we are moving. importing sooner rather than later also ensures= =20 that the compiler will get much more tested (and thus stable) by the day 9.0R happens. > Rather, I would consider the changes to ease the use of any external > compiler, from ports or whatever, bent into shape and kept up to date > with system progress very important, much less controversial and more > useful. Then, addicts of any kool-aid-compiler can drink their potion > without starting undesired relations. Unfortunately, this is not what > happen. this is orthogonal to this. we as a project aim for delivering complete operating system and we just need a system compiler. gcc4.2.1 just cant serve us anymore, we need to do something now. roman --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwDjnQACgkQLVEj6D3CBEwOawCfVzq7fvBicJwjjhn6LCgDdBgV gqwAn1U7bQvIGcBLIVlYj0Qwkh3pwcSM =aNzR -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 10:40:54 2010 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 237191065676; Mon, 31 May 2010 10:40:54 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id D291D8FC1C; Mon, 31 May 2010 10:40:53 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o4VAeoUS056291; Mon, 31 May 2010 04:40:50 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 04:40:50 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 10:40:54 -0000 On May 31, 2010, at 3:56 AM, Kostik Belousov wrote: >=20 > My personal opinion is that pushing the import now at the present = state > of clang makes a disservice to FreeBSD, and possible clang. Why not = keep > the glue on the branch as it is ? Motivated testers willing to help > definitely can checkout from the branch. Import can happen when we are > satisfied with the quality of new compiler, instead of discontent = about > old one. Who is "we", and what is their criteria? Are you speaking for the = entire FreeBSD project? Scott From owner-freebsd-current@FreeBSD.ORG Mon May 31 10:44:10 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 9CAC0106566B; Mon, 31 May 2010 10:44:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 3D22F8FC14; Mon, 31 May 2010 10:44:09 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o4VAi7Dd056317; Mon, 31 May 2010 04:44:07 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: Date: Mon, 31 May 2010 04:44:07 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> References: <20100531002417.R96912@maildrop.int.zabbadoz.net> To: Ivan Voras X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-current@FreeBSD.org Subject: Re: SUJ and "mount" reporting 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: Mon, 31 May 2010 10:44:10 -0000 On May 31, 2010, at 3:08 AM, Ivan Voras wrote: > On 05/31/10 02:25, Bjoern A. Zeeb wrote: >> On Mon, 31 May 2010, Ivan Voras wrote: >>=20 >>> Shouldn't SU+J be visible in the output of "mount" somehow? I've = just >>> enabled it on a root file system of a machine and while tunefs and >>> dumpfs report both soft-updates and SUJ are enabled (after reboot), >>> the "mount" command only shows "soft-updates". Alternative question: >>> how to verify is it active on a live file system? >>>=20 >>> (running CURRENT from a few hours ago, kernel&world synced) >>=20 >> As previously stated - this is a hack to do what I think you are >> asking for: >> http://people.freebsd.org/~bz/20100309-03-mount.diff >=20 > Yes, this looks like it... >=20 >> Using tunefs, etc. for now would be better. >=20 > I did use tunefs, as I've said, but I'm concerned what would happen = (if > it can - stale kernel?) if the superblock that tunefs reads from the > disk and the kernel state are different. >=20 MNT_* flags need to be deprecated, and the attributes passed in both = directions as key-value pairs. I don't know if anyone else has thought = about this and what it means for backwards compatibility. Scott From owner-freebsd-current@FreeBSD.ORG Mon May 31 10:46:36 2010 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 16A171065672; Mon, 31 May 2010 10:46:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 712558FC1A; Mon, 31 May 2010 10:46:35 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4VAkiq2040112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 13:46:44 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4VAkV0l064830; Mon, 31 May 2010 13:46:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4VAkVO9064829; Mon, 31 May 2010 13:46:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 May 2010 13:46:31 +0300 From: Kostik Belousov To: Roman Divacky Message-ID: <20100531104631.GT83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xffHFpXjk3bCqASC" Content-Disposition: inline In-Reply-To: <20100531102452.GA33192@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 10:46:36 -0000 --xffHFpXjk3bCqASC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 12:24:52PM +0200, Roman Divacky wrote: > On Mon, May 31, 2010 at 12:56:17PM +0300, Kostik Belousov wrote: > > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: > > > On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: > > > > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: > > > >> hi, > > > >>=20 > > > >> ClangBSD was updated to LLVM/clang revision 104832 which is what we > > > >> aim to import into HEAD in roughly a week. We would like the initi= al > > > > It was promised that before the import, the public discussion on > > > > the mailing list will happen. So far, nothing appeared on either > > > > arch@ or current@ providing argumentation why should we accept this. > > >=20 > > > Sounds like you're inviting the discussion right now. I'll start =3D= -) > > >=20 > > > 1. I hate gcc with the burning heat of a million suns. It's not a > > > tool, it's a political weapon wielded by the FSF and their acolytes. > > > It's also a crummy piece of software that has been "good enough" for > > > far too long. Its development model is a burden to work with and has > > > been a major liability towards FreeBSD releases in the past. Its > > > demise cannot happen soon enough. > > > > > > 2. Due to the political bent of the GPL3 and the FSF's insistence > > > on shoving it down everyone's throats, FreeBSD is stuck with a > > > dead-end version of gcc. This has already been a liability in terms > > > of addressing bugs in gcc itself, and it will only get worse as > > > technology moves forward and gcc stands still. > > > > > > 3. Clang/LLVM has an active development base and a clear future. It > > > will move forward while gcc rots. There simply is no future left in > > > gcc unless the FreeBSD project decides to embrace the GPL3, and that's > > > a move that has already been heavily discussed, debated, and decided > > > on. Anecdotally, I think that FreeBSD is benefiting from shunning the > > > GPL3; it's made it an attractive option for companies looking for an > > > unencumbered OS for their products. > > > > > > 4. While Clang is immature now, it will mature in the near future, > > > and FreeBSD will benefit from that process. FreeBSD will get built-in > > > access to upcoming technologies like GCD+Blocks and better code > > > editors and development tools that gcc will never support. It'll break > > > free of the development stranglehold that exists within gcc. Clang has > > > shown good agility in adapting to the needs of FreeBSD and the legacy > > > of gcc, thanks in large part to the efforts of people like Roman. Gcc > > > has been nothing but drama and headache, even with the valiant efforts > > > of people like Alexander Kabaev. > > > > > > 5. If all of this turns out to not be true and Clang/LLVM fails, > > > FreeBSD has lost nothing and can remove it from the base system. Gcc > > > remains where it is for now, at least until it's time for the "remove > > > gcc discussion". > > > > > > The future is !gcc. Putting Clang+LLVM into a position where it can > > > be easily embraced by FreeBSD users will greatly benefit the FreeBSD > > > project. > > > > > > Scott > > > > > I do not object to a single point in your message. On the other hand, a= ll > > said could be labeled as distilled propaganda. > >=20 > > My main concern is the usefulness of HEAD for routine bug-fixing proces= s. > >=20 > > The proposed merge makes it relatively easy for users to start compiling > > the system with CLang. Our HEAD userbase is one of the most valuable > > project asset to ensure the quality of the system. After the support for > > easy compilation with clang is imported, some substantial portion of the > > HEAD users definitely start experimenting with it. This immediately mak= es > > the bug reports against HEAD almost useless, since level of demotivation > > when looking at the bug is immense. When you do know that the issue can > > be in the compiler, and not the OS, why looking ? > >=20 > > Any bug analisys now shall start with exchange to verify which compiler > > was used to build the reporter system, and ask to reproduce it with gcc. > > [I am talking not only about gnats, but also mailing list questions, > > private pleas for help etc]. > =20 > agreed. what do you propose to help identify/prevent situations when > people are reporting bugs coming from a compiler problem rather than > those from a genuine src problem? If I have a good idea how to help a situation, I would described it. It is very strange and worrying that you, who are pushing the import, ask somebody about plan on identifying and handling the compiler bugs. I would expect you to have a solid plan before the import. This lowers my confidence in the proposal even further. >=20 > people are already experimenting with clang installed from ports, > with gcc4.{3,4,5} from ports etc. by not importing clang we can > maybe delay this a little but it's coming anyway. I am pretty much fine and happy with people experimenting with clang or any other compilers from ports, custom built, whatever. This is very different from importing some compiler into base. See below about "signal". >=20 > > My personal opinion is that pushing the import now at the present state > > of clang makes a disservice to FreeBSD, and possible clang. Why not keep > > the glue on the branch as it is ? Motivated testers willing to help > > definitely can checkout from the branch. Import can happen when we are > > satisfied with the quality of new compiler, instead of discontent about > > old one. > =20 > people have been testing stuff and identified bugs. those bugs were fixed. > there are sure some more but we need wider exposure to identify those > new bugs and also clasify them. But I object to sacrificing the FreeBSD development and test cycle to the clang development and test cycle. When the compiler becomes stable enough to not think first about bug in the compiler, and only then considering the bug in the compiled program, it can be used for non-compiler development. If somebody wants to do clang development, why should she develop it in FreeBSD repo, or under the coverage of FreeBSD project, instead of clang project ? Put it another way, why FreeBSD developer have to debug clang instead of debugging FreeBSD ? >=20 > the amount of people who are willing and able to checkout and test extern= al > branch is minimal. I feel we are at the point where more exposure is > necessary. >=20 > by importing we are sending a strong signal to various 3rd parties to sho= w=20 > in what way we are moving. importing sooner rather than later also ensure= s=20 > that the compiler will get much more tested (and thus stable) by the day > 9.0R happens. Yes, we do send a signal, and the signal is too strong IMO.=20 >=20 > > Rather, I would consider the changes to ease the use of any external > > compiler, from ports or whatever, bent into shape and kept up to date > > with system progress very important, much less controversial and more > > useful. Then, addicts of any kool-aid-compiler can drink their potion > > without starting undesired relations. Unfortunately, this is not what > > happen. >=20 > this is orthogonal to this. we as a project aim for delivering complete > operating system and we just need a system compiler. gcc4.2.1 just > cant serve us anymore, we need to do something now. Please describe why gcc in base cannot serve us anymore while served up to the minute I got your message. --xffHFpXjk3bCqASC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwDk4cACgkQC3+MBN1Mb4i7eQCguuqqsWct9oZhFlK5caUFG5IB ixEAn3pr9OtQ+s42nII7qa7RjHBRUObY =hYXH -----END PGP SIGNATURE----- --xffHFpXjk3bCqASC-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 10:54:31 2010 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 54199106564A; Mon, 31 May 2010 10:54:31 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D8C248FC14; Mon, 31 May 2010 10:54:30 +0000 (UTC) Received: by vws10 with SMTP id 10so1264541vws.13 for ; Mon, 31 May 2010 03:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=wSL/Q1HEXW55r0ZSSYTUbIwhfzHn0cs+up9MYnAz80Q=; b=RdD37qP/O/4BluTOn2vfe2lMTyoqZ/IL5cX4fA25S9vb8Hzt062AJ4WEeIp/RCziGb 6Nor1NWQQX09RsG8331Fqpu/R6rNouaoLp6xx9rlUcu2ejoeWaOY/YZ2ob9JyUQOmkch 00RELO5Yx3TIRB7zI2+XZeQaYa+cWELTZDdX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=V4DWQXXudnsPf0hoeqROn5TFarmnS7jiDOLQ0r/LzxamUXqYzR25R5QQUVJlmH2cw+ 8RRF2Nmkr0y5Uz2G4CRcm2WIkThn11u6urHNXVX+OXdogIRSuF8wRpnlbDHrsRfleK/l mQfi+kOWB6NTMQnPBQK5Y2OACx3R9P8oCpDsU= MIME-Version: 1.0 Received: by 10.224.66.161 with SMTP id n33mr1525792qai.295.1275303269778; Mon, 31 May 2010 03:54:29 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.229.183.213 with HTTP; Mon, 31 May 2010 03:54:29 -0700 (PDT) In-Reply-To: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 12:54:29 +0200 X-Google-Sender-Auth: CC75C7wbm_DoCHPa_d2tDAQvrmA Message-ID: From: Attilio Rao To: Kostik Belousov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 10:54:31 -0000 2010/5/31 Kostik Belousov : > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: >> On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: >> > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: >> >> hi, >> >> >> >> ClangBSD was updated to LLVM/clang revision 104832 which is what we >> >> aim to import into HEAD in roughly a week. We would like the initial >> > It was promised that before the import, the public discussion on >> > the mailing list will happen. So far, nothing appeared on either >> > arch@ or current@ providing argumentation why should we accept this. >> >> Sounds like you're inviting the discussion right now. =C2=A0I'll start = =3D-) >> >> 1. I hate gcc with the burning heat of a million suns. It's not a >> tool, it's a political weapon wielded by the FSF and their acolytes. >> It's also a crummy piece of software that has been "good enough" for >> far too long. Its development model is a burden to work with and has >> been a major liability towards FreeBSD releases in the past. Its >> demise cannot happen soon enough. >> >> 2. Due to the political bent of the GPL3 and the FSF's insistence >> on shoving it down everyone's throats, FreeBSD is stuck with a >> dead-end version of gcc. This has already been a liability in terms >> of addressing bugs in gcc itself, and it will only get worse as >> technology moves forward and gcc stands still. >> >> 3. Clang/LLVM has an active development base and a clear future. It >> will move forward while gcc rots. There simply is no future left in >> gcc unless the FreeBSD project decides to embrace the GPL3, and that's >> a move that has already been heavily discussed, debated, and decided >> on. Anecdotally, I think that FreeBSD is benefiting from shunning the >> GPL3; it's made it an attractive option for companies looking for an >> unencumbered OS for their products. >> >> 4. While Clang is immature now, it will mature in the near future, >> and FreeBSD will benefit from that process. FreeBSD will get built-in >> access to upcoming technologies like GCD+Blocks and better code >> editors and development tools that gcc will never support. It'll break >> free of the development stranglehold that exists within gcc. Clang has >> shown good agility in adapting to the needs of FreeBSD and the legacy >> of gcc, thanks in large part to the efforts of people like Roman. Gcc >> has been nothing but drama and headache, even with the valiant efforts >> of people like Alexander Kabaev. >> >> 5. If all of this turns out to not be true and Clang/LLVM fails, >> FreeBSD has lost nothing and can remove it from the base system. Gcc >> remains where it is for now, at least until it's time for the "remove >> gcc discussion". >> >> The future is !gcc. Putting Clang+LLVM into a position where it can >> be easily embraced by FreeBSD users will greatly benefit the FreeBSD >> project. >> >> Scott >> > I do not object to a single point in your message. On the other hand, all > said could be labeled as distilled propaganda. > > My main concern is the usefulness of HEAD for routine bug-fixing process. > > The proposed merge makes it relatively easy for users to start compiling > the system with CLang. Our HEAD userbase is one of the most valuable > project asset to ensure the quality of the system. After the support for > easy compilation with clang is imported, some substantial portion of the > HEAD users definitely start experimenting with it. This immediately makes > the bug reports against HEAD almost useless, since level of demotivation > when looking at the bug is immense. When you do know that the issue can > be in the compiler, and not the OS, why looking ? > > Any bug analisys now shall start with exchange to verify which compiler > was used to build the reporter system, and ask to reproduce it with gcc. > [I am talking not only about gnats, but also mailing list questions, > private pleas for help etc]. > > My personal opinion is that pushing the import now at the present state > of clang makes a disservice to FreeBSD, and possible clang. Why not keep > the glue on the branch as it is ? Motivated testers willing to help > definitely can checkout from the branch. Import can happen when we are > satisfied with the quality of new compiler, instead of discontent about > old one. FWIW, I entirely agree with Kostik here. I really would like to see CLANG more integrated with FreeBSD only when there are 0 or similar (well-known, already analyzed, listed somewhere, etc.) bugs by the compiler rather than still being in the middle of a bug storm. Besides, the 'debugging problem' is pretty much real and nobody answered with a reasonable solution for it, and being honest, I don't see the people pushing for the import concerned about that at all. Are all the bug reports collected somewhere? What's the state of their resolution? There is a description somewhere of missing support and things still to be addressed? Thanks, Attilio --=20 Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:29:04 2010 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 9E32C106564A; Mon, 31 May 2010 11:29:04 +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 EAC628FC22; Mon, 31 May 2010 11:29:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C853A9CB140; Mon, 31 May 2010 13:25:34 +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 8qM6xAHV-aVb; Mon, 31 May 2010 13:25:29 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 44A629CB1F2; Mon, 31 May 2010 13:25:29 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VBPT47043063; Mon, 31 May 2010 13:25:29 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 13:25:29 +0200 From: Roman Divacky To: Attilio Rao Message-ID: <20100531112529.GA42524@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:29:04 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 12:54:29PM +0200, Attilio Rao wrote: > 2010/5/31 Kostik Belousov : > > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: > >> On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: > >> > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: > >> >> hi, > >> >> > >> >> ClangBSD was updated to LLVM/clang revision 104832 which is what we > >> >> aim to import into HEAD in roughly a week. We would like the initial > >> > It was promised that before the import, the public discussion on > >> > the mailing list will happen. So far, nothing appeared on either > >> > arch@ or current@ providing argumentation why should we accept this. > >> > >> Sounds like you're inviting the discussion right now. ??I'll start =3D= -) > >> > >> 1. I hate gcc with the burning heat of a million suns. It's not a > >> tool, it's a political weapon wielded by the FSF and their acolytes. > >> It's also a crummy piece of software that has been "good enough" for > >> far too long. Its development model is a burden to work with and has > >> been a major liability towards FreeBSD releases in the past. Its > >> demise cannot happen soon enough. > >> > >> 2. Due to the political bent of the GPL3 and the FSF's insistence > >> on shoving it down everyone's throats, FreeBSD is stuck with a > >> dead-end version of gcc. This has already been a liability in terms > >> of addressing bugs in gcc itself, and it will only get worse as > >> technology moves forward and gcc stands still. > >> > >> 3. Clang/LLVM has an active development base and a clear future. It > >> will move forward while gcc rots. There simply is no future left in > >> gcc unless the FreeBSD project decides to embrace the GPL3, and that's > >> a move that has already been heavily discussed, debated, and decided > >> on. Anecdotally, I think that FreeBSD is benefiting from shunning the > >> GPL3; it's made it an attractive option for companies looking for an > >> unencumbered OS for their products. > >> > >> 4. While Clang is immature now, it will mature in the near future, > >> and FreeBSD will benefit from that process. FreeBSD will get built-in > >> access to upcoming technologies like GCD+Blocks and better code > >> editors and development tools that gcc will never support. It'll break > >> free of the development stranglehold that exists within gcc. Clang has > >> shown good agility in adapting to the needs of FreeBSD and the legacy > >> of gcc, thanks in large part to the efforts of people like Roman. Gcc > >> has been nothing but drama and headache, even with the valiant efforts > >> of people like Alexander Kabaev. > >> > >> 5. If all of this turns out to not be true and Clang/LLVM fails, > >> FreeBSD has lost nothing and can remove it from the base system. Gcc > >> remains where it is for now, at least until it's time for the "remove > >> gcc discussion". > >> > >> The future is !gcc. Putting Clang+LLVM into a position where it can > >> be easily embraced by FreeBSD users will greatly benefit the FreeBSD > >> project. > >> > >> Scott > >> > > I do not object to a single point in your message. On the other hand, a= ll > > said could be labeled as distilled propaganda. > > > > My main concern is the usefulness of HEAD for routine bug-fixing proces= s. > > > > The proposed merge makes it relatively easy for users to start compiling > > the system with CLang. Our HEAD userbase is one of the most valuable > > project asset to ensure the quality of the system. After the support for > > easy compilation with clang is imported, some substantial portion of the > > HEAD users definitely start experimenting with it. This immediately mak= es > > the bug reports against HEAD almost useless, since level of demotivation > > when looking at the bug is immense. When you do know that the issue can > > be in the compiler, and not the OS, why looking ? > > > > Any bug analisys now shall start with exchange to verify which compiler > > was used to build the reporter system, and ask to reproduce it with gcc. > > [I am talking not only about gnats, but also mailing list questions, > > private pleas for help etc]. > > > > My personal opinion is that pushing the import now at the present state > > of clang makes a disservice to FreeBSD, and possible clang. Why not keep > > the glue on the branch as it is ? Motivated testers willing to help > > definitely can checkout from the branch. Import can happen when we are > > satisfied with the quality of new compiler, instead of discontent about > > old one. >=20 > FWIW, I entirely agree with Kostik here. > I really would like to see CLANG more integrated with FreeBSD only > when there are 0 or similar (well-known, already analyzed, listed > somewhere, etc.) bugs by the compiler rather than still being in the > middle of a bug storm. Besides, the 'debugging problem' is pretty much > real and nobody answered with a reasonable solution for it, and being > honest, I don't see the people pushing for the import concerned about > that at all. >=20 > Are all the bug reports collected somewhere? What's the state of their > resolution? There is a description somewhere of missing support and > things still to be addressed? there are no known clang bugs (at least known to me) related to FreeBSD in other words - at this point you can compile FreeBSD with clang (both in the version in clangbsd) and it "works" (for people who tested it) on amd64 and i386 roman --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwDnKkACgkQLVEj6D3CBExw8gCffKCQfuHh3k68KJq/y0KdDJ4L m7wAn3cWrh0vWbQA0XyewrceAlUXZCYJ =8eGp -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:30:57 2010 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 0933E106567B; Mon, 31 May 2010 11:30:57 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9684B8FC14; Mon, 31 May 2010 11:30:56 +0000 (UTC) Received: by vws10 with SMTP id 10so1309300vws.13 for ; Mon, 31 May 2010 04:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=+3Xolu3YJqYoLz3aui89kSeDsZ3kP/x23hIwgl+/XIc=; b=uqQZ73gYU7aPaqKeXsoTFZgQoOQE8DzR1N09m3AmH9ylkVNz8hZTnNhFCMLLZCDga1 Xftf7BCf818hhjzPc/3fUL+/zBMMw3ckaq70Ox56pQYQJAh4HXxlmYDgxaysd5kVoH9R rWC5UO3hCkX9sQ6DxiFfuMZBI0441EP4m9dWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=aGYjZ3Mt2wszO549si4u14oDz2hx+wNYCMuV44gJbMjvMUcckQrGatmTrdeyPtutkU 26rAJsfc6Xy/ej6gt7qZou36cpWkYfwFrNG6+rptCXemyOoBgWXHdsDm5MN1MCjv2hEp X1rniQjXoTDSHEZy2Cmc9L3CW4WD/2jISZVY0= MIME-Version: 1.0 Received: by 10.224.52.85 with SMTP id h21mr1540895qag.195.1275305455675; Mon, 31 May 2010 04:30:55 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.229.183.213 with HTTP; Mon, 31 May 2010 04:30:55 -0700 (PDT) In-Reply-To: <20100531112529.GA42524@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531112529.GA42524@freebsd.org> Date: Mon, 31 May 2010 13:30:55 +0200 X-Google-Sender-Auth: HpbAPO4ugsVtTl3Hr12Hb7s1nlY Message-ID: From: Attilio Rao To: Roman Divacky Content-Type: text/plain; charset=UTF-8 Cc: Kostik Belousov , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:30:57 -0000 2010/5/31 Roman Divacky : > On Mon, May 31, 2010 at 12:54:29PM +0200, Attilio Rao wrote: >> 2010/5/31 Kostik Belousov : >> > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: >> >> On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: >> >> > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: >> >> >> hi, >> >> >> >> >> >> ClangBSD was updated to LLVM/clang revision 104832 which is what we >> >> >> aim to import into HEAD in roughly a week. We would like the initial >> >> > It was promised that before the import, the public discussion on >> >> > the mailing list will happen. So far, nothing appeared on either >> >> > arch@ or current@ providing argumentation why should we accept this. >> >> >> >> Sounds like you're inviting the discussion right now. ??I'll start =-) >> >> >> >> 1. I hate gcc with the burning heat of a million suns. It's not a >> >> tool, it's a political weapon wielded by the FSF and their acolytes. >> >> It's also a crummy piece of software that has been "good enough" for >> >> far too long. Its development model is a burden to work with and has >> >> been a major liability towards FreeBSD releases in the past. Its >> >> demise cannot happen soon enough. >> >> >> >> 2. Due to the political bent of the GPL3 and the FSF's insistence >> >> on shoving it down everyone's throats, FreeBSD is stuck with a >> >> dead-end version of gcc. This has already been a liability in terms >> >> of addressing bugs in gcc itself, and it will only get worse as >> >> technology moves forward and gcc stands still. >> >> >> >> 3. Clang/LLVM has an active development base and a clear future. It >> >> will move forward while gcc rots. There simply is no future left in >> >> gcc unless the FreeBSD project decides to embrace the GPL3, and that's >> >> a move that has already been heavily discussed, debated, and decided >> >> on. Anecdotally, I think that FreeBSD is benefiting from shunning the >> >> GPL3; it's made it an attractive option for companies looking for an >> >> unencumbered OS for their products. >> >> >> >> 4. While Clang is immature now, it will mature in the near future, >> >> and FreeBSD will benefit from that process. FreeBSD will get built-in >> >> access to upcoming technologies like GCD+Blocks and better code >> >> editors and development tools that gcc will never support. It'll break >> >> free of the development stranglehold that exists within gcc. Clang has >> >> shown good agility in adapting to the needs of FreeBSD and the legacy >> >> of gcc, thanks in large part to the efforts of people like Roman. Gcc >> >> has been nothing but drama and headache, even with the valiant efforts >> >> of people like Alexander Kabaev. >> >> >> >> 5. If all of this turns out to not be true and Clang/LLVM fails, >> >> FreeBSD has lost nothing and can remove it from the base system. Gcc >> >> remains where it is for now, at least until it's time for the "remove >> >> gcc discussion". >> >> >> >> The future is !gcc. Putting Clang+LLVM into a position where it can >> >> be easily embraced by FreeBSD users will greatly benefit the FreeBSD >> >> project. >> >> >> >> Scott >> >> >> > I do not object to a single point in your message. On the other hand, all >> > said could be labeled as distilled propaganda. >> > >> > My main concern is the usefulness of HEAD for routine bug-fixing process. >> > >> > The proposed merge makes it relatively easy for users to start compiling >> > the system with CLang. Our HEAD userbase is one of the most valuable >> > project asset to ensure the quality of the system. After the support for >> > easy compilation with clang is imported, some substantial portion of the >> > HEAD users definitely start experimenting with it. This immediately makes >> > the bug reports against HEAD almost useless, since level of demotivation >> > when looking at the bug is immense. When you do know that the issue can >> > be in the compiler, and not the OS, why looking ? >> > >> > Any bug analisys now shall start with exchange to verify which compiler >> > was used to build the reporter system, and ask to reproduce it with gcc. >> > [I am talking not only about gnats, but also mailing list questions, >> > private pleas for help etc]. >> > >> > My personal opinion is that pushing the import now at the present state >> > of clang makes a disservice to FreeBSD, and possible clang. Why not keep >> > the glue on the branch as it is ? Motivated testers willing to help >> > definitely can checkout from the branch. Import can happen when we are >> > satisfied with the quality of new compiler, instead of discontent about >> > old one. >> >> FWIW, I entirely agree with Kostik here. >> I really would like to see CLANG more integrated with FreeBSD only >> when there are 0 or similar (well-known, already analyzed, listed >> somewhere, etc.) bugs by the compiler rather than still being in the >> middle of a bug storm. Besides, the 'debugging problem' is pretty much >> real and nobody answered with a reasonable solution for it, and being >> honest, I don't see the people pushing for the import concerned about >> that at all. >> >> Are all the bug reports collected somewhere? What's the state of their >> resolution? There is a description somewhere of missing support and >> things still to be addressed? > > there are no known clang bugs (at least known to me) related to FreeBSD > > in other words - at this point you can compile FreeBSD with clang (both > in the version in clangbsd) and it "works" (for people who tested it) > on amd64 and i386 I don't mean about FreeBSD, but about CLANG itself. It would be very depressing to loose many hours on kernel races before to discover it was a compiler deficiency, for example. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:35:24 2010 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 6B82E1065689 for ; Mon, 31 May 2010 11:35:24 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0058FC1A for ; Mon, 31 May 2010 11:35:23 +0000 (UTC) Received: by pvg16 with SMTP id 16so1791510pvg.13 for ; Mon, 31 May 2010 04:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=EG7k4ctZWh7+v+pIerVfElY9PuxMyCWX6MUBWnkdiIo=; b=UdtiE5v3NxTPoia9UHuz/PWr62K6dldESBE2IDA5GVKNwje5dC5oKqvrpwnMYORzwO 3VHo2siAYOprvTeVe4SYVYP59T/qmBuZy3OIz8w2ywUhsx0ToeXQWpumxdAGqQoWRppU jLw9D52pA8JQHkUUdR1qeT5HfB05nTPPKeqbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=LHHwJSyd6AoQeVPSNe4fjXpy2g40DIMLV2uCPpo/T+R6cAM2xECEPGeTUKEVLi00RQ hUG6j9+5IQeM6KyN0IXfHFYPQMNrJ2O5T4ChCVC7CpNtrIjyltqDLyV56LBHicoi1mAU Wx7pKzO5skBaSEHrylUm3uuAS01oyg+n8OqNc= MIME-Version: 1.0 Received: by 10.142.121.1 with SMTP id t1mr2737395wfc.100.1275304292854; Mon, 31 May 2010 04:11:32 -0700 (PDT) Received: by 10.143.18.11 with HTTP; Mon, 31 May 2010 04:11:32 -0700 (PDT) In-Reply-To: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 06:11:32 -0500 Message-ID: From: Astrodog Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:35:24 -0000 If I understand the build process correctly, it should be possible to have both compilers in base for some (presumably short) period of time... then just have which one you use be a configuration option, which should give LLVM/clang some additional exposure, without the obvious risks of a complete switch. It should be relatively simply to have "clang as a compile time option in base" then "clang as default with gcc as an option" then "clang only", as it proves itself out building the tree. I don't really see how the ~50-100MB that only keeping one compiler in base for a month or two (when there's not going to be a release from HEAD anyway) would be worth it, when it's compared to the massive cluster this is probably going to turn into, provided there's a relatively easy way to opt out of either compiler. As far as bug reports go, it's not as though this is some unprecedented problem. In handling PRs, people are asked to rebuild with patches, different settings, etc already. Its just one more thing among a list of many to keep in mind when going through that process. I don't think users of HEAD would find such a request unreasonable (or, at least, any more unreasonable than what they already have to go through sometimes.) --- Harrison Grundy From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:38:26 2010 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 F16BE1065673; Mon, 31 May 2010 11:38:26 +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 A2BEE8FC18; Mon, 31 May 2010 11:38:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 73F399CB140; Mon, 31 May 2010 13:34:58 +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 drbgheYx83r5; Mon, 31 May 2010 13:34:56 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 5F1559CB1F2; Mon, 31 May 2010 13:34:56 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VBYubI044360; Mon, 31 May 2010 13:34:56 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 13:34:56 +0200 From: Roman Divacky To: Attilio Rao Message-ID: <20100531113456.GB42524@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531112529.GA42524@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:38:27 -0000 --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > there are no known clang bugs (at least known to me) related to FreeBSD > > > > in other words - at this point you can compile FreeBSD with clang (both > > in the version in clangbsd) and it "works" (for people who tested it) > > on amd64 and i386 >=20 > I don't mean about FreeBSD, but about CLANG itself. > It would be very depressing to loose many hours on kernel races before > to discover it was a compiler deficiency, for example. thats what I mean - we are not aware of any bugs in clang itself that harm FreeBSD (on i386/amd64).=20 btw. there are 68 open bug reports against gcc 4.2.1 in gcc bugzilla. --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwDnuAACgkQLVEj6D3CBEwFuwCeLq45CG/t6jfhQTkySYOyYAIT E9kAn1snUSsdSVaU/qfBvYS8Uk9SGXv6 =yngc -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:43:21 2010 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 7EB5F1065686 for ; Mon, 31 May 2010 11:43:21 +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 3275C8FC1B for ; Mon, 31 May 2010 11:43:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EC4119CB1A9; Mon, 31 May 2010 13:39:52 +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 tCM1uGxzQ0eF; Mon, 31 May 2010 13:39:50 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id AB1899CB1F9; Mon, 31 May 2010 13:39:50 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VBdotq044958; Mon, 31 May 2010 13:39:50 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 13:39:50 +0200 From: Roman Divacky To: Kostik Belousov Message-ID: <20100531113950.GA44552@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20100531104631.GT83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:43:21 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > people are already experimenting with clang installed from ports, > > with gcc4.{3,4,5} from ports etc. by not importing clang we can > > maybe delay this a little but it's coming anyway. > I am pretty much fine and happy with people experimenting with clang > or any other compilers from ports, custom built, whatever. This is very > different from importing some compiler into base. See below about "signal= ". =20 what I wanted to say is that we can get problem reports from people using other compilers than our stock gcc even today. > > > Rather, I would consider the changes to ease the use of any external > > > compiler, from ports or whatever, bent into shape and kept up to date > > > with system progress very important, much less controversial and more > > > useful. Then, addicts of any kool-aid-compiler can drink their potion > > > without starting undesired relations. Unfortunately, this is not what > > > happen. > >=20 > > this is orthogonal to this. we as a project aim for delivering complete > > operating system and we just need a system compiler. gcc4.2.1 just > > cant serve us anymore, we need to do something now. > Please describe why gcc in base cannot serve us anymore while served up > to the minute I got your message. that was summarized in a beautiful way by Scott Long :) --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwDoAYACgkQLVEj6D3CBExdBgCfYpU9egEgprN6xFUD4sXb40Db y70An1rvnu0Hp2qxpwJ39KPHlyQKmyBg =aILZ -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:55:19 2010 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 0B4CA106566B for ; Mon, 31 May 2010 11:55:19 +0000 (UTC) (envelope-from astrodog@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id D28B48FC15 for ; Mon, 31 May 2010 11:55:18 +0000 (UTC) Received: by pzk15 with SMTP id 15so828434pzk.15 for ; Mon, 31 May 2010 04:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=N9nAFrOZsCN7yWugnDyAnR75foWY+N+oSet4EM6huo0=; b=RmR+T644KjsoG7Df/v5HSyCG/lq63NGG64JHIyw/EdjEgD57hllkpRtNfMIFoD3Ilf h8Yw1HYLt1464ygM6Nd37Gb2uB3r4BcAdsQpr8jK7RvzoBKelFpBkQRZHHspb1lbVdIu vA6vJAgPacBozMt9UP1GVynfUzZkLTKuxpImQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=r44vsy3/n+KVtqxJh1+6S6p7Nw2ADWS8izGQL0VI0LSznWsmG5bslcxeG2fPWDIuX6 /cydDnOCTcja0eIyYndRbiVTrNcwDgjo1YuTmVhAybSAtkFvt1kecDW0JbKUJgTy6hxi tqCUP1Cukb2azFp4whUSPSzbHuXAq/ZdbwuYg= MIME-Version: 1.0 Received: by 10.143.178.7 with SMTP id f7mr1110790wfp.187.1275306917973; Mon, 31 May 2010 04:55:17 -0700 (PDT) Received: by 10.143.18.11 with HTTP; Mon, 31 May 2010 04:55:17 -0700 (PDT) In-Reply-To: <20100531113950.GA44552@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> <20100531113950.GA44552@freebsd.org> Date: Mon, 31 May 2010 06:55:17 -0500 Message-ID: From: Astrodog Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 11:55:19 -0000 On Mon, May 31, 2010 at 6:39 AM, Roman Divacky wrote: >> > people are already experimenting with clang installed from ports, >> > with gcc4.{3,4,5} from ports etc. by not importing clang we can >> > maybe delay this a little but it's coming anyway. >> I am pretty much fine and happy with people experimenting with clang >> or any other compilers from ports, custom built, whatever. This is very >> different from importing some compiler into base. See below about "signal". > > what I wanted to say is that we can get problem reports from people using > other compilers than our stock gcc even today. > >> > > Rather, I would consider the changes to ease the use of any external >> > > compiler, from ports or whatever, bent into shape and kept up to date >> > > with system progress very important, much less controversial and more >> > > useful. Then, addicts of any kool-aid-compiler can drink their potion >> > > without starting undesired relations. Unfortunately, this is not what >> > > happen. >> > >> > this is orthogonal to this. we as a project aim for delivering complete >> > operating system and we just need a system compiler. gcc4.2.1 just >> > cant serve us anymore, we need to do something now. >> Please describe why gcc in base cannot serve us anymore while served up >> to the minute I got your message. > > that was summarized in a beautiful way by Scott Long :) > I don't think this is really a question of "Can gcc work in base right now?". Everyone knows it can, because that's what's actually being used at this very moment. At the same time, I don't think there's any real argument in saying that eventually FreeBSD will have to switch to either a new compiler, or a new version of gcc, with the GPLv3 nightmare that could entail (Maybe that's a few years from now, I have no idea, but it's still going to need to happen, and its not as though switching will get easier with time.) From my perspective, there seem to be two real questions: First, are the two compilers mutually exclusive? (I don't believe they are.) Second, is there a particular reason not to do this now, that will not exist later? (I'm not that current on what's going on.. but from what I can tell, my thought here is no, too.) It's not as though this is irreversible. It's always possible to make the change, realize clang won't cut it just yet, and switch back a few hours/days/weeks/whatever later. Or, like I said earlier, if it's possible, run both. --- Harrison From owner-freebsd-current@FreeBSD.ORG Mon May 31 12:04:34 2010 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 87AA2106566B for ; Mon, 31 May 2010 12:04:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 242388FC19 for ; Mon, 31 May 2010 12:04:33 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o4VC4h7e047450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2010 15:04:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o4VC4T7r065385; Mon, 31 May 2010 15:04:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o4VC4Tv2065384; Mon, 31 May 2010 15:04:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 31 May 2010 15:04:29 +0300 From: Kostik Belousov To: Astrodog Message-ID: <20100531120429.GU83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> <20100531113950.GA44552@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/8/Dgwb8IINn6cIc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 12:04:34 -0000 --/8/Dgwb8IINn6cIc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 06:55:17AM -0500, Astrodog wrote: > On Mon, May 31, 2010 at 6:39 AM, Roman Divacky wro= te: > >> > people are already experimenting with clang installed from ports, > >> > with gcc4.{3,4,5} from ports etc. by not importing clang we can > >> > maybe delay this a little but it's coming anyway. > >> I am pretty much fine and happy with people experimenting with clang > >> or any other compilers from ports, custom built, whatever. This is very > >> different from importing some compiler into base. See below about "sig= nal". > > > > what I wanted to say is that we can get problem reports from people usi= ng > > other compilers than our stock gcc even today. > > > >> > > Rather, I would consider the changes to ease the use of any extern= al > >> > > compiler, from ports or whatever, bent into shape and kept up to d= ate > >> > > with system progress very important, much less controversial and m= ore > >> > > useful. Then, addicts of any kool-aid-compiler can drink their pot= ion > >> > > without starting undesired relations. Unfortunately, this is not w= hat > >> > > happen. > >> > > >> > this is orthogonal to this. we as a project aim for delivering compl= ete > >> > operating system and we just need a system compiler. gcc4.2.1 just > >> > cant serve us anymore, we need to do something now. > >> Please describe why gcc in base cannot serve us anymore while served up > >> to the minute I got your message. > > > > that was summarized in a beautiful way by Scott Long :) > > >=20 > I don't think this is really a question of "Can gcc work in base right > now?". Everyone knows it can, because that's what's actually being > used at this very moment. At the same time, I don't think there's any > real argument in saying that eventually FreeBSD will have to switch to > either a new compiler, or a new version of gcc, with the GPLv3 > nightmare that could entail (Maybe that's a few years from now, I have > no idea, but it's still going to need to happen, and its not as though > switching will get easier with time.) From my perspective, there seem > to be two real questions: >=20 > First, are the two compilers mutually exclusive? (I don't believe they ar= e.) > Second, is there a particular reason not to do this now, that will not > exist later? (I'm not that current on what's going on.. but from what > I can tell, my thought here is no, too.) >=20 > It's not as though this is irreversible. It's always possible to make > the change, realize clang won't cut it just yet, and switch back a few > hours/days/weeks/whatever later. Or, like I said earlier, if it's > possible, run both. See, there is no objection to the idea that clang can and may eventually displace gcc in the base. This is not the subject of the thread. The question is whether it is beneficial for FreeBSD to import infrastructure to ease the clang-in-base spins up to the point where user can set one variable before the build, right now. =46rom what it was claimed, even without the import, users can install whatever compiler from ports, set CC and start the build. Essentially, the import blesses the clang and its current state as ready for wide use. --/8/Dgwb8IINn6cIc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwDpc0ACgkQC3+MBN1Mb4gTEgCeNSogc9EjDDgHKd6TtoSdoFf9 dyMAn2EyfgVeTtREwp7TIrvacMq0ZJW3 =TyG/ -----END PGP SIGNATURE----- --/8/Dgwb8IINn6cIc-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 12:22:17 2010 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 C91DD1065678 for ; Mon, 31 May 2010 12:22:17 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id A7FD28FC17 for ; Mon, 31 May 2010 12:22:17 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 642305C85; Mon, 31 May 2010 12:22:11 +0000 (UTC) Date: Mon, 31 May 2010 13:22:05 +0100 From: Bruce Cran To: Astrodog Message-ID: <20100531132205.00000dd6@unknown> In-Reply-To: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 12:22:17 -0000 On Mon, 31 May 2010 06:11:32 -0500 Astrodog wrote: > If I understand the build process correctly, it should be possible to > have both compilers in base for some (presumably short) period of > time... then just have which one you use be a configuration option, > which should give LLVM/clang some additional exposure, without the > obvious risks of a complete switch. It should be relatively simply to > have "clang as a compile time option in base" then "clang as default > with gcc as an option" then "clang only", as it proves itself out > building the tree. =46rom previous messages I don't think sparc64 is currently supported by clang very well, if at all, so I think we'll still need gcc in the base system for some time. --=20 Bruce Cran From owner-freebsd-current@FreeBSD.ORG Mon May 31 12:52:29 2010 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 6A6A5106566C for ; Mon, 31 May 2010 12:52:29 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id EEF2C8FC1D for ; Mon, 31 May 2010 12:52:28 +0000 (UTC) Received: by wwb22 with SMTP id 22so246576wwb.13 for ; Mon, 31 May 2010 05:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=qZrayjmLpBYwOaevMtIwAHa48NY6S+47LDTdBNbgofU=; b=x10YUw3lxkgjzfnWGVmVIXGT94/eRonhfxSVIYtjb1xz0ZEgFkKmjzXqBEIX7ZjBUl tweDwzrn3brv9SX8frM5Wwvs9KsJoGhT+dIDh6+zLapTlFYeJTmRo/a7iU8HVQHIsvIb 6o2dDCSWzja2z4tME6H1qYYSAjg1ouxLHsKPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NyUsplq7smKE88k6MyVOl6DG1uNuTUYjXYvZNoQvRFc4E7QYF6bhPiVxpoM4UVkbNc WvCS74wXG5XhQ05b7P3Y4U4j6WfHqt51L/rm5QAsdvjXVNMNygDik9cc0z430KFhS0BC UpRCNVIQurg1ynBpxLsseed3IQws/qkcKgZBo= MIME-Version: 1.0 Received: by 10.216.87.80 with SMTP id x58mr4254093wee.96.1275308605414; Mon, 31 May 2010 05:23:25 -0700 (PDT) Received: by 10.216.169.18 with HTTP; Mon, 31 May 2010 05:23:25 -0700 (PDT) In-Reply-To: <20100531120429.GU83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> <20100531113950.GA44552@freebsd.org> <20100531120429.GU83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 14:23:25 +0200 Message-ID: From: Daniel Nebdal To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 12:52:29 -0000 On Mon, May 31, 2010 at 2:04 PM, Kostik Belousov wrote: (...) > From what it was claimed, even without the import, users can install > whatever compiler from ports, set CC and start the build. Essentially, > the import blesses the clang and its current state as ready for wide use. > Not necessarily. If it is - disabled by default - not recommended anywhere - recommended against for production usage (I suspect it will carry the usual "might set your dog on fire" - disclaimer for a while) that's hardly a glowing recommendation. I'm not sure if it's the best comparison, but it reminds me of how SCHED_ULE was available but mostly ignored until it was made default. -- Daniel Nebdal From owner-freebsd-current@FreeBSD.ORG Mon May 31 12:53:17 2010 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 25106106567B for ; Mon, 31 May 2010 12:53:17 +0000 (UTC) (envelope-from apenney@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id E850A8FC22 for ; Mon, 31 May 2010 12:53:16 +0000 (UTC) Received: by pxi7 with SMTP id 7so1911183pxi.13 for ; Mon, 31 May 2010 05:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=GjMTMUjKtNd7lKtGZYPlujN+V8GHJHjibVOZlkHHmSA=; b=iVdOKw3Af0XaUB66B9qpc3gunwkvbiSVznHKgalsgcHo///6eXBQRAyiIQIWrOACM5 fzefzwIsNi9Zn3Zk+HITD2PGbMS+xNNKSZMnqY9MXa86aJXaSCWU24/rbYCUv6f7J4jl jjBHEylODf982qrfvEnx9lDgNW6dKaMiopuwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZFXbbc8ecMYFg/4n3sCg13Nwu9KUOkxhcZoQkwmo6DNyDrQ2N69GQOGP9NpTUUL4yV NLsh3UAmI0rK9xbJ97fiRA7a5y7GVCerrw/86P3Ip2Y1YyUkSVDm5dAdynRuSUNvRHRQ XgULlcVhfz4Ym86of8/wmGgP8fBVwef2aMGtY= MIME-Version: 1.0 Received: by 10.142.208.20 with SMTP id f20mr2851108wfg.295.1275308694608; Mon, 31 May 2010 05:24:54 -0700 (PDT) Received: by 10.142.141.6 with HTTP; Mon, 31 May 2010 05:24:54 -0700 (PDT) In-Reply-To: <20100531120429.GU83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> <20100531113950.GA44552@freebsd.org> <20100531120429.GU83316@deviant.kiev.zoral.com.ua> Date: Mon, 31 May 2010 08:24:54 -0400 Message-ID: From: Ashley Penney To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 12:53:17 -0000 On Mon, May 31, 2010 at 8:04 AM, Kostik Belousov wrote: > > See, there is no objection to the idea that clang can and may eventually > displace gcc in the base. This is not the subject of the thread. > > The question is whether it is beneficial for FreeBSD to import > infrastructure to ease the clang-in-base spins up to the point where > user can set one variable before the build, right now. > > From what it was claimed, even without the import, users can install > whatever compiler from ports, set CC and start the build. Essentially, > the import blesses the clang and its current state as ready for wide use. > This import simply makes it possible to start testing clang in a more widespread fashion. It doesn't bless anything or make any kind of claim to the suitability of clang for production. I for one am excited about this import and think that this kind of bold step is an enormous victory for FreeBSD. Clang is clearly the future of compiler technology and the earlier we get on board the more involvement we will have with the Clang team and everyone will reap the benefits. So, while I'm just a user this absolutely gets my vote and I look forward to it. From owner-freebsd-current@FreeBSD.ORG Mon May 31 13:30:15 2010 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 EE6991065672 for ; Mon, 31 May 2010 13:30:15 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 413018FC15 for ; Mon, 31 May 2010 13:30:14 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA03061; Mon, 31 May 2010 16:30:05 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C03B9DC.5030000@icyb.net.ua> Date: Mon, 31 May 2010 16:30:04 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100517) MIME-Version: 1.0 To: Andrew Reilly References: <20100529074709.GA40241@duncan.reilly.home> In-Reply-To: <20100529074709.GA40241@duncan.reilly.home> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Mon, 31 May 2010 13:30:16 -0000 on 29/05/2010 10:47 Andrew Reilly said the following: > Just to prefix with my config: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD > 9.0-CURRENT #7: Sat May 29 11:20:54 EST 2010 > root@duncan.reilly.home:/nb/obj/nb/src/sys/DUNCAN amd64 Current source tree > was csupped about half an hour ago. > > I don't think that my hardware has gone dodgy: everything else seems to be > working properly. cc itself seems to work OK when compiling my own code, too. > But make buildworld --> > > /nb/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/contrib/opensolaris/common/avl/avl.c:128: > internal compiler error: Bus error: 10 Please submit a full bug report, with > preprocessed source if appropriate. See for > instructions. *** Error code 1 > > Stop in /nb/src/cddl/usr.bin/sgsmsg. > > Also, if I run buildworld with -j4 (my usual config), then a different compile > crashes the same way : > > /nb/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/tools/common/string_table.c:467: > internal compiler error: Bus error: 10 > > but in that case it was not the first compile which broke, and several > (parallel, I assume) broke at the same time. > > So: is anyone else seeing this? > > Is it likely that heisenbugs have found their way into the compiler in the last > week, or perhaps in the kernel's page table handling code? > Have you been playing with clang or other alternative compilers? If not, then I think that it's your hardware. -- Andriy Gapon From owner-freebsd-current@FreeBSD.ORG Mon May 31 14:23:47 2010 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 746591065674; Mon, 31 May 2010 14:23:47 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2AA8FC14; Mon, 31 May 2010 14:23:46 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 3E6FF46B45; Mon, 31 May 2010 10:23:46 -0400 (EDT) Date: Mon, 31 May 2010 15:23:46 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Scott Long In-Reply-To: <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> Message-ID: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 14:23:47 -0000 On Mon, 31 May 2010, Scott Long wrote: > On May 31, 2010, at 3:56 AM, Kostik Belousov wrote: >> >> My personal opinion is that pushing the import now at the present state of >> clang makes a disservice to FreeBSD, and possible clang. Why not keep the >> glue on the branch as it is ? Motivated testers willing to help definitely >> can checkout from the branch. Import can happen when we are satisfied with >> the quality of new compiler, instead of discontent about old one. > > Who is "we", and what is their criteria? Are you speaking for the entire > FreeBSD project? I think Kostik's question here is legitimate: clang maturity changes over time. The earlier we adopt it, the sooner we get the advantages of clang -- but we also end up being the people who fault in more of the hard-to-diagnose compiler bugs. Since Kostik fields many of our complex file system/VM/etc bugs, which are themselves often symptoms of hardware problems rather than software bugs (a similar class of issue), and is on the release engineering team, I think he speaks with some authority on the matter. I happen to (currently) disagree with him on whether clang is ready for us to drop in the base system, as I feel providing early access to it (but not enabling it as the bootstrap by default) will be of significant benefit, but don't think that delegitimizes the concern he raises. You can burn a lot of hours chasing software bugs only to eventually (or never) figure out they are compiler bugs. This is the trade-off, but as you point out in your e-mail, there is also a larger non-technical context. By throwing our weight behind clang, we benefit in numerous and often non-technical ways: we lend the clang folks an engaged and technically astute user community who can help them mature their software, as well as give them a user they community they can point at as part of establishing their own legitimacy. That engagement in turn means they will be more responsive to our needs, and it's clear we're at a swing of the compiler/systems pendulum where we can benefit from the improved compiler technology we get through using clang. I also have to say that I've found the clang folks extremely responsive to date -- the one compiler bug I ran into doing the GCD port to FreeBSD was fielded in about 60 minutes, from my report to a fix in their tree. Very impressive. Of course, I also burned 4-6 hours realizing it was a compiler bug before we got to that point, which is, of course, precisely the issue Kostik is pushing on. But I think, at this moment, it's a risk we need to take, manage it well, and benefit from the results. Robert From owner-freebsd-current@FreeBSD.ORG Mon May 31 14:49:39 2010 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 2BA931065680; Mon, 31 May 2010 14:49:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4088FC1D; Mon, 31 May 2010 14:49:39 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o4VEncWu056086; Mon, 31 May 2010 07:49:38 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o4VEncK5056085; Mon, 31 May 2010 07:49:38 -0700 (PDT) (envelope-from sgk) Date: Mon, 31 May 2010 07:49:38 -0700 From: Steve Kargl To: Brandon Gooch Message-ID: <20100531144938.GA55909@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> 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: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 14:49:39 -0000 On Mon, May 31, 2010 at 02:49:35AM -0500, Brandon Gooch wrote: > > I'm running on a "full" ClangBSD system (world and kernel), and I've > had no issues for the past couple of days. I've had the machine > working nearly constantly -- building new and updating installed > ports, running several ezjails (PostgreSQL, Apache 2.2, etc...), and > generally using/abusing my computer by watching Flash video on the > bsdconferences channel on YouTube... > > So, what exactly should we expect, if anything, to break? :) Did you build and install new boot code? ISTR that clang can't compile src/sys/boot/i386/boot0 to the required 512 bytes. -- Steve From owner-freebsd-current@FreeBSD.ORG Mon May 31 14:51:01 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 BD443106567B for ; Mon, 31 May 2010 14:51:01 +0000 (UTC) (envelope-from yr.retarded@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 94F2D8FC29 for ; Mon, 31 May 2010 14:50:58 +0000 (UTC) Received: by pxi7 with SMTP id 7so1958932pxi.13 for ; Mon, 31 May 2010 07:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type; bh=83sKfn/9nKSLcNhyu8aJ6I1SvSvYvflQyhcFwpDC6pk=; b=o51m6vyxZoKsOMAHc4flTlzr7BMDMVf9GBAdCxoEJEVk43LZB+U8u6HtXbNPaTUgyt PsKe+eGeepWYsxlevzjwx2i99P1WXldgXDW9TNRjaqbMpTVJE1GcgOWQE99pKVlOU9oQ kIS4IIkMqyKgXPdbByKVzEtzxWDzuIIMHORZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=mEw+uGYp+qYSlxt2YZWpmpL2EhMsylgK0Bu3BlXx2X0kI5sR1+IZIxncD6vSU/xSaQ sZKbe0M6vJQBz/R7UidRwdIP9w9NdMKfvQDxwpY0mqOPxe2mK7twQO8MRgqUI25vEq74 PeXLRBKGXOZ5mRak2UyjtxpTRN3nC5Jw7HrqM= MIME-Version: 1.0 Received: by 10.142.122.4 with SMTP id u4mr3058853wfc.202.1275317456135; Mon, 31 May 2010 07:50:56 -0700 (PDT) Received: by 10.142.199.15 with HTTP; Mon, 31 May 2010 07:50:56 -0700 (PDT) In-Reply-To: <20100531085953.GA87750@roberto-al.eurocontrol.fr> References: <20100531075248.GA15206@freebsd.org> <20100531085953.GA87750@roberto-al.eurocontrol.fr> Date: Mon, 31 May 2010 09:50:56 -0500 Message-ID: From: Chris Ruiz Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 14:51:01 -0000 On Mon, May 31, 2010 at 3:59 AM, Ollivier Robert wrote: > According to Roman Divacky: >> So please share your support or resistance to the idea of importing clang. > > Full support from me (but that will not be a surprise ;-)) > > -- > Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr > In memoriam to Ondine : http://ondine.keltia.net/ I will immediately begin testing clang as soon as it is imported in HEAD. Thanks for everyone's hard work, -- Chris Ruiz ----------------------------------------- http://twitter.com/chrisattack http://chrisattack.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 14:57:49 2010 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 C417C106566B; Mon, 31 May 2010 14:57:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4D74B8FC16; Mon, 31 May 2010 14:57:49 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o4VEvn54056148; Mon, 31 May 2010 07:57:49 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o4VEvnl7056147; Mon, 31 May 2010 07:57:49 -0700 (PDT) (envelope-from sgk) Date: Mon, 31 May 2010 07:57:49 -0700 From: Steve Kargl To: Roman Divacky Message-ID: <20100531145749.GB55909@troutmask.apl.washington.edu> References: <20100531075248.GA15206@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100531075248.GA15206@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 14:57:49 -0000 On Mon, May 31, 2010 at 09:52:48AM +0200, Roman Divacky wrote: > Hi, > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > svn checkout is 97MB). Clang/LLVM is written in C++. > > Clang can compile all of FreeBSD on i386/amd64 including world and booting > kernel. Other architectures that are close to working are MIPS, PowerPC > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM > sources and the build infrastructure and this is what we aim to integrate > at first. > > The import of clang/LLVM was discussed at the toolchain summit May 10th > but I would like to hear your opinion. I got approval from core@ on > importing it. > Can clang/LLVM build the livefs and bootonly CD's? -- Steve From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:03:09 2010 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 753111065672 for ; Mon, 31 May 2010 15:03:09 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 18E6C8FC0C for ; Mon, 31 May 2010 15:03:08 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id o4VF37BR003335 for ; Mon, 31 May 2010 11:03:07 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.2 (mail.netplex.net [204.213.176.10]); Mon, 31 May 2010 11:03:07 -0400 (EDT) Date: Mon, 31 May 2010 11:03:07 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net In-Reply-To: Message-ID: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 15:03:09 -0000 On Mon, 31 May 2010, Robert Watson wrote: > > I think Kostik's question here is legitimate: clang maturity changes over > time. The earlier we adopt it, the sooner we get the advantages of clang -- > but we also end up being the people who fault in more of the hard-to-diagnose > compiler bugs. Since Kostik fields many of our complex file system/VM/etc > bugs, which are themselves often symptoms of hardware problems rather than > software bugs (a similar class of issue), and is on the release engineering > team, I think he speaks with some authority on the matter. > > I happen to (currently) disagree with him on whether clang is ready for us to > drop in the base system, as I feel providing early access to it (but not > enabling it as the bootstrap by default) will be of significant benefit, but > don't think that delegitimizes the concern he raises. You can burn a lot of > hours chasing software bugs only to eventually (or never) figure out they are > compiler bugs. > > This is the trade-off, but as you point out in your e-mail, there is also a > larger non-technical context. By throwing our weight behind clang, we > benefit in numerous and often non-technical ways: we lend the clang folks an > engaged and technically astute user community who can help them mature their > software, as well as give them a user they community they can point at as > part of establishing their own legitimacy. That engagement in turn means > they will be more responsive to our needs, and it's clear we're at a swing of > the compiler/systems pendulum where we can benefit from the improved compiler > technology we get through using clang. I would like to see this decision made without political bias. Is clangBSD able to support all our architectures? Does it cross build for powerpc, mips, etc? Has it made a ports run and does it successfully build and run most of our ports on Tier-1 archs, and does it compare similarly with gcc for ports on other archs? If it is clearly in a state to entirely replace gcc, then I say import it. But if it is not yet there, and won't be for some time, then I would say leave it out for the time and import it when it can. -- DE From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:07:43 2010 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 EF6731065673; Mon, 31 May 2010 15:07:43 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id B332F8FC16; Mon, 31 May 2010 15:07:43 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb] (unknown [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D0AD05C43; Mon, 31 May 2010 17:07:42 +0200 (CEST) Message-ID: <4C03D0C0.4050306@andric.com> Date: Mon, 31 May 2010 17:07:44 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100528 Lanikai/3.1.1pre MIME-Version: 1.0 To: Steve Kargl References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> In-Reply-To: <20100531144938.GA55909@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 15:07:44 -0000 On 2010-05-31 16:49, Steve Kargl wrote: >> So, what exactly should we expect, if anything, to break? :) > > Did you build and install new boot code? ISTR that clang > can't compile src/sys/boot/i386/boot0 to the required > 512 bytes. No, boot0 is written in assembly, and run through the regular (GNU) assembler. Neither gcc nor clang do anything more except calling the linker. The only component (in the whole clangbsd src tree) which still needs to be compiled with gcc is boot2, which otherwise ends up just a little too big, and doesn't fit. This is being worked on, but it isn't very critical, really. Note that clangbsd automatically uses gcc for this specific code, unless you override it manually. From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:19:02 2010 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 6F806106564A; Mon, 31 May 2010 15:19:02 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 310D28FC1A; Mon, 31 May 2010 15:19:02 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o4VFIgKW056285; Mon, 31 May 2010 08:18:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o4VFIgoR056284; Mon, 31 May 2010 08:18:42 -0700 (PDT) (envelope-from sgk) Date: Mon, 31 May 2010 08:18:42 -0700 From: Steve Kargl To: Dimitry Andric Message-ID: <20100531151841.GA56247@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> <4C03D0C0.4050306@andric.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C03D0C0.4050306@andric.com> User-Agent: Mutt/1.4.2.3i Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 15:19:02 -0000 On Mon, May 31, 2010 at 05:07:44PM +0200, Dimitry Andric wrote: > On 2010-05-31 16:49, Steve Kargl wrote: > >> So, what exactly should we expect, if anything, to break? :) > > > > Did you build and install new boot code? ISTR that clang > > can't compile src/sys/boot/i386/boot0 to the required > > 512 bytes. > > No, boot0 is written in assembly, and run through the regular (GNU) > assembler. Neither gcc nor clang do anything more except calling the > linker. > > The only component (in the whole clangbsd src tree) which still needs to > be compiled with gcc is boot2, which otherwise ends up just a little too > big, and doesn't fit. This is being worked on, but it isn't very > critical, really. Note that clangbsd automatically uses gcc for this > specific code, unless you override it manually. Doesn't this imply that clang/llvm isn't quite ready for deployment. Being able to boot a complete clang/llvm compiled FreeBSD system would seem to be critical. When you say "This is being worked on", do you mean clang/llvm is being changed to compile boot2 or do you mean boot2 is being changed to allow clang/lvvm to compile it? -- Steve From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:28:14 2010 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 EDB11106564A for ; Mon, 31 May 2010 15:28:14 +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 A61EC8FC13 for ; Mon, 31 May 2010 15:28:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4E15E9CB045; Mon, 31 May 2010 17:24:45 +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 4HYrOrnv1-k2; Mon, 31 May 2010 17:24:43 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3A6059CB12E; Mon, 31 May 2010 17:24:43 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VFOhNW055567; Mon, 31 May 2010 17:24:43 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 17:24:42 +0200 From: Roman Divacky To: Steve Kargl Message-ID: <20100531152442.GA55402@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20100531145749.GB55909@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 15:28:15 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 07:57:49AM -0700, Steve Kargl wrote: > On Mon, May 31, 2010 at 09:52:48AM +0200, Roman Divacky wrote: > > Hi, > >=20 > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > in the near future (days, not weeks). > >=20 > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > > svn checkout is 97MB). Clang/LLVM is written in C++. > >=20 > > Clang can compile all of FreeBSD on i386/amd64 including world and boot= ing > > kernel. Other architectures that are close to working are MIPS, PowerPC > > and ARM. We have a branch (clangbsd-import) that just includes clang/LL= VM > > sources and the build infrastructure and this is what we aim to integra= te > > at first. > > =20 > > The import of clang/LLVM was discussed at the toolchain summit May 10th > > but I would like to hear your opinion. I got approval from core@ on > > importing it. > >=20 >=20 > Can clang/LLVM build the livefs and bootonly CD's? well.. it can build a slightly modified FreeBSD. I have no idea whats the difference between "plain FreeBSD world" and "livefs and bootonly CD" the modifications to the FreeBSD are mostly bug fixes that clang reveals. --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD1LoACgkQLVEj6D3CBEyzRQCcCIWUfTNNruwvO3Umz3bvPpn1 lH8An3lrQIMBPDhvxoE+zHQ5ZbSXW3YG =IBgv -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:34:10 2010 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 07E15106567A; Mon, 31 May 2010 15:34:10 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id BDE568FC1E; Mon, 31 May 2010 15:34:09 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb] (unknown [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 146815C43; Mon, 31 May 2010 17:34:09 +0200 (CEST) Message-ID: <4C03D6F2.90605@andric.com> Date: Mon, 31 May 2010 17:34:10 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100528 Lanikai/3.1.1pre MIME-Version: 1.0 To: Steve Kargl References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> <4C03D0C0.4050306@andric.com> <20100531151841.GA56247@troutmask.apl.washington.edu> In-Reply-To: <20100531151841.GA56247@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 15:34:10 -0000 On 2010-05-31 17:18, Steve Kargl wrote: > Doesn't this imply that clang/llvm isn't quite ready for deployment. > Being able to boot a complete clang/llvm compiled FreeBSD system > would seem to be critical. You can boot it just fine, only the boot2 part is compiled with gcc, for now. Clang can successfully compile boot2; the issue is that its 'optimize for size' option is not as good as gcc at the moment. At the same time, boot2 is so tight on space, that it misses out by just a few 100 bytes. > When you say "This is being worked on", do you mean clang/llvm is being > changed to compile boot2 or do you mean boot2 is being changed to > allow clang/lvvm to compile it? Clang/llvm is being fixed to produce small enough code to fit into the size limit that boot2 has (7 kiB IIRC); no ETA yet. The boot2 code itself should not have to be modified at all (although there might be ways to shrink that code too). From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:53: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 868F6106567A for ; Mon, 31 May 2010 15:53:20 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE298FC1B for ; Mon, 31 May 2010 15:53:20 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 3A0C05644E for ; Mon, 31 May 2010 11:53:19 -0400 (EDT) Message-ID: <4C03DB6E.7020903@intertainservices.com> Date: Mon, 31 May 2010 11:53:18 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20100531075248.GA15206@freebsd.org> In-Reply-To: <20100531075248.GA15206@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 3A0C05644E.AED10 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 15:53:20 -0000 On 5/31/2010 3:52 AM, Roman Divacky wrote: > Clang can compile all of FreeBSD on i386/amd64 including world and booting > kernel. Other architectures that are close to working are MIPS, PowerPC > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM > sources and the build infrastructure and this is what we aim to integrate > at first. > What about the thousands of ports? Also, have there been any tests done to compare the performance of the compiled binaries vs gcc? Thanks. From owner-freebsd-current@FreeBSD.ORG Mon May 31 15:56:43 2010 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 1B76E106567E; Mon, 31 May 2010 15:56:43 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C10358FC18; Mon, 31 May 2010 15:56:42 +0000 (UTC) Received: by gwj23 with SMTP id 23so3079342gwj.13 for ; Mon, 31 May 2010 08:56:42 -0700 (PDT) Received: by 10.231.194.223 with SMTP id dz31mr5977186ibb.87.1275319621364; Mon, 31 May 2010 08:27:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.148.201 with HTTP; Mon, 31 May 2010 08:26:41 -0700 (PDT) In-Reply-To: <20100531151841.GA56247@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> <4C03D0C0.4050306@andric.com> <20100531151841.GA56247@troutmask.apl.washington.edu> From: Eitan Adler Date: Mon, 31 May 2010 18:26:41 +0300 Message-ID: To: Steve Kargl Content-Type: text/plain; charset=UTF-8 Cc: Brandon Gooch , Dimitry Andric , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 15:56:43 -0000 > Doesn't this imply that clang/llvm isn't quite ready for deployment. > Being able to boot a complete clang/llvm compiled FreeBSD system > would seem to be critical. This is why clang would be turned off by default. This import is just making it easier to test the clangbsd branch. I'm all for this change (and when it happens I'll start testing clangbsd). -- Eitan Adler From owner-freebsd-current@FreeBSD.ORG Mon May 31 16:01:21 2010 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 6F6061065678; Mon, 31 May 2010 16:01:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D34BB8FC17; Mon, 31 May 2010 16:01:20 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o4VG1F43003774 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 31 May 2010 17:01:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C03DD4B.9020209@infracaninophile.co.uk> Date: Mon, 31 May 2010 17:01:15 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Daniel Eischen References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_ALL,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 16:01:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/05/2010 16:03:07, Daniel Eischen wrote: > Is clangBSD able to support all our architectures? Does it > cross build for powerpc, mips, etc? Has it made a ports run > and does it successfully build and run most of our ports on > Tier-1 archs, and does it compare similarly with gcc for ports > on other archs? Mostly agree, but waiting until clang can compile most of the ports is going to be a really long wait. Lots of projects out there won't want to support anything other than gcc for the forseable future. Presumably the import of clang to the base does not mean the immediate removal of gcc. Is it really such a bad thing to have gcc as a build-dependency for various ported applications? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwD3UsACgkQ8Mjk52CukIwCiACdGEn8qPpCoCnGN2u+E3S96BnQ mHAAnAy74w651EtuHf7bkWtjd9WSR/Ny =5QiA -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon May 31 16:14:12 2010 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 5031D106567B for ; Mon, 31 May 2010 16:14:12 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id DD9E28FC23 for ; Mon, 31 May 2010 16:14:11 +0000 (UTC) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id A399B5B30; Mon, 31 May 2010 09:14:09 -0700 (PDT) To: Roman Divacky In-reply-to: Your message of "Mon, 31 May 2010 09:52:48 +0200." <20100531075248.GA15206@freebsd.org> References: <20100531075248.GA15206@freebsd.org> Comments: In-reply-to Roman Divacky message dated "Mon, 31 May 2010 09:52:48 +0200." Date: Mon, 31 May 2010 09:14:09 -0700 From: Bakul Shah Message-Id: <20100531161409.A399B5B30@mail.bitblocks.com> Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 16:14:12 -0000 On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky wrote: > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > svn checkout is 97MB). Clang/LLVM is written in C++. > > Clang can compile all of FreeBSD on i386/amd64 including world and booting > kernel. Other architectures that are close to working are MIPS, PowerPC > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM > sources and the build infrastructure and this is what we aim to integrate > at first. > > The import of clang/LLVM was discussed at the toolchain summit May 10th > but I would like to hear your opinion. I got approval from core@ on > importing it. > > So please share your support or resistance to the idea of importing clang. > > Roman Divacky I already use clang for some things but I think the issue here is not support/resistance but something else: * IMHO for a change of this nature the core needs to publish a set of clear acceptance criteria for importing clang. Can this be done? * Since clang doesn't support all the archs, what is the plan for unsupported archs? a. Is FreeBSD going to have both compilers in the base? b. Is the project drop these FreeBSD ports? or c. Do people have to import gcc from ports to build these FreeBSD ports? * What about ports? * Basically the core needs to lay out a roadmap. It is clear that not everyone has the same view of what the acceptance criteria might be so publishing it would help people understand what to expect. From owner-freebsd-current@FreeBSD.ORG Mon May 31 16:20:45 2010 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 BFE35106566C for ; Mon, 31 May 2010 16:20:45 +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 648038FC0A for ; Mon, 31 May 2010 16:20:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 919F59CB12C; Mon, 31 May 2010 18:17:16 +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 cJUxW6cYdRcH; Mon, 31 May 2010 18:17:14 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 580609CB149; Mon, 31 May 2010 18:17:14 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o4VGHEM3061884; Mon, 31 May 2010 18:17:14 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 31 May 2010 18:17:13 +0200 From: Roman Divacky To: Bakul Shah Message-ID: <20100531161713.GA60782@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20100531161409.A399B5B30@mail.bitblocks.com> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 16:20:45 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 09:14:09AM -0700, Bakul Shah wrote: > On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky = wrote: > >=20 > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > in the near future (days, not weeks). > >=20 > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > > svn checkout is 97MB). Clang/LLVM is written in C++. > >=20 > > Clang can compile all of FreeBSD on i386/amd64 including world and boot= ing > > kernel. Other architectures that are close to working are MIPS, PowerPC > > and ARM. We have a branch (clangbsd-import) that just includes clang/LL= VM > > sources and the build infrastructure and this is what we aim to integra= te > > at first. > > > > The import of clang/LLVM was discussed at the toolchain summit May 10th > > but I would like to hear your opinion. I got approval from core@ on > > importing it. > >=20 > > So please share your support or resistance to the idea of importing cla= ng. > >=20 > > Roman Divacky >=20 > I already use clang for some things but I think the issue > here is not support/resistance but something else: >=20 > * IMHO for a change of this nature the core needs to publish > a set of clear acceptance criteria for importing clang. > Can this be done? =20 I asked core@ and they support the import > * Since clang doesn't support all the archs, what is the plan > for unsupported archs? > a. Is FreeBSD going to have both compilers in the base? yes, this is what this import is about - importing clang,=20 nothing else changes > b. Is the project drop these FreeBSD ports? or no, of course not > c. Do people have to import gcc from ports to build these > FreeBSD ports? =20 nothing is being changed, just one more application after a buildworld/installworld appears (that being clang) > * What about ports? >=20 > * Basically the core needs to lay out a roadmap. >=20 > It is clear that not everyone has the same view of what the > acceptance criteria might be so publishing it would help > people understand what to expect. nothing changes for the ports, there's an ongoing project to enable ports to be usable with clang (or some other compiler) but thats orthogonal to this. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD4QkACgkQLVEj6D3CBEwuxACeJrirUEEOpa+tLVq4Bv1qUooe 8McAniYsWbVxm62q5rwQS+t/1q1dt8lq =epQP -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 17:03:40 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 5878D1065678 for ; Mon, 31 May 2010 17:03:40 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id D87558FC08 for ; Mon, 31 May 2010 17:03:39 +0000 (UTC) Received: by ewy1 with SMTP id 1so893900ewy.13 for ; Mon, 31 May 2010 10:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=YGEZUxj92u+S99ZPnNJe/bXTudt1kWcocFWwCy5tlz4=; b=PY393hHKDHNq4zku0249dxNkpzFWoXUPG6A0b7i6+yiN+MNn/N4aHwEgkjdY2CphvR 8AsyfBCW1vOXel9o2p7/mDpUz+eGPfbVSITuhIch7jZkPxDJms7M5i/UL4SUKjuMAR8o ZHvCCNwx5yOhICl5iNy4k+7o/GTGd6dE456sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=m41bWOtrHnl7UXTI6f5RpPR9Xid3k9/N/BjWXYPnCXvx5hKKsHOmUWXqD7bd3Msj6v yYrMvUJ5LsdDOQsNdcXIpyIcbsxHPvvB7Dn2/ItbW/c0Jg/ZJmPvhrDYse3hdfdTsyNV Qw6IbxrWIm3WmVMTBTrUTx7kIZcfwrRNH+29c= Received: by 10.213.14.11 with SMTP id e11mr2393350eba.44.1275325418142; Mon, 31 May 2010 10:03:38 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 16sm3179272ewy.11.2010.05.31.10.03.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 10:03:36 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current@freebsd.org, "Mike Jakubik" References: <20100531075248.GA15206@freebsd.org> <4C03DB6E.7020903@intertainservices.com> Date: Mon, 31 May 2010 20:03:34 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <4C03DB6E.7020903@intertainservices.com> User-Agent: Opera Mail/10.60 (FreeBSD) Cc: Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 17:03:40 -0000 On Mon, 31 May 2010 18:53:18 +0300, Mike Jakubik wrote: > What about the thousands of ports? Also, have there been any tests done > to compare the performance of the compiled binaries vs gcc? This import is in no way directly related to ports. Somehow people have this weird idea that clang is replacing gcc, it isn't. For now ports will be compiled with gcc just like they were before. There are people working on getting ports to compile with clang, but that's a different project[1][2], and in my opinion, is somewhat offtopic for the current discussion. As for performance, I'm not sure. I wouldn't expect clang compiled binaries to be significantly faster/slower than gcc ones. [1] http://wiki.freebsd.org/PortsAndClang [2] http://wiki.freebsd.org/SOC2010AndriusMorkunas -- Andrius From owner-freebsd-current@FreeBSD.ORG Mon May 31 17:30:32 2010 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 4AB441065677; Mon, 31 May 2010 17:30:32 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id CAEC88FC18; Mon, 31 May 2010 17:30:31 +0000 (UTC) Received: by gyh20 with SMTP id 20so3728547gyh.13 for ; Mon, 31 May 2010 10:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RgTcj+hI7Uz8eoeop0dQ/Bkm09bQYJXnAPOPvqoiuh8=; b=vqPGk9l6sDuBJbCCwEckBRjGSXXHdSE+NnLAxxZJmyITVE4JZaJuj+B+JiVTNijR1v CoJz9zg9r/TZoJQHKvRG81+VCVeZrVv/u71a5eUXbuitgSoq5qrXXVdIiXiq6g2pSHDc /A99wvStTwBYRnvi3bTTvJTPq3xYOnTRGbPH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nb/OFDpd+uiQzQMdnhSby9b68bcmDjdsR/EoncExyS7m2n7LZg3H+DZsfNGwotq4IT 3aZ9lxnElXf+LBRZ/MyrtDCDpsu6HUrDLFHOADNaQEemkR0044ryMawCHoekFvGGDjJV YZ9YOLIuBycgtPk0KNylaN7O6a7Df+No3gA6k= MIME-Version: 1.0 Received: by 10.231.157.200 with SMTP id c8mr6203742ibx.53.1275327018196; Mon, 31 May 2010 10:30:18 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 10:30:18 -0700 (PDT) In-Reply-To: <20100531144938.GA55909@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> Date: Mon, 31 May 2010 12:30:18 -0500 Message-ID: From: Brandon Gooch To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 17:30:32 -0000 On Mon, May 31, 2010 at 9:49 AM, Steve Kargl wrote: > On Mon, May 31, 2010 at 02:49:35AM -0500, Brandon Gooch wrote: >> >> I'm running on a "full" ClangBSD system (world and kernel), and I've >> had no issues for the past couple of days. I've had the machine >> working nearly constantly -- building new and updating installed >> ports, running several ezjails (PostgreSQL, Apache 2.2, etc...), and >> generally using/abusing my computer by watching Flash video on the >> bsdconferences channel on YouTube... >> >> So, what exactly should we expect, if anything, to break? :) > > Did you build and install new boot code? =A0ISTR that clang > can't compile src/sys/boot/i386/boot0 to the required > 512 bytes. No, I didn't install new boot code. Whether or not it was built, I'll check and see; I'm not sure exactly when/where it's built -- during buildkernel? This is an example of the reason I put the quotes around "full" -- I'm not sure exactly how completely ClangBSD my system really is :) -Brandon From owner-freebsd-current@FreeBSD.ORG Mon May 31 17:39:05 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 84265106564A for ; Mon, 31 May 2010 17:39:05 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.211.176]) by mx1.freebsd.org (Postfix) with ESMTP id 316B68FC08 for ; Mon, 31 May 2010 17:39:04 +0000 (UTC) Received: by ywh6 with SMTP id 6so2947627ywh.16 for ; Mon, 31 May 2010 10:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=8pxKLSg2B6PPOdf7O/S0hp2/2IATzqIx0UJlgLKTqCU=; b=HgxhsNXaodnXo0mKYOi78VdHkacFEf+ETaVlVckaj+KH+07oSGOaiDpsgwnh9RS0z2 dXgS6XBbE+UwCOaHAoS7y00BgHGSoJD20ePTXM6BuCmZuj+VSRobNFCIEbTbkZlcSSVD G24devTffwFTt74WF6hYNCWU5ju9Lnn8xv3Gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=N1hmoFcLvgWTQXgx4pDj/ll+iKIc2mGCJ3XF2GLS1qWRH6zpNQbRc4Jz7U+JX7SX08 QtkS/mGkdWnfG3J5hB4Y0YX++Pr9DrlMwPdBCL5PZWSkDd3OJEQ+gjqY+9kUD7bzYZHc StdOeFGEni7hj/p58rUOBJuDuQLk0DqzR8tuU= MIME-Version: 1.0 Received: by 10.231.169.129 with SMTP id z1mr6242709iby.26.1275327542914; Mon, 31 May 2010 10:39:02 -0700 (PDT) Received: by 10.231.36.194 with HTTP; Mon, 31 May 2010 10:39:02 -0700 (PDT) In-Reply-To: <4C03DB6E.7020903@intertainservices.com> References: <20100531075248.GA15206@freebsd.org> <4C03DB6E.7020903@intertainservices.com> Date: Mon, 31 May 2010 10:39:02 -0700 Message-ID: From: Freddie Cash To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 17:39:05 -0000 On Mon, May 31, 2010 at 8:53 AM, Mike Jakubik < mike.jakubik@intertainservices.com> wrote: > On 5/31/2010 3:52 AM, Roman Divacky wrote: > >> Clang can compile all of FreeBSD on i386/amd64 including world and booting >> kernel. Other architectures that are close to working are MIPS, PowerPC >> and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM >> sources and the build infrastructure and this is what we aim to integrate >> at first. >> >> > What about the thousands of ports? Also, have there been any tests done to > compare the performance of the compiled binaries vs gcc? > What about the ports? Lots of ports already have dependencies on GCC from ports as they don't build/run properly with GCC 4.2.1. How is this any different? There have been reports on other lists from people using Clang to build their ports, with very few failures. It's a "simple" matter to add a dependency on GCC from ports for those that do fail. Which is already being done for ports that don't work with GCC 4.2.1. Several -exp runs have already been done on the ports tree using Clang. No idea about benchmarks. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 17:56:46 2010 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 BC2F31065672 for ; Mon, 31 May 2010 17:56:46 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.116]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADAA8FC1F for ; Mon, 31 May 2010 17:56:46 +0000 (UTC) Received: from outbound2.messaging.lotuslive.com (45.32.6.10.in-addr.arpa [10.6.32.45]) by c-in3ofal02-01.sv2.lotusliveops.com (Postfix) with ESMTP id 4D0263086E for ; Mon, 31 May 2010 17:45:32 +0000 (GMT) Received: from c-in3ofil02-02.sv2.lotusliveops.com (49.32.6.10.in-addr.arpa [10.6.32.49]) by c-in3obnd02-03.sv2.lotusliveops.com (Postfix) with ESMTP id 081546E2E45 for ; Mon, 31 May 2010 17:45:31 +0000 (GMT) Received: from 74.32.6.10.in-addr.arpa (c-in3ws--02-01.sv2.lotusliveops.com [10.6.32.74]) (sender gaijin.k@ovi.com) by c-in3ofil02-02.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Mon, 31 May 2010 17:45:31 +0000 Received: (qmail 18569 invoked from network); 31 May 2010 17:45:30 -0000 Received: from unknown (HELO c-in3play02-02.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by 74.32.5.10.in-addr.arpa with SMTP; 31 May 2010 17:45:30 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Brandon Gooch In-Reply-To: References: <20100529130240.GA99732@freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 May 2010 13:44:55 -0400 Message-ID: <1275327895.84316.8.camel@RabbitsDen> MIME-Version: 1.0 X-Mailer: Evolution 2.30.1.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 17:56:46 -0000 On Mon, 2010-05-31 at 02:49 -0500, Brandon Gooch wrote: > On Sat, May 29, 2010 at 8:02 AM, Roman Divacky wro= te: > > hi, > > > > ClangBSD was updated to LLVM/clang revision 104832 which is what we aim= to import > > into HEAD in roughly a week. We would like the initial import to be as = painless > > as possible and therefore we ask you to test ClangBSD to assure that th= e revision > > we are importing does not have some really embarassing bugs. > > > > How to do it (on i386 and amd64): > > > > 0) install fresh devel/llvm-devel port > > > > 1) svn co http://svn.freebsd.org/base/projects/clangbsd src > > > > 2) echo NO_WERROR=3D >> /etc/src.conf ; echo WERROR=3D >> /etc/src.conf > > > > 3) cd src && make buildworld > > > > 4) make installworld DESTDIR=3D/usr/clangbsd > > > > 5) (optional) try to build kernel with clang and boot it > > > > 5.1) cd /sys/{arch}/conf > > 5.2) config YOUR_KERNEL > > 5.3) setenv CC clang in tcsh or export CC=3Dclang in bash > > 5.4) cd ../compile/YOUR_KERNEL > > 5.5) make && make install > > > > please make sure that it builds (on amd64/i386) and that the resulting = world > > is runnable. ie. try to chroot into it and "do stuff". ie. > > > > chroot /clangbsd /bin/tcsh > > > > ... stuff ... > > > > > > there's a wiki page on this effort: http://wiki.freebsd.org/BuildingFre= eBSDWithClang > > > > please report back any problems/success to me and/or this mailing list. > > > > thank you for your testing! > > > > Roman Divacky on behalf of the ClangBSD team > > >=20 > I'm running on a "full" ClangBSD system (world and kernel), and I've > had no issues for the past couple of days. I've had the machine > working nearly constantly -- building new and updating installed > ports, running several ezjails (PostgreSQL, Apache 2.2, etc...), and > generally using/abusing my computer by watching Flash video on the > bsdconferences channel on YouTube... What is the good way to do installworld from CURRENT-snapshot to ClangBSD? Half way through some shared object (run-time loader?) gets overwritten and it is all signal 11 from there on. Thank you in advance. --=20 Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80= =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) -------------------------------------------------------------- Ovi Mail: Available in 20 languages http://mail.ovi.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 18:10:32 2010 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 7893A106566C; Mon, 31 May 2010 18:10:32 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id DD2D88FC16; Mon, 31 May 2010 18:10:31 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb] (unknown [IPv6:2001:7b8:3a7:0:b1e2:d68a:dece:f5eb]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C4F9A5C43; Mon, 31 May 2010 20:10:30 +0200 (CEST) Message-ID: <4C03FB97.5000309@andric.com> Date: Mon, 31 May 2010 20:10:31 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100528 Lanikai/3.1.1pre MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <20100529130240.GA99732@freebsd.org> <1275327895.84316.8.camel@RabbitsDen> In-Reply-To: <1275327895.84316.8.camel@RabbitsDen> Content-Type: multipart/mixed; boundary="------------060601080602040900080401" Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 18:10:32 -0000 This is a multi-part message in MIME format. --------------060601080602040900080401 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2010-05-31 19:44, Alexandre "Sunny" Kovalenko wrote: > What is the good way to do installworld from CURRENT-snapshot to > ClangBSD? Half way through some shared object (run-time loader?) gets > overwritten and it is all signal 11 from there on. Hi Alexandre, A fix for this has already been applied in head, but it was not yet merged back to clangbsd. That is going to happen soon. In the meantime, please: - Use /rescue to rollback /libexec/ld-elf.so.1 (from the backup in /libexec/ld-elf.so.1.old) - Apply the patch I have attached to your clangbsd source dir - Rebuild libexec/rtld-elf in there Then you should be able to do installworld without any problems. --------------060601080602040900080401 Content-Type: text/plain; name="rtld-elf-clangbsd.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="rtld-elf-clangbsd.diff" SW5kZXg6IGxpYmV4ZWMvcnRsZC1lbGYvYXJtL3JlbG9jLmMKPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0g bGliZXhlYy9ydGxkLWVsZi9hcm0vcmVsb2MuYwkocmV2aXNpb24gMjA4NjIwKQorKysgbGli ZXhlYy9ydGxkLWVsZi9hcm0vcmVsb2MuYwkod29ya2luZyBjb3B5KQpAQCAtMjQ1LDcgKzI0 NSw2IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9FbnRyeSAqb2JqX3J0 bGQpCiAJY29uc3QgRWxmX1JlbCAqcmVsbGltOwogCWNvbnN0IEVsZl9SZWwgKnJlbDsKIAlT eW1DYWNoZSAqY2FjaGU7Ci0JaW50IGJ5dGVzID0gb2JqLT5uY2hhaW5zICogc2l6ZW9mKFN5 bUNhY2hlKTsKIAlpbnQgciA9IC0xOwogCQogCS8qIFRoZSByZWxvY2F0aW9uIGZvciB0aGUg ZHluYW1pYyBsb2FkZXIgaGFzIGFscmVhZHkgYmVlbiBkb25lLiAqLwpAQCAtMjU1LDEwICsy NTQsOSBAQCByZWxvY19ub25fcGx0KE9ial9FbnRyeSAqb2JqLCBPYmpfRW50cnkgKm9ial9y dGxkKQogIAkgKiBUaGUgZHluYW1pYyBsb2FkZXIgbWF5IGJlIGNhbGxlZCBmcm9tIGEgdGhy ZWFkLCB3ZSBoYXZlCiAJICogbGltaXRlZCBhbW91bnRzIG9mIHN0YWNrIGF2YWlsYWJsZSBz byB3ZSBjYW5ub3QgdXNlIGFsbG9jYSgpLgogCSAqLwotCWNhY2hlID0gbW1hcChOVUxMLCBi eXRlcywgUFJPVF9SRUFEfFBST1RfV1JJVEUsIE1BUF9BTk9OLCAtMSwgMCk7Ci0JaWYgKGNh Y2hlID09IE1BUF9GQUlMRUQpCi0JCWNhY2hlID0gTlVMTDsKLQkKKwljYWNoZSA9IGNhbGxv YyhvYmotPm5jaGFpbnMsIHNpemVvZihTeW1DYWNoZSkpOworCS8qIE5vIG5lZWQgdG8gY2hl Y2sgZm9yIE5VTEwgaGVyZSAqLworCiAJcmVsbGltID0gKGNvbnN0IEVsZl9SZWwgKikoKGNh ZGRyX3Qpb2JqLT5yZWwgKyBvYmotPnJlbHNpemUpOwogCWZvciAocmVsID0gb2JqLT5yZWw7 IHJlbCA8IHJlbGxpbTsgcmVsKyspIHsKIAkJaWYgKHJlbG9jX25vbnBsdF9vYmplY3Qob2Jq LCByZWwsIGNhY2hlKSA8IDApCkBAIC0yNjYsOSArMjY0LDggQEAgcmVsb2Nfbm9uX3BsdChP YmpfRW50cnkgKm9iaiwgT2JqX0VudHJ5ICpvYmpfcnRsZCkKIAl9CiAJciA9IDA7CiBkb25l OgotCWlmIChjYWNoZSkgewotCQltdW5tYXAoY2FjaGUsIGJ5dGVzKTsKLQl9CisJaWYgKGNh Y2hlICE9IE5VTEwpCisJCWZyZWUoY2FjaGUpOwogCXJldHVybiAocik7CiB9CiAKSW5kZXg6 IGxpYmV4ZWMvcnRsZC1lbGYvcG93ZXJwYy9yZWxvYy5jCj09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxp YmV4ZWMvcnRsZC1lbGYvcG93ZXJwYy9yZWxvYy5jCShyZXZpc2lvbiAyMDg2MjApCisrKyBs aWJleGVjL3J0bGQtZWxmL3Bvd2VycGMvcmVsb2MuYwkod29ya2luZyBjb3B5KQpAQCAtMjg3 LDcgKzI4Nyw2IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9FbnRyeSAq b2JqX3J0bGQpCiAJY29uc3QgRWxmX1JlbGEgKnJlbGFsaW07CiAJY29uc3QgRWxmX1JlbGEg KnJlbGE7CiAJU3ltQ2FjaGUgKmNhY2hlOwotCWludCBieXRlcyA9IG9iai0+bmNoYWlucyAq IHNpemVvZihTeW1DYWNoZSk7CiAJaW50IHIgPSAtMTsKIAogCS8qCkBAIC0yOTUsMTAgKzI5 NCw4IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9FbnRyeSAqb2JqX3J0 bGQpCiAJICogbGltaXRlZCBhbW91bnRzIG9mIHN0YWNrIGF2YWlsYWJsZSBzbyB3ZSBjYW5u b3QgdXNlIGFsbG9jYSgpLgogCSAqLwogCWlmIChvYmogIT0gb2JqX3J0bGQpIHsKLQkJY2Fj aGUgPSBtbWFwKE5VTEwsIGJ5dGVzLCBQUk9UX1JFQUR8UFJPVF9XUklURSwgTUFQX0FOT04s Ci0JCSAgICAtMSwgMCk7Ci0JCWlmIChjYWNoZSA9PSBNQVBfRkFJTEVEKQotCQkJY2FjaGUg PSBOVUxMOworCQljYWNoZSA9IGNhbGxvYyhvYmotPm5jaGFpbnMsIHNpemVvZihTeW1DYWNo ZSkpOworCQkvKiBObyBuZWVkIHRvIGNoZWNrIGZvciBOVUxMIGhlcmUgKi8KIAl9IGVsc2UK IAkJY2FjaGUgPSBOVUxMOwogCkBAIC0zMTQsOSArMzExLDggQEAgcmVsb2Nfbm9uX3BsdChP YmpfRW50cnkgKm9iaiwgT2JqX0VudHJ5ICpvYmpfcnRsZCkKIAl9CiAJciA9IDA7CiBkb25l OgotCWlmIChjYWNoZSkgewotCQltdW5tYXAoY2FjaGUsIGJ5dGVzKTsKLQl9CisJaWYgKGNh Y2hlICE9IE5VTEwpCisJCWZyZWUoY2FjaGUpOwogCXJldHVybiAocik7CiB9CiAKSW5kZXg6 IGxpYmV4ZWMvcnRsZC1lbGYvc3BhcmM2NC9yZWxvYy5jCj09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxp YmV4ZWMvcnRsZC1lbGYvc3BhcmM2NC9yZWxvYy5jCShyZXZpc2lvbiAyMDg2MjApCisrKyBs aWJleGVjL3J0bGQtZWxmL3NwYXJjNjQvcmVsb2MuYwkod29ya2luZyBjb3B5KQpAQCAtMjU0 LDcgKzI1NCw2IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9FbnRyeSAq b2JqX3J0bGQpCiAJY29uc3QgRWxmX1JlbGEgKnJlbGFsaW07CiAJY29uc3QgRWxmX1JlbGEg KnJlbGE7CiAJU3ltQ2FjaGUgKmNhY2hlOwotCWludCBieXRlcyA9IG9iai0+bmNoYWlucyAq IHNpemVvZihTeW1DYWNoZSk7CiAJaW50IHIgPSAtMTsKIAogCS8qCkBAIC0yNjIsMTAgKzI2 MSw4IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9FbnRyeSAqb2JqX3J0 bGQpCiAJICogbGltaXRlZCBhbW91bnRzIG9mIHN0YWNrIGF2YWlsYWJsZSBzbyB3ZSBjYW5u b3QgdXNlIGFsbG9jYSgpLgogCSAqLwogCWlmIChvYmogIT0gb2JqX3J0bGQpIHsKLQkJY2Fj aGUgPSBtbWFwKE5VTEwsIGJ5dGVzLCBQUk9UX1JFQUR8UFJPVF9XUklURSwgTUFQX0FOT04s Ci0JCSAgICAtMSwgMCk7Ci0JCWlmIChjYWNoZSA9PSBNQVBfRkFJTEVEKQotCQkJY2FjaGUg PSBOVUxMOworCQljYWNoZSA9IGNhbGxvYyhvYmotPm5jaGFpbnMsIHNpemVvZihTeW1DYWNo ZSkpOworCQkvKiBObyBuZWVkIHRvIGNoZWNrIGZvciBOVUxMIGhlcmUgKi8KIAl9IGVsc2UK IAkJY2FjaGUgPSBOVUxMOwogCkBAIC0yNzYsOCArMjczLDggQEAgcmVsb2Nfbm9uX3BsdChP YmpfRW50cnkgKm9iaiwgT2JqX0VudHJ5ICpvYmpfcnRsZCkKIAl9CiAJciA9IDA7CiBkb25l OgotCWlmIChjYWNoZSkKLQkJbXVubWFwKGNhY2hlLCBieXRlcyk7CisJaWYgKGNhY2hlICE9 IE5VTEwpCisJCWZyZWUoY2FjaGUpOwogCXJldHVybiAocik7CiB9CiAKSW5kZXg6IGxpYmV4 ZWMvcnRsZC1lbGYvcnRsZC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxpYmV4ZWMvcnRsZC1lbGYv cnRsZC5jCShyZXZpc2lvbiAyMDg2MjApCisrKyBsaWJleGVjL3J0bGQtZWxmL3J0bGQuYwko d29ya2luZyBjb3B5KQpAQCAtMzMxMSw2ICszMzExLDEwIEBAIGFsbG9jYXRlX21vZHVsZV90 bHMoaW50IGluZGV4KQogICAgIH0KIAogICAgIHAgPSBtYWxsb2Mob2JqLT50bHNzaXplKTsK KyAgICBpZiAocCA9PSBOVUxMKSB7CisJX3J0bGRfZXJyb3IoIkNhbm5vdCBhbGxvY2F0ZSBU TFMgYmxvY2sgZm9yIGluZGV4ICVkIiwgaW5kZXgpOworCWRpZSgpOworICAgIH0KICAgICBt ZW1jcHkocCwgb2JqLT50bHNpbml0LCBvYmotPnRsc2luaXRzaXplKTsKICAgICBtZW1zZXQo cCArIG9iai0+dGxzaW5pdHNpemUsIDAsIG9iai0+dGxzc2l6ZSAtIG9iai0+dGxzaW5pdHNp emUpOwogCkluZGV4OiBsaWJleGVjL3J0bGQtZWxmL2kzODYvcmVsb2MuYwo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09Ci0tLSBsaWJleGVjL3J0bGQtZWxmL2kzODYvcmVsb2MuYwkocmV2aXNpb24gMjA4NjIw KQorKysgbGliZXhlYy9ydGxkLWVsZi9pMzg2L3JlbG9jLmMJKHdvcmtpbmcgY29weSkKQEAg LTExOSwxNSArMTE5LDE2IEBAIHJlbG9jX25vbl9wbHQoT2JqX0VudHJ5ICpvYmosIE9ial9F bnRyeSAqb2JqX3J0bGQpCiAJY29uc3QgRWxmX1JlbCAqcmVsbGltOwogCWNvbnN0IEVsZl9S ZWwgKnJlbDsKIAlTeW1DYWNoZSAqY2FjaGU7Ci0JaW50IGJ5dGVzID0gb2JqLT5uY2hhaW5z ICogc2l6ZW9mKFN5bUNhY2hlKTsKIAlpbnQgciA9IC0xOwogCiAJLyoKIAkgKiBUaGUgZHlu YW1pYyBsb2FkZXIgbWF5IGJlIGNhbGxlZCBmcm9tIGEgdGhyZWFkLCB3ZSBoYXZlCiAJICog bGltaXRlZCBhbW91bnRzIG9mIHN0YWNrIGF2YWlsYWJsZSBzbyB3ZSBjYW5ub3QgdXNlIGFs bG9jYSgpLgogCSAqLwotCWNhY2hlID0gbW1hcChOVUxMLCBieXRlcywgUFJPVF9SRUFEfFBS T1RfV1JJVEUsIE1BUF9BTk9OLCAtMSwgMCk7Ci0JaWYgKGNhY2hlID09IE1BUF9GQUlMRUQp CisJaWYgKG9iaiAhPSBvYmpfcnRsZCkgeworCSAgICBjYWNoZSA9IGNhbGxvYyhvYmotPm5j aGFpbnMsIHNpemVvZihTeW1DYWNoZSkpOworCSAgICAvKiBObyBuZWVkIHRvIGNoZWNrIGZv ciBOVUxMIGhlcmUgKi8KKwl9IGVsc2UKIAkgICAgY2FjaGUgPSBOVUxMOwogCiAJcmVsbGlt ID0gKGNvbnN0IEVsZl9SZWwgKikgKChjYWRkcl90KSBvYmotPnJlbCArIG9iai0+cmVsc2l6 ZSk7CkBAIC0yNzMsOCArMjc0LDggQEAgcmVsb2Nfbm9uX3BsdChPYmpfRW50cnkgKm9iaiwg T2JqX0VudHJ5ICpvYmpfcnRsZCkKIAl9CiAJciA9IDA7CiBkb25lOgotCWlmIChjYWNoZSkK LQkgICAgbXVubWFwKGNhY2hlLCBieXRlcyk7CisJaWYgKGNhY2hlICE9IE5VTEwpCisJICAg IGZyZWUoY2FjaGUpOwogCXJldHVybihyKTsKIH0KIApJbmRleDogbGliZXhlYy9ydGxkLWVs Zi9hbWQ2NC9yZWxvYy5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxpYmV4ZWMvcnRsZC1lbGYvYW1k NjQvcmVsb2MuYwkocmV2aXNpb24gMjA4NjIwKQorKysgbGliZXhlYy9ydGxkLWVsZi9hbWQ2 NC9yZWxvYy5jCSh3b3JraW5nIGNvcHkpCkBAIC0xMTgsMTUgKzExOCwxNiBAQCByZWxvY19u b25fcGx0KE9ial9FbnRyeSAqb2JqLCBPYmpfRW50cnkgKm9ial9ydGxkKQogCWNvbnN0IEVs Zl9SZWxhICpyZWxhbGltOwogCWNvbnN0IEVsZl9SZWxhICpyZWxhOwogCVN5bUNhY2hlICpj YWNoZTsKLQlpbnQgYnl0ZXMgPSBvYmotPm5jaGFpbnMgKiBzaXplb2YoU3ltQ2FjaGUpOwog CWludCByID0gLTE7CiAKIAkvKgogCSAqIFRoZSBkeW5hbWljIGxvYWRlciBtYXkgYmUgY2Fs bGVkIGZyb20gYSB0aHJlYWQsIHdlIGhhdmUKIAkgKiBsaW1pdGVkIGFtb3VudHMgb2Ygc3Rh Y2sgYXZhaWxhYmxlIHNvIHdlIGNhbm5vdCB1c2UgYWxsb2NhKCkuCiAJICovCi0JY2FjaGUg PSBtbWFwKE5VTEwsIGJ5dGVzLCBQUk9UX1JFQUR8UFJPVF9XUklURSwgTUFQX0FOT04sIC0x LCAwKTsKLQlpZiAoY2FjaGUgPT0gTUFQX0ZBSUxFRCkKKwlpZiAob2JqICE9IG9ial9ydGxk KSB7CisJICAgIGNhY2hlID0gY2FsbG9jKG9iai0+bmNoYWlucywgc2l6ZW9mKFN5bUNhY2hl KSk7CisJICAgIC8qIE5vIG5lZWQgdG8gY2hlY2sgZm9yIE5VTEwgaGVyZSAqLworCX0gZWxz ZQogCSAgICBjYWNoZSA9IE5VTEw7CiAKIAlyZWxhbGltID0gKGNvbnN0IEVsZl9SZWxhICop ICgoY2FkZHJfdCkgb2JqLT5yZWxhICsgb2JqLT5yZWxhc2l6ZSk7CkBAIC0zMjIsOCArMzIz LDggQEAgcmVsb2Nfbm9uX3BsdChPYmpfRW50cnkgKm9iaiwgT2JqX0VudHJ5ICpvYmpfcnRs ZCkKIAl9CiAJciA9IDA7CiBkb25lOgotCWlmIChjYWNoZSkKLQkgICAgbXVubWFwKGNhY2hl LCBieXRlcyk7CisJaWYgKGNhY2hlICE9IE5VTEwpCisJICAgIGZyZWUoY2FjaGUpOwogCXJl dHVybihyKTsKIH0KIAo= --------------060601080602040900080401-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 18:25:47 2010 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 2A6021065670; Mon, 31 May 2010 18:25:47 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D0FE18FC1F; Mon, 31 May 2010 18:25:46 +0000 (UTC) Received: by iwn5 with SMTP id 5so608487iwn.13 for ; Mon, 31 May 2010 11:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=eI4u2BDO/amAkwxM46Vj5g723ryO8L6CMtsJO3h0q3g=; b=awi+SpHWS8M0Sqa5rTg3hsclYWh2Fi8m+mFeSkNcFW8PxoIYRBQsoKW+jB2J9xZ8b4 gGDxh6Q5LElgN1+t3iz/xSSLI0ghDl4zgpfQST0TH3aP6vpESWm2EoOZ5bItpSR8vfTR LH+QslRTirAutiiye1/3MBKgDXPecnHoeKcNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VSVH7DuWar3BtA0SyNhwGVrpkdUFwCKoYZy88jxOj15G3lw0oTaQJ7TsyLzKKGVba4 FrJfWfmZwEoIjkTOyXS7cWEhMtZtalxE1uPprolUBtPN9g79BTcpzZymDxQACslF3tAm m7rmGe69Fjcx36xZMNmhkAtOCxJnlgdgmCjIo= MIME-Version: 1.0 Received: by 10.231.174.130 with SMTP id t2mr6269543ibz.50.1275330345678; Mon, 31 May 2010 11:25:45 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Mon, 31 May 2010 11:25:45 -0700 (PDT) In-Reply-To: <20100531075248.GA15206@freebsd.org> References: <20100531075248.GA15206@freebsd.org> Date: Mon, 31 May 2010 13:25:45 -0500 Message-ID: From: Brandon Gooch To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 18:25:47 -0000 On Mon, May 31, 2010 at 2:52 AM, Roman Divacky wrote: > Hi, > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > svn checkout is 97MB). Clang/LLVM is written in C++. > > Clang can compile all of FreeBSD on i386/amd64 including world and booting > kernel. Other architectures that are close to working are MIPS, PowerPC > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM > sources and the build infrastructure and this is what we aim to integrate > at first. > > The import of clang/LLVM was discussed at the toolchain summit May 10th > but I would like to hear your opinion. I got approval from core@ on > importing it. > > So please share your support or resistance to the idea of importing clang. > > Roman Divacky > Another user "YES" vote here; I will begin using clang on all of my FreeBSD HEAD machines after the import. Exciting! -Brandon From owner-freebsd-current@FreeBSD.ORG Mon May 31 18:39:10 2010 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 240FB106566C; Mon, 31 May 2010 18:39:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id C82328FC16; Mon, 31 May 2010 18:39:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4VIXAoV014650; Mon, 31 May 2010 12:33:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 31 May 2010 12:33:18 -0600 (MDT) Message-Id: <20100531.123318.1097297678389159803.imp@bsdimp.com> To: rdivacky@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20100531161713.GA60782@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 18:39:10 -0000 In message: <20100531161713.GA60782@freebsd.org> Roman Divacky writes: : On Mon, May 31, 2010 at 09:14:09AM -0700, Bakul Shah wrote: : > On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky wrote: : > > : > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD : > > in the near future (days, not weeks). : > > : > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly : > > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the : > > svn checkout is 97MB). Clang/LLVM is written in C++. : > > : > > Clang can compile all of FreeBSD on i386/amd64 including world and booting : > > kernel. Other architectures that are close to working are MIPS, PowerPC : > > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM : > > sources and the build infrastructure and this is what we aim to integrate : > > at first. : > > : > > The import of clang/LLVM was discussed at the toolchain summit May 10th : > > but I would like to hear your opinion. I got approval from core@ on : > > importing it. : > > : > > So please share your support or resistance to the idea of importing clang. : > > : > > Roman Divacky : > : > I already use clang for some things but I think the issue : > here is not support/resistance but something else: : > : > * IMHO for a change of this nature the core needs to publish : > a set of clear acceptance criteria for importing clang. : > Can this be done? : : I asked core@ and they support the import They support the import, in the context of the larger plan, which you've not articulated. Let's be clear here. : > * Since clang doesn't support all the archs, what is the plan : > for unsupported archs? : > a. Is FreeBSD going to have both compilers in the base? : : yes, this is what this import is about - importing clang, : nothing else changes There's more context here too. To improve the support of various architectures, we're planning on doing two things. First, we're updating binutils to the latest gplv2 version. This will solve many problems. There's some other plans in this area as well, but the summary is basically integrating some important vendor patches. Second, we're planning to have the ability to use an external, perhaps vendor supplied, tool chain. You can kludge this together today, but it is tedious and difficult. : > b. Is the project drop these FreeBSD ports? or : : no, of course not : : > c. Do people have to import gcc from ports to build these : > FreeBSD ports? : : nothing is being changed, just one more application after : a buildworld/installworld appears (that being clang) : : > * What about ports? The plan that was articulated at the toolchain summit was to install clang as clang, and gcc as cc, so that /usr/ports continue to work. There's a lot of work needed to make all the ports work with clang. There's a summer of code project to make it possible to select a default compiler to built ports. There's a missing piece of functionality that was agreed to in the clang tree right now. There needs to be support for 'WITH_CLANG_BOOTSTRAP' to build the system with the clang, but leave gcc as the default compiler for ports. There also needs to be support for WITH_CLANG_IS_CC which would also make clang the default. : > * Basically the core needs to lay out a roadmap. There was supposed to be a summary of the roadmap posted, but that's not yet happened... Roman really should have waited to push ahead until this was posted because it does answer the bigger picture questions. : > It is clear that not everyone has the same view of what the : > acceptance criteria might be so publishing it would help : > people understand what to expect. : : nothing changes for the ports, there's an ongoing project to enable : ports to be usable with clang (or some other compiler) but thats : orthogonal to this. Part of the problem with this thread is that the whole, agreed plan wasn't laid out at the first part of it, so people are freaking out about what the plans are for the future. They were discussed and first order agreement was reached at the tool chains summit. But part of the agreement was to post the whole agreement so people know and understand the various trade offs. I think that would go a long way towards answering the questions that are being raised and to quell the visceral reaction that I've seen in this thread.... Warner From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:13:35 2010 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 19C84106566B; Mon, 31 May 2010 19:13:35 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id F043F8FC0A; Mon, 31 May 2010 19:13:34 +0000 (UTC) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 1F3035B30; Mon, 31 May 2010 12:13:32 -0700 (PDT) To: "M. Warner Losh" In-reply-to: Your message of "Mon, 31 May 2010 12:33:18 MDT." <20100531.123318.1097297678389159803.imp@bsdimp.com> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> Comments: In-reply-to "M. Warner Losh" message dated "Mon, 31 May 2010 12:33:18 -0600." Date: Mon, 31 May 2010 12:13:32 -0700 From: Bakul Shah Message-Id: <20100531191333.1F3035B30@mail.bitblocks.com> Cc: rdivacky@FreeBSD.org, current@FreeBSD.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 19:13:35 -0000 On Mon, 31 May 2010 12:33:18 MDT "M. Warner Losh" wrote: > > : > It is clear that not everyone has the same view of what the > : > acceptance criteria might be so publishing it would help > : > people understand what to expect. > : > : nothing changes for the ports, there's an ongoing project to enable > : ports to be usable with clang (or some other compiler) but thats > : orthogonal to this. > > Part of the problem with this thread is that the whole, agreed plan > wasn't laid out at the first part of it, so people are freaking out > about what the plans are for the future. They were discussed and > first order agreement was reached at the tool chains summit. But part > of the agreement was to post the whole agreement so people know and > understand the various trade offs. > > I think that would go a long way towards answering the questions that > are being raised and to quell the visceral reaction that I've seen in > this thread.... Exactly! I still urge core to lay out a clear plan. And don't forget to indicate the acceptance criteria to be met for each step! [Not to add bureaucracy but to ensure that nothing falls through the cracks] Can't speak for others but I am very appreciative of all the work put in enthusiastically by Roman and others to get clang into FreeBSD. Exciting to have a real alternative to gcc! From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:30:48 2010 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 A9C071065670 for ; Mon, 31 May 2010 19:30:48 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 487C68FC18 for ; Mon, 31 May 2010 19:30:47 +0000 (UTC) Received: by vws10 with SMTP id 10so1913250vws.13 for ; Mon, 31 May 2010 12:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jucZ2OkFl5PSuHl9sdeBYhJfR2n2x3Vs8I8B/GacSpU=; b=TYYypwkQXjlUas8kGZwPp9E5lA9VnksghxCw42cioN3JkLoBQF/4JuZWQomH6S8sL6 31DPD0iUhcnN7rbS0g14QqbOEgY+9LUwiSPitRBxYWU9bJER/qdYrU3a9XW9JFvcgi1D d5qInrGU4w/F2hAsGeA6WV+k5h+WUFUqPe5w8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YUjkP9P6b3LN3dsS+ODNkCVldzLHM7G9Ad+n7U7qgBHyI8AW5+SCmZPG9YXynJnQ3D 8cSKHBwDZmveuLgV457ZGSLqG8z5O57vTlos1V0aQIDmn+8+azFcQuLcQyK7Rec0LcRg pQNr2R4IG0dEjU8aQBVf9c/Hyw6QGch419z1I= MIME-Version: 1.0 Received: by 10.224.59.103 with SMTP id k39mr1917220qah.363.1275334246831; Mon, 31 May 2010 12:30:46 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Mon, 31 May 2010 12:30:46 -0700 (PDT) In-Reply-To: <20100531161713.GA60782@freebsd.org> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> Date: Mon, 31 May 2010 12:30:46 -0700 Message-ID: From: Garrett Cooper To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 19:30:48 -0000 On Mon, May 31, 2010 at 9:17 AM, Roman Divacky wrote= : > On Mon, May 31, 2010 at 09:14:09AM -0700, Bakul Shah wrote: >> On Mon, 31 May 2010 09:52:48 +0200 Roman Divacky = =A0wrote: >> > >> > I would like to propose to integrate clang/LLVM into FreeBSD HEAD >> > in the near future (days, not weeks). >> > >> > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly >> > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the >> > svn checkout is 97MB). Clang/LLVM is written in C++. >> > >> > Clang can compile all of FreeBSD on i386/amd64 including world and boo= ting >> > kernel. Other architectures that are close to working are MIPS, PowerP= C >> > and ARM. We have a branch (clangbsd-import) that just includes clang/L= LVM >> > sources and the build infrastructure and this is what we aim to integr= ate >> > at first. >> > >> > The import of clang/LLVM was discussed at the toolchain summit May 10t= h >> > but I would like to hear your opinion. I got approval from core@ on >> > importing it. >> > >> > So please share your support or resistance to the idea of importing cl= ang. >> > >> > Roman Divacky >> >> I already use clang for some things but I think the issue >> here is not support/resistance but something else: >> >> * IMHO for a change of this nature the core needs to publish >> =A0 a set of clear acceptance criteria for importing clang. >> =A0 Can this be done? > > I asked core@ and they support the import > >> * Since clang doesn't support all the archs, what is the plan >> =A0 for unsupported archs? >> =A0 a. Is FreeBSD going to have both compilers in the base? > > yes, this is what this import is about - importing clang, > nothing else changes > >> =A0 b. Is the project drop these FreeBSD ports? or > > no, of course not > >> =A0 c. Do people have to import gcc from ports to build these >> =A0 =A0 =A0FreeBSD ports? > > nothing is being changed, just one more application after > a buildworld/installworld appears (that being clang) How much time (with -j1, approximately) does it take to build clang? Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:35:34 2010 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 768D3106564A for ; Mon, 31 May 2010 19:35:34 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 259E58FC0C for ; Mon, 31 May 2010 19:35:33 +0000 (UTC) Received: by vws10 with SMTP id 10so1919447vws.13 for ; Mon, 31 May 2010 12:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4pToeB8TlNpOTwnX3kJmricUyEX9Dga4WEMULA91mZc=; b=MfbqR4t5wlf4EjdVBhH+TmiV2EjiVyd4wSk28tzfr+E5LSlWnmwTlDdZTNEW3ak33e smv98uDcf9A6dJQ/ycUpvgGrokLeEGC14kqaX2pjgta3cIIK1/VTAFnSrMGengBeDaXR yneq4ZIbQ6sm9/yKz5ys/8sZxdCHnO/ZY7Yck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=E0xFSKGDJe88JgEW44pIv28OsAL+g0UNuHKU8WJuqNIULT2pr/jqbwci/qhc+Dk4MD xSK10yO/vELhj5ri7Ah9ZaXOTKv9Y798VkHDAJZShNFZnZOGxY1EGfiFnv9RHGdyJcRm SkvphDVOUQc2HrIyVAVWfRUMHLABUcL6sQCFw= MIME-Version: 1.0 Received: by 10.224.64.72 with SMTP id d8mr1941627qai.109.1275334533109; Mon, 31 May 2010 12:35:33 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Mon, 31 May 2010 12:35:33 -0700 (PDT) In-Reply-To: <20100531.123318.1097297678389159803.imp@bsdimp.com> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> Date: Mon, 31 May 2010 12:35:33 -0700 Message-ID: From: Garrett Cooper To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: rdivacky@freebsd.org, current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 19:35:34 -0000 On Mon, May 31, 2010 at 11:33 AM, M. Warner Losh wrote: > In message: <20100531161713.GA60782@freebsd.org> [...] > There's more context here too. =A0To improve the support of various > architectures, we're planning on doing two things. =A0First, we're > updating binutils to the latest gplv2 version. =A0This will solve many > problems. =A0There's some other plans in this area as well, but the > summary is basically integrating some important vendor patches. > Second, we're planning to have the ability to use an external, perhaps > vendor supplied, tool chain. =A0You can kludge this together today, but > it is tedious and difficult. This in and of itself is an interesting prospect. Why would happen if one could drop in icc for instance :) (I realize that it's basically gcc-compatible, but can this be done today without a lot of rework and effort)? > : > =A0 b. Is the project drop these FreeBSD ports? or [...] > Part of the problem with this thread is that the whole, agreed plan > wasn't laid out at the first part of it, so people are freaking out > about what the plans are for the future. =A0They were discussed and > first order agreement was reached at the tool chains summit. =A0But part > of the agreement was to post the whole agreement so people know and > understand the various trade offs. > > I think that would go a long way towards answering the questions that > are being raised and to quell the visceral reaction that I've seen in > this thread.... +1 Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:42:48 2010 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 6C4561065672; Mon, 31 May 2010 19:42:48 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EE5E58FC08; Mon, 31 May 2010 19:42:47 +0000 (UTC) Received: by vws10 with SMTP id 10so1928463vws.13 for ; Mon, 31 May 2010 12:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=CWVVF2Nr5Suq7l789jCnF1bmPHKGg30Zgo0Gy0ImJv8=; b=bHLy7o+DRjtY6trInMZccQj7Hu6OmB0Dc+n5dLC0QK9YSLK6i63vRkh6k8jz8Se/aZ fkVqu2vzs46Kj1ba/KsTR9vfVZPUg/v+vDKkjXzJm6lrMa3LhX95GcBg36B9xQyRczOH RDrJPei8OsCgUn/T6VQh1N+sUo4Kmj541PqhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=GsdXwzh6uOEW20eaad/s7xEPryTa4DdHnWN6Grw8Xy21OGS6+GfppIo0g3HAxAp8nv ci2GqdKKwlIn41E6qVTCXX+jFoNAA7cSbe4jhuDyGwTZoWNtqc3JBtK9fivXYzbKY/Rs dCK5NvsJqV8iekJuG3nG4rKZqQDPp5st1PLgM= Received: by 10.224.88.21 with SMTP id y21mr1939801qal.217.1275334967274; Mon, 31 May 2010 12:42:47 -0700 (PDT) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id 4sm11502265qwe.55.2010.05.31.12.42.46 (version=SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 12:42:46 -0700 (PDT) Date: Mon, 31 May 2010 15:42:41 -0400 From: Alexander Kabaev To: Garrett Cooper Message-ID: <20100531154241.79625b86@kan.dnsalias.net> In-Reply-To: References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/lWezDt+eWC3.J06tHovWgXC"; protocol="application/pgp-signature" Cc: rdivacky@freebsd.org, current@freebsd.org, "M. Warner Losh" Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 19:42:48 -0000 --Sig_/lWezDt+eWC3.J06tHovWgXC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 31 May 2010 12:35:33 -0700 Garrett Cooper wrote: > This in and of itself is an interesting prospect. Why would happen if > one could drop in icc for instance :) (I realize that it's basically > gcc-compatible, but can this be done today without a lot of rework and > effort)? It used to possible, but people who did the work to support ICC dropped any support for their work the minute changes hit the tree and now it is impossible to say how far exactly it has rotten. --=20 Alexander Kabaev --Sig_/lWezDt+eWC3.J06tHovWgXC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMBBE1Q6z1jMm+XZYRAtsaAKDOt1IfnaGL6AXtVpLZVDmvl5P9qQCgyY4q kOEGKcSjArFSiHun23DQ8EY= =mREC -----END PGP SIGNATURE----- --Sig_/lWezDt+eWC3.J06tHovWgXC-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:51:00 2010 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 732DE1065674; Mon, 31 May 2010 19:51:00 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp1.one.com (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0888C8FC2C; Mon, 31 May 2010 19:50:59 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp1.one.com (Postfix) with ESMTP id 54D261BC01CFA; Mon, 31 May 2010 19:50:58 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-258-675514654; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: <20100529130240.GA99732@freebsd.org> Date: Mon, 31 May 2010 21:50:57 +0200 Message-Id: References: <20100529130240.GA99732@freebsd.org> To: Roman Divacky X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 19:51:00 -0000 --Apple-Mail-258-675514654 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 29/05/2010 kl. 15.02 skrev Roman Divacky: > ClangBSD was updated to LLVM/clang revision 104832 which is what we = aim to import > into HEAD in roughly a week. We would like the initial import to be as = painless > as possible and therefore we ask you to test ClangBSD to assure that = the revision > we are importing does not have some really embarassing bugs. I've been running the stress2 test suite on ClangBSD (in a VirtualBox = VM) for the last 48 hours with no crashes. I needed to pull in a couple = of patches that have been committed to FreeBSD HEAD since the last merge = with ClangBSD to avoid specific crashes, but now everything seems to = work just fine. I do have a problem with buildworld on an unmodified ClangBSD src/ tree = within a ClangBSD VM. Clang barfs on the mmintrin.h headers when = building it's own Lexer because it picks up the gcc version of the = headers instead of the clang version. This has been fixed before in = ClangBSD, but probably the logic to decide on which headers to use are = insufficient. Thanks, Erik= --Apple-Mail-258-675514654-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:52:04 2010 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 96C871065679 for ; Mon, 31 May 2010 19:52:04 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.116]) by mx1.freebsd.org (Postfix) with ESMTP id 77DFB8FC21 for ; Mon, 31 May 2010 19:52:04 +0000 (UTC) Received: from c-in3ofil02-02.sv2.lotusliveops.com (49.32.6.10.in-addr.arpa [10.6.32.49]) by c-in3obnd02-01.sv2.lotusliveops.com (Postfix) with ESMTP id E9F568C1785 for ; Mon, 31 May 2010 19:52:03 +0000 (GMT) Received: from 81.32.6.10.in-addr.arpa (c-in3ws--02-06.sv2.lotusliveops.com [10.6.32.81]) (sender gaijin.k@ovi.com) by c-in3ofil02-02.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Mon, 31 May 2010 19:52:03 +0000 Received: (qmail 18728 invoked from network); 31 May 2010 19:52:03 -0000 Received: from unknown (HELO c-in3play02-05.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by 81.32.5.10.in-addr.arpa with SMTP; 31 May 2010 19:52:03 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Dimitry Andric In-Reply-To: <4C03FB97.5000309@andric.com> References: <20100529130240.GA99732@freebsd.org> <1275327895.84316.8.camel@RabbitsDen> <4C03FB97.5000309@andric.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 May 2010 15:51:26 -0400 Message-ID: <1275335486.84316.15.camel@RabbitsDen> MIME-Version: 1.0 X-Mailer: Evolution 2.30.1.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Brandon Gooch , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 19:52:04 -0000 On Mon, 2010-05-31 at 20:10 +0200, Dimitry Andric wrote: > On 2010-05-31 19:44, Alexandre "Sunny" Kovalenko wrote: > > What is the good way to do installworld from CURRENT-snapshot to > > ClangBSD? Half way through some shared object (run-time loader?) gets > > overwritten and it is all signal 11 from there on. >=20 > Hi Alexandre, >=20 > A fix for this has already been applied in head, but it was not yet > merged back to clangbsd. That is going to happen soon. In the > meantime, please: > - Use /rescue to rollback /libexec/ld-elf.so.1 (from the backup in > /libexec/ld-elf.so.1.old) > - Apply the patch I have attached to your clangbsd source dir > - Rebuild libexec/rtld-elf in there >=20 > Then you should be able to do installworld without any problems. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" That worked perfectly, thank you! If someone wants to host VirtualBox image of more-or-less fresh (yesterday + patch from Dimitry) clang-built system (1.1GB), please, contact me off the list. --=20 Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80= =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) -------------------------------------------------------------- Ovi Mail: Create an account directly from your phone http://mail.ovi.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 19:57:08 2010 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 DE6CC106564A for ; Mon, 31 May 2010 19:57:07 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 82E9C8FC18 for ; Mon, 31 May 2010 19:57:07 +0000 (UTC) Received: by vws10 with SMTP id 10so1946410vws.13 for ; Mon, 31 May 2010 12:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=maf0XRQOaFpNvFbHRKGal5c64GMZQBWzIKeGehsxpuQ=; b=ugZTAfSmryXOqQUeSulmbhDC8nN+MAchpkvzNJwdbVAxdXOehOaCezcWzL5QmujhJH JvotMMv3ZccCTSIxHhoVWC7AmSFgJiRAPDS+hDr1GxC4AVmR5riLMsIpg1NRBvDwGJxj RngTu3Fee7in5lqwTzF714RjBPYnNiUuGAJMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=gtbKvMCGgZJ7zBcv7NkhxsJqV8QS4efhSs7Ad/n+qRmKj0k0sJSLpWvZj5iQaX2hJf taAIa1l4rCLKM2BZTc7p082/Al3iuBf58qgZcDDyI15yhJVluFFRUVm70VM506qEO5EY O4EGaAb+/05EE6kuO4bBt/Hk/dTVjTdGUNqZ4= Received: by 10.224.94.83 with SMTP id y19mr1880293qam.71.1275334329231; Mon, 31 May 2010 12:32:09 -0700 (PDT) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id 6sm5435517qwd.33.2010.05.31.12.32.07 (version=SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 12:32:07 -0700 (PDT) Date: Mon, 31 May 2010 15:32:01 -0400 From: Alexander Kabaev To: Steve Kargl Message-ID: <20100531153201.2377d1aa@kan.dnsalias.net> In-Reply-To: <20100531151841.GA56247@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100531144938.GA55909@troutmask.apl.washington.edu> <4C03D0C0.4050306@andric.com> <20100531151841.GA56247@troutmask.apl.washington.edu> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/wa_aN/PSB.atf8/rvedBM_+"; protocol="application/pgp-signature" Cc: Brandon Gooch , Dimitry Andric , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 19:57:08 -0000 --Sig_/wa_aN/PSB.atf8/rvedBM_+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 31 May 2010 08:18:42 -0700 Steve Kargl wrote: > On Mon, May 31, 2010 at 05:07:44PM +0200, Dimitry Andric wrote: > > On 2010-05-31 16:49, Steve Kargl wrote: > > >> So, what exactly should we expect, if anything, to break? :) > > >=20 > > > Did you build and install new boot code? ISTR that clang=20 > > > can't compile src/sys/boot/i386/boot0 to the required=20 > > > 512 bytes. > >=20 > > No, boot0 is written in assembly, and run through the regular (GNU) > > assembler. Neither gcc nor clang do anything more except calling > > the linker. > >=20 > > The only component (in the whole clangbsd src tree) which still > > needs to be compiled with gcc is boot2, which otherwise ends up > > just a little too big, and doesn't fit. This is being worked on, > > but it isn't very critical, really. Note that clangbsd > > automatically uses gcc for this specific code, unless you override > > it manually. >=20 > Doesn't this imply that clang/llvm isn't quite ready for deployment. > Being able to boot a complete clang/llvm compiled FreeBSD system > would seem to be critical. >=20 > When you say "This is being worked on", do you mean clang/llvm is > being changed to compile boot2 or do you mean boot2 is being changed > to allow clang/lvvm to compile it? > =20 FWIW, boot2 was a problem child for each and every GCC import on my memory. Every single major GCC release has claimed better optimizations and more compact generated code and yet they all inevitably generated code which was appreciably bigger than code produced by previus GCC version. This should not be used as an excuse to hold clang at bay, provided base src still comes with working way for building the working boot2 image (gcc). =20 --=20 Alexander Kabaev --Sig_/wa_aN/PSB.atf8/rvedBM_+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iD8DBQFMBA62Q6z1jMm+XZYRApKLAKDaoJaFjnhjzPd1CogkvI7/aeB+RACgooKw PTQOZIRdnU9GKYbQZsp0sEs= =GWr4 -----END PGP SIGNATURE----- --Sig_/wa_aN/PSB.atf8/rvedBM_+-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 20:02:49 2010 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 51FB21065677; Mon, 31 May 2010 20:02:49 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A58538FC19; Mon, 31 May 2010 20:02:47 +0000 (UTC) Received: by fxm5 with SMTP id 5so2934118fxm.13 for ; Mon, 31 May 2010 13:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=MSe/98hulhpw8c/fpGVa2oGZPxyKtB0qtEwVkXGlk2Y=; b=FT8dtea8WTpXQgHRCXuHmMRl6t80HIv9TW0TvFVXEMMlrSQmkN0L0VEvMSduUdXaP9 86NMIqoCQFsPE45WnvNMALmMl1+BoAZ0RVXxKlfiSK7uPxZwsuZcChOpbmPBeN89H509 p9eqPXbaoRwjSU6UP+Cxh77zgBTopdCdI+koA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qiZK044ztLuJgS1qxBNiHfiPS1jdTY1nnGn0PfquwTTuidG2ZmIEr+bYtDggSMIu7O 2ME27JeaPeuQkDDjeFoBa7OrlaiBJ4kf9NHuyp/0DnsTHn/Qw+CroEyZZ03mATHD6KO+ B5y92FnNEa9N0Z6O2NbwVCa6g4lDq45yFMnFg= MIME-Version: 1.0 Received: by 10.239.192.74 with SMTP id d10mr360830hbi.74.1275336166451; Mon, 31 May 2010 13:02:46 -0700 (PDT) Received: by 10.239.132.194 with HTTP; Mon, 31 May 2010 13:02:46 -0700 (PDT) In-Reply-To: <20100531191333.1F3035B30@mail.bitblocks.com> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> <20100531191333.1F3035B30@mail.bitblocks.com> Date: Mon, 31 May 2010 16:02:46 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Bakul Shah Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rdivacky@freebsd.org, current@freebsd.org, "M. Warner Losh" Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Mon, 31 May 2010 20:02:49 -0000 On Mon, May 31, 2010 at 3:13 PM, Bakul Shah wrote: > On Mon, 31 May 2010 12:33:18 MDT "M. Warner Losh" wrote: > > > ... > > Can't speak for others but I am very appreciative of all the > work put in enthusiastically by Roman and others to get clang > into FreeBSD. Exciting to have a real alternative to gcc! > > In software engineering , there is a concept : "Formal Technical Reviews" . In my opinion , one of the best reviewers of a software is a compiler of its language . Having a second compiler in FreeBSD , will make it much better than the present state . My wish would be to pursue a language intersection of both CLang and GCC compilers to be able to check their outputs . If I could have sufficient power ( health , time , etc. ) , I even want to try and make applicable one more compiler such as Portable C Compiler ( which is available in ports ) . Personally I am using two compilers ( Free Pascal and Delphi ) on a big program , and I am obtaining very good results either as very useful warnings or errors . In reality , to pursue such a multiple compiler usage is really difficult , but end result is making efforts very fruitful . I am using a similar technique for my Fortran programs . I can say that to rely on a single compiler is not a very robust way of software development after seeing quality of compiled programs : My policy is now "Never use a single compiler without assuring that it is generating correct code when compared to other compilers even though the current compiler is tested on its test base ." This is a result of so many combinations of a language usage that a test base can not cover but it may exist in a user program over time . This policy is developed by actual experiences . >From these view points , workers on Clang adoption are making really a big contribution to the FreeBSD project and to its users . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Mon May 31 21:12:08 2010 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 405E9106566B for ; Mon, 31 May 2010 21:12:08 +0000 (UTC) (envelope-from gaijin.k@ovi.com) Received: from outbound2.messaging.lotuslive.com (outbound2.messaging.lotuslive.com [8.12.152.119]) by mx1.freebsd.org (Postfix) with ESMTP id 23AFF8FC12 for ; Mon, 31 May 2010 21:12:08 +0000 (UTC) Received: from c-in3ofil02-03.sv2.lotusliveops.com (50.32.6.10.in-addr.arpa [10.6.32.50]) by c-in3obnd02-02.sv2.lotusliveops.com (Postfix) with ESMTP id AED812FEC3 for ; Mon, 31 May 2010 21:12:07 +0000 (GMT) Received: from 78.32.6.10.in-addr.arpa (c-in3ws--02-03.sv2.lotusliveops.com [10.6.32.78]) (sender gaijin.k@ovi.com) by c-in3ofil02-03.sv2.lotusliveops.com (LotusLive iNotes outfilter/0.91) with SMTP; Mon, 31 May 2010 21:12:07 +0000 Received: (qmail 30942 invoked from network); 31 May 2010 21:12:07 -0000 Received: from unknown (HELO c-in3play02-03.sv2.lotusliveops.com) (gaijin.k@ovi.com@74.105.210.169) by 78.32.5.10.in-addr.arpa with SMTP; 31 May 2010 21:12:07 -0000 From: "Alexandre \"Sunny\" Kovalenko" To: Roman Divacky , Niclas Zeising In-Reply-To: <20100529130240.GA99732@freebsd.org> References: <20100529130240.GA99732@freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 May 2010 17:11:31 -0400 Message-ID: <1275340291.84316.28.camel@RabbitsDen> MIME-Version: 1.0 X-Mailer: Evolution 2.30.1.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 21:12:08 -0000 On Sat, 2010-05-29 at 15:02 +0200, Roman Divacky wrote: > hi, >=20 > ClangBSD was updated to LLVM/clang revision 104832 which is what we aim t= o import > into HEAD in roughly a week. We would like the initial import to be as pa= inless > as possible and therefore we ask you to test ClangBSD to assure that the = revision > we are importing does not have some really embarassing bugs. >=20 > How to do it (on i386 and amd64): >=20 > 0) install fresh devel/llvm-devel port >=20 > 1) svn co http://svn.freebsd.org/base/projects/clangbsd src >=20 > 2) echo NO_WERROR=3D >> /etc/src.conf ; echo WERROR=3D >> /etc/src.conf >=20 > 3) cd src && make buildworld >=20 > 4) make installworld DESTDIR=3D/usr/clangbsd >=20 > 5) (optional) try to build kernel with clang and boot it >=20 > 5.1) cd /sys/{arch}/conf > 5.2) config YOUR_KERNEL > 5.3) setenv CC clang in tcsh or export CC=3Dclang in bash > 5.4) cd ../compile/YOUR_KERNEL > 5.5) make && make install >=20 > please make sure that it builds (on amd64/i386) and that the resulting wo= rld > is runnable. ie. try to chroot into it and "do stuff". ie. >=20 > chroot /clangbsd /bin/tcsh >=20 > ... stuff ... >=20 >=20 > there's a wiki page on this effort: http://wiki.freebsd.org/BuildingFreeB= SDWithClang >=20 > please report back any problems/success to me and/or this mailing list.= =20 >=20 > thank you for your testing! >=20 > Roman Divacky on behalf of the ClangBSD team Good people, I have VirtualBox image of the ClangBSD (kernel + world i386) with the clang installed, and Niclas generously offered to host it on his FTP server. Image size (compressed) is slightly over 1GB. Before we go through the hoops of moving image over, I am trying to see whether there is sufficient interest in it. Would people, who are interested, please, contact me off list -- if count tallies at about 10, I will upload the image and Niclas will post URL here. While I realize that moving target like ClangBSD, probably made this image obsolete while I was building it, I think it will provide starting point for those who want to test and/or experiment at the cost of download. Please, let me know. --=20 Alexandre Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80= =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE) -------------------------------------------------------------- Ovi Mail: Easy setup in minutes http://mail.ovi.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 22:44:22 2010 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 B9FD11065673; Mon, 31 May 2010 22:44:22 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3DEBD8FC0C; Mon, 31 May 2010 22:44:22 +0000 (UTC) Received: by vws10 with SMTP id 10so2152397vws.13 for ; Mon, 31 May 2010 15:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=1STNFrCkEnIRJ/Dm0VRpfvR9cluBqzI2xoKtTsiZ0XY=; b=bYeG6YBsxkPE6iAutqVvxTHJOfQl8jFD7cKhvT1rcUpEMyrUMFfiM31UY0gW29rylu SXwYRPWfCs+rv36Nmd4MJyOJ0Dmj7M1BT796gx7MP99VDve+eDIrckttRWQ+Q036BRaM q+V7I8uRu0idfjpOHmCcX8lIKKKeEEBXHZOX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bAyLizn8otJII5p4T53NgXBN/bwoHKtz2wmWbygyLLCoFCPU8jDoLPHDdNpTkPFTw6 sxu//B4bq1/3YL+BO1hjab51VHX3F/ap5/JDjTEyFLuVoB7cDOuYaYlwsscX7WCvJYKL 1CUJ6jiCqBVFsYnMiVgc0PGgyPzAPCBEkgfDg= MIME-Version: 1.0 Received: by 10.229.188.70 with SMTP id cz6mr803319qcb.161.1275345861362; Mon, 31 May 2010 15:44:21 -0700 (PDT) Received: by 10.229.190.83 with HTTP; Mon, 31 May 2010 15:44:21 -0700 (PDT) In-Reply-To: <20100531113456.GB42524@freebsd.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531112529.GA42524@freebsd.org> <20100531113456.GB42524@freebsd.org> Date: Mon, 31 May 2010 15:44:21 -0700 Message-ID: From: Garrett Cooper To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Cc: Attilio Rao , Kostik Belousov , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 22:44:22 -0000 On Mon, May 31, 2010 at 4:34 AM, Roman Divacky wrote: >> > there are no known clang bugs (at least known to me) related to FreeBSD >> > >> > in other words - at this point you can compile FreeBSD with clang (both >> > in the version in clangbsd) and it "works" (for people who tested it) >> > on amd64 and i386 >> >> I don't mean about FreeBSD, but about CLANG itself. >> It would be very depressing to loose many hours on kernel races before >> to discover it was a compiler deficiency, for example. > > thats what I mean - we are not aware of any bugs in clang itself that > harm FreeBSD (on i386/amd64). > > btw. there are 68 open bug reports against gcc 4.2.1 in gcc bugzilla. Working with known deficiencies in a given system is much easier to deal with than unknown deficiencies in a new system. I think that's the point that several folks are trying to address. Unless there is a) sufficient testcases to exercise each piece of functionality, and/or b) enough soak time, you're playing a bit of a dangerous game with the unknown. I personally would much rather have the glue in place to switch between compilers and have things default to the base version of gcc than just magically switch the compiler over to clang. But I like my bikesheds painted gray. Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Mon May 31 22:52:31 2010 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 E1CB21065679 for ; Mon, 31 May 2010 22:52:31 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (kientzle.com [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id A6C308FC1D for ; Mon, 31 May 2010 22:52:31 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.3/8.14.3) id o4VMqmk4071445; Mon, 31 May 2010 22:52:48 GMT (envelope-from kientzle@freebsd.org) Received: from horton.x.kientzle.com (fw2.kientzle.com [10.123.1.2]) by kientzle.com with SMTP id smzra5nckdtpji226p49ns6i52; Mon, 31 May 2010 22:52:48 +0000 (UTC) (envelope-from kientzle@freebsd.org) Message-ID: <4C043DAB.1050206@freebsd.org> Date: Mon, 31 May 2010 15:52:27 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.23) Gecko/20100314 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Matthew Seaman References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> In-Reply-To: <4C03DD4B.9020209@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 22:52:32 -0000 Matthew Seaman wrote: > Presumably the import of clang to the base does > not mean the immediate removal of gcc. Of course not. I'm not part of core and don't know what they may have discussed, but I went through some hoops to replace 'tar' and 'cpio' in the base system and have some idea what approach we might take with clang: I would expect FreeBSD 9 to ship with both compilers, with gcc as the default for 'cc'. So users of 9-STABLE would see and use gcc unless they specifically chose to use clang. Even if we did decide to switch the default for FreeBSD 10, it's possible we would continue to install gcc as part of the base system (just not as 'cc'). So realistically, some form of gcc will be built and installed by default for a few more years. Beyond that, it depends partly on how well clang does and partly on how many problems we have with an increasingly out-of-date gcc. Cheers, Tim From owner-freebsd-current@FreeBSD.ORG Mon May 31 22:58:45 2010 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 40084106564A; Mon, 31 May 2010 22:58:45 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id EE42C8FC08; Mon, 31 May 2010 22:58:44 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id o4VMvWGG035033; Mon, 31 May 2010 17:57:33 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id o4VMvWbG035032; Mon, 31 May 2010 17:57:32 -0500 (CDT) (envelope-from brooks) Date: Mon, 31 May 2010 17:57:32 -0500 From: Brooks Davis To: arch@freebsd.org Message-ID: <20100531225732.GF31972@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eNMatiwYGLtwo1cJ" Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 31 May 2010 17:57:33 -0500 (CDT) Cc: current@freebsd.org Subject: BSDCan Toolchain Summit Summary 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: Mon, 31 May 2010 22:58:45 -0000 --eNMatiwYGLtwo1cJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Before the developers summit at BSDCan a small group of developers and=20 industry partners held a summit on toolchain issues. The agenda along=20 with a number of slide sets appears on the wiki at: http://wiki.freebsd.org/201005ToolchainSummit The primary focus of the summit was our increasingly obsolete toolchain and how to move forward in light of the fact that GPLv3 is unacceptable to a significant portion of the FreeBSD community. =20 Summaries of the sessions can be found at: http://wiki.freebsd.org/201005ToolchainSummitSummary This includes a rough draft of a roadmap. We need to convert this into a roadmap page with each required feature listed along with status and=20 contacts. I encourage people to comment on the proposed roadmap and contribute to insuring the consensus matches the communities' needs as much as possible. With out question this endeavor is going to take effort on our part and involves some risk but if everyone works on it I think we can get through without too much pain. -- Brooks --eNMatiwYGLtwo1cJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFMBD7cXY6L6fI4GtQRAiBNAKC0lstEI7S9RrjdZWimnhDqh0LKIwCeLnEm nBFlBvaB74mhZwa8Wbc9Qcw= =Mi7L -----END PGP SIGNATURE----- --eNMatiwYGLtwo1cJ-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 23:02:16 2010 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 F05B9106566B; Mon, 31 May 2010 23:02:16 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 820738FC14; Mon, 31 May 2010 23:02:16 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id o4VN14N9035087; Mon, 31 May 2010 18:01:04 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id o4VN14pB035086; Mon, 31 May 2010 18:01:04 -0500 (CDT) (envelope-from brooks) Date: Mon, 31 May 2010 18:01:03 -0500 From: Brooks Davis To: Tim Kientzle Message-ID: <20100531230103.GG31972@lor.one-eyed-alien.net> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <4C043DAB.1050206@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+1TulI7fc0PCHNy3" Content-Disposition: inline In-Reply-To: <4C043DAB.1050206@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 31 May 2010 18:01:04 -0500 (CDT) Cc: Daniel Eischen , Matthew Seaman , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 23:02:17 -0000 --+1TulI7fc0PCHNy3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 03:52:27PM -0700, Tim Kientzle wrote: > Matthew Seaman wrote: >> Presumably the import of clang to the base does >> not mean the immediate removal of gcc. >=20 > Of course not. >=20 > I'm not part of core and don't know what they > may have discussed, but I went through some hoops > to replace 'tar' and 'cpio' in the base system > and have some idea what approach we might take > with clang: >=20 > I would expect FreeBSD 9 to ship with both > compilers, with gcc as the default for 'cc'. > So users of 9-STABLE would see and use gcc > unless they specifically chose to use clang. >=20 > Even if we did decide to switch the default > for FreeBSD 10, it's possible we would continue > to install gcc as part of the base system > (just not as 'cc'). >=20 > So realistically, some form of gcc will be built > and installed by default for a few more years. > Beyond that, it depends partly on how well clang > does and partly on how many problems we have with > an increasingly out-of-date gcc. Exactly. We will need to take some risks here, but nuking gcc from the tree won't be one of them for a while. I just sent a link to current and arch with links to the toolchain summit wiki page and a summary of the results. I encorage interested parties to read what is there and provide constructive suggestions. -- Brooks --+1TulI7fc0PCHNy3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFMBD+vXY6L6fI4GtQRAgVuAKDErV9gxVQ1HRKK8HjOEjLd3lq0+wCffAhl 5hxgz6p6Ik+OvGLTCqu9Nes= =/2/y -----END PGP SIGNATURE----- --+1TulI7fc0PCHNy3-- From owner-freebsd-current@FreeBSD.ORG Mon May 31 23:06:04 2010 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 909F01065676 for ; Mon, 31 May 2010 23:06:04 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 38F348FC13 for ; Mon, 31 May 2010 23:06:03 +0000 (UTC) Received: by gyh20 with SMTP id 20so3972379gyh.13 for ; Mon, 31 May 2010 16:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=XJ2iKQsipniNwxoQA1q8ctXT/MZwIFkB5RGjVWsDl3g=; b=cqLzpY4nWWT8tjtsSyqQBys850zMCX5PsrebItc36L182KGlDIbduwcksfsXLwNsaU OPjEGzIr5eAM4Lz+zp8bS6BLK1r3sdde7wVGMBkr9sIw/nJDVvwjzBAjpWiFGrVyhp5m b4da7NeXnty/tZpWYm1EpoSL7SSMttJkSDFnI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PVqxwWEVujZu8V+9DJMgopa+ND8ndUNBnwTvRYTfRDK0W9GnOCvoGPX2DIt4Qct6CY dUx4uQJU7pbQEpzosV7Wg3tjhiXm9zyvM+DZ9ni6JgJS0+90N+SlXIacF/ggQuLbceFe cT4TEsGFUjDAhGvvbS1zn0gmsBQnbSoqtedcE= MIME-Version: 1.0 Received: by 10.42.5.81 with SMTP id 17mr5074427icv.29.1275347163069; Mon, 31 May 2010 16:06:03 -0700 (PDT) Received: by 10.231.36.194 with HTTP; Mon, 31 May 2010 16:06:02 -0700 (PDT) In-Reply-To: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531112529.GA42524@freebsd.org> <20100531113456.GB42524@freebsd.org> Date: Mon, 31 May 2010 16:06:02 -0700 Message-ID: From: Freddie Cash To: current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 23:06:04 -0000 On Mon, May 31, 2010 at 3:44 PM, Garrett Cooper wrote: > I personally would much rather have the glue in place to switch > between compilers and have things default to the base version of gcc > than just magically switch the compiler over to clang. > >From all the threads I've read on this subject, that's exactly what is planned: - import clang into the source tree - add knobs to select which compiler to use - leave GCC as the default compiler IOW, unless you actually want to test clang and set the appropriate knobs, then nothing will change for you. Everything works as per normal. I really don't see what the big deal is, or why everyone is getting their knickers in a knot over this. GCC isn't being removed from the tree. GCC is staying the default compiler. The sky is not falling. If you want to test clang, you can. If you don't want to test clang, you aren't forced to in any way, shape, or form. It's really no different from the processes used when adding libthread alongside libkse, or add sched_ule alongside sched_bsd. The defaults didn't change, both were available, and everyone carried on without issues while those motivated to test the new bits did so. Eventually, enough bugs were found and fixed, things stabilised, and the new bits became the default. Similar process here. I may be only a lowly user and occasional tested of new bits, but I really don't understand the mountain people are making of this ant hill. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Mon May 31 23:25:38 2010 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 2FD5D106564A; Mon, 31 May 2010 23:25:38 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id CCF778FC1D; Mon, 31 May 2010 23:25:36 +0000 (UTC) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.3/8.14.3) with ESMTP id o4VNPX4U058987; Mon, 31 May 2010 18:25:34 -0500 (CDT) (envelope-from james-freebsd-current@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-current@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=fush2OjhQjejy90wBznXh/05idsIEXiyUzeETC24GdWYpnEUi13UpBTY/+Jl3rq7/ TX4ruAc618a753cdfLw7kThefmUdcBAHvcqodLde0wor/OHoZFlBYDsOCQVX9SgF8Cx 6n6K3p+vsvcrdS9y4p2KWye2pkvFHdGS929qLRM= Message-ID: <4C04456D.7080408@jrv.org> Date: Mon, 31 May 2010 18:25:33 -0500 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Scott Long References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> In-Reply-To: <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Mon, 31 May 2010 23:25:38 -0000 Scott Long wrote: > Sounds like you're inviting the discussion right now. I'll start =-) > > 1. I hate gcc with the burning heat of a million suns. It's not a tool, it's a political weapon wielded by the FSF and their acolytes. It's also a crummy piece of software that has been "good enough" for far too long. Its development model is a burden to work with and has been a major liability towards FreeBSD releases in the past. Its demise cannot happen soon enough. Without that "political weapon" FreeBSD would not have the rich userland it has today. It may not be as important any more but it sure surely was in the '80s into the early '90s. As for the problems with gcc, you have to understand the history. I was the x86 maintainer for a few years, yet by the time of my involvement around 1990 the basic architecture had already been set around the MC68000 with the question being whether Alpha, MIPS or etc would be the future - nobody expected x86 to be viable for much longer and the goal was "widely-retargetable" at least until things settled out. The x86 did not meet gcc's minimum processor requirements and required hacks to work at all. Had it not been for RMS's insistence x86 might have been deprecated. The other key issue was how little manpower was available. There was only one person paid to do gcc work - if you call RMS's "activist wages" paid - and the volunteers worked out of whatever spare time they had. I already had an 80 hour/week job *before* volunteering and I think that was not unusual. As a result design decisions were strongly tilted in favor of maintainability over performance. A lot of good code donations were rejected because we simply could not afford to maintain it. I think I accepted only one significant code donation for x86 because of that (the 387 reg-stack code). If someone is willing to do a clean-sheet design around the realities and manpower of 2010 instead of 1988 that's a good thing. I do suggest modifying the FreeBSD build process so that uname -a shows the compiler and its version for both the kernel and userland. From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 00:48:05 2010 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 1D88A1065670; Tue, 1 Jun 2010 00:48:05 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id D2AB98FC08; Tue, 1 Jun 2010 00:48:04 +0000 (UTC) Received: from lawrence1.loshell.room52.net (unknown [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id 77F167E84A; Tue, 1 Jun 2010 10:48:03 +1000 (EST) Message-ID: <4C04587E.70800@freebsd.org> Date: Tue, 01 Jun 2010 10:46:54 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-AU; rv:1.9.1.9) Gecko/20100405 Thunderbird/3.0.4 MIME-Version: 1.0 To: "James R. Van Artsdalen" References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> In-Reply-To: <4C04456D.7080408@jrv.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 00:48:05 -0000 On 06/01/10 09:25, James R. Van Artsdalen wrote: [snip interesting history] > I do suggest modifying the FreeBSD build process so that uname -a shows > the compiler and its version for both the kernel and userland. Reading through this discussion, I wanted to draw attention to this footnote in James' email. It sounds like a sensible and useful suggestion that would go some way to addressing Kostik's concerns about knowing whether a kernel bug report was related to a gcc or clang built kernel. Cheers, Lawrence From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 02:51:10 2010 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 251431065675 for ; Tue, 1 Jun 2010 02:51:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id AF4D48FC14 for ; Tue, 1 Jun 2010 02:51:09 +0000 (UTC) Received: (qmail 7548 invoked by uid 399); 1 Jun 2010 02:51:08 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 1 Jun 2010 02:51:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C04759B.4080306@FreeBSD.org> Date: Mon, 31 May 2010 19:51:07 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Lawrence Stewart References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> <4C04587E.70800@freebsd.org> In-Reply-To: <4C04587E.70800@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Roman Divacky , "James R. Van Artsdalen" , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 02:51:10 -0000 On 05/31/10 17:46, Lawrence Stewart wrote: > On 06/01/10 09:25, James R. Van Artsdalen wrote: > [snip interesting history] > >> I do suggest modifying the FreeBSD build process so that uname -a shows >> the compiler and its version for both the kernel and userland. > > Reading through this discussion, I wanted to draw attention to this > footnote in James' email. It sounds like a sensible and useful > suggestion that would go some way to addressing Kostik's concerns about > knowing whether a kernel bug report was related to a gcc or clang built > kernel. +1 -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 02:54:24 2010 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 AE796106566C; Tue, 1 Jun 2010 02:54:24 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCF58FC12; Tue, 1 Jun 2010 02:54:23 +0000 (UTC) Received: by vws10 with SMTP id 10so2446221vws.13 for ; Mon, 31 May 2010 19:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=w4adjjfy838ovsxRLdiNezVbfbiK/yIdpbUESu9ihao=; b=Mdqoq+Ns4mL1LyJiwfa8eYVcwvWMqo89dzt4sjK+MdeFQzbd+Ia5cw7STwzuy6TFuT RBXkYAjl4JyZlN5D5wvW+nEd8p/QoZ/YygbyVxotLzc/HL78Aq1HJEjW4J1qhLvC0N5r kHEJnoYr0Tj4XKaIHy2++vGaP5wH78TMtd8ZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X2Qpvpdcvv5BMzEOSHIUOQQ43QMyTIZn3hfWfVFJFA38zj6S7PT+dZrv2ic3SACPTj iBWCYg8Rl9GDWAlnDH36m+lccG89eGD2NY2gUCbg09I5JkA/XJ8xKuHmBMXueeH3S0tV Q8vYjn13xTwpMcPyGs2aayV2zWGrZymRKkQGM= MIME-Version: 1.0 Received: by 10.229.217.144 with SMTP id hm16mr822022qcb.113.1275360862965; Mon, 31 May 2010 19:54:22 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Mon, 31 May 2010 19:54:22 -0700 (PDT) In-Reply-To: <4C04759B.4080306@FreeBSD.org> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> <4C04587E.70800@freebsd.org> <4C04759B.4080306@FreeBSD.org> Date: Mon, 31 May 2010 19:54:22 -0700 Message-ID: From: Garrett Cooper To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: Kostik Belousov , Lawrence Stewart , Roman Divacky , "James R. Van Artsdalen" , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 02:54:24 -0000 On Mon, May 31, 2010 at 7:51 PM, Doug Barton wrote: > On 05/31/10 17:46, Lawrence Stewart wrote: >> >> On 06/01/10 09:25, James R. Van Artsdalen wrote: >> [snip interesting history] >> >>> I do suggest modifying the FreeBSD build process so that uname -a shows >>> the compiler and its version for both the kernel and userland. >> >> Reading through this discussion, I wanted to draw attention to this >> footnote in James' email. It sounds like a sensible and useful >> suggestion that would go some way to addressing Kostik's concerns about >> knowing whether a kernel bug report was related to a gcc or clang built >> kernel. > > +1 I doubt there's anyone that would disagree with this. The only thing that would be painful is if there were mixed compiles with applications and triage, but if that was the case the user should debug their own issue because they'd be mixing and matching toolchains :/... Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 04:06:38 2010 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 7CE2C1065686 for ; Tue, 1 Jun 2010 04:06:38 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by mx1.freebsd.org (Postfix) with ESMTP id 136618FC0C for ; Tue, 1 Jun 2010 04:06:37 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([124.188.161.100]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20100601040636.RHCP1369.nschwmtas01p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Tue, 1 Jun 2010 04:06:36 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100601040635.SPCI3673.nschwotgx01p.mx.bigpond.com@duncan.reilly.home>; Tue, 1 Jun 2010 04:06:35 +0000 Date: Tue, 1 Jun 2010 14:06:35 +1000 From: Andrew Reilly To: Andriy Gapon Message-ID: <20100601140635.13d8898b@duncan.reilly.home> In-Reply-To: <4C03B9DC.5030000@icyb.net.ua> References: <20100529074709.GA40241@duncan.reilly.home> <4C03B9DC.5030000@icyb.net.ua> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx01p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Tue, 1 Jun 2010 04:06:35 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090203.4C04874C.0023,ss=1,fgs=0 X-SIH-MSG-ID: qhA1EtP5TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rHNvZRu8u4xC5NJhqBNGEmaa/iTY3Rs9mK Cc: current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Tue, 01 Jun 2010 04:06:38 -0000 On Mon, 31 May 2010 16:30:04 +0300 Andriy Gapon wrote: > Have you been playing with clang or other alternative compilers? I have them all installed, but none are used by the build process. My make.conf is relatively clean. > If not, then I think that it's your hardware. I did too at first. Compiler crashes are usually "fix the hardware" problems. I'm not so sure any more: I restored /boot and /usr/{not local or home} from backup from about a week ago, and using that compiler on the same hardware, I was able to get a build and install to complete without problem. Heisenbug somewhere, perhaps? The other hit against the hardware problem suggestion is that the failure was in specific, repeatable places in certain system source files. I could compile a chunk of my own code without problems, though. I'm now on: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon May 31 02:39:59 EST 2010 root@duncan.reilly.home:/nb/obj/nb/src/sys/DUNCAN amd64 based on a csup from the australian mirror from yesterday morning (or perhaps Sunday night), and it all seems to be back to normal. Very odd. Cheers, -- Andrew From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 04:17:43 2010 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 2B7381065673 for ; Tue, 1 Jun 2010 04:17:43 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CE9068FC08 for ; Tue, 1 Jun 2010 04:17:42 +0000 (UTC) Received: by vws10 with SMTP id 10so2549839vws.13 for ; Mon, 31 May 2010 21:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JN3uKBXNU/F8FoQNdlFKfQ6DmUqzlPzi3/5WtghAATk=; b=OrIJLIFWVCWsKxalZYGvG1yzhbRH3PkG4gxM9MJP1wJl/vRDEW/1CDxHR03aDC3Bbb SGEkHeOFTPeQDO4LwT+U6otEJALCA1qRmVjHygv65kGZmzBU82XF3WAfeRiozCmWiyZz nwpM6TZqUM9sfZ6Wgo0CosIIrq7FyLpPM7Vqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qxoaxpyjSRYZG5ZKmJx0rZzYE1DTIgLGqtL2J/TmHrmWADeeOck0aF6ECxBPdLb7wH QkL2gZO20Gf3+YiO1FtWcnlJdOqzDfyKJ7RShtmzZgB8a/vcG/Aj76qz1G93R5CgOlrd j15giRKUnoqQ8aKKJFoQbVBjsJWAN31uoduNs= MIME-Version: 1.0 Received: by 10.229.185.16 with SMTP id cm16mr835541qcb.24.1275365861587; Mon, 31 May 2010 21:17:41 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Mon, 31 May 2010 21:17:41 -0700 (PDT) In-Reply-To: <20100601140635.13d8898b@duncan.reilly.home> References: <20100529074709.GA40241@duncan.reilly.home> <4C03B9DC.5030000@icyb.net.ua> <20100601140635.13d8898b@duncan.reilly.home> Date: Mon, 31 May 2010 21:17:41 -0700 Message-ID: From: Garrett Cooper To: Andrew Reilly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Andriy Gapon , current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Tue, 01 Jun 2010 04:17:43 -0000 On Mon, May 31, 2010 at 9:06 PM, Andrew Reilly wro= te: > On Mon, 31 May 2010 16:30:04 +0300 > Andriy Gapon wrote: > >> Have you been playing with clang or other alternative compilers? > > I have them all installed, but none are used by the build > process. =A0My make.conf is relatively clean. What _is_ your make.conf though? >> If not, then I think that it's your hardware. > > I did too at first. =A0Compiler crashes are usually "fix the > hardware" problems. =A0I'm not so sure any more: I restored /boot > and /usr/{not local or home} from backup from about a week ago, > and using that compiler on the same hardware, I was able to get a > build and install to complete without problem. Heisenbug > somewhere, perhaps? The other hit against the hardware problem > suggestion is that the failure was in specific, repeatable places > in certain system source files. =A0I could compile a chunk of my > own code without problems, though. > > I'm now on: > FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon May 31= 02:39:59 EST 2010 =A0 =A0 root@duncan.reilly.home:/nb/obj/nb/src/sys/DUNCA= N =A0amd64 > > based on a csup from the australian mirror from yesterday morning > (or perhaps Sunday night), and it all seems to be back to normal. Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 04:28:55 2010 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 120FC1065672 for ; Tue, 1 Jun 2010 04:28:55 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nskntmtas03p.mx.bigpond.com (nskntmtas03p.mx.bigpond.com [61.9.168.143]) by mx1.freebsd.org (Postfix) with ESMTP id 964038FC1C for ; Tue, 1 Jun 2010 04:28:54 +0000 (UTC) Received: from nskntotgx03p.mx.bigpond.com ([124.188.161.100]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20100601042853.BQV23327.nskntmtas03p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com>; Tue, 1 Jun 2010 04:28:53 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20100601042852.GJRM1978.nskntotgx03p.mx.bigpond.com@duncan.reilly.home>; Tue, 1 Jun 2010 04:28:52 +0000 Date: Tue, 1 Jun 2010 14:28:52 +1000 From: Andrew Reilly To: Garrett Cooper Message-ID: <20100601142852.7fd3ed86@duncan.reilly.home> In-Reply-To: References: <20100529074709.GA40241@duncan.reilly.home> <4C03B9DC.5030000@icyb.net.ua> <20100601140635.13d8898b@duncan.reilly.home> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nskntotgx03p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Tue, 1 Jun 2010 04:28:52 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090206.4C048C85.0032,ss=1,fgs=0 X-SIH-MSG-ID: qRo7GNH7TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rHNvZRu8u4xC5NJhqBNGMoaannTY3Rs9mK Cc: Andriy Gapon , current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Tue, 01 Jun 2010 04:28:55 -0000 On Mon, 31 May 2010 21:17:41 -0700 Garrett Cooper wrote: > What _is_ your make.conf though? Just this: #CC=clang CFLAGS+=-g CXXFLAGS+=-g KERNCONF=DUNCAN NO_LPR=YES NO_SENDMAIL=YES WITH_GTK2=yes WITH_CUPS=yes WITH_GECKO=libxul #WITH_DEBUG=yes A4=yes QT4_OPTIONS=CUPS NAS QGTKSTYLE PORTSDIR=/nb/ports PORTSSUPFILE=/root/ports-supfile SUPFILE=/root/standard-supfile SUPHOST=cvs.au.freebsd.org SUP_UPDATE=yes SUP=cvsup # OOo needs a really large TMPDIR, use this for OOo: TMPDIR=/nb/tmp/ # added by use.perl 2010-05-15 17:53:15 PERL_VERSION=5.10.1 my DUNCAN kern conf is just: include GENERIC ident DUNCAN It used to have more frobs in it than that! Just in case it matters: the kernel/userland/cc that was giving me grief had been built with a make.conf that said NO_KERBEROS=yes, something I'd added to try to work around the MD2_foo crypto linking problems. I can't imagine why that would be a problem, but I'm not risking it any more... Cheers, -- Andrew From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 04:36:25 2010 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 41BC81065675 for ; Tue, 1 Jun 2010 04:36:25 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D90008FC16 for ; Tue, 1 Jun 2010 04:36:24 +0000 (UTC) Received: by vws10 with SMTP id 10so2573242vws.13 for ; Mon, 31 May 2010 21:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uO3aUtYwnSsR+4ThtjAQIeQg+72m2jpecmfPVOrkYMg=; b=m1lHsPGgdnbO49JNWLX/KV8Uve0WYzRMqpS9wNjgSlbiEr8uBj39DyC5vAiUHqDJYS OPA/1p/le8YXKdrCS+JblmZ0K++UPqZs5TAR237aVmFGD3dcLLtoTUx+IeZFv4tZsHEm QESDY4WaI63vL6npXd75a/lMCKIq7la2qGMNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EfMQQjtyGxQ+ZLj1vvCPQcVJiLiXECYqXuF6XNvXZPWmd3i3m/cQ8t0+5CBPeM8jh3 kVo1lWgBWmE0fCK3S6Ak0xrNzYJ2yoQowpLETut1Gx8dlxcgusK9nooic3cw0xsPglpc ZyWR2Kxh8e180JFSCQE93YbHDr+9A3s+ETXd8= MIME-Version: 1.0 Received: by 10.229.213.136 with SMTP id gw8mr837775qcb.193.1275366983684; Mon, 31 May 2010 21:36:23 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Mon, 31 May 2010 21:36:23 -0700 (PDT) In-Reply-To: <20100601142852.7fd3ed86@duncan.reilly.home> References: <20100529074709.GA40241@duncan.reilly.home> <4C03B9DC.5030000@icyb.net.ua> <20100601140635.13d8898b@duncan.reilly.home> <20100601142852.7fd3ed86@duncan.reilly.home> Date: Mon, 31 May 2010 21:36:23 -0700 Message-ID: From: Garrett Cooper To: Andrew Reilly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Andriy Gapon , current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Tue, 01 Jun 2010 04:36:25 -0000 On Mon, May 31, 2010 at 9:28 PM, Andrew Reilly wro= te: > On Mon, 31 May 2010 21:17:41 -0700 > Garrett Cooper wrote: > >> What _is_ your make.conf though? > > Just this: > > #CC=3Dclang > CFLAGS+=3D-g > CXXFLAGS+=3D-g > KERNCONF=3DDUNCAN > > NO_LPR=3DYES > NO_SENDMAIL=3DYES > WITH_GTK2=3Dyes > WITH_CUPS=3Dyes > WITH_GECKO=3Dlibxul > #WITH_DEBUG=3Dyes > A4=3Dyes > QT4_OPTIONS=3DCUPS NAS QGTKSTYLE > > PORTSDIR=3D/nb/ports > PORTSSUPFILE=3D/root/ports-supfile > SUPFILE=3D/root/standard-supfile > SUPHOST=3Dcvs.au.freebsd.org > SUP_UPDATE=3Dyes > SUP=3Dcvsup > > # OOo needs a really large TMPDIR, use this for OOo: > TMPDIR=3D/nb/tmp/ > # added by use.perl 2010-05-15 17:53:15 > PERL_VERSION=3D5.10.1 > > > my DUNCAN kern conf is just: > > include =A0 =A0 =A0 =A0 GENERIC > ident =A0 =A0 =A0 =A0 =A0 DUNCAN > > It used to have more frobs in it than that! > > Just in case it matters: the kernel/userland/cc that was giving > me grief had been built with a make.conf that said > NO_KERBEROS=3Dyes, something I'd added to try to work around the > MD2_foo crypto linking problems. =A0I can't imagine why that would > be a problem, but I'm not risking it any more... Ok... there appear to be some interesting bits here, but I'm curious... when was the last time that you did a build with clang, and did you properly clean out /usr/obj, etc since your last compile? Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 04:53:45 2010 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 B88C81065676 for ; Tue, 1 Jun 2010 04:53:45 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas03p.mx.bigpond.com (nschwmtas03p.mx.bigpond.com [61.9.189.143]) by mx1.freebsd.org (Postfix) with ESMTP id 493258FC12 for ; Tue, 1 Jun 2010 04:53:44 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([124.188.161.100]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20100601045343.XKVM20574.nschwmtas03p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Tue, 1 Jun 2010 04:53:43 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100601045342.WEYP3673.nschwotgx01p.mx.bigpond.com@duncan.reilly.home>; Tue, 1 Jun 2010 04:53:42 +0000 Date: Tue, 1 Jun 2010 14:53:22 +1000 From: Andrew Reilly To: Matthew Seaman Message-ID: <20100601145322.52546745@duncan.reilly.home> In-Reply-To: <4C03DD4B.9020209@infracaninophile.co.uk> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx01p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Tue, 1 Jun 2010 04:53:42 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090202.4C049257.00AC,ss=1,fgs=0 X-SIH-MSG-ID: rxo6GN38TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rHNvZRu8u4xC5NJhqBNGQjaajnTY3Rs9mK Cc: Daniel Eischen , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 04:53:45 -0000 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpPbiBNb24s IDMxIE1heSAyMDEwIDE3OjAxOjE1ICswMTAwDQpNYXR0aGV3IFNlYW1hbiA8bS5zZWFtYW5AaW5m cmFjYW5pbm9waGlsZS5jby51az4gd3JvdGU6DQoNCj4gSXMgaXQgcmVhbGx5IHN1Y2ggYSBiYWQg dGhpbmcgdG8gaGF2ZSBnY2MgYXMgYSBidWlsZC1kZXBlbmRlbmN5DQo+IGZvciB2YXJpb3VzIHBv cnRlZCBhcHBsaWNhdGlvbnM/DQoNClRoZXJlIGFyZSBhbHJlYWR5IHBvcnRzIHRoYXQgaGF2ZSBn Y2MtNC40LjQgYXMgYSBkZXBlbmRlbmN5LCBhbmQNCmEgZmV3IHRoYXQgc3RpbGwgcmVxdWlyZSBn Y2MtMy40LjYuDQoNCltvbiBteSBzeXN0ZW0sIHRoYXQncyA6DQpmZm1wZWctMC41LjFfMywxDQpn ZWdsLTAuMS4yXzENCmdpbXAtYXBwLTIuNi44XzMsMQ0KdWZyYXctMC4xNl8zDQp4MjY0LTAuMC4y MDEwMDIyMl8xDQp4c2FuZS0wLjk5Nl8zDQpibGFzLTEuMF80DQpsYXBhY2stMy4yLjFfMQ0KcHky Ni1udW1weS0xLjQuMSwxDQp0b3RlbS0yLjMwLjENCnZpbmFncmUtMi4zMC4xDQp2aW5vLTIuMjgu Mg0KDQphbmQgLi4uaG1tLi4uIG1heWJlIEkndmUgYWxyZWFkeSBkZS1pbnN0YWxsZWQgd2hhdGV2 ZXIgd2FzDQpkZXBlbmRpbmcgb24gMy40LjYuLi5dDQoNCkFueXdheSwgSSBkb24ndCBzZWUgdGhp cyB0cmVuZCBzbG93aW5nIGRvd24gYW55IHRpbWUgc29vbiwgc28gSQ0KZG9uJ3QgdGhpbmsgdGhh dCBiZWluZyBhYmxlIHRvIGNvbXBpbGUgYWxsIG9mIHBvcnRzIGlzIGENCnJlYXNvbmFibGUgY29u c3RyYWludCBvbiBicmluZ2luZyBjbGFuZyBpbnRvIHRoZSB0cmVlLg0KDQpJJ3ZlIGNoYW5nZWQg bXkgbWluZCBhYm91dCBicmluZ2luZyB0aGluZ3MgaW50byB0aGUgdHJlZSBzaW5jZSBteQ0KbGFz dCBwb3N0IG9uIHRoZSBzdWJqZWN0LiAgQmVpbmcgaW4tdHJlZSBoZWxwcyBhIGxvdCB3aXRoIHRo ZQ0KYWJpbGl0eSB0byBjcm9zcy1idWlsZCwgd2hpY2ggbWF0dGVycyBub3cgdGhhdCByZWFzb25h Ymx5IHByaWNlZA0KImJlYXN0eSIgbWFjaGluZXMgYXJlIHNvIG11Y2ggZmFzdGVyIHRoYW4gcmVh c29uYWJseS1wcmljZWQNCiJwdW55IiBtYWNoaW5lcy4gIEFsc28sIEkndmUgbGVhcm5lZCB0byBs b3ZlIHRtdXguLi4NCkFsc28sIHRoZSBhYmlsaXR5IHRvIGhhdmUgTk9fTExWTSBpbiBtYWtlLmNv bmYgc2hvdWxkIChqdXN0IGxpa2UNCnRoZSBvdGhlciwgc2ltaWxhciBzd2l0Y2hlcykgYW5zd2Vy IHRoZSByZWJ1aWxkLXRpbWUgaXNzdWUuDQoNCkp1c3QgYSBmZXcgY2VudHMgZnJvbSB0aGUgcGVh bnV0IGdhbGxlcnkuDQoNCkZXSVcgSSdtIGluIGZhdm91ciwgYnV0IEkgZG8gdW5kZXJzdGFuZCBL b3N0aWsncyBjb25jZXJuLiAgSSd2ZQ0KYmVlbiBiaXR0ZW4gYnkgbXkgc2hhcmUgb2YgY29tcGls ZXIgYnVncyBhbmQgaGFyZHdhcmUgYnVncy4NClBlcmhhcHMsIGV2ZW4gZm9yIGEgd2hpbGUgYWZ0 ZXIgaW50cm9kdWN0aW9uLCB0aGVyZSBzaG91bGQgYmUgYQ0KcnVsZSBsaWtlICJkb24ndCByZXBv cnQgYSBidWcgdW5sZXNzIHlvdSd2ZSByZXByb2R1Y2VkDQppdCBvbiBhIHN5c3RlbSBidWlsdCB3 aXRoIGNjKD1nY2MpIiwganVzdCB0byBrZWVwIHRob3NlIHR3byBpc3N1ZXMNCnNlcGFyYXRlLiAg UGVyaGFwcyB3aXRoIGEgc2lkZSBvcmRlciBvZjogYW55IGJ1ZyB0aGF0IHlvdSBmaW5kIGluDQph IGNsYW5nLWNvbXBpbGVkIHN5c3RlbSB0aGF0IGdvZXMgYXdheSB3aGVuIHJlLWJ1aWx0IHdpdGgg Z2NjDQpzaG91bGQgYmUgcmVwb3J0ZWQgdG8gdGhlIGNsYW5nIGZvbGsuLi4NCg0KQ2hlZXJzLA0K DQotIC0tIA0KQW5kcmV3DQotLS0tLUJFR0lOIFBHUCBTSUdOQVRVUkUtLS0tLQ0KVmVyc2lvbjog R251UEcgdjIuMC4xNCAoRnJlZUJTRCkNCg0KaUVZRUFSRUNBQVlGQWt3RWtsWUFDZ2tRZ3paWmU1 ZUVLTUlmNEFDZmZFMDBxM1JzeUVsUkU2NHEzdE9Gb3ZJOA0KRGgwQW4ydFFMWXdWYzc0dHZYSkQ3 MmJic3VsMGo2OFYNCj1vVGFPDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 05:00:34 2010 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 BCC551065B64 for ; Tue, 1 Jun 2010 05:00:34 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas05p.mx.bigpond.com (nschwmtas05p.mx.bigpond.com [61.9.189.149]) by mx1.freebsd.org (Postfix) with ESMTP id 4EDA48FC1B for ; Tue, 1 Jun 2010 05:00:33 +0000 (UTC) Received: from nschwotgx02p.mx.bigpond.com ([124.188.161.100]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20100601050032.SUMT12312.nschwmtas05p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com>; Tue, 1 Jun 2010 05:00:32 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20100601050031.SCOW2131.nschwotgx02p.mx.bigpond.com@duncan.reilly.home>; Tue, 1 Jun 2010 05:00:31 +0000 Date: Tue, 1 Jun 2010 15:00:31 +1000 From: Andrew Reilly To: Garrett Cooper Message-ID: <20100601150031.7f28a98d@duncan.reilly.home> In-Reply-To: References: <20100529074709.GA40241@duncan.reilly.home> <4C03B9DC.5030000@icyb.net.ua> <20100601140635.13d8898b@duncan.reilly.home> <20100601142852.7fd3ed86@duncan.reilly.home> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx02p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Tue, 1 Jun 2010 05:00:31 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090205.4C0493F0.00CD,ss=1,fgs=0 X-SIH-MSG-ID: rx8yFdP+TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rHNvZRu8u4xC5NJhqANGEgaa/mTY3Rs9mK Cc: Andriy Gapon , current@freebsd.org Subject: Re: Yoics! Just upgraded and cc is (mostly) bus-error-ing on buildworld. 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: Tue, 01 Jun 2010 05:00:34 -0000 Hi Garrett, On Mon, 31 May 2010 21:36:23 -0700 Garrett Cooper wrote: > Ok... there appear to be some interesting bits here, but I'm > curious... when was the last time that you did a build with clang, and > did you properly clean out /usr/obj, etc since your last compile? I don't think that I ever have (compiled with clang). I did pull the pieces together when Roman first suggested it, but it didn't work then, and I need this machine to be more "up" than "down", so I've shelved it for a while. At that time clang also had a bug that was a show-stopper for me, in that it wouldn't compile my own code (compile time constant expressions with conditionals were not recognised as constant, or something like that.) Long since fixed, but I don't have enough time to keep up. I do regularly nuke /usr/obj before rebuilding. Not always, but often. Cheers, -- Andrew From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 05:17:02 2010 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 9E073106620B; Tue, 1 Jun 2010 05:16:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 78BA48FC23; Tue, 1 Jun 2010 05:16:29 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o515GPHE060693; Mon, 31 May 2010 22:16:25 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o515GPtc060692; Mon, 31 May 2010 22:16:25 -0700 (PDT) (envelope-from sgk) Date: Mon, 31 May 2010 22:16:25 -0700 From: Steve Kargl To: Andrew Reilly Message-ID: <20100601051625.GA60676@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <20100601145322.52546745@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100601145322.52546745@duncan.reilly.home> User-Agent: Mutt/1.4.2.3i Cc: Daniel Eischen , Matthew Seaman , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 05:17:02 -0000 On Tue, Jun 01, 2010 at 02:53:22PM +1000, Andrew Reilly wrote: > > On Mon, 31 May 2010 17:01:15 +0100 > Matthew Seaman wrote: > > > Is it really such a bad thing to have gcc as a build-dependency > > for various ported applications? > > There are already ports that have gcc-4.4.4 as a dependency, and > a few that still require gcc-3.4.6. > > [on my system, that's : > ffmpeg-0.5.1_3,1 > gegl-0.1.2_1 > gimp-app-2.6.8_3,1 > ufraw-0.16_3 > x264-0.0.20100222_1 > xsane-0.996_3 > blas-1.0_4 > lapack-3.2.1_1 Well, blas and lapack require gcc-4.4.4 because these are implemented in Fortran. Fortran was removed from FreeBSD's base several years ago. Note, also that clang/llvm can't compile these libraries so the dependencies won't disappear anytime soon. -- Steve From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 05:44:14 2010 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 63A32106564A; Tue, 1 Jun 2010 05:44:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 090F78FC1E; Tue, 1 Jun 2010 05:44:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o515XauE019629; Mon, 31 May 2010 23:33:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 31 May 2010 23:33:45 -0600 (MDT) Message-Id: <20100531.233345.858217842222352436.imp@bsdimp.com> To: yanefbsd@gmail.com From: "M. Warner Losh" In-Reply-To: References: <20100531161713.GA60782@freebsd.org> <20100531.123318.1097297678389159803.imp@bsdimp.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: rdivacky@freebsd.org, current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Tue, 01 Jun 2010 05:44:14 -0000 In message: Garrett Cooper writes: : On Mon, May 31, 2010 at 11:33 AM, M. Warner Losh wro= te: : > In message: <20100531161713.GA60782@freebsd.org> : = : [...] : = : > There's more context here too. =A0To improve the support of various= : > architectures, we're planning on doing two things. =A0First, we're : > updating binutils to the latest gplv2 version. =A0This will solve m= any : > problems. =A0There's some other plans in this area as well, but the= : > summary is basically integrating some important vendor patches. : > Second, we're planning to have the ability to use an external, perh= aps : > vendor supplied, tool chain. =A0You can kludge this together today,= but : > it is tedious and difficult. : = : This in and of itself is an interesting prospect. Why would happen if= : one could drop in icc for instance :) (I realize that it's basically : gcc-compatible, but can this be done today without a lot of rework an= d : effort)? This is more about dropping in different assemblers, linkers, etc, than picking icc. CC=3Dxxx is relatively easy. It gets harder if you don't want to use the in-tree toolchain. Especially when cross building... Warner From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 06:13:37 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 5BEA9106566C; Tue, 1 Jun 2010 06:13:37 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CE3828FC17; Tue, 1 Jun 2010 06:13:36 +0000 (UTC) Received: by vws10 with SMTP id 10so2693545vws.13 for ; Mon, 31 May 2010 23:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kZ8lbaQHY/Vh2ak6inF0/FGkN34Z2hRUKh9L8wZqIQI=; b=GP4jgEGA/kklE/6xhTWCQsqz5Q6eYu1Kau8onyz0kMGSOIDx+efPViBjF1zQp/N0Sp ICCc3Os52PhVtOBQPU7Z3EgMM66Rnrg/aS5Mf47Mlo3owrbChjGS+nPlAy8/vKXsORWd NvZi32NGbjQ4LzaAUYjmgzKBBtaeVZdcP0Wac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lGBGc7V3sCsCBZUWIArY7PpsQwSpZyjgUID7Nl4vubgtarW8lrEgOCFkn0VNTcrvoM fOcOmyoeJM/daAim5gOrvCjXAK/fuJc7arJTN9Ym91AGU0VNeaMrXeUbZ2wBOemSS53q EXPju02xk2PdfyWjUo/zJ0ORY0awafAlMPwQI= MIME-Version: 1.0 Received: by 10.229.184.203 with SMTP id cl11mr843904qcb.178.1275372815835; Mon, 31 May 2010 23:13:35 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Mon, 31 May 2010 23:13:35 -0700 (PDT) In-Reply-To: References: <4BFD4AE6.5040105@cs.rice.edu> <20100526165141.GF83316@deviant.kiev.zoral.com.ua> <4C0158D0.1000902@FreeBSD.org> Date: Mon, 31 May 2010 23:13:35 -0700 Message-ID: From: Garrett Cooper To: "datastream datastream.freecity" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , alc@freebsd.org, Doug Barton , Alan Cox , FreeBSD Current Subject: Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and 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: Tue, 01 Jun 2010 06:13:37 -0000 On Sat, May 29, 2010 at 12:31 PM, Garrett Cooper wrote= : > On Sat, May 29, 2010 at 11:48 AM, datastream datastream.freecity > wrote: >> >> On Sun, May 30, 2010 at 2:11 AM, Doug Barton wrote: >>> >>> On 05/26/10 09:51, Kostik Belousov wrote: >>>> >>>> I did a quick glance over the driver, try this: >>>> http://people.freebsd.org/~kib/misc/nvidia-vm_page_lock.1.patch >>>> I did not even compiled the patched driver. >>> >>> Ok, I just tried this with an r208622 kernel and sources, and the syste= m >>> locks up as soon as I type 'startx'. No panic, no core dump, it just we= dges, >>> requiring it to be powered off. >>> >>> >> =A0http://www.nvnews.net/vbulletin/showthread.php?t=3D150719 >> NVIDIA-FreeBSD-x86_64-195.36.24 with r208117 in my T61 laptop works well= . > > =A0 =A0I'll try out this driver then. I'll have to see what the delta was > with the kernel glue... > Thanks for the feedback, nvidia-driver-195.36.24 works really well with my kernel so far. I'm going to soak the driver in for a few hours while I'm building a new kernel to see what HEAD provides as far as stability is concerned today. Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 07:58:36 2010 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 72D26106567B for ; Tue, 1 Jun 2010 07:58:36 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5058FC29 for ; Tue, 1 Jun 2010 07:58:36 +0000 (UTC) Received: from omta01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by qmta01.emeryville.ca.mail.comcast.net with comcast id QXl71e0010EPchoA1XlSi2; Tue, 01 Jun 2010 07:45:26 +0000 Received: from LIGHTBULB.LOCAL ([68.35.230.205]) by omta01.emeryville.ca.mail.comcast.net with comcast id QXlK1e0044SYemU8MXlSS7; Tue, 01 Jun 2010 07:45:26 +0000 Message-ID: <4C04BA8B.3070000@comcast.net> Date: Tue, 01 Jun 2010 03:45:15 -0400 From: Nathan Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100412) MIME-Version: 1.0 To: Roman Divacky References: <20100531075248.GA15206@freebsd.org> In-Reply-To: <20100531075248.GA15206@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Tue, 01 Jun 2010 07:58:36 -0000 Roman Divacky wrote: > Hi, > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). > > clang/LLVM is a C/C++/ObjC compiler (framework) which aims to possibly > replace gcc. It is BSDL-like licensed. The sources are ~45MB (the > svn checkout is 97MB). Clang/LLVM is written in C++. > > Clang can compile all of FreeBSD on i386/amd64 including world and booting > kernel. Other architectures that are close to working are MIPS, PowerPC > and ARM. We have a branch (clangbsd-import) that just includes clang/LLVM > sources and the build infrastructure and this is what we aim to integrate > at first. > > The import of clang/LLVM was discussed at the toolchain summit May 10th > but I would like to hear your opinion. I got approval from core@ on > importing it. > > So please share your support or resistance to the idea of importing clang. > > Roman Divacky > I've been waiting for this day since the first talk of PCC. I've watched ClangBSD on the FreeBSD wiki since it first appeared there and I'm delightfully surprised to see that it has progressed to this stage so quickly (what, has it only been 6 months or a year?). Clang also seems to have made a lot of progress (and quickly!) on their C++ support. I'm all for the import. I think you'll receive a wider user base of ClangBSD (including me) if you import it. Actually, the day it's imported and reported stable enough, I'll almost certainly sync to CURRENT Otherwise, there is no incentive for me since there isn't anything in CURRENT I'm curious about (yet). The only thing that concerns me, as was discussed extensively in your previous thread, are bugs in a relatively new compiler. Robert Watson's post is especially disturbing as he spent 4-6 hours determining that a problem was caused by a bug in the compiler. That's a lot of time spent. However, this will help mature LLVM/Clang which will benefit FreeBSD anyways. If LLVM/Clang is cutting-edge compiler technology, I'd have to agree that this will be the future anyways. Besides, LLVM/Clang offers all sorts of interesting developer tools and Clang itself appears to generate more useful and informative error messages and warnings than GCC ever did (with color too!). I think that alone is worth it. Best Regards, Nathan Lay From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 08:24:53 2010 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 009141065676; Tue, 1 Jun 2010 08:24:53 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C8D9B8FC24; Tue, 1 Jun 2010 08:24:52 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 785F346BA4; Tue, 1 Jun 2010 04:24:52 -0400 (EDT) Date: Tue, 1 Jun 2010 09:24:52 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Garrett Cooper In-Reply-To: Message-ID: References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531112529.GA42524@freebsd.org> <20100531113456.GB42524@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 08:24:53 -0000 On Mon, 31 May 2010, Garrett Cooper wrote: > I personally would much rather have the glue in place to switch between > compilers and have things default to the base version of gcc than just > magically switch the compiler over to clang. > > But I like my bikesheds painted gray. Calling that a bikeshed misses the point of bikesheds. :-) I can't imagine that anyone is arguing for switching the default compiler to clang any time soon. The goal of the current exercise is to provide infrastructure and increase exposure. An entirely seperate set of decisions will be required to (perhaps) throw the following switches: - Make clang the default bootstrapping compiler (i.e., build kernel+world with it) on supported architectures. - Make clang the default ports build compiler. - Install clang as cc. Robert From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 08:41:39 2010 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 B1AE5106566B; Tue, 1 Jun 2010 08:41:39 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 1F71B8FC16; Tue, 1 Jun 2010 08:41:38 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o518cMkG045462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jun 2010 11:38:23 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o518c9C2080097; Tue, 1 Jun 2010 11:38:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o518c9Nb080096; Tue, 1 Jun 2010 11:38:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 1 Jun 2010 11:38:09 +0300 From: Kostik Belousov To: Lawrence Stewart Message-ID: <20100601083809.GF83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> <4C04587E.70800@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nQeUMoeVp7j9rzTQ" Content-Disposition: inline In-Reply-To: <4C04587E.70800@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Roman Divacky , "James R. Van Artsdalen" , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 08:41:39 -0000 --nQeUMoeVp7j9rzTQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 10:46:54AM +1000, Lawrence Stewart wrote: > On 06/01/10 09:25, James R. Van Artsdalen wrote: > [snip interesting history] >=20 > >I do suggest modifying the FreeBSD build process so that uname -a shows > >the compiler and its version for both the kernel and userland. >=20 > Reading through this discussion, I wanted to draw attention to this=20 > footnote in James' email. It sounds like a sensible and useful=20 > suggestion that would go some way to addressing Kostik's concerns about= =20 > knowing whether a kernel bug report was related to a gcc or clang built= =20 > kernel. This is unsufficient. What could work is if clang provided some common symbol into all .o files generated by it, e.g. __clang_compiled. And then kernel considered tainted with corresponding banner printed when weak reference to that symbol is resolved to non-zero. This does not handle modules and does not cleanly handle usermode runtime (libc, libthr, rtld etc). I do not care about users busting their systems by using alternative compilers and/or mixed builds. I worry about wasting developers time chasing bugs that are not bugs in the FreeBSD system. As an example see low-visible thread about sig11 during buildworld. --nQeUMoeVp7j9rzTQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwExvEACgkQC3+MBN1Mb4jzLgCbBgpicmmSqKkO/tuDf9rHI4Qp NpkAoNx6X1W2AojXJUNVZn4wvzNvBflZ =Qky7 -----END PGP SIGNATURE----- --nQeUMoeVp7j9rzTQ-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 09:17:37 2010 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 75AC91065677; Tue, 1 Jun 2010 09:17:37 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 23D948FC1C; Tue, 1 Jun 2010 09:17:36 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EF04F1FFC33; Tue, 1 Jun 2010 09:17:35 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id D4D90844CC; Tue, 1 Jun 2010 11:15:26 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Brooks Davis References: <20100531225732.GF31972@lor.one-eyed-alien.net> Date: Tue, 01 Jun 2010 11:15:26 +0200 In-Reply-To: <20100531225732.GF31972@lor.one-eyed-alien.net> (Brooks Davis's message of "Mon, 31 May 2010 17:57:32 -0500") Message-ID: <86sk57nmfl.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org, current@freebsd.org Subject: Re: BSDCan Toolchain Summit Summary 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: Tue, 01 Jun 2010 09:17:37 -0000 Brooks Davis writes: > http://wiki.freebsd.org/201005ToolchainSummitSummary "No new functionality that requires clang/llvm." How about "No new functionality with non-trivial incompatibilities with clang/llvm"? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 09:28:08 2010 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 8E089106566B for ; Tue, 1 Jun 2010 09:28:08 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 38AFC8FC24 for ; Tue, 1 Jun 2010 09:28:07 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id 7B15E3A581; Tue, 1 Jun 2010 11:28:06 +0200 (CEST) Date: Tue, 1 Jun 2010 11:28:06 +0200 From: Lars Engels To: Brooks Davis Message-ID: <20100601092806.GW41305@e.0x20.net> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <4C043DAB.1050206@freebsd.org> <20100531230103.GG31972@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DHnhIMemoiGGMQp1" Content-Disposition: inline In-Reply-To: <20100531230103.GG31972@lor.one-eyed-alien.net> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Daniel Eischen , Tim Kientzle , Matthew Seaman , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 09:28:08 -0000 --DHnhIMemoiGGMQp1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2010 at 06:01:03PM -0500, Brooks Davis wrote: > On Mon, May 31, 2010 at 03:52:27PM -0700, Tim Kientzle wrote: > > Matthew Seaman wrote: > >> Presumably the import of clang to the base does > >> not mean the immediate removal of gcc. > >=20 > > Of course not. > >=20 > > I'm not part of core and don't know what they > > may have discussed, but I went through some hoops > > to replace 'tar' and 'cpio' in the base system > > and have some idea what approach we might take > > with clang: > >=20 > > I would expect FreeBSD 9 to ship with both > > compilers, with gcc as the default for 'cc'. > > So users of 9-STABLE would see and use gcc > > unless they specifically chose to use clang. > >=20 > > Even if we did decide to switch the default > > for FreeBSD 10, it's possible we would continue > > to install gcc as part of the base system > > (just not as 'cc'). > >=20 > > So realistically, some form of gcc will be built > > and installed by default for a few more years. > > Beyond that, it depends partly on how well clang > > does and partly on how many problems we have with > > an increasingly out-of-date gcc. >=20 > Exactly. We will need to take some risks here, but nuking gcc from the > tree won't be one of them for a while. >=20 > I just sent a link to current and arch with links to the toolchain > summit wiki page and a summary of the results. I encorage interested > parties to read what is there and provide constructive suggestions. It would be useful to exclude clang or gcc from the build manually. Both both gcc and clang take a long time to compile. --DHnhIMemoiGGMQp1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkwE0qYACgkQKc512sD3afjj8ACdFho4hcumjnp1oN1HMh3Gl1Xh dP0AnRrWHkWwxdJK0eT2G8skpCS0oBRE =0wx6 -----END PGP SIGNATURE----- --DHnhIMemoiGGMQp1-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 10:00:41 2010 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 00A99106566B; Tue, 1 Jun 2010 10:00:41 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id EC47D8FC22; Tue, 1 Jun 2010 10:00:39 +0000 (UTC) Received: by ewy1 with SMTP id 1so1027599ewy.13 for ; Tue, 01 Jun 2010 03:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:cc:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=J2+8OtpJRQwNsmkaVAnMca24I4d1i4xm0cMwF1Gcits=; b=wWgmwjrsWRQGvVvusjPn6PmfQVPGmLgQaJRrQEWuJfxiJ4e8K6TTwB2N83BD6LSv+c bpOt1yeFwKOl78wSTnciyabBxSlapvjC5hLwlOCu/yTg8DbQwfUtF9eHpk5ut9P3xPeT LbksTPe4jZQVN7OOYsyDqL7ZbY4OYv+Ds36V0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=L1LM++WuCfGjeq/m1OpWaRjpUCa3qnBX0D+5bpvzRhT857gq+4n2kYZoq0TfN+shCo OV/s1lI7bk6Rgc5LSlzfUuHN+l/90vnGHohxCss0qVOj2PQp/uEMjDGiOVZZo5DbUVij 56UFV5PGMZqUfnm+aCc1zYdR1ioaidufcYQAE= Received: by 10.213.14.20 with SMTP id e20mr3209406eba.27.1275386438605; Tue, 01 Jun 2010 03:00:38 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 15sm3635463ewy.0.2010.06.01.03.00.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 03:00:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Brooks Davis" , "Lars Engels" References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <4C043DAB.1050206@freebsd.org> <20100531230103.GG31972@lor.one-eyed-alien.net> <20100601092806.GW41305@e.0x20.net> Date: Tue, 01 Jun 2010 13:00:35 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <20100601092806.GW41305@e.0x20.net> User-Agent: Opera Mail/10.60 (FreeBSD) Cc: Daniel Eischen , Tim Kientzle , Matthew Seaman , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 10:00:41 -0000 On Tue, 01 Jun 2010 12:28:06 +0300, Lars Engels wrote: > It would be useful to exclude clang or gcc from the build manually. You'd either have to fix a lot of ports or install gcc from ports anyway. Excluding gcc isn't too useful at the moment, but I see how that could be used in the future, once ports infrastructure knows that gcc isn't the one and only compiler. -- Andrius From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 10:18:53 2010 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 1A592106564A for ; Tue, 1 Jun 2010 10:18:53 +0000 (UTC) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.freebsd.org (Postfix) with ESMTP id C4FCB8FC08 for ; Tue, 1 Jun 2010 10:18:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by solfertje.student.utwente.nl (Postfix) with SMTP id 6F5608053 for ; Tue, 1 Jun 2010 12:18:51 +0200 (CEST) Received: from hollewijn.internal (hollewijn.internal [10.236.150.4]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 3F4B28051; Tue, 1 Jun 2010 12:18:41 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Alban Hertroys In-Reply-To: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Tue, 1 Jun 2010 12:18:41 +0200 Content-Transfer-Encoding: 8bit Message-Id: <338E3C69-1542-4F0D-89C4-C96EA3575AEA@solfertje.student.utwente.nl> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Mailer: Apple Mail (2.1078) X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Jun 1 12:18:51 2010 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 930,4c04de8b10155455914109 X-DSPAM-Factors: 27, but, 0.01000, but, 0.01000, From*Alban, 0.01000, of, 0.01000, of, 0.01000, Received*ESMTP, 0.01000, Alban+Hertroys, 0.01000, that, 0.01000, that, 0.01000, Hertroys, 0.01000, Date*2010, 0.01000, as, 0.01000, as, 0.01000, From*Hertroys, 0.01000, From*solfertje.student.utwente.nl>, 0.01000, in, 0.01000, in, 0.01000, Received*with, 0.01000, be, 0.01000, be, 0.01000, Received*id, 0.01000, Received*ESMTP+id, 0.01000, me, 0.01000, me, 0.01000, Alban, 0.01000, Received*2010, 0.01000, From*Hertroys+, current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 10:18:53 -0000 On 31 May 2010, at 11:56, Kostik Belousov wrote: > My main concern is the usefulness of HEAD for routine bug-fixing process. > > The proposed merge makes it relatively easy for users to start compiling > the system with CLang. Our HEAD userbase is one of the most valuable > project asset to ensure the quality of the system. After the support for > easy compilation with clang is imported, some substantial portion of the > HEAD users definitely start experimenting with it. This immediately makes > the bug reports against HEAD almost useless, since level of demotivation > when looking at the bug is immense. When you do know that the issue can > be in the compiler, and not the OS, why looking ? > > Any bug analisys now shall start with exchange to verify which compiler > was used to build the reporter system, and ask to reproduce it with gcc. > [I am talking not only about gnats, but also mailing list questions, > private pleas for help etc]. True enough, but that coin has two sides. Compiler bugs in gcc are probably just as hard to find as compiler bugs in clang, but if you have multiple compilers at your disposal you can determine that you're probably looking at a compiler bug instead of a FreeBSD bug. Especially once there are users running the same code compiled with gcc and with clang it should be /easier/ to determine whether it's a compiler bug or not. Seeing a "Y doesn't work for me compiled with clang" vs. "Y works for me compiled with gcc" or vice versa would mean that the problem is likely in one of the compilers. Now you're probably correct in saying that the number of compiler bugs you are likely to encounter /now/ would be higher in clang than in gcc, but there also have been a number of cases where clang found bugs in code that gcc didn't find. Whether you find that useful is up to you, you are the developers after all. Alban Hertroys -- Screwing up is an excellent way to attach something to the ceiling. !DSPAM:930,4c04de8b10155455914109! From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 10:19:58 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 117631065670 for ; Tue, 1 Jun 2010 10:19:58 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F0358FC13 for ; Tue, 1 Jun 2010 10:19:57 +0000 (UTC) Received: by wwb22 with SMTP id 22so1088494wwb.13 for ; Tue, 01 Jun 2010 03:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:content-type; bh=kpoL3Ouz3fxhbauCMJROp+WdZzFxIHhSJ3crs+nAtj4=; b=dgzk+Oic1QPSPOjIsfgWIeGbIcoy69Q4me2S2Lzm/MuAQuJy2cYXoYnk+m/oYi6hY8 cq8K8tzWz8CaSZwpZVETVfi0JOYGO4CGd3QG6cbETA4YpeYdueeS/WTJs4VstN1Z23aS n6v1QcyzvhkwX7b0VidBTS3p8/eBVU8JLL+KY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=BTqP98EoRk6VYF/EbN0S3F91eUViJ0dEL06NDb2KSv/ymELT6lhpzHeTt7FHijl5Mo HTy7Um0QpZAfyQIWX/nNsGHi/YRrGGbhbpLYJXN+Z1j0zlgTwDyG0JvG1esRMvnWiwEV t3ob1VEGDan47iF/t4ifTbu53QL9yWIJ06kdI= MIME-Version: 1.0 Received: by 10.216.85.198 with SMTP id u48mr5226415wee.39.1275387590939; Tue, 01 Jun 2010 03:19:50 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Tue, 1 Jun 2010 03:19:50 -0700 (PDT) Date: Tue, 1 Jun 2010 06:19:50 -0400 Message-ID: From: "b. f." To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 10:19:58 -0000 I'm a bit disappointed in the polemical nature of some of the comments in this thread. I think we're all better off because of the existence of the FSF and their affiliates, and of a body of useful software under the (L)GPL, even if we prefer another license. No one has forced us to use the work that they've made freely available. With regard to importing clang now, I think that the effort needed for switching to a new compiler will not be greatly diminished by waiting, and we will be better served by learning about possible problems (and attempting to have them fixed upstream) sooner rather than later. Those who are concerned about introducing more variables into debugging will still be free to disregard reports involving clang for now if they choose, and we can emphasize that users should provide information about which compiler is involved in bug reports. Please, will those managing the import follow the recommendation of the tool-chain summit in allowing users to opt out of building and installing clang and any related tools with a knob in src.conf, and add support for ripping it out via the delete-old(-libs) targets and tools/build/mk/OptionalObsoleteFiles.inc, as part of any initial import? Also, others have announced that they are running regression tests on systems built with clang. Would it be possible to set up some regularly scheduled tests to uncover possible problems, if this hasn't been done already? b. From owner-freebsd-current@FreeBSD.ORG Fri May 28 23:49:50 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 875161065670 for ; Fri, 28 May 2010 23:49:50 +0000 (UTC) (envelope-from rpaulo@lavabit.com) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5E38FC1A for ; Fri, 28 May 2010 23:49:49 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id 2B9AF157546; Fri, 28 May 2010 18:49:45 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id ATZR0BNBUJP3; Fri, 28 May 2010 18:49:45 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=ozlRt58i3Wa00n+Tv1N+Wp3myDxCYOI6cUprYuWosRiuGXXdq+8B1ivG7PnMGMXyuPS0zSGpKbFEmPWcuwOSP5MaRSjpcLEQzKDumPSVlbx4VwtNQbQ31i+87/1pP4cujya/FX+uKPjOOj7yQi5zp5xd0/YCKCDcliCJjbouUdA=; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <4C003DC9.3010603@FreeBSD.org> Date: Sat, 29 May 2010 00:49:42 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <24F13A00-3F17-4EAE-9C82-CE889ACA1573@lavabit.com> References: <4C00250D.10603@FreeBSD.org> <4C003DC9.3010603@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1078) X-Mailman-Approved-At: Tue, 01 Jun 2010 11:20:07 +0000 Cc: freebsd-current@FreeBSD.org Subject: Re: wpa_supplicant (Was: Re: wpi not working on today's current (r208626)) 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, 28 May 2010 23:49:50 -0000 On 28 May 2010, at 23:03, Doug Barton wrote: > On 05/28/10 13:18, Doug Barton wrote: >> I am trying to update -current in order to try kib's patch for the >> nvidia driver, and the wpi driver won't establish a connection. I'm >> using r207134 right now without any problems, but that's a long time >> back to try and do a binary search. >>=20 >> I don't see any changes to wpi or wpa_supplicant between then and = now, >> anyone have an idea of where to look? My WAP is using WPA2 with AES = if >> that's any help. >=20 > Correction, the problem seems to be more generally with = wpa_supplicant. I tried with the new kernel and my ath PCMCIA card = (AR5416 mac 13.10 RF2133 phy 8.1) and it doesn't work with the latest = kernel either. However, the same card is working fine with the older = kernel (I'm using it now). I don't know what problem you're having but try using wlandebug to = understand what's going on. Regards, -- Rui Paulo From owner-freebsd-current@FreeBSD.ORG Mon May 31 11:17:55 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 106B31065672 for ; Mon, 31 May 2010 11:17:55 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.freebsd.org (Postfix) with ESMTP id 83D208FC0C for ; Mon, 31 May 2010 11:17:54 +0000 (UTC) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 968BE6BE1F50; Mon, 31 May 2010 18:57:54 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mmlab.cse.yzu.edu.tw; s=test; t=1275303474; bh=tt6CryQW8tjLpBDKT3Sqj62FvG2bQ+gMupO5PJ2N+Qs=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=ivyDLN0ngMYxz/ol0MFJC916G0o/OATYLrW0gwXR9DIDSIEaFs57r2mxv1lgQU6Lq RxoMHD6Dl+Trz5c7ZbkzZ/QXZIBb9fgkJjh8YlvnCeg74tjIJwnLOI2yYazCzXqVn5 Na9fAcAmDncGYcyi8lMaK9+7+L95+hyoqV+0GVL8= Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 946F86BE1F4C; Mon, 31 May 2010 18:57:54 +0800 (CST) Date: Mon, 31 May 2010 18:57:54 +0800 (CST) From: Tai-hwa Liang To: Marcel Moolenaar In-Reply-To: Message-ID: <10053118405112.90489@www.mmlab.cse.yzu.edu.tw> References: <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> <0904021314574.37737@www.mmlab.cse.yzu.edu.tw> <09040309313414.76643@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Tue, 01 Jun 2010 11:20:46 +0000 Cc: freebsd-current@freebsd.org Subject: Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL 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: Mon, 31 May 2010 11:17:55 -0000 On Thu, 2 Apr 2009, Marcel Moolenaar wrote: > On Apr 2, 2009, at 6:35 PM, Tai-hwa Liang wrote: > >> On Thu, 2 Apr 2009, Marcel Moolenaar wrote: >>> Can you dump the first 2 sectors of slice 3 and >>> send it to me: >>> dd if=/dev/ad0s3 of=/tmp/dump.dd count=2 bs=512 > > *snip* >> 000001b0 00 00 00 00 00 f2 0e 00 00 00 00 00 00 00 00 01 >> |................| >> 000001c0 c1 ff 83 ef ff ff 3f 00 00 00 21 17 00 01 00 00 >> |......?...!.....| >> 000001d0 c1 ff 05 ef ff ff 60 17 00 01 b0 a8 fe 02 00 00 >> |......`.........| >> 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> |................| >> 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa >> |..............U.| > *snip* > > It looks like you have a boot menu entry at 0x1b6. Can you > try the following patch: > > Index: g_part_ebr.c > =================================================================== > --- g_part_ebr.c (revision 190655) > +++ g_part_ebr.c (working copy) > @@ -403,9 +403,13 @@ > if (magic != DOSMAGIC) > goto out; > > - /* The sector is all zeroes, except for the partition entries. */ > + /* > + * The sector is all zeroes, except for the partition entries > + * and a possible IBM Boot Manager menu entry. The menu entry > + * is 9 bytes in length and preceeds the partition entries. > + */ > sum = 0; > - for (index = 0; index < DOSPARTOFF; index++) > + for (index = 0; index < DOSPARTOFF - 9; index++) > sum += buf[index]; > if (sum != 0) > goto out; > > > The real fix will be a bit more involved, because we should > avoid wiping out the boot menu entry on a write. But at least > with the patch you should be able to read the EBR. Hi Marcel, Excuse me for bringing this old topic back. Just found another configuration which will cause the checksumming in current g_part_ebr.c returns !0 value: # gpart show => 63 625142385 ad4 MBR (298G) 63 1 - free - (512B) 64 182466206 1 !7 (87G) 182466270 20980890 2 freebsd [active] (10G) 203447160 398395935 3 !15 (190G) 601843095 23294250 4 !7 (11G) 625137345 5103 - free - (2.5M) => 0 20980890 ad4s2 BSD (10G) 0 16 - free - (8.0K) 16 786432 1 freebsd-ufs (384M) 786448 2097152 2 freebsd-swap (1.0G) 2883600 786432 4 freebsd-ufs (384M) 3670032 17310858 5 freebsd-ufs (8.3G) # dd if=/dev/ad4s3 count=2 bs=512 | hexdump -C 00000000 eb 48 90 00 00 00 00 00 00 00 00 00 00 00 00 00 |.H..............| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 02 |................| 00000040 ff 01 00 80 5c 60 c3 10 00 08 fa 90 90 f6 c2 80 |....\`..........| 00000050 75 02 b2 80 ea 59 7c 00 00 31 c0 8e d8 8e d0 bc |u....Y|..1......| 00000060 00 20 fb a0 40 7c 3c ff 74 02 88 c2 52 be 81 7d |. ..@|<.t...R..}| 00000070 e8 36 01 f6 c2 80 74 56 b4 41 bb aa 55 cd 13 5a |.6....tV.A..U..Z| 00000080 52 72 4b 81 fb 55 aa 75 45 a0 41 7c 84 c0 78 3e |RrK..U.uE.A|..x>| 00000090 75 05 83 e1 01 74 37 66 8b 4c 10 be 05 7c c6 44 |u....t7f.L...|.D| 000000a0 ff 01 66 8b 1e 44 7c c7 04 10 00 c7 44 02 01 00 |..f..D|.....D...| 000000b0 66 89 5c 08 c7 44 06 00 70 66 31 c0 89 44 04 66 |f.\..D..pf1..D.f| 000000c0 89 44 0c b4 42 cd 13 72 05 bb 00 70 eb 7d b4 08 |.D..B..r...p.}..| 000000d0 cd 13 73 0a f6 c2 80 0f 84 e8 00 e9 8d 00 be 05 |..s.............| 000000e0 7c c6 44 ff 00 66 31 c0 88 f0 40 66 89 44 04 31 ||.D..f1...@f.D.1| 000000f0 d2 88 ca c1 e2 02 88 e8 88 f4 40 89 44 08 31 c0 |..........@.D.1.| 00000100 88 d0 c0 e8 02 66 89 04 66 a1 44 7c 66 31 d2 66 |.....f..f.D|f1.f| 00000110 f7 34 88 54 0a 66 31 d2 66 f7 74 04 88 54 0b 89 |.4.T.f1.f.t..T..| 00000120 44 0c 3b 44 08 7d 3c 8a 54 0d c0 e2 06 8a 4c 0a |D.;D.}<.T.....L.| 00000130 fe c1 08 d1 8a 6c 0c 5a 8a 74 0b bb 00 70 8e c3 |.....l.Z.t...p..| 00000140 31 db b8 01 02 cd 13 72 2a 8c c3 8e 06 48 7c 60 |1......r*....H|`| 00000150 1e b9 00 01 8e db 31 f6 31 ff fc f3 a5 1f 61 ff |......1.1.....a.| 00000160 26 42 7c be 87 7d e8 40 00 eb 0e be 8c 7d e8 38 |&B|..}.@.....}.8| 00000170 00 eb 06 be 96 7d e8 30 00 be 9b 7d e8 2a 00 eb |.....}.0...}.*..| 00000180 fe 47 52 55 42 20 00 47 65 6f 6d 00 48 61 72 64 |.GRUB .Geom.Hard| 00000190 20 44 69 73 6b 00 52 65 61 64 00 20 45 72 72 6f | Disk.Read. Erro| 000001a0 72 00 bb 01 00 b4 0e cd 10 ac 3c 00 75 f4 c3 00 |r.........<.u...| 000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 |................| 000001c0 c1 ff 82 fe ff ff 3f 00 00 00 84 1c 20 00 00 fe |......?..... ...| 000001d0 ff ff 05 fe ff ff c3 1c 20 00 81 53 2a 01 00 00 |........ ..S*...| 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 Not sure which utility wrote code into 0x0 ~ 0x1bd; however, after removing the "if (sum != 0) goto out;" fragment from g_part_ebr_probe, /dev/ad4s[5-9] came back to work. Without this hack, RELENG_8 and afterwards(switching from GEOM_MBR to GEOM_PART_[ME]BR) won't give me an usable /home. http://en.wikipedia.org/wiki/Extended_boot_record says that there may be another boot loader inside 0x0 ~ 0x1bd. If that's the case, I'm wondering if there is any disadvantage to disable the checksumming against 0x60 ~ 0x1b5? -- Thanks, Tai-hwa Liang From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 13:27:27 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 8F4E81065675 for ; Tue, 1 Jun 2010 13:27:27 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD948FC1E for ; Tue, 1 Jun 2010 13:27:26 +0000 (UTC) Received: from [192.168.0.70] (0x573fa596.cpe.ge-1-1-0-1109.ronqu1.customer.tele.dk [87.63.165.150]) by csmtp2.one.com (Postfix) with ESMTP id 5C52E1B002C84; Tue, 1 Jun 2010 13:27:25 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-346-738901367; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Tue, 1 Jun 2010 15:27:24 +0200 Message-Id: <1338E9E1-5717-4841-9AC0-4B45D127C9C3@cederstrand.dk> References: To: bf1783@gmail.com X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@FreeBSD.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 13:27:27 -0000 --Apple-Mail-346-738901367 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 01/06/2010 kl. 12.19 skrev b. f.: >=20 > Also, others have announced that they are running regression tests on > systems built with clang. Would it be possible to set up some > regularly scheduled tests to uncover possible problems, if this hasn't > been done already? As far as I know, regression tests in FreeBSD are pretty sporadic, and a = real regression testing system is an open project = (http://www.freebsd.org/projects/ideas/ideas.html#p-regression). There's a collection of tests in src/tools/regression which can be run = by installing devel/p5-Test-Harness. It does seem like the tests are in = a sorry state, as an insane amount of tests are failing for me: freebsd# uname -a FreeBSD freebsd.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 = 15:02:08 UTC 2009 = root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 freebsd# cd /usr/src/tools/regression/ freebsd# prove fstest/tests/chflags fstest/tests/chflags/00.t .. ok =20 fstest/tests/chflags/01.t .. Failed 5/5 subtests=20 fstest/tests/chflags/02.t .. Failed 6/6 subtests=20 fstest/tests/chflags/03.t .. Failed 13/13 subtests=20 [...] Result: FAIL clangbsd# uname -a FreeBSD clangbsd.local 9.0-CURRENT FreeBSD 9.0-CURRENT #2 = r208586:208611M: Thu May 27 23:35:35 CEST 2010 = root@vb_fbsd8.local:/usr/obj/usr/home/erik/freebsd/clangbsd/src/sys/GENERI= C amd64 clangbsd# cd /usr/src/tools/regression/ clangbsd# prove fstest/tests/chflags fstest/tests/chflags/00.t .. ok =20 fstest/tests/chflags/01.t .. Failed 5/5 subtests=20 fstest/tests/chflags/02.t .. Failed 6/6 subtests=20 fstest/tests/chflags/03.t .. Failed 13/13 subtests=20 [...] Result: FAIL Thanks, Erik= --Apple-Mail-346-738901367-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 13:47:26 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 1B27F106566B for ; Tue, 1 Jun 2010 13:47:26 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id F0C4C8FC13 for ; Tue, 1 Jun 2010 13:47:25 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id F3D335C85; Tue, 1 Jun 2010 13:47:25 +0000 (UTC) Date: Tue, 1 Jun 2010 14:47:20 +0100 From: Bruce Cran To: Erik Cederstrand Message-ID: <20100601144720.00001197@unknown> In-Reply-To: <1338E9E1-5717-4841-9AC0-4B45D127C9C3@cederstrand.dk> References: <1338E9E1-5717-4841-9AC0-4B45D127C9C3@cederstrand.dk> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bf1783@gmail.com, freebsd-current@FreeBSD.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 13:47:26 -0000 On Tue, 1 Jun 2010 15:27:24 +0200 Erik Cederstrand wrote: > There's a collection of tests in src/tools/regression which can be > run by installing devel/p5-Test-Harness. It does seem like the tests > are in a sorry state, as an insane amount of tests are failing for me: I get quite a different result on my standard 9-CURRENT system, testing a UFS filesystem: router# prove -r /usr/src/tools/regression/fstest/tests/chflags /usr/src/tools/regression/fstest/tests/chflags/00.t .. ok /usr/src/tools/regression/fstest/tests/chflags/01.t .. ok /usr/src/tools/regression/fstest/tests/chflags/02.t .. ok /usr/src/tools/regression/fstest/tests/chflags/03.t .. ok /usr/src/tools/regression/fstest/tests/chflags/04.t .. ok /usr/src/tools/regression/fstest/tests/chflags/05.t .. ok /usr/src/tools/regression/fstest/tests/chflags/06.t .. ok /usr/src/tools/regression/fstest/tests/chflags/07.t .. ok /usr/src/tools/regression/fstest/tests/chflags/08.t .. ok /usr/src/tools/regression/fstest/tests/chflags/09.t .. ok /usr/src/tools/regression/fstest/tests/chflags/10.t .. ok /usr/src/tools/regression/fstest/tests/chflags/11.t .. ok /usr/src/tools/regression/fstest/tests/chflags/12.t .. ok /usr/src/tools/regression/fstest/tests/chflags/13.t .. ok All tests successful. Files=14, Tests=631, 123 wallclock secs ( 1.95 usr 0.41 sys + 8.50 cusr 29.30 csys = 40.16 CPU) Result: PASS Don't know what that proves though :P -- Bruce Cran From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 14:03:39 2010 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 8D3EA1065674; Tue, 1 Jun 2010 14:03:39 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4C63A8FC3C; Tue, 1 Jun 2010 14:03:39 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o51E3dSt063602; Tue, 1 Jun 2010 07:03:39 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o51E3c4X063601; Tue, 1 Jun 2010 07:03:38 -0700 (PDT) (envelope-from sgk) Date: Tue, 1 Jun 2010 07:03:38 -0700 From: Steve Kargl To: Alban Hertroys Message-ID: <20100601140338.GA63489@troutmask.apl.washington.edu> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <338E3C69-1542-4F0D-89C4-C96EA3575AEA@solfertje.student.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <338E3C69-1542-4F0D-89C4-C96EA3575AEA@solfertje.student.utwente.nl> User-Agent: Mutt/1.4.2.3i Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 14:03:39 -0000 On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: > > Compiler bugs in gcc are probably just as hard to find as > compiler bugs in clang, but if you have multiple compilers > at your disposal you can determine that you're probably > looking at a compiler bug instead of a FreeBSD bug. > > Especially once there are users running the same code compiled > with gcc and with clang it should be /easier/ to determine > whether it's a compiler bug or not. Seeing a "Y doesn't work > for me compiled with clang" vs. "Y works for me compiled with > gcc" or vice versa would mean that the problem is likely in > one of the compilers. > Apparently, you've never read a programming language standard document. You could run into the above situation where both compilers are behaving correctly. Most language standards contain language of the form "processor dependent behavior" or "implementation defined behavior". Here's an example from a draft of the C standard (n1256.pdf). 3.4.1 implementation-defined behavior unspecified behavior where each implementation documents how the choice is made EXAMPLE: An example of implementation-defined behavior is the propagation of the high-order bit when a signed integer is shifted right. -- Steve From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 14:20:06 2010 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 701AC106566B; Tue, 1 Jun 2010 14:20:06 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from zimbra.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id 35D2F8FC1E; Tue, 1 Jun 2010 14:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.jrv.org (Postfix) with ESMTP id 10EC216A055; Tue, 1 Jun 2010 09:20:05 -0500 (CDT) X-Virus-Scanned: amavisd-new at zimbra.housenet.jrv Received: from zimbra.jrv.org ([127.0.0.1]) by localhost (zimbra.housenet.jrv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4mALA7efzOL; Tue, 1 Jun 2010 09:20:04 -0500 (CDT) Received: from [10.0.2.15] (adsl-70-243-84-14.dsl.austtx.swbell.net [70.243.84.14]) by zimbra.jrv.org (Postfix) with ESMTPSA id 4E1E316A053; Tue, 1 Jun 2010 09:20:04 -0500 (CDT) Message-ID: <4C051732.3070208@jrv.org> Date: Tue, 01 Jun 2010 09:20:34 -0500 From: "James R. Van Artsdalen" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kostik Belousov References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> <4C04587E.70800@freebsd.org> <20100601083809.GF83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100601083809.GF83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lawrence Stewart , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 14:20:06 -0000 On 6/1/2010 3:38 AM, Kostik Belousov wrote: > This is unsufficient. What could work is if clang provided some common > symbol into all .o files generated by it, e.g. __clang_compiled. And > then kernel considered tainted with corresponding banner printed when > weak reference to that symbol is resolved to non-zero. This does not > handle modules and does not cleanly handle usermode runtime (libc, > libthr, rtld etc). > Would it be sufficient if send-pr were modified to test the kernel, all loaded modules, and shared objects in /lib, /usr/lib and /usr/local/lib, and to list all items that were _not_ marked with the default compiler & version? From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 14:50:04 2010 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 94FDF1065673; Tue, 1 Jun 2010 14:50:04 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4F63A8FC15; Tue, 1 Jun 2010 14:50:04 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 416951FFC33; Tue, 1 Jun 2010 14:50:03 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 15B9C844CC; Tue, 1 Jun 2010 16:47:54 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Kostik Belousov References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Tue, 01 Jun 2010 16:47:53 +0200 In-Reply-To: <20100531095617.GR83316@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Mon, 31 May 2010 12:56:17 +0300") Message-ID: <86iq62olly.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 14:50:04 -0000 Kostik Belousov writes: > I do not object to a single point in your message. On the other hand, all > said could be labeled as distilled propaganda. Perhaps, but... > [...] This immediately makes the bug reports against HEAD almost > useless, since level of demotivation when looking at the bug is > immense. When you do know that the issue can be in the compiler, and > not the OS, why looking ? ...so is this. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 14:58:04 2010 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 B6D3F1065758; Tue, 1 Jun 2010 14:58:04 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 72FAA8FC13; Tue, 1 Jun 2010 14:58:04 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 98A7C1FFC34; Tue, 1 Jun 2010 14:58:03 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 684B8844CC; Tue, 1 Jun 2010 16:55:54 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Attilio Rao References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> Date: Tue, 01 Jun 2010 16:55:54 +0200 In-Reply-To: (Attilio Rao's message of "Mon, 31 May 2010 12:54:29 +0200") Message-ID: <86eigqol8l.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 14:58:04 -0000 Attilio Rao writes: > I really would like to see CLANG more integrated with FreeBSD only > when there are 0 or similar (well-known, already analyzed, listed > somewhere, etc.) bugs by the compiler [...] Does this means you're planning to remove GCC, since it has tons of known bugs? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 15:47:10 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 2304010657D6; Tue, 1 Jun 2010 15:47:10 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DAF928FC13; Tue, 1 Jun 2010 15:47:09 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9461D46C0C; Tue, 1 Jun 2010 11:47:09 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 00E258A027; Tue, 1 Jun 2010 11:47:07 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 1 Jun 2010 11:25:00 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> In-Reply-To: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006011125.00062.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 01 Jun 2010 11:47:07 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Ivan Voras Subject: Re: SUJ and "mount" reporting 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: Tue, 01 Jun 2010 15:47:10 -0000 On Monday 31 May 2010 6:44:07 am Scott Long wrote: > On May 31, 2010, at 3:08 AM, Ivan Voras wrote: > > On 05/31/10 02:25, Bjoern A. Zeeb wrote: > >> On Mon, 31 May 2010, Ivan Voras wrote: > >> > >>> Shouldn't SU+J be visible in the output of "mount" somehow? I've just > >>> enabled it on a root file system of a machine and while tunefs and > >>> dumpfs report both soft-updates and SUJ are enabled (after reboot), > >>> the "mount" command only shows "soft-updates". Alternative question: > >>> how to verify is it active on a live file system? > >>> > >>> (running CURRENT from a few hours ago, kernel&world synced) > >> > >> As previously stated - this is a hack to do what I think you are > >> asking for: > >> http://people.freebsd.org/~bz/20100309-03-mount.diff > > > > Yes, this looks like it... > > > >> Using tunefs, etc. for now would be better. > > > > I did use tunefs, as I've said, but I'm concerned what would happen (if > > it can - stale kernel?) if the superblock that tunefs reads from the > > disk and the kernel state are different. > > > > MNT_* flags need to be deprecated, and the attributes passed in both directions as key-value pairs. I don't know if anyone else has thought about this and what it means for backwards compatibility. My understanding of nmount() is that that is what it does now. However, not everything is fully updated for nmount(). struct nfsargs is still passed in as a blob value with the key "nfsargs" for example. Presumably SUJ could be reported the same way SU is done now. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 15:47:13 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 06A281065804; Tue, 1 Jun 2010 15:47:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6B78FC20; Tue, 1 Jun 2010 15:47:12 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D16DE46C0A; Tue, 1 Jun 2010 11:47:11 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id AB0588A025; Tue, 1 Jun 2010 11:47:10 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 1 Jun 2010 11:26:02 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100530025541.GA19805@FreeBSD.org> In-Reply-To: <20100530025541.GA19805@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006011126.02396.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 01 Jun 2010 11:47:10 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Craig Rodrigues , "datastream datastream.freecity" Subject: Re: nvidia-driver 195.22 use horribly broken on amd64 between r206173 and 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: Tue, 01 Jun 2010 15:47:13 -0000 On Saturday 29 May 2010 10:55:41 pm Craig Rodrigues wrote: > On Sun, May 30, 2010 at 02:48:13AM +0800, datastream datastream.freecity wrote: > > > http://www.nvnews.net/vbulletin/showthread.php?t=150719 > > NVIDIA-FreeBSD-x86_64-195.36.24 with r208117 in my T61 laptop works well. > > Hi, > > I did the following: > > - updated r208649 > - applied following patch to nvidia-driver port which bumps driver version > up to 195.36.24, and also applies kib's patch > > My system still hangs after doing a startx. > > I also tried recompiling the driver *without* kib's patch, and my > system still hangs. I've asked the driver author if the calls to vm_page_wire() and vm_page_unwire() can simply be removed but have not heard back yet. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 15:47:15 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 3D38310656EF; Tue, 1 Jun 2010 15:47:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4E58F8FC21; Tue, 1 Jun 2010 15:47:14 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7F99646C10; Tue, 1 Jun 2010 11:47:13 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id B15F98A021; Tue, 1 Jun 2010 11:47:12 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 1 Jun 2010 11:41:09 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100530143034.GH43302@hades.panopticon> <20100530150622.GJ83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100530150622.GJ83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006011141.09699.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 01 Jun 2010 11:47:12 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Kostik Belousov , Dmitry Marakasov , freebsd-stable@freebsd.org Subject: Re: need better POSIX semaphore support 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: Tue, 01 Jun 2010 15:47:15 -0000 On Sunday 30 May 2010 11:06:22 am Kostik Belousov wrote: > On Sun, May 30, 2010 at 06:30:35PM +0400, Dmitry Marakasov wrote: > > Hi! > > > > Not long ago, POSIX semaphores support was enabled by default as it's > > becoming more widely used, by e.g. firefox. However, the support > > for these is still incomplete: we only have systemwide limit of 30 > > semaphores, and that doesn't seem to be configurable neither online with > > sysctl, nor at boottime from loader.conf. I only was able to raise > > semaphore count by changing SEM_MAX in kernel sources. > > > > The real appliaction which needs more semaphores is lightspark > > (graphics/lightspark-devel) flash plugin - it uses ~40 sems for simple > > clips and ~250 for something like youtube videos. > > > > Until there more apps that require proper semaphore support, I guess > > we need to improve it asap. Given the amount of memory used by ksem, > > the least can be done is SEM_MAX bumped up to 5120 or so for > > non-embedded kernels. 5120 semaphores require just 644k of kernel > > memory (judging by vmstat), and is "ought to be enough for anybody". > > Another good thing would be to make it configurable at boot-time > > or even better in runtime. > > HEAD contains different implementation. Apparently, it did not made > into stable/8 yet, so it will not appear in the 8.1. The one thing I don't like about this approach is you can write the variable even when sem.ko isn't loaded. The SEM_* values should really only exist when sem.ko is loaded I think, which requires moving them into uipc_sem.c. > Try this, I could try to squeeze it into 8.1. > > diff --git a/sys/kern/posix4_mib.c b/sys/kern/posix4_mib.c > index 5242b31..41e28da 100644 > --- a/sys/kern/posix4_mib.c > +++ b/sys/kern/posix4_mib.c > @@ -57,6 +57,9 @@ SYSCTL_DECL(_p1003_1b); > #define P1B_SYSCTL(num, name) \ > SYSCTL_INT(_p1003_1b, num, \ > name, CTLFLAG_RD, facility + num - 1, 0, ""); > +#define P1B_SYSCTL_RW(num, name) \ > +SYSCTL_INT(_p1003_1b, num, \ > + name, CTLFLAG_RW, facility + num - 1, 0, ""); > > #else > > @@ -65,6 +68,9 @@ SYSCTL_DECL(_kern_p1003_1b); > #define P1B_SYSCTL(num, name) \ > SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \ > name, CTLFLAG_RD, facility + num - 1, 0, ""); > +#define P1B_SYSCTL_RW(num, name) \ > +SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \ > + name, CTLFLAG_RW, facility + num - 1, 0, ""); > SYSCTL_NODE(_kern, OID_AUTO, p1003_1b, CTLFLAG_RW, 0, "P1003.1B"); > > #endif > @@ -91,7 +97,7 @@ P1B_SYSCTL(CTL_P1003_1B_DELAYTIMER_MAX, delaytimer_max); > P1B_SYSCTL(CTL_P1003_1B_MQ_OPEN_MAX, mq_open_max); > P1B_SYSCTL(CTL_P1003_1B_PAGESIZE, pagesize); > P1B_SYSCTL(CTL_P1003_1B_RTSIG_MAX, rtsig_max); > -P1B_SYSCTL(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); > +P1B_SYSCTL_RW(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); > P1B_SYSCTL(CTL_P1003_1B_SEM_VALUE_MAX, sem_value_max); > P1B_SYSCTL(CTL_P1003_1B_SIGQUEUE_MAX, sigqueue_max); > P1B_SYSCTL(CTL_P1003_1B_TIMER_MAX, timer_max); > -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 16:24:48 2010 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 669951065676; Tue, 1 Jun 2010 16:24:48 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD238FC12; Tue, 1 Jun 2010 16:24:47 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id o51GNXDu045169; Tue, 1 Jun 2010 11:23:33 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id o51GNXgU045168; Tue, 1 Jun 2010 11:23:33 -0500 (CDT) (envelope-from brooks) Date: Tue, 1 Jun 2010 11:23:32 -0500 From: Brooks Davis To: Dag-Erling Sm??rgrav Message-ID: <20100601162332.GA35104@lor.one-eyed-alien.net> References: <20100531225732.GF31972@lor.one-eyed-alien.net> <86sk57nmfl.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <86sk57nmfl.fsf@ds4.des.no> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 01 Jun 2010 11:23:34 -0500 (CDT) Cc: arch@freebsd.org, Brooks Davis , current@freebsd.org Subject: Re: BSDCan Toolchain Summit Summary 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: Tue, 01 Jun 2010 16:24:48 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 11:15:26AM +0200, Dag-Erling Sm??rgrav wrote: > Brooks Davis writes: > > http://wiki.freebsd.org/201005ToolchainSummitSummary >=20 > "No new functionality that requires clang/llvm." >=20 > How about "No new functionality with non-trivial incompatibilities with > clang/llvm"? That too. I'll add it to the real roadmap page once I create it. As long as people are willing to avoid the darker areas of gcc misfeatures that shouldn't be a problem in general, but I agree stating it as a target is a good idea. -- Brooks --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFMBTQEXY6L6fI4GtQRAnxnAJ9ZCsuIQ2B++yGh7qe6vOHiN5nnzACfbEdr IbEl7IGDjfNYcTip/OYmXLY= =DGje -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 16:34:44 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 C0F851065674; Tue, 1 Jun 2010 16:34:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6538FC1C; Tue, 1 Jun 2010 16:34:44 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 35DD646B06; Tue, 1 Jun 2010 12:34:44 -0400 (EDT) Date: Tue, 1 Jun 2010 17:34:44 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <201006011125.00062.jhb@freebsd.org> Message-ID: References: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> <201006011125.00062.jhb@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: SUJ and "mount" reporting 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: Tue, 01 Jun 2010 16:34:44 -0000 On Tue, 1 Jun 2010, John Baldwin wrote: >> MNT_* flags need to be deprecated, and the attributes passed in both >> directions as key-value pairs. I don't know if anyone else has thought >> about this and what it means for backwards compatibility. > > My understanding of nmount() is that that is what it does now. However, not > everything is fully updated for nmount(). struct nfsargs is still passed in > as a blob value with the key "nfsargs" for example. Presumably SUJ could be > reported the same way SU is done now. nmount is rather one-way -- we need an nstatfs (or similar) to extract statistics, paramaters, etc, from file systems in an extensible way that matches nmount. This would make it much easier to export any number of things, including NFS properties. Robert From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 16:38:43 2010 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 841A41065673; Tue, 1 Jun 2010 16:38:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5D84F8FC08; Tue, 1 Jun 2010 16:38:43 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 0F3AB46B17; Tue, 1 Jun 2010 12:38:43 -0400 (EDT) Date: Tue, 1 Jun 2010 17:38:42 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Brooks Davis In-Reply-To: <20100601162332.GA35104@lor.one-eyed-alien.net> Message-ID: References: <20100531225732.GF31972@lor.one-eyed-alien.net> <86sk57nmfl.fsf@ds4.des.no> <20100601162332.GA35104@lor.one-eyed-alien.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Dag-Erling Sm??rgrav , current@freebsd.org, arch@freebsd.org Subject: Re: BSDCan Toolchain Summit Summary 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: Tue, 01 Jun 2010 16:38:43 -0000 On Tue, 1 Jun 2010, Brooks Davis wrote: > On Tue, Jun 01, 2010 at 11:15:26AM +0200, Dag-Erling Sm??rgrav wrote: >> Brooks Davis writes: >>> http://wiki.freebsd.org/201005ToolchainSummitSummary >> >> "No new functionality that requires clang/llvm." >> >> How about "No new functionality with non-trivial incompatibilities with >> clang/llvm"? > > That too. I'll add it to the real roadmap page once I create it. > > As long as people are willing to avoid the darker areas of gcc misfeatures > that shouldn't be a problem in general, but I agree stating it as a target > is a good idea. I think the gist of our discussion was really about where we can/should introduce new dependencies on features specific to clang/llvm. For example, there are some quite interesting ideas about distributing binaries in the LLVM intermediate format and doing on-the-fly tuning for the architecture we find ourselves running on. This is pretty neat stuff, but it does mean that it won't be available in the immediate future for architectures not supported by LLVM or for shops that have to use external non-LLVM-based toolchain parts (such as compilers for specific embedded platforms). I think the consensus from the meeting was that we should start to explore the possible, but that key OS features that don't strictly require new compiler/etc functionality should not be caused to unnecessarily depend on them. This doesn't prohibit doing interesting runtime reoptimization stuff, but it does prohibit making it so that the OS won't work without them. Robert From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 16:55:02 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 A9A731065675 for ; Tue, 1 Jun 2010 16:55:02 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 862F68FC1C for ; Tue, 1 Jun 2010 16:55:02 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L3C006XSHND6590@asmtp029.mac.com> for freebsd-current@freebsd.org; Tue, 01 Jun 2010 09:54:50 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006010102 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-01_02:2010-02-06, 2010-06-01, 2010-06-01 signatures=0 From: Marcel Moolenaar In-reply-to: <10053118405112.90489@www.mmlab.cse.yzu.edu.tw> Date: Tue, 01 Jun 2010 09:54:49 -0700 Message-id: <3CEA6831-076A-4DA6-8B11-509018BB9768@mac.com> References: <95891.1238477069@critter.freebsd.dk> <20090331133132.1e191836@ernst.jennejohn.org> <20090331155542.74d89d64@ernst.jennejohn.org> <60084D1E-9F64-463A-A8E9-7A237D5C7661@mac.com> <0904011910169.29800@www.mmlab.cse.yzu.edu.tw> <0904020940371.36257@www.mmlab.cse.yzu.edu.tw> <4CCDEFD6-830E-4C8F-B7A2-B7878F8842BE@mac.com> <0904021314574.37737@www.mmlab.cse.yzu.edu.tw> <09040309313414.76643@www.mmlab.cse.yzu.edu.tw> <10053118405112.90489@www.mmlab.cse.yzu.edu.tw> To: Tai-hwa Liang X-Mailer: Apple Mail (2.1078) Cc: freebsd-current@freebsd.org Subject: Re: Removal of GEOM_BSD, GEOM_MBR, GEOM_PC98 and GEOM_SUNLABEL 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: Tue, 01 Jun 2010 16:55:02 -0000 On May 31, 2010, at 3:57 AM, Tai-hwa Liang wrote: > > http://en.wikipedia.org/wiki/Extended_boot_record says that there may > be another boot loader inside 0x0 ~ 0x1bd. If that's the case, I'm > wondering if there is any disadvantage to disable the checksumming > against 0x60 ~ 0x1b5? The intend was to prevent false positives. I think it's probably best to remove the checksumming and deal with false positives differently: such as by making sure that the partition has the right type... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 17:05:32 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 8177A106566C; Tue, 1 Jun 2010 17:05:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id C00ED8FC08; Tue, 1 Jun 2010 17:05:31 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o51H5eDd089021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jun 2010 20:05:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o51H5Qg1048913; Tue, 1 Jun 2010 20:05:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o51H5QFN048912; Tue, 1 Jun 2010 20:05:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 1 Jun 2010 20:05:26 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20100601170526.GJ83316@deviant.kiev.zoral.com.ua> References: <20100530143034.GH43302@hades.panopticon> <20100530150622.GJ83316@deviant.kiev.zoral.com.ua> <201006011141.09699.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zruoG3PDhkeTLwq7" Content-Disposition: inline In-Reply-To: <201006011141.09699.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Dmitry Marakasov Subject: Re: need better POSIX semaphore support 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: Tue, 01 Jun 2010 17:05:32 -0000 --zruoG3PDhkeTLwq7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 11:41:09AM -0400, John Baldwin wrote: > On Sunday 30 May 2010 11:06:22 am Kostik Belousov wrote: > > On Sun, May 30, 2010 at 06:30:35PM +0400, Dmitry Marakasov wrote: > > > Hi! > > >=20 > > > Not long ago, POSIX semaphores support was enabled by default as it's > > > becoming more widely used, by e.g. firefox. However, the support > > > for these is still incomplete: we only have systemwide limit of 30 > > > semaphores, and that doesn't seem to be configurable neither online w= ith > > > sysctl, nor at boottime from loader.conf. I only was able to raise > > > semaphore count by changing SEM_MAX in kernel sources. > > >=20 > > > The real appliaction which needs more semaphores is lightspark > > > (graphics/lightspark-devel) flash plugin - it uses ~40 sems for simple > > > clips and ~250 for something like youtube videos. > > >=20 > > > Until there more apps that require proper semaphore support, I guess > > > we need to improve it asap. Given the amount of memory used by ksem, > > > the least can be done is SEM_MAX bumped up to 5120 or so for > > > non-embedded kernels. 5120 semaphores require just 644k of kernel > > > memory (judging by vmstat), and is "ought to be enough for anybody". > > > Another good thing would be to make it configurable at boot-time > > > or even better in runtime. > >=20 > > HEAD contains different implementation. Apparently, it did not made > > into stable/8 yet, so it will not appear in the 8.1. >=20 > The one thing I don't like about this approach is you can write the > variable even when sem.ko isn't loaded. The SEM_* values should really > only exist when sem.ko is loaded I think, which requires moving them > into uipc_sem.c. I think the values should exist always, because sysconf(3) returns error (i.e. -1 and errno set) when sysctl fails. sysconf(3) interprets 0 result as "feature not supported". I modified the patch to only allow change of value when the module is loade= d. Also, the module unload now clears mib. As usual, module unload races are not handled. diff --git a/sys/kern/posix4_mib.c b/sys/kern/posix4_mib.c index 5242b31..cbe140d 100644 --- a/sys/kern/posix4_mib.c +++ b/sys/kern/posix4_mib.c @@ -45,6 +45,8 @@ __FBSDID("$FreeBSD$"); static int facility[CTL_P1003_1B_MAXID - 1]; static int facility_initialized[CTL_P1003_1B_MAXID - 1]; =20 +static int p31b_sysctl_proc(SYSCTL_HANDLER_ARGS); + /* OID_AUTO isn't working with sysconf(3). I guess I'd have to * modify it to do a lookup by name from the index. * For now I've left it a top-level sysctl. @@ -55,16 +57,21 @@ static int facility_initialized[CTL_P1003_1B_MAXID - 1]; SYSCTL_DECL(_p1003_1b); =20 #define P1B_SYSCTL(num, name) \ -SYSCTL_INT(_p1003_1b, num, \ - name, CTLFLAG_RD, facility + num - 1, 0, ""); + SYSCTL_INT(_p1003_1b, num, name, CTLFLAG_RD, facility + num - 1, 0, ""); +#define P1B_SYSCTL_RW(num, name) \ + SYSCTL_PROC(_p1003_1b, num, name, CTLTYPE_INT | CTLFLAG_RW, NULL, num, \ + p31b_sysctl_proc, "I", ""); =20 #else =20 SYSCTL_DECL(_kern_p1003_1b); =20 #define P1B_SYSCTL(num, name) \ -SYSCTL_INT(_kern_p1003_1b, OID_AUTO, \ - name, CTLFLAG_RD, facility + num - 1, 0, ""); + SYSCTL_INT(_kern_p1003_1b, OID_AUTO, name, CTLFLAG_RD, \ + facility + num - 1, 0, ""); +#define P1B_SYSCTL_RW(num, name) \ + SYSCTL_PROC(_p1003_1b, OID_AUTO, name, CTLTYPE_INT | CTLFLAG_RW, NULL, \ + num, p31b_sysctl_proc, "I", ""); SYSCTL_NODE(_kern, OID_AUTO, p1003_1b, CTLFLAG_RW, 0, "P1003.1B"); =20 #endif @@ -91,13 +98,28 @@ P1B_SYSCTL(CTL_P1003_1B_DELAYTIMER_MAX, delaytimer_max); P1B_SYSCTL(CTL_P1003_1B_MQ_OPEN_MAX, mq_open_max); P1B_SYSCTL(CTL_P1003_1B_PAGESIZE, pagesize); P1B_SYSCTL(CTL_P1003_1B_RTSIG_MAX, rtsig_max); -P1B_SYSCTL(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); +P1B_SYSCTL_RW(CTL_P1003_1B_SEM_NSEMS_MAX, sem_nsems_max); P1B_SYSCTL(CTL_P1003_1B_SEM_VALUE_MAX, sem_value_max); P1B_SYSCTL(CTL_P1003_1B_SIGQUEUE_MAX, sigqueue_max); P1B_SYSCTL(CTL_P1003_1B_TIMER_MAX, timer_max); =20 #define P31B_VALID(num) ((num) >=3D 1 && (num) < CTL_P1003_1B_MAXID) =20 +static int +p31b_sysctl_proc(SYSCTL_HANDLER_ARGS) +{ + int error, num, val; + + num =3D arg2; + if (!P31B_VALID(num)) + return (EINVAL); + val =3D facility_initialized[num] ? facility[num - 1] : 0; + error =3D sysctl_handle_int(oidp, &val, 0, req); + if (error =3D=3D 0 && req->newptr !=3D NULL && facility_initialized[num]) + facility[num - 1] =3D val; + return (error); +} + /* p31b_setcfg: Set the configuration */ void @@ -110,6 +132,14 @@ p31b_setcfg(int num, int value) } } =20 +void +p31b_unsetcfg(int num) +{ + + facility[num - 1] =3D 0; + facility_initialized[num -1] =3D 0; +} + int p31b_getcfg(int num) { diff --git a/sys/kern/uipc_sem.c b/sys/kern/uipc_sem.c index d9229ea..0b8f132 100644 --- a/sys/kern/uipc_sem.c +++ b/sys/kern/uipc_sem.c @@ -976,6 +976,8 @@ ksem_module_destroy(void) sx_destroy(&ksem_dict_lock); mtx_destroy(&ksem_count_lock); mtx_destroy(&sem_lock); + p31b_unsetcfg(CTL_P1003_1B_SEM_VALUE_MAX); + p31b_unsetcfg(CTL_P1003_1B_SEM_NSEMS_MAX); } =20 static int diff --git a/sys/sys/posix4.h b/sys/sys/posix4.h index ea379c0..34f77f4 100644 --- a/sys/sys/posix4.h +++ b/sys/sys/posix4.h @@ -64,6 +64,7 @@ int p31b_proc(struct proc *, pid_t, struct proc **); void p31b_setcfg(int, int); int p31b_getcfg(int); int p31b_iscfg(int); +void p31b_unsetcfg(int); =20 #ifdef _KPOSIX_PRIORITY_SCHEDULING =20 --zruoG3PDhkeTLwq7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwFPdYACgkQC3+MBN1Mb4icFwCeLtYMI7m6kuZ5t9X8YNFEg8dQ 7FkAn24sDS1zePA7HC5oDcgQ3cP3Gbu3 =T0aL -----END PGP SIGNATURE----- --zruoG3PDhkeTLwq7-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 17:10:21 2010 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 923B6106567C; Tue, 1 Jun 2010 17:10:21 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 723948FC14; Tue, 1 Jun 2010 17:10:21 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o51HAJsI064904; Tue, 1 Jun 2010 10:10:19 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o51HAJd2064903; Tue, 1 Jun 2010 10:10:19 -0700 (PDT) (envelope-from sgk) Date: Tue, 1 Jun 2010 10:10:19 -0700 From: Steve Kargl To: Brooks Davis Message-ID: <20100601171019.GA64873@troutmask.apl.washington.edu> References: <20100531225732.GF31972@lor.one-eyed-alien.net> <86sk57nmfl.fsf@ds4.des.no> <20100601162332.GA35104@lor.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100601162332.GA35104@lor.one-eyed-alien.net> User-Agent: Mutt/1.4.2.3i Cc: Dag-Erling Sm??rgrav , current@freebsd.org, arch@freebsd.org Subject: Re: BSDCan Toolchain Summit Summary 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: Tue, 01 Jun 2010 17:10:21 -0000 On Tue, Jun 01, 2010 at 11:23:32AM -0500, Brooks Davis wrote: > On Tue, Jun 01, 2010 at 11:15:26AM +0200, Dag-Erling Sm??rgrav wrote: > > Brooks Davis writes: > > > http://wiki.freebsd.org/201005ToolchainSummitSummary > > > > "No new functionality that requires clang/llvm." > > > > How about "No new functionality with non-trivial incompatibilities with > > clang/llvm"? > > That too. I'll add it to the real roadmap page once I create it. > > As long as people are willing to avoid the darker areas of gcc > misfeatures that shouldn't be a problem in general, but I agree stating > it as a target is a good idea. > You might add a first step to fix FreeBSD's libelf incompatibilities with other libelf implementations. http://gcc.gnu.org/ml/gcc/2010-05/msg00381.html -- Steve From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 17:19:30 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 415F81065675; Tue, 1 Jun 2010 17:19:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 10C7C8FC14; Tue, 1 Jun 2010 17:19:30 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id AE79B46C0C; Tue, 1 Jun 2010 13:19:29 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id E44198A025; Tue, 1 Jun 2010 13:19:28 -0400 (EDT) From: John Baldwin To: Kostik Belousov Date: Tue, 1 Jun 2010 13:19:22 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100530143034.GH43302@hades.panopticon> <201006011141.09699.jhb@freebsd.org> <20100601170526.GJ83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100601170526.GJ83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006011319.22275.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 01 Jun 2010 13:19:28 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, Dmitry Marakasov Subject: Re: need better POSIX semaphore support 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: Tue, 01 Jun 2010 17:19:30 -0000 On Tuesday 01 June 2010 1:05:26 pm Kostik Belousov wrote: > On Tue, Jun 01, 2010 at 11:41:09AM -0400, John Baldwin wrote: > > On Sunday 30 May 2010 11:06:22 am Kostik Belousov wrote: > > > On Sun, May 30, 2010 at 06:30:35PM +0400, Dmitry Marakasov wrote: > > > > Hi! > > > > > > > > Not long ago, POSIX semaphores support was enabled by default as it's > > > > becoming more widely used, by e.g. firefox. However, the support > > > > for these is still incomplete: we only have systemwide limit of 30 > > > > semaphores, and that doesn't seem to be configurable neither online with > > > > sysctl, nor at boottime from loader.conf. I only was able to raise > > > > semaphore count by changing SEM_MAX in kernel sources. > > > > > > > > The real appliaction which needs more semaphores is lightspark > > > > (graphics/lightspark-devel) flash plugin - it uses ~40 sems for simple > > > > clips and ~250 for something like youtube videos. > > > > > > > > Until there more apps that require proper semaphore support, I guess > > > > we need to improve it asap. Given the amount of memory used by ksem, > > > > the least can be done is SEM_MAX bumped up to 5120 or so for > > > > non-embedded kernels. 5120 semaphores require just 644k of kernel > > > > memory (judging by vmstat), and is "ought to be enough for anybody". > > > > Another good thing would be to make it configurable at boot-time > > > > or even better in runtime. > > > > > > HEAD contains different implementation. Apparently, it did not made > > > into stable/8 yet, so it will not appear in the 8.1. > > > > The one thing I don't like about this approach is you can write the > > variable even when sem.ko isn't loaded. The SEM_* values should really > > only exist when sem.ko is loaded I think, which requires moving them > > into uipc_sem.c. > > I think the values should exist always, because sysconf(3) returns > error (i.e. -1 and errno set) when sysctl fails. sysconf(3) interprets > 0 result as "feature not supported". > > I modified the patch to only allow change of value when the module is loaded. > Also, the module unload now clears mib. As usual, module unload races are > not handled. I think this looks good, thanks! -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 17:29:00 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 BC0FC1065673 for ; Tue, 1 Jun 2010 17:29:00 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id 6686A8FC08 for ; Tue, 1 Jun 2010 17:29:00 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:dca4:412a:6810:d00f] (unknown [IPv6:2002:51af:3dc3:0:dca4:412a:6810:d00f]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 69C8222 for ; Tue, 1 Jun 2010 19:28:30 +0200 (CEST) Message-ID: <4C054335.4040802@stillbilde.net> Date: Tue, 01 Jun 2010 19:28:21 +0200 From: "Svein Skogen (Listmail Account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <86eigqol8l.fsf@ds4.des.no> In-Reply-To: <86eigqol8l.fsf@ds4.des.no> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig636ADEDA0E6B1AAA56AD4882" Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 17:29:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig636ADEDA0E6B1AAA56AD4882 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01.06.2010 16:55, Dag-Erling Sm=C3=B8rgrav wrote: > Attilio Rao writes: >> I really would like to see CLANG more integrated with FreeBSD only >> when there are 0 or similar (well-known, already analyzed, listed >> somewhere, etc.) bugs by the compiler [...] >=20 > Does this means you're planning to remove GCC, since it has tons of > known bugs? Sounds more like a knee-jerk reaction to removal of GCC by a ... herd of gnus. ;) //Svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =C3=98stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enig636ADEDA0E6B1AAA56AD4882 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) iEYEARECAAYFAkwFQzgACgkQODUnwSLUlKR/aQCghjqWrmhQxQ/9PZ/jtaH4iBgB DlEAn0tsjJamjBX5g3Kg81KMm7691v7J =TXc9 -----END PGP SIGNATURE----- --------------enig636ADEDA0E6B1AAA56AD4882-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 17:46:40 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 641E51065672 for ; Tue, 1 Jun 2010 17:46:40 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from sunner.semmy.ru (sunner.semmy.ru [195.54.209.159]) by mx1.freebsd.org (Postfix) with ESMTP id 232F68FC26 for ; Tue, 1 Jun 2010 17:46:39 +0000 (UTC) Received: from [109.173.73.7] (helo=[172.16.100.23]) by sunner.semmy.ru with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OJV34-0008KI-1I for freebsd-current@freebsd.org; Tue, 01 Jun 2010 21:14:42 +0400 Message-ID: <4C054001.7040507@FreeBSD.org> Date: Tue, 01 Jun 2010 21:14:41 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Panic after upgrade 7.2 -> 7.3 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: Tue, 01 Jun 2010 17:46:40 -0000 Hi. Just after upgrade from 7.2-p5 to 7.3-p1 I've got periodic panics on my router (after about a hour uptime). Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 06 fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x20:0xc05994ca stack pointer = 0x28:0xc4e49a00 frame pointer = 0x28:0xc4e49a2c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 27 (irq25: bge0) trap number = 12 panic: page fault cpuid = 2 Uptime: 1h5m37s Physical memory: 2039 MB Dumping 180 MB: 165 149bge0: watchdog timeout -- resetting Backtrace: #0 doadump () at pcpu.h:196 #1 0xc054829f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0548564 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc070be40 in trap_fatal (frame=0xc4e499c0, eva=12) at /usr/src/sys/i386/i386/trap.c:950 #4 0xc070c090 in trap_pfault (frame=0xc4e499c0, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:863 #5 0xc070ca1a in trap (frame=0xc4e499c0) at /usr/src/sys/i386/i386/trap.c:541 #6 0xc06f153b in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0xc05994ca in m_copym (m=0x0, off0=1500, len=1480, wait=1) at /usr/src/sys/kern/uipc_mbuf.c:539 #8 0xc0609430 in ip_fragment (ip=0xc57dc010, m_frag=0xc4e49afc, mtu=1500, if_hwassist_flags=7, sw_csum=3840) at /usr/src/sys/netinet/ip_output.c:731 #9 0xc060a0ec in ip_output (m=0xc57ab300, opt=0x0, ro=0xc4e49b34, flags=1, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:570 #10 0xc0606fba in ip_forward (m=0xc57ab300, srcrt=0) at /usr/src/sys/netinet/ip_input.c:1366 #11 0xc0608533 in ip_input (m=0xc57ab300) at /usr/src/sys/netinet/ip_input.c:609 #12 0xc05e8fe9 in netisr_dispatch (num=2, m=0xc57ab300) at /usr/src/sys/net/netisr.c:185 #13 0xc05e34c9 in ether_demux (ifp=0xc517c000, m=0xc57ab300) at /usr/src/sys/net/if_ethersubr.c:834 #14 0xc05e389d in ether_input (ifp=0xc517c000, m=0xc57ab300) at /usr/src/sys/net/if_ethersubr.c:692 #15 0xc05e3428 in ether_demux (ifp=0xc5194c00, m=0xc57ab300) at /usr/src/sys/net/if_ethersubr.c:743 #16 0xc05e389d in ether_input (ifp=0xc5194c00, m=0xc57ab300) at /usr/src/sys/net/if_ethersubr.c:692 #17 0xc0478357 in bge_rxeof (sc=0xc5197000, rx_prod=295, holdlck=1) at /usr/src/sys/dev/bge/if_bge.c:3392 #18 0xc047a2db in bge_intr (xsc=0xc5197000) at /usr/src/sys/dev/bge/if_bge.c:3653 #19 0xc05265d8 in ithread_loop (arg=0xc518cbf0) at /usr/src/sys/kern/kern_intr.c:1181 #20 0xc0522eb1 in fork_exit (callout=0xc052643b , arg=0xc518cbf0, frame=0xc4e49d38) at /usr/src/sys/kern/kern_fork.c:811 FreeBSD xxx.xxx.xx 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #11: Thu May 27 18:10:35 MSD 2010 root@xxx.xxx.xx:/usr/obj/usr/src/sys/ROUTER i386 Any ideas? -- Sem. From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 19:05:16 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 028A21065673 for ; Tue, 1 Jun 2010 19:05:16 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (d80.iso100.no [81.175.61.195]) by mx1.freebsd.org (Postfix) with ESMTP id A88138FC16 for ; Tue, 1 Jun 2010 19:05:15 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:dca4:412a:6810:d00f] (unknown [IPv6:2002:51af:3dc3:0:dca4:412a:6810:d00f]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id C271A22; Tue, 1 Jun 2010 21:04:43 +0200 (CEST) Message-ID: <4C0559C2.60300@stillbilde.net> Date: Tue, 01 Jun 2010 21:04:34 +0200 From: "Svein Skogen (Listmail Account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Vanessa Kraus References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <86eigqol8l.fsf@ds4.des.no> <4C054335.4040802@stillbilde.net> <1275418622.1516.1.camel@pixi.PuffyBSD.Com> In-Reply-To: <1275418622.1516.1.camel@pixi.PuffyBSD.Com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE3086FA2055D7E8B48D78363" Cc: freebsd-current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Tue, 01 Jun 2010 19:05:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE3086FA2055D7E8B48D78363 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01.06.2010 20:57, Vanessa Kraus wrote: > It's exciting that there may soon be an option other than gcc for > FreeBSD. However I have a few questions. Is there going to be a syste= m > in place that will allow port maintainers to say "hey this port is now > built successfully with Clang" or "hey this port only builds > successfully with gcc"? Is it realistic to think that gnome and kde > could be built with Clang/LLVM now or in the future? Do you know when > you will be interested in being notified of arbitrary ports that wont > build with Clang, and where should these notifications be sent? Actually, such a system kind of already exists. It's called "build-depends" ;) //Svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =D8stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enigE3086FA2055D7E8B48D78363 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) iEYEARECAAYFAkwFWcYACgkQODUnwSLUlKQ5vACffm6iw+Z7N0XonsNF3aYIqEB9 BtwAoLoTtBahIOt/RME6zHHvdDkV9W/s =ge6r -----END PGP SIGNATURE----- --------------enigE3086FA2055D7E8B48D78363-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 19:38:14 2010 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 5E262106566B; Tue, 1 Jun 2010 19:38:14 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 42E1A8FC16; Tue, 1 Jun 2010 19:38:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L3C00HKWP7I8K50@asmtp030.mac.com>; Tue, 01 Jun 2010 12:38:07 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006010114 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-01_02:2010-02-06, 2010-06-01, 2010-06-01 signatures=0 From: Marcel Moolenaar In-reply-to: <20100531075248.GA15206@freebsd.org> Date: Tue, 01 Jun 2010 12:38:06 -0700 Message-id: References: <20100531075248.GA15206@freebsd.org> To: Roman Divacky X-Mailer: Apple Mail (2.1078) Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Tue, 01 Jun 2010 19:38:14 -0000 On May 31, 2010, at 12:52 AM, Roman Divacky wrote: > Hi, > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). *nod of approval* -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 21:38:36 2010 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 ABAC7106567A; Tue, 1 Jun 2010 21:38:36 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0AF8FC1D; Tue, 1 Jun 2010 21:38:36 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 659FD1FFC33; Tue, 1 Jun 2010 21:38:35 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 383B4844CC; Tue, 1 Jun 2010 23:36:26 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Roman Divacky References: <20100531075248.GA15206@freebsd.org> Date: Tue, 01 Jun 2010 23:36:25 +0200 In-Reply-To: <20100531075248.GA15206@freebsd.org> (Roman Divacky's message of "Mon, 31 May 2010 09:52:48 +0200") Message-ID: <8639x6e8py.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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: Tue, 01 Jun 2010 21:38:36 -0000 Roman Divacky writes: > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > in the near future (days, not weeks). +1 DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 22:00:08 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 62A101065676; Tue, 1 Jun 2010 22:00:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id E07658FC1D; Tue, 1 Jun 2010 22:00:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id E5E7C41C75E; Wed, 2 Jun 2010 00:00:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id wxzZT3KRboZj; Wed, 2 Jun 2010 00:00:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 2205B41C75D; Wed, 2 Jun 2010 00:00:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id D59344448EC; Tue, 1 Jun 2010 21:56:16 +0000 (UTC) Date: Tue, 1 Jun 2010 21:56:16 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Sergey Matveychuk In-Reply-To: <4C054001.7040507@FreeBSD.org> Message-ID: <20100601215530.L43852@maildrop.int.zabbadoz.net> References: <4C054001.7040507@FreeBSD.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: Panic after upgrade 7.2 -> 7.3 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: Tue, 01 Jun 2010 22:00:08 -0000 On Tue, 1 Jun 2010, Sergey Matveychuk wrote: > Hi. > > Just after upgrade from 7.2-p5 to 7.3-p1 I've got periodic panics on my > router (after about a hour uptime). ... > Any ideas? Are you using IPsec? /bz -- Bjoern A. Zeeb I will let you know once I escaped from my bird cage and learnt to fly again. -- Ottawa, ON, Canada, 21st May 2010 From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 22:28:51 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1060) id ECF1A1065675; Tue, 1 Jun 2010 22:28:51 +0000 (UTC) Date: Tue, 1 Jun 2010 15:28:51 -0700 From: Craig Rodrigues To: Scott Long Message-ID: <20100601222851.GA57171@FreeBSD.org> References: <20100531002417.R96912@maildrop.int.zabbadoz.net> <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org, Ivan Voras Subject: Re: SUJ and "mount" reporting 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: Tue, 01 Jun 2010 22:28:52 -0000 On Mon, May 31, 2010 at 04:44:07AM -0600, Scott Long wrote: > MNT_* flags need to be deprecated, and the attributes passed in both directions as key-value pairs. I don't know if anyone else has thought about this and what it means for backwards compatibility. > > Scott Hi, I've thought about it. :) For new code, we really don't need to pass MNT_* flags from userland to kernel. I think most of the mount_* binaries and fsck_* binaries have been converted to nmount() and do not need to pass MNT_* flags from userland to kernel. (They may still do so, but it is not entirely necessary that they do so. :) People introduce new MNT_* flags (such as MNT_GJOURNAL) used in userland for one main purpose now: mount -p The implementation of the "-p" option to mount uses the flags on a mounted file system to print out the human-readable list of mount options. I would like to see the following: (1) In the kernel, we need a new API, callable via nmount(). For example, if a user passes an iovec with something like: nmount("/dev/ad1sb", "get mount options"); when the nmount() call returns, the iovec passed into the call should be populated with the stringified mount options. This can be done similarly to how I populate the "errmsg" error string if an nmount() call fails. By reusing nmount(), we do not introduce any new kernel interfaces. (2) In the mount(8) binary, we can rewrite the "mount -p" implementation to use nmount(......, "get mount options"); instead of checking the MNT_ flags on the file system. If we did this, we would be able to do things like identify if an NFS mount has been mounted via TCP or UDP, just by using "mount -p". I've been meaning to work on this for quite a while, but haven't had the time. If someone wants to help out on this, let me know. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 23:45:25 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 1A431106564A; Tue, 1 Jun 2010 23:45:25 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id C42448FC14; Tue, 1 Jun 2010 23:45:24 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71) (envelope-from ) id 1OJb97-0000Xq-Ty; Wed, 02 Jun 2010 03:45:22 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 43D6FB84F; Wed, 2 Jun 2010 03:45:21 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 3595BB853; Wed, 2 Jun 2010 03:45:21 +0400 (MSD) Date: Wed, 2 Jun 2010 03:45:21 +0400 From: Dmitry Marakasov To: Kostik Belousov Message-ID: <20100601234521.GA2902@hades.panopticon> References: <20100530143034.GH43302@hades.panopticon> <20100530150622.GJ83316@deviant.kiev.zoral.com.ua> <201006011141.09699.jhb@freebsd.org> <20100601170526.GJ83316@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20100601170526.GJ83316@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: need better POSIX semaphore support 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: Tue, 01 Jun 2010 23:45:25 -0000 * Kostik Belousov (kostikbel@gmail.com) wrote: I've tried the second patch, it works fine. It would be very nice to see it in 8.1, thanks. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 00:41:34 2010 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 511F1106567B for ; Wed, 2 Jun 2010 00:41:34 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0884A8FC13 for ; Wed, 2 Jun 2010 00:41:33 +0000 (UTC) Received: by gwj23 with SMTP id 23so4748106gwj.13 for ; Tue, 01 Jun 2010 17:41:33 -0700 (PDT) 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:content-type; bh=eFwEpXWMgpHZ+i/VFsl7sa2pppNV4jla0Rgt8N+gVpc=; b=kT4NTL0M1/Jo84mnmxTPI8ttLOd6C10PqzHptuSWbQ+4nQF84haIcU8vooIgbcTlkF H+007VvxqM5k5Imgr576WfhDoydpfK7Cjd0URrWhb0YS0eeVrT82hLV/oGaEt0Db9ueL qdQSWjxJtUC84WgptSJWe7EqbrPXqs7qc34vs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=P0gn7kiPBfa7LRA6Jmt4MzhdJLSVLqcUZYO1XRPkbnh+UzrZM/Lx54EQE9OqKzX6uX diXol+vU8FO6nLQ1Hy5f9Tj3kTP/PGzqAbexHVpBVQpP5csLLJdKyH5W8EjGF4seSsCB tIAJ2F8ytzgykvVeAQMAWt0nfOtKlkJLs8jaw= MIME-Version: 1.0 Received: by 10.224.58.152 with SMTP id g24mr2961389qah.382.1275439292591; Tue, 01 Jun 2010 17:41:32 -0700 (PDT) Received: by 10.229.89.148 with HTTP; Tue, 1 Jun 2010 17:41:32 -0700 (PDT) Date: Tue, 1 Jun 2010 21:41:32 -0300 Message-ID: From: "Marcelo/Porks" To: current Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: umodem (4) recognize a CDC-ACM device 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, 02 Jun 2010 00:41:34 -0000 Hi guys. I have a device[1] that is recognized on Linux by the generic CDC-ACM driver and I'm trying to do the same on FreeBSD current with umodem (4). But, as you can see, I had no success: Jun 1 20:00:54 BARAD-DUR kernel: uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT Jun 1 20:00:54 BARAD-DUR kernel: uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 Jun 1 20:00:55 BARAD-DUR kernel: ugen0.3: at usbus0 Jun 1 20:00:55 BARAD-DUR kernel: umodem0: on usbus0 Jun 1 20:00:55 BARAD-DUR kernel: umodem0: data interface 1, has CM over data, has no break Jun 1 20:00:55 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 Jun 1 20:00:55 BARAD-DUR kernel: umodem0: on usbus0 Jun 1 20:00:55 BARAD-DUR kernel: umodem0: data interface 1, has CM over data, has no break Jun 1 20:00:55 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 Have you some tip for me to make this work on FreeBSD? I had put some 'printf' at the source code and noticed that umodem_attach() failed at line 378 [2]. The main reason is basically that the usbd_transfer_setup() got an endpoint [3] with 'ep->methods == NULL' [4] and this leads to "USB_ERR_NO_PIPE" on [5]. Thanks. [1] http://www.recursion.jp/avrcdc/driver.html#linux [2] http://fxr.watson.org/fxr/source/dev/usb/serial/umodem.c#L378 [3] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L877 [4] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L880 [5] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L886 -- Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights." From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 02:15:40 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 DEED0106566B for ; Wed, 2 Jun 2010 02:15:40 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id B63378FC14 for ; Wed, 2 Jun 2010 02:15:39 +0000 (UTC) Received: from [192.168.0.102] (m206-63.dsl.tsoft.com [198.144.206.63]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o522Fdf4050312 for ; Tue, 1 Jun 2010 19:15:39 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4C05BECC.9030202@feral.com> Date: Tue, 01 Jun 2010 19:15:40 -0700 From: Matthew Jacob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <86eigqol8l.fsf@ds4.des.no> <4C054335.4040802@stillbilde.net> <1275418622.1516.1.camel@pixi.PuffyBSD.Com> <4C0559C2.60300@stillbilde.net> In-Reply-To: <4C0559C2.60300@stillbilde.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.67.166.1]); Tue, 01 Jun 2010 19:15:39 -0700 (PDT) Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 02 Jun 2010 02:15:40 -0000 FWIW, I support the import. I don't think GCC is as bad as other people think it is, but I also have been gravely concerned of the the reduction of toolchains down close to one in our business. That in and of itself warrants supporting any viable alternative. From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 06:11:32 2010 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 9C85C1065672; Wed, 2 Jun 2010 06:11:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 558EE8FC17; Wed, 2 Jun 2010 06:11:32 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1OJhAo-000AZR-Ou; Wed, 02 Jun 2010 10:11:30 +0400 From: Boris Samorodov To: Roman Divacky References: <20100531075248.GA15206@freebsd.org> <8639x6e8py.fsf@ds4.des.no> Date: Wed, 02 Jun 2010 10:11:30 +0400 In-Reply-To: <8639x6e8py.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Tue, 01 Jun 2010 23:36:25 +0200") Message-ID: <53546285@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 06:11:32 -0000 On Tue, 01 Jun 2010 23:36:25 +0200 Dag-Erling Smørgrav wrote: > Roman Divacky writes: > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > in the near future (days, not weeks). > +1 +1 -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 08:47:48 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1060) id BFF3F1065673; Wed, 2 Jun 2010 08:47:48 +0000 (UTC) Date: Wed, 2 Jun 2010 01:47:48 -0700 From: Craig Rodrigues To: John Baldwin Message-ID: <20100602084748.GA68872@crodrigues.org> References: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> <201006011125.00062.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006011125.00062.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: SUJ and "mount" reporting 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, 02 Jun 2010 08:47:48 -0000 On Tue, Jun 01, 2010 at 11:25:00AM -0400, John Baldwin wrote: > My understanding of nmount() is that that is what it does now. However, not > everything is fully updated for nmount(). struct nfsargs is still passed in > as a blob value with the key "nfsargs" for example. This is not true any more. Doug Rabson and I modified src/usr.sbin/mount_nfs so that it passes individual string options via nmount() down to the kernel, which then parses the string options. Doug added a fallback_mount() function which reverts to the old behavior of passing a blob with key "nfsargs" for older kernels. The Berkeley amd is the next big NFS mount client which needs to be updated to use nmount().....but that code is messy. :) -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 08:53:59 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 E80B91065674 for ; Wed, 2 Jun 2010 08:53:59 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from sunner.semmy.ru (sunner.semmy.ru [195.54.209.159]) by mx1.freebsd.org (Postfix) with ESMTP id A5E158FC22 for ; Wed, 2 Jun 2010 08:53:59 +0000 (UTC) Received: from [109.173.73.7] (helo=[172.16.100.23]) by sunner.semmy.ru with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OJji2-000ER6-Bk; Wed, 02 Jun 2010 12:53:58 +0400 Message-ID: <4C061C25.9040402@FreeBSD.org> Date: Wed, 02 Jun 2010 12:53:57 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <4C054001.7040507@FreeBSD.org> <20100601215530.L43852@maildrop.int.zabbadoz.net> In-Reply-To: <20100601215530.L43852@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: Panic after upgrade 7.2 -> 7.3 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, 02 Jun 2010 08:54:00 -0000 02.06.2010 01:56, Bjoern A. Zeeb пишет: > On Tue, 1 Jun 2010, Sergey Matveychuk wrote: > >> Hi. >> >> Just after upgrade from 7.2-p5 to 7.3-p1 I've got periodic panics on >> my router (after about a hour uptime). > ... >> Any ideas? > > Are you using IPsec? No. From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 09:25:10 2010 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 CCAE8106564A; Wed, 2 Jun 2010 09:25:10 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id 051AB8FC15; Wed, 2 Jun 2010 09:25:08 +0000 (UTC) Received: from [41.154.88.19] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1OJkC9-0006Ji-RE; Wed, 02 Jun 2010 11:25:06 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OJkC8-0000Rv-Gv; Wed, 02 Jun 2010 11:25:04 +0200 To: Buganini From: Ian FREISLICH In-Reply-To: References: <20100303082833.GB22865@weongyo> <20100303111014.6564ea1e.ray@dlink.ua> <20100312231333.GZ1295@weongyo> <4BD2201E.3090409@entel.upc.edu> <20100424231755.GI65380@weongyo> <4BD4A928.8020901@entel.upc.edu> <20100506190653.GA31100@weongyo> <58220.88.15.97.205.1273248485.squirrel@webmail.entel.upc.edu> <20100510195622.GA1295@weongyo> <4BF54F93.9000409@entel.upc.edu> <20100524210945.GE1295@weongyo> X-Attribution: BOFH Date: Wed, 02 Jun 2010 11:24:57 +0200 Message-Id: Cc: Weongyo Jeong , current@freebsd.org Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver 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, 02 Jun 2010 09:25:10 -0000 Buganini wrote: > Hi, with yesterday's CURRENT my bwn works partially. > > this is my hardware > siba_bwn0@pci0:4:0:0: class=0x028000 card=0x04b514e4 chip=0x431514e4 > rev=0x01 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' > class = network > > it works with WPA ap without destroy/re-create wlan0 > , but it's unstable, at the first time it works, it goes forth and > back between "associated" and "no carrier", > the other times it stay associated but network is down. > and this usually followed by system freeze if I `/etc/rc.d/netif restart` later. > > and it never get associated with a open ap. I'm seeing something similar with my hardware with recent current. It associates but I get massive packet loss to my router over the wireless link: --- 10.0.2.1 ping statistics --- 425 packets transmitted, 195 packets received, 54.1% packet loss round-trip min/avg/max/stddev = 1.460/2.894/86.417/8.110 ms siba_bwn0@pci0:1:0:0: class=0x028000 card=0x1508103c chip=0x431514e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' class = network cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) Current of May 15 works reliably. I'll try to search for the offending commit. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 07:54:39 2010 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 B71871065673; Wed, 2 Jun 2010 07:54:39 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id C90CB8FC0C; Wed, 2 Jun 2010 07:54:38 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c211-30-160-13.mirnd2.nsw.optusnet.com.au [211.30.160.13] (may be forged)) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o527sZ5H005285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jun 2010 17:54:36 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o527sOGB041753; Wed, 2 Jun 2010 17:54:24 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o527sO0o041752; Wed, 2 Jun 2010 17:54:24 +1000 (EST) (envelope-from peter) Date: Wed, 2 Jun 2010 17:54:24 +1000 From: Peter Jeremy To: Brooks Davis Message-ID: <20100602075424.GA41731@server.vk2pj.dyndns.org> References: <20100531225732.GF31972@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20100531225732.GF31972@lor.one-eyed-alien.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Wed, 02 Jun 2010 11:21:45 +0000 Cc: arch@freebsd.org, current@freebsd.org Subject: Re: BSDCan Toolchain Summit Summary 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, 02 Jun 2010 07:54:39 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-May-31 17:57:32 -0500, Brooks Davis wrote: >http://wiki.freebsd.org/201005ToolchainSummitSummary > >This includes a rough draft of a roadmap. We need to convert this into >a roadmap page with each required feature listed along with status and=20 >contacts. Thank you for that. The approach seems reasonable and importing clang/llvm is a good first step. One item that doesn't seem to have been mentioned elsewhere is the the other *BSD Projects - presumably they would also be interested in a BSD-licensed toolchain. Have there been any discussions with representatives from other Projects to investigate a common/shared path forward? I believe that the *BSD's are all similar enough that they could share a common toolchain with minimal local adaptions. The benefit for FreeBSD is that a larger userbase will further encourage "vendor" support. As a second-order effect, the more diverse users that clang/llvm has, the faster bugs will be found (and hopefully fixed). --=20 Peter Jeremy --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwGDjAACgkQ/opHv/APuIe5KwCgmicuDkY2piT4giZ3bTjxE+FX u50AniZaULWnYUPmyD/KiDGqCc+IqPHi =Y8nH -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 13:41:56 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 A63331065675 for ; Wed, 2 Jun 2010 13:41:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 594C38FC08 for ; Wed, 2 Jun 2010 13:41:56 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJoCh-0003lD-4A for freebsd-current@freebsd.org; Wed, 02 Jun 2010 15:41:55 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jun 2010 15:41:55 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jun 2010 15:41:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org connect(): No such file or directory From: Ivan Voras Date: Wed, 02 Jun 2010 15:41:54 +0200 Lines: 16 Message-ID: References: <4C054001.7040507@FreeBSD.org> <20100601215530.L43852@maildrop.int.zabbadoz.net> <4C061C25.9040402@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100518 Thunderbird/3.0.4 In-Reply-To: <4C061C25.9040402@FreeBSD.org> X-Enigmail-Version: 1.0.1 Subject: Re: Panic after upgrade 7.2 -> 7.3 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, 02 Jun 2010 13:41:56 -0000 On 06/02/10 10:53, Sergey Matveychuk wrote: > 02.06.2010 01:56, Bjoern A. Zeeb пишет: >> On Tue, 1 Jun 2010, Sergey Matveychuk wrote: >> >>> Hi. >>> >>> Just after upgrade from 7.2-p5 to 7.3-p1 I've got periodic panics on >>> my router (after about a hour uptime). >> ... >>> Any ideas? >> >> Are you using IPsec? > > No. IPv6? From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 14:01:04 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 34678106566C; Wed, 2 Jun 2010 14:01:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 067178FC1A; Wed, 2 Jun 2010 14:01:04 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B0D3646C0F; Wed, 2 Jun 2010 10:01:03 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id F11C18A021; Wed, 2 Jun 2010 10:01:02 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 2 Jun 2010 08:45:38 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100531075248.GA15206@freebsd.org> <8639x6e8py.fsf@ds4.des.no> <53546285@bb.ipt.ru> In-Reply-To: <53546285@bb.ipt.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201006020845.38943.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 02 Jun 2010 10:01:03 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Boris Samorodov , Roman Divacky , current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 14:01:04 -0000 On Wednesday 02 June 2010 2:11:30 am Boris Samorodov wrote: > On Tue, 01 Jun 2010 23:36:25 +0200 Dag-Erling Sm=C3=B8rgrav wrote: > > Roman Divacky writes: >=20 > > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > > in the near future (days, not weeks). >=20 > > +1 >=20 > +1 +1 I think it is worth mentioning that FreeBSD is not the only platform strong= ly=20 considering clang/llvm as an alternate toolchain, so we will not be going i= t=20 "alone". =2D-=20 John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 14:01:04 2010 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 34678106566C; Wed, 2 Jun 2010 14:01:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 067178FC1A; Wed, 2 Jun 2010 14:01:04 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id B0D3646C0F; Wed, 2 Jun 2010 10:01:03 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id F11C18A021; Wed, 2 Jun 2010 10:01:02 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 2 Jun 2010 08:45:38 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100531075248.GA15206@freebsd.org> <8639x6e8py.fsf@ds4.des.no> <53546285@bb.ipt.ru> In-Reply-To: <53546285@bb.ipt.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201006020845.38943.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 02 Jun 2010 10:01:03 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Boris Samorodov , Roman Divacky , current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 14:01:04 -0000 On Wednesday 02 June 2010 2:11:30 am Boris Samorodov wrote: > On Tue, 01 Jun 2010 23:36:25 +0200 Dag-Erling Sm=C3=B8rgrav wrote: > > Roman Divacky writes: >=20 > > > I would like to propose to integrate clang/LLVM into FreeBSD HEAD > > > in the near future (days, not weeks). >=20 > > +1 >=20 > +1 +1 I think it is worth mentioning that FreeBSD is not the only platform strong= ly=20 considering clang/llvm as an alternate toolchain, so we will not be going i= t=20 "alone". =2D-=20 John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 14:01: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 1388A106567A; Wed, 2 Jun 2010 14:01:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D93E28FC0C; Wed, 2 Jun 2010 14:01:05 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 8A37846B17; Wed, 2 Jun 2010 10:01:05 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id B8F9D8A025; Wed, 2 Jun 2010 10:01:04 -0400 (EDT) From: John Baldwin To: Craig Rodrigues Date: Wed, 2 Jun 2010 09:10:13 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201006011125.00062.jhb@freebsd.org> <20100602084748.GA68872@crodrigues.org> In-Reply-To: <20100602084748.GA68872@crodrigues.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006020910.13261.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 02 Jun 2010 10:01:04 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: SUJ and "mount" reporting 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, 02 Jun 2010 14:01:06 -0000 On Wednesday 02 June 2010 4:47:48 am Craig Rodrigues wrote: > On Tue, Jun 01, 2010 at 11:25:00AM -0400, John Baldwin wrote: > > My understanding of nmount() is that that is what it does now. However, not > > everything is fully updated for nmount(). struct nfsargs is still passed in > > as a blob value with the key "nfsargs" for example. > > This is not true any more. Doug Rabson and I modified > src/usr.sbin/mount_nfs so that it passes individual string options > via nmount() down to the kernel, which then parses the string options. > > Doug added a fallback_mount() function which reverts to the > old behavior of passing a blob with key "nfsargs" for older kernels. > > The Berkeley amd is the next big NFS mount client which needs > to be updated to use nmount().....but that code is messy. :) It seems that the options are still not listed in 'mount' output however. Is userland able to easily query the list of options that are set on a mountpoint? -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 15:23:23 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 A67C6106566B for ; Wed, 2 Jun 2010 15:23:23 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACAD8FC0A for ; Wed, 2 Jun 2010 15:23:22 +0000 (UTC) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 1FD2BBF409 for ; Wed, 2 Jun 2010 17:23:20 +0200 (CEST) Received: by gyh20 with SMTP id 20so5955969gyh.13 for ; Wed, 02 Jun 2010 08:23:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.193.18 with SMTP id q18mr8153163ybf.129.1275492199496; Wed, 02 Jun 2010 08:23:19 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Wed, 2 Jun 2010 08:23:19 -0700 (PDT) Date: Wed, 2 Jun 2010 17:23:19 +0200 Message-ID: From: Alexander Best To: freebsd-current@FreeBSD.org Content-Type: multipart/mixed; boundary=000e0cdf1c1276ff7704880dab27 Cc: Subject: 'buildworld' not always pulling in /etc/src.conf 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, 02 Jun 2010 15:23:23 -0000 --000e0cdf1c1276ff7704880dab27 Content-Type: text/plain; charset=ISO-8859-1 hi there, i'm trying to run 'buildworld' on a fresh HEAD snapshot, but `make` is failing with this error: CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.bin/id/id.c echo id: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.bin/id/id.c (cd /usr/src/rescue/rescue/../../usr.sbin/chroot && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ depend && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ chroot.o) rm -f .depend CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.sbin/chroot/chroot.c echo chroot: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.sbin/chroot/chroot.c (cd /usr/src/rescue/rescue/../../usr.sbin/chown && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ depend && /usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ chown.o) rm -f .depend CC='gcc' mkdep -f .depend -a -DRESCUE /usr/src/usr.sbin/chown/chown.c echo chown: /usr/obj/usr/src/tmp/usr/lib/libc.a >> .depend gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g -DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.sbin/chown/chown.c MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue /usr/obj/usr/src/make.amd64/make -f rescue.mk exe gcc44 -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -c rescue.c gcc44: not found *** Error code 127 Stop in /usr/obj/usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue/rescue. *** Error code 1 Stop in /usr/src/rescue. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. it seems for some reason gcc44 gets chosen at some point as compiler instead of the base gcc. i DO have CC, CXX and CPP defined in my /etc/make.conf so that gcc44 gets used for ports and other stuff. HOWEVER /stc/src.conf also contains those three variables and they to the base version of gcc. of course commenting out those variables in /etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld' should use /etc/src.conf at all times and thus should be aware that i want it to use base gcc. i've attached my make.conf and src.conf. cheers. -- Alexander Best --000e0cdf1c1276ff7704880dab27 Content-Type: application/octet-stream; name="make.conf" Content-Disposition: attachment; filename="make.conf" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g9yay2ly0 IyBXT1JMRC9LRVJORUwgb3B0aW9ucwpLRVJOQ09ORiA9IEFSVU5ERUwKTU9EVUxFU19PVkVSUklE RSA9IFwKbmV0Z3JhcGgvbmV0Z3JhcGggXApuZXRncmFwaC9zb2NrZXQgbmV0Z3JhcGgvYmx1ZXRv b3RoL2JsdWV0b290aCBuZXRncmFwaC9ibHVldG9vdGgvaGNpIFwKbmV0Z3JhcGgvYmx1ZXRvb3Ro L2wyY2FwIG5ldGdyYXBoL2JsdWV0b290aC9zb2NrZXQgbmV0Z3JhcGgvYmx1ZXRvb3RoL3VidCBc CmxpbnV4IGxpbnByb2NmcyBsaW5zeXNmcyB0bXBmcyB1c2IvcXVpcmsgZmRlc2NmcyB1c2IvdWhp ZCBzb3VuZC9zb3VuZCBzb3VuZC9kcml2ZXIvaGRhCgojIEdDQzQ0IG9wdGlvbnMKQ0MgPSBnY2M0 NApDWFggPSBnKys0NApDUFAgPSBjcHA0NAoKIyBjb21waWxlciBmbGFncwpDUFVUWVBFID0gbm9j b25hCkNPUFRGTEFHUyA9IC1PMCAtcGlwZSAtZm5vLWJ1aWx0aW4gLWZuby1zdHJpY3QtYWxpYXNp bmcgLWZ1bnJvbGwtbG9vcHMKQ0ZMQUdTID0gLU8yIC1waXBlIC1mbm8tc3RyaWN0LWFsaWFzaW5n IC1mdW5yb2xsLWxvb3BzICAjLWZuby1idWlsdGluIChkb24ndCB1c2UpCkNYWEZMQUdTICs9IC1m Y29uc2VydmUtc3BhY2UKCiMgU0VORE1BSUwgb3B0aW9ucwpTRU5ETUFJTF9NQyA9IC9ldGMvbWFp bC9mcmVlYnNkLm1jClNFTkRNQUlMX1NVQk1JVF9NQyA9IC9ldGMvbWFpbC9mcmVlYnNkLnN1Ym1p dC5tYwoKIyBQT1JUUyBvcHRpb25zCk9WRVJSSURFX0xJTlVYX0JBU0VfUE9SVCA9IGYxMApPVkVS UklERV9MSU5VWF9OT05CQVNFX1BPUlRTID0gZjEwCkRBNCA9IHllcwpXSVRIX0JTREVMID0geWVz CldJVEhfMjU2X0NPTE9SID0geWVzCgojIE1JU0Mgb3B0aW9ucwpET0NfTEFORyA9IGVuX1VTLklT Tzg4NTktMSBkZV9ERS5JU084ODU5LTE1CgojIGFkZGVkIGJ5IHVzZS5wZXJsIDIwMTAtMDUtMTUg MTQ6MjE6NDkKUEVSTF9WRVJTSU9OPTUuMTAuMQo= --000e0cdf1c1276ff7704880dab27 Content-Type: application/octet-stream; name="src.conf" Content-Disposition: attachment; filename="src.conf" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g9yayb6c1 IyBHQ0Mgb3B0aW9ucwpDQz1nY2MKQ1hYPWcrKwpDUFA9Y3BwCkRFQlVHX0ZMQUdTID0gLWcKCiMg QlVJTERXT1JMRCBvcHRpb25zCldJVEhPVVRfQUNDVD10cnVlCldJVEhPVVRfQUNQST10cnVlCldJ VEhPVVRfQU1EPXRydWUKV0lUSE9VVF9BUE09dHJ1ZQpXSVRIT1VUX0FUTT10cnVlCldJVEhPVVRf QVVESVQ9dHJ1ZQpXSVRIT1VUX0JJTkQ9dHJ1ZQpXSVRIT1VUX0JTTk1QPXRydWUKV0lUSE9VVF9D QUxFTkRBUj10cnVlCldJVEhPVVRfQ0RETD10cnVlCldJVEhPVVRfQ1RNPXRydWUKV0lUSE9VVF9D VlM9dHJ1ZQpXSVRIT1VUX0ZMT1BQWT10cnVlCldJVEhPVVRfRlJFRUJTRF9VUERBVEU9dHJ1ZQpX SVRIT1VUX0dBTUVTPXRydWUKV0lUSE9VVF9HUElCPXRydWUKV0lUSE9VVF9IVE1MPXRydWUKV0lU SF9JREVBPXRydWUKV0lUSE9VVF9JTkVUNj10cnVlCldJVEhPVVRfSU5GTz10cnVlCldJVEhPVVRf SVBGSUxURVI9dHJ1ZQpXSVRIT1VUX0lQRlc9dHJ1ZQpXSVRIT1VUX0lQWD10cnVlCldJVEhPVVRf SkFJTD10cnVlCldJVEhPVVRfTFBSPXRydWUKI1dJVEhPVVRfTUFJTFdSQVBQRVI9dHJ1ZQpXSVRI T1VUX05ESVM9dHJ1ZQpXSVRIT1VUX05FVENBVD10cnVlCldJVEhPVVRfTklTPXRydWUKV0lUSE9V VF9OTFM9dHJ1ZQpXSVRIT1VUX05MU19DQVRBTE9HUz10cnVlCldJVEhPVVRfTlNfQ0FDSElORz10 cnVlCldJVEhPVVRfUEFNX1NVUFBPUlQ9dHJ1ZQpXSVRIT1VUX1BGPXRydWUKV0lUSE9VVF9QUk9G SUxFPXRydWUKV0lUSE9VVF9QUFA9dHJ1ZQpXSVRIT1VUX1FVT1RBUz10cnVlCldJVEhPVVRfUkNN RFM9dHJ1ZQpXSVRIT1VUX1JDUz10cnVlCldJVEhPVVRfUk9VVEVEPXRydWUKV0lUSE9VVF9TSEFS RURPQ1M9dHJ1ZQpXSVRIT1VUX1NZU0lOU1RBTEw9dHJ1ZQpXSVRIT1VUX1RDU0g9dHJ1ZQpXSVRI T1VUX1RFTE5FVD10cnVlCgojIENMQU5HIG9wdGlvbnMKI05PX1dFUlJPUj0KI1dFUlJPUj0KIyBE b24ndCBmb3JnZXQgdGhpcyB3aGVuIHVzaW5nIEphaWxzIQojTk9fRlNDSEc9Cg== --000e0cdf1c1276ff7704880dab27-- From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 15:53:04 2010 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 6E0A51065670 for ; Wed, 2 Jun 2010 15:53:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id C3FED8FC22 for ; Wed, 2 Jun 2010 15:53:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=Au74WiBsAAAA:8 a=dT19lrtdAAAA:8 a=kewjWTeSPNhgMqER9SwA:9 a=-x4NIYE4me6d_4UwHPDETVhjfrQA:4 a=wPNLvfGTeEIA:10 a=YHSIMBuN5IEA:10 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1369876617; Wed, 02 Jun 2010 17:53:01 +0200 From: Hans Petter Selasky To: Garrett Cooper Date: Wed, 2 Jun 2010 17:50:17 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006021750.17588.hselasky@c2i.net> Cc: Marcelo/Porks , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 02 Jun 2010 15:53:04 -0000 On Wednesday 02 June 2010 03:23:47 Garrett Cooper wrote: > Looks like this device might be a bit quirky... Just forwarding to you > to see if you had any details for the OP. > Thanks! > -Garrett Hi, Can you dump the USB descriptors of your device? usbconfig -u 0 -a 3 dump_device_desc dump_curr_config_desc 0,3 is for ugen0.3 --HPS > > ---------- Forwarded message ---------- > From: Marcelo/Porks > Date: Tue, Jun 1, 2010 at 5:41 PM > Subject: umodem (4) recognize a CDC-ACM device > To: current > > > Hi guys. I have a device[1] that is recognized on Linux by the generic > CDC-ACM driver and I'm trying to do the same on FreeBSD current with > umodem (4). But, as you can see, I had no success: > > Jun 1 20:00:54 BARAD-DUR kernel: uhub_reattach_port: port 1 reset > failed, error=USB_ERR_TIMEOUT > Jun 1 20:00:54 BARAD-DUR kernel: uhub_reattach_port: device problem > (USB_ERR_TIMEOUT), disabling port 1 > Jun 1 20:00:55 BARAD-DUR kernel: ugen0.3: at usbus0 > Jun 1 20:00:55 BARAD-DUR kernel: umodem0: class 2/0, rev 1.10/1.00, addr 3> on usbus0 > Jun 1 20:00:55 BARAD-DUR kernel: umodem0: data interface 1, has CM > over data, has no break > Jun 1 20:00:55 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 > Jun 1 20:00:55 BARAD-DUR kernel: umodem0: class 2/0, rev 1.10/1.00, addr 3> on usbus0 > Jun 1 20:00:55 BARAD-DUR kernel: umodem0: data interface 1, has CM > over data, has no break > Jun 1 20:00:55 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 > > Have you some tip for me to make this work on FreeBSD? > > I had put some 'printf' at the source code and noticed that > umodem_attach() failed at line 378 [2]. The main reason is basically > that the usbd_transfer_setup() got an endpoint [3] with 'ep->methods > == NULL' [4] and this leads to "USB_ERR_NO_PIPE" on [5]. > > Thanks. > > [1] http://www.recursion.jp/avrcdc/driver.html#linux > [2] http://fxr.watson.org/fxr/source/dev/usb/serial/umodem.c#L378 > [3] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L877 > [4] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L880 > [5] http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L886 > From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 15:54:47 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 367BF1065670 for ; Wed, 2 Jun 2010 15:54:47 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id B75098FC1E for ; Wed, 2 Jun 2010 15:54:45 +0000 (UTC) Received: by ewy1 with SMTP id 1so1623514ewy.33 for ; Wed, 02 Jun 2010 08:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=CWFqiQ71jZ2Ye2Jhck6TRsRaYJF6rxVuCWsSsbFu9NU=; b=pmvS6V4RVWGdpY8OO45cBlbTISW1e/4dB1obSHFlIOQFIiaXD7cGTWHZzA0DDBRGMa E0cadix2AWcTd6m8iTr90wxksTMKSIJJHN5WoF5GauUchE6MQHY2tQrDcCpEWylk8zDb rGNVea8o5YriOBLLw0ZLjEFRzQiKsVVK0X1DE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=FdcV0N/kTjm39YwxErt9tPWL+HFx9dXpTQjp5mT+hmBoIuvlkiGAZG0eHh2hDRQ4E0 KdCuhPasKxXk0MQCMTYEmic8jmqaTvgKclu6b8BMpalH9vxwau/DPtAORKmPZtEyrHXL p3dVwHd50VxKuqjWCcxZ7HsbrLKvcbysAXhN8= Received: by 10.213.10.195 with SMTP id q3mr5131852ebq.78.1275494084711; Wed, 02 Jun 2010 08:54:44 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 15sm4531078ewy.4.2010.06.02.08.54.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 08:54:43 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current@freebsd.org, "Alexander Best" References: Date: Wed, 02 Jun 2010 18:54:41 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: User-Agent: Opera Mail/10.60 (FreeBSD) Cc: Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 02 Jun 2010 15:54:47 -0000 On Wed, 02 Jun 2010 18:23:19 +0300, Alexander Best wrote: > it seems for some reason gcc44 gets chosen at some point as compiler > instead of the base gcc. i DO have CC, CXX and CPP defined in my > /etc/make.conf so that gcc44 gets used for ports and other stuff. > HOWEVER /stc/src.conf also contains those three variables and they to > the base version of gcc. of course commenting out those variables in > /etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld' > should use /etc/src.conf at all times and thus should be aware that i > want it to use base gcc. buildworld uses both, src.conf and make.conf, and whatever is in make.conf pretty much overrides everything else. You can use something like this to set compiler only for ports: .if !empty(.CURDIR:M/usr/ports/*) CC=gcc44 .endif -- Andrius From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 16:08:27 2010 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 1F0C8106564A for ; Wed, 2 Jun 2010 16:08:27 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD1EC8FC0A for ; Wed, 2 Jun 2010 16:08:26 +0000 (UTC) Received: by gyh20 with SMTP id 20so6015475gyh.13 for ; Wed, 02 Jun 2010 09:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=sfdfhGd3RQrVKuTl4PvbteLhn7NzKbNDpwEb9htPNls=; b=iIcoEOOhCdnHdFZCu+vT9Pp9/K6DfQwE+58q1yPewmR0M5GjWLuHwhl2SIZ+hNA/pe i6pLlWGhtWtcdpjnFIWT4qZ9P8jPuiRKqHdQbeFndc65VUzeo/QEhEtbkc9Q5TE1cDuq m3xatcINf+y/BUstvpAX5PaSiHV8fyjoJVK9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=YodK3J4BG+D0+Y2so86CPiGIMyCIuTaB/p+2JEeNzDzvhOAcgWu68H11In6Hao8XEK NHv1r2fIdaQI9yAbd7FUusNyNR1zLTgSXqA/+dkdM8yGmpGtIEYyWB4uZRlXJX8QEtCa nSyUoqgvqcTpsQDTzA8tabYeXZChuLZz7kJis= Received: by 10.224.45.33 with SMTP id c33mr3617107qaf.128.1275494905397; Wed, 02 Jun 2010 09:08:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.89.148 with HTTP; Wed, 2 Jun 2010 09:08:05 -0700 (PDT) In-Reply-To: <201006021750.17588.hselasky@c2i.net> References: <201006021750.17588.hselasky@c2i.net> From: "Marcelo/Porks" Date: Wed, 2 Jun 2010 13:08:05 -0300 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 02 Jun 2010 16:08:27 -0000 On Wed, Jun 2, 2010 at 12:50 PM, Hans Petter Selasky wrote: > On Wednesday 02 June 2010 03:23:47 Garrett Cooper wrote: >> Looks like this device might be a bit quirky... Just forwarding to you >> to see if you had any details for the OP. >> Thanks! >> -Garrett > > Hi, > > Can you dump the USB descriptors of your device? Hi, right now I can do this at "FreeBSD 8.0-RELEASE-p2 #8 r206060M", but If you prefer tonight I can dump from 'freebsd-current' box. Thank you # usbconfig -u 2 -a 2 dump_device_desc dump_curr_config_desc ugen2.2: at usbus2, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0002 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x16c0 idProduct = 0x05e1 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0043 bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x0080 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0002 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0001 iInterface = 0x0000 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 Additional Descriptor bLength = 0x04 bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x04, 0x24, 0x02, 0x02 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 Additional Descriptor bLength = 0x05 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x05, 0x24, 0x01, 0x03, 0x01 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0008 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0008 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 -- Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights." From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 16:28:11 2010 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 D1DCE1065670 for ; Wed, 2 Jun 2010 16:28:11 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC9E8FC13 for ; Wed, 2 Jun 2010 16:28:11 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Au74WiBsAAAA:8 a=0AvGDjins3GT6FE2oosA:9 a=Byxh-O0LdOsu4KHf6yAZA5Poxr4A:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 344800215; Wed, 02 Jun 2010 18:28:09 +0200 From: Hans Petter Selasky To: "Marcelo/Porks" Date: Wed, 2 Jun 2010 18:25:25 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006021750.17588.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006021825.25337.hselasky@c2i.net> Cc: Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 02 Jun 2010 16:28:11 -0000 > > Hi, > > > > Can you dump the USB descriptors of your device? > > Hi, right now I can do this at "FreeBSD 8.0-RELEASE-p2 #8 r206060M", > but If you prefer tonight I can dump from 'freebsd-current' box. > > Thank you Hi, The problem is that LOW speed does not support BULK transfers according to the USB specification. I guess we could switch that support on, though I'd rather stick with the spec. Try changing this line in: src/sys/dev/usb/usb_transfer.c [USB_SPEED_LOW] = 0, /* not supported */ Into: [USB_SPEED_LOW] = 8, /* not supported according to USB spec. */ > > # usbconfig -u 2 -a 2 dump_device_desc dump_curr_config_desc > ugen2.2: at usbus2, cfg=0 md=HOST spd=LOW > (1.5Mbps) pwr=ON ... > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0001 > bmAttributes = 0x0002 ^^^ BULK > wMaxPacketSize = 0x0008 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0002 ^^^ BULK > wMaxPacketSize = 0x0008 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > ... --HPS From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 17:57:22 2010 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 B08A4106566B for ; Wed, 2 Jun 2010 17:57:22 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 964B78FC15 for ; Wed, 2 Jun 2010 17:57:22 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 20E266504 for ; Wed, 2 Jun 2010 17:57:23 +0000 (UTC) Date: Wed, 2 Jun 2010 18:57:14 +0100 From: Bruce Cran To: current@freebsd.org Message-ID: <20100602185714.000069be@unknown> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: ata panic: "mtx_lock of destroyed mutex" 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, 02 Jun 2010 17:57:22 -0000 I've been setting up an amd64 VirtualBox machine with the latest 9-CURRENT and got the following panic when booting it (another machine updated and booting at the same time didn't panic): ata1: WARNING - READ_TOC read data overrun 18>12 panic: mtx_lock of destroyed mutex @ /usr/src/sys/kern/kern_sema.c:79 cpuid = 0 with the following stack trace: kdb_enter panic _mtx_lock_flags _sema_post ata_completed taskqueue_run intr_event_execute_handlers ithread_loop fork_exit fork_trampoline -- Bruce Cran From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 17:58:38 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 EC47B106564A for ; Wed, 2 Jun 2010 17:58:38 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id CA07E8FC18 for ; Wed, 2 Jun 2010 17:58:37 +0000 (UTC) Received: from [192.168.221.2] (remotevpn [192.168.221.2]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o52HwaBE040648 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 2 Jun 2010 10:58:37 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4C069BC9.4080603@feral.com> Date: Wed, 02 Jun 2010 10:58:33 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20100602185714.000069be@unknown> In-Reply-To: <20100602185714.000069be@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.168.221.1]); Wed, 02 Jun 2010 10:58:37 -0700 (PDT) Subject: Re: ata panic: "mtx_lock of destroyed mutex" 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, 02 Jun 2010 17:58:39 -0000 Hmm. I just fixed that at Panasas, and I'm pretty sure that I gave the patch to Alexander Motin to put in. > I've been setting up an amd64 VirtualBox machine with the latest > 9-CURRENT and got the following panic when booting it (another machine > updated and booting at the same time didn't panic): > > ata1: WARNING - READ_TOC read data overrun 18>12 > panic: mtx_lock of destroyed mutex @ /usr/src/sys/kern/kern_sema.c:79 > cpuid = 0 > > with the following stack trace: > > kdb_enter > panic > _mtx_lock_flags > _sema_post > ata_completed > taskqueue_run > intr_event_execute_handlers > ithread_loop > fork_exit > fork_trampoline > > From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 18:31:16 2010 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 E4BE9106584C; Wed, 2 Jun 2010 18:31:16 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 86B908FC19; Wed, 2 Jun 2010 18:31:16 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o52IVFGB088931; Wed, 2 Jun 2010 14:31:15 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o52IVFJH088930; Wed, 2 Jun 2010 18:31:15 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 2 Jun 2010 18:31:15 GMT Message-Id: <201006021831.o52IVFJH088930@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 18:31:17 -0000 TB --- 2010-06-02 18:21:16 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-06-02 18:21:16 - starting HEAD tinderbox run for mips/mips TB --- 2010-06-02 18:21:16 - cleaning the object tree TB --- 2010-06-02 18:21:24 - cvsupping the source tree TB --- 2010-06-02 18:21:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2010-06-02 18:21:56 - building world TB --- 2010-06-02 18:21:56 - MAKEOBJDIRPREFIX=/obj TB --- 2010-06-02 18:21:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-06-02 18:21:56 - TARGET=mips TB --- 2010-06-02 18:21:56 - TARGET_ARCH=mips TB --- 2010-06-02 18:21:56 - TZ=UTC TB --- 2010-06-02 18:21:56 - __MAKE_CONF=/dev/null TB --- 2010-06-02 18:21:56 - cd /src TB --- 2010-06-02 18:21:56 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 2 18:21:57 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] {standard input}:427: Error: opcode not supported on this processor: mips1 (mips1) `ll $4,16($2)' {standard input}:429: Error: opcode not supported on this processor: mips1 (mips1) `sc $4,16($2)' {standard input}:1142: Error: opcode not supported on this processor: mips1 (mips1) `sync' {standard input}:1156: Error: opcode not supported on this processor: mips1 (mips1) `ll $5,12($3)' {standard input}:1158: Error: opcode not supported on this processor: mips1 (mips1) `sc $5,12($3)' {standard input}:1220: Error: opcode not supported on this processor: mips1 (mips1) `ll $6,12($2)' {standard input}:1223: Error: opcode not supported on this processor: mips1 (mips1) `sc $6,12($2)' {standard input}:1231: Error: opcode not supported on this processor: mips1 (mips1) `sync' *** Error code 1 Stop in /src/lib/libc. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-06-02 18:31:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-06-02 18:31:15 - ERROR: failed to build world TB --- 2010-06-02 18:31:15 - 424.33 user 85.25 system 598.98 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 19:01:57 2010 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 18446106566B; Wed, 2 Jun 2010 19:01:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id CA4788FC08; Wed, 2 Jun 2010 19:01:56 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o52J1uFa002779; Wed, 2 Jun 2010 15:01:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o52J1uBD002770; Wed, 2 Jun 2010 19:01:56 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 2 Jun 2010 19:01:56 GMT Message-Id: <201006021901.o52J1uBD002770@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 19:01:57 -0000 TB --- 2010-06-02 17:26:09 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-06-02 17:26:09 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-06-02 17:26:09 - cleaning the object tree TB --- 2010-06-02 17:26:30 - cvsupping the source tree TB --- 2010-06-02 17:26:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile TB --- 2010-06-02 17:27:12 - building world TB --- 2010-06-02 17:27:12 - MAKEOBJDIRPREFIX=/obj TB --- 2010-06-02 17:27:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-06-02 17:27:12 - TARGET=ia64 TB --- 2010-06-02 17:27:12 - TARGET_ARCH=ia64 TB --- 2010-06-02 17:27:12 - TZ=UTC TB --- 2010-06-02 17:27:12 - __MAKE_CONF=/dev/null TB --- 2010-06-02 17:27:12 - cd /src TB --- 2010-06-02 17:27:12 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 2 17:27:13 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Jun 2 18:45:41 UTC 2010 TB --- 2010-06-02 18:45:41 - generating LINT kernel config TB --- 2010-06-02 18:45:41 - cd /src/sys/ia64/conf TB --- 2010-06-02 18:45:41 - /usr/bin/make -B LINT TB --- 2010-06-02 18:45:41 - building LINT kernel TB --- 2010-06-02 18:45:41 - MAKEOBJDIRPREFIX=/obj TB --- 2010-06-02 18:45:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-06-02 18:45:41 - TARGET=ia64 TB --- 2010-06-02 18:45:41 - TARGET_ARCH=ia64 TB --- 2010-06-02 18:45:41 - TZ=UTC TB --- 2010-06-02 18:45:41 - __MAKE_CONF=/dev/null TB --- 2010-06-02 18:45:41 - cd /src TB --- 2010-06-02 18:45:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 2 18:45:41 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_meter.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_mmap.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_object.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_page.c cc1: warnings being treated as errors /src/sys/vm/vm_page.c: In function 'vm_page_set_validclean': /src/sys/vm/vm_page.c:2170: warning: comparison is always false due to limited range of data type /src/sys/vm/vm_page.c:2182: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-06-02 19:01:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-06-02 19:01:56 - ERROR: failed to build lint kernel TB --- 2010-06-02 19:01:56 - 4539.30 user 696.86 system 5746.67 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 20:17:54 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 84F1D1065673 for ; Wed, 2 Jun 2010 20:17:54 +0000 (UTC) (envelope-from danilobaio@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBA18FC14 for ; Wed, 2 Jun 2010 20:17:54 +0000 (UTC) Received: by iwn5 with SMTP id 5so1655674iwn.13 for ; Wed, 02 Jun 2010 13:17:53 -0700 (PDT) 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:content-type; bh=bQu6dX5swQM98Jax+7MoypuasmlJ8pBEcl3KZYriTNk=; b=T3wNFDdHX2k0acEQ7dlFcwl/Z48PWheu+RErD40HuZIBdtou2m5MILC2IUAkKo4n+1 wNm6WFfsO33wLAGQKhsEiIHacHLTNT0ByjLQr1seAKj78fRyovNBhEwQ7FUuwWW3lPa6 rXeRgtNGuI9XhR/r5hyfumwwre1GA/A94Ia4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q1RTDcDJuwKMuybCKTi29jb5AQ0mlt3DENYLErgdt5449Cvw+m1VngsxQFnFJnXhjq zXPFsJMZ5pr3fZ7zWaOPLCMjaU6JXHT5hmFyrudScmkopl8gZUb7DAKA8fsR8Bk5oiHb ZEXGpTUHfVc2daBhYsxrlI+8n8vQN1l28l00g= MIME-Version: 1.0 Received: by 10.231.178.135 with SMTP id bm7mr10408891ibb.73.1275508348325; Wed, 02 Jun 2010 12:52:28 -0700 (PDT) Received: by 10.231.171.199 with HTTP; Wed, 2 Jun 2010 12:52:28 -0700 (PDT) Date: Wed, 2 Jun 2010 16:52:28 -0300 Message-ID: From: Danilo Baio To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS panic import 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, 02 Jun 2010 20:17:54 -0000 Hi, I have (had), a freebsd 8.0 release-p2 running a zfs poll with raidz, 3 disks 250gb SATA and 1 disk IDE... OK... this was running for a while without problem, but, some day ago, with a power outage the zfs don't impor= t anymore. All the system was in the ZFS, so, i had to use a fixit cd for try to import. zpool import -o ro ID.. cannot import ' tank': pool may be in use from other system use -f to import anyway with -f: panic: solaris assert: size !=3D 0, file /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/s= pace_map.c, line: 91 cpuid =3D 0 Uptime: .10m55s I saved the coredump: kgdb kernel.debug /home/dbaio/zfs.vmcore.0 ... ... ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader.conf. ZFS filesystem version 13 ZFS storage pool version 13 panic: solaris assert: size !=3D 0, file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/s= pace_map.c, line: 91 cpuid =3D 0 Uptime: 7m13s Physical memory: 3949 MB Dumping 1288 MB: (CTRL-C to abort) (CTRL-C to abort) 1273 1257 1241 1225 1209 1193 1177 1161 1145 1129 1113 1097 1081 1065 1049 1033 1017 1001 985 969 953 937 921 905 889 873 857 841 825 809 793 777 761 745 729 713 697 681 665 649 633 617 601 585 569 553 537 521 505 489 473 457 441 425 409 393 377 361 345 329 313 297 281 265 249 233 217 201 185 169 153 137 121 105 89 73 5= 7 41 25 9 Reading symbols from /mnt2/boot/kernel/opensolaris.ko...done. Loaded symbols for /mnt2/boot/kernel/opensolaris.ko Reading symbols from /mnt2/boot/kernel/zfs.ko...done. Loaded symbols for /mnt2/boot/kernel/zfs.ko #0 doadump () at pcpu.h:223 223 __asm __volatile("movq %%gs:0,%0" : "=3Dr" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:223 #1 0xffffffff8057f8c9 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xffffffff8057fcfc in panic ( fmt=3D0xffffffff814fdce8 "solaris assert: %s, file: %s, line: %d") at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xffffffff8146f1d3 in space_map_add () from /mnt2/boot/kernel/zfs.ko #4 0xffffffff81461195 in metaslab_free_dva () from /mnt2/boot/kernel/zfs.ko #5 0xffffffff814612ea in metaslab_free () from /mnt2/boot/kernel/zfs.ko #6 0x0000000000000000 in ?? () #7 0x0000000000053732 in ?? () #8 0x0000000000000008 in ?? () #9 0xffffff0004866870 in ?? () #10 0xffffff000411d000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0xffffff80756ff660 in ?? () #14 0xffffffff81487d67 in zio_dva_free () from /mnt2/boot/kernel/zfs.ko #15 0xffffffff81488f07 in zio_execute () from /mnt2/boot/kernel/zfs.ko #16 0xffffffff8143a675 in arc_free () from /mnt2/boot/kernel/zfs.ko #17 0xffffffff814557a2 in dsl_dataset_block_kill () from /mnt2/boot/kernel/zfs.ko #18 0xffffffff8144fbdf in free_blocks () from /mnt2/boot/kernel/zfs.ko ---Type to continue, or q to quit--- Now, with 8.1 beta fixit, the same error... panic: solaris assert: size !=3D 0, file /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/s= pace_map.c, line: 90 ... With opensolaris indiana, i can import this zfs with -f I have already save the data content and now i can do some tests if you want.. root@opensolaris:~# zpool import pool: tank id: 18269788674034674773 state: ONLINE status: The pool is formatted using an older on-disk version. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: tank ONLINE raidz1 ONLINE c7d0p1 ONLINE c9d0p1 ONLINE c7d1p1 ONLINE c8d0p1 ONLINE This machine is a AMD Athlon(tm) 64 Processor 3000+ with 4gb ram. If something that i can do for help, let me know... maybe the problem is me =3D) Regards. --=20 Danilo Gon=E7alves Baio (dbaio) danilobaio (*) gmail . com +55 (44) 8801 1257 From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 21:48:01 2010 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 1498B106566C for ; Wed, 2 Jun 2010 21:48:01 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 923478FC15 for ; Wed, 2 Jun 2010 21:48:00 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so15845eya.9 for ; Wed, 02 Jun 2010 14:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=FvauqeBGyIaSpjZR/dwts6Lgqrapsnsye/OWmwlrDts=; b=TudSC08d1K1rOp+AXtjLMe0+XYjVzV9TA47oct/ASQnaWgsFEJnfuz5qm0ThJffMzn l3czPaIE4qK+8BPhfhcKA7YYyDz0BIot5wj4LGkCVceHzwOJLlYnj0J1kUe7ERpRDiX2 459xLD87pkI5cvg13RefBmT2KpEs/x2np12mo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=rIjZjimoO9M8R5cXkumDozpOa82lHz8NSj0X0iGABToO8jJ4cNj7iXyxx44QkPvZ5Q 7UzIssDbsv9fLBSZ642OseHr+5F8OM+AHKbLVUGpuZpQEb2W4dgeggqsZ4NHqzrEhtUD ybgcwlnNxjRH11EloJQrqzl+DnF5liQJIz9Pk= Received: by 10.213.34.130 with SMTP id l2mr5576355ebd.66.1275515279376; Wed, 02 Jun 2010 14:47:59 -0700 (PDT) Received: from [172.16.0.199] (c80-216-186-179.bredband.comhem.se [80.216.186.179]) by mx.google.com with ESMTPS id 16sm4706617ewy.15.2010.06.02.14.47.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 14:47:58 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Pawel Worach In-Reply-To: Date: Wed, 2 Jun 2010 23:47:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1512C02D-C046-42AE-8BC7-4DC78C10CAFE@gmail.com> References: <20100531075248.GA15206@freebsd.org> <20100531161409.A399B5B30@mail.bitblocks.com> <20100531161713.GA60782@freebsd.org> To: Garrett Cooper X-Mailer: Apple Mail (2.1078) Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 21:48:01 -0000 On May 31, 2010, at 21:30, Garrett Cooper wrote: >=20 > How much time (with -j1, approximately) does it take to build clang? Numbers for -j4 are about 1100 sec to build llvm+clang with gcc and = about 700 seconds to build llvm+clang with clang. --=20 Pawel= From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 21:48:14 2010 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 C706510657A0 for ; Wed, 2 Jun 2010 21:48:14 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 534D88FC1D for ; Wed, 2 Jun 2010 21:48:14 +0000 (UTC) Received: by ewy1 with SMTP id 1so1708527ewy.33 for ; Wed, 02 Jun 2010 14:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=asI37/nC40vNeG2gOLoxKKvKM948cn8SfSt4qKiJWa0=; b=Y0LkIH0VG5Wj9O3rZ59xznZmpw1MABb1gJUdzi9h5cz2R8tOmhhSKeR7eIHONdZx5x XXQiBjDc5NF7upUXcZZlrOFLxKeeAZlZQEnFn/frNztO7XJ/wH81E3fvLrACz2Po/eNQ 1DNzF+BF4EEXM0KbvH8DDp5HqMgwqjGjASzG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=XyuvflQFwsUBcHDQseHVF+HB+myMefFhliiBJ09GiVmFkygy8H9nxigRuFpq8NL0F6 rCADUzHCHZiNMu4FhqdxstzqbFGe56CWCJzTUIzMaQkJPaNL4qaUgX9j9+OwL9jTUBx4 t27nvLAfE/Q2SO1EfN2FeXSzoDXY1r780LGaE= Received: by 10.213.17.7 with SMTP id q7mr5433563eba.91.1275515293067; Wed, 02 Jun 2010 14:48:13 -0700 (PDT) Received: from [172.16.0.199] (c80-216-186-179.bredband.comhem.se [80.216.186.179]) by mx.google.com with ESMTPS id 16sm4706617ewy.15.2010.06.02.14.48.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 14:48:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Pawel Worach In-Reply-To: <20100531145749.GB55909@troutmask.apl.washington.edu> Date: Wed, 2 Jun 2010 23:48:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.1078) Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 21:48:14 -0000 On May 31, 2010, at 16:57, Steve Kargl wrote: >=20 > Can clang/LLVM build the livefs and bootonly CD's? >=20 There is a buildbot here[1] that builds a live CD for boot testing, so I = would say it works. [1] http://amd64-clang-bot.qat.freebsd.org:8010/ --=20 Pawel= From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 21:57:23 2010 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 70145106566C for ; Wed, 2 Jun 2010 21:57:23 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3373F8FC08 for ; Wed, 2 Jun 2010 21:57:23 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o52LvMCr073042; Wed, 2 Jun 2010 14:57:22 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o52LvMu4073041; Wed, 2 Jun 2010 14:57:22 -0700 (PDT) (envelope-from sgk) Date: Wed, 2 Jun 2010 14:57:22 -0700 From: Steve Kargl To: Pawel Worach Message-ID: <20100602215722.GA72880@troutmask.apl.washington.edu> References: <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> 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: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 21:57:23 -0000 On Wed, Jun 02, 2010 at 11:48:11PM +0200, Pawel Worach wrote: > On May 31, 2010, at 16:57, Steve Kargl wrote: > > > > Can clang/LLVM build the livefs and bootonly CD's? > > > > There is a buildbot here[1] that builds a live CD for boot > testing, so I would say it works. > > [1] http://amd64-clang-bot.qat.freebsd.org:8010/ > Clang cannot build a FreeBSD without the help of gcc. http://amd64-clang-bot.qat.freebsd.org:8010/freebsd.diff Index: sys/boot/i386/boot2/Makefile =================================================================== --- sys/boot/i386/boot2/Makefile (revision 208675) +++ sys/boot/i386/boot2/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + FILES= boot boot1 boot2 NM?= nm ndex: sys/boot/i386/zfsboot/Makefile =================================================================== --- sys/boot/i386/zfsboot/Makefile (revision 208675) +++ sys/boot/i386/zfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 Index: sys/boot/i386/gptboot/Makefile =================================================================== --- sys/boot/i386/gptboot/Makefile (revision 208675) +++ sys/boot/i386/gptboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 FILES= gptboot Index: sys/boot/i386/gptzfsboot/Makefile =================================================================== --- sys/boot/i386/gptzfsboot/Makefile (revision 208675) +++ sys/boot/i386/gptzfsboot/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +CC= gcc + .PATH: ${.CURDIR}/../boot2 ${.CURDIR}/../gptboot ${.CURDIR}/../zfsboot FILES= gptzfsboot -- Steve From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 21:59:56 2010 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 904E01065675; Wed, 2 Jun 2010 21:59:56 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8958FC19; Wed, 2 Jun 2010 21:59:56 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp2.one.com (Postfix) with ESMTP id 609411B002225; Wed, 2 Jun 2010 21:59:53 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-537-856027606; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Wed, 2 Jun 2010 23:59:30 +0200 Message-Id: <0D6C8897-3CC3-453F-BFC4-16E5D1892252@cederstrand.dk> References: <20100529130240.GA99732@freebsd.org> To: Roman Divacky X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 02 Jun 2010 21:59:56 -0000 --Apple-Mail-537-856027606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 31/05/2010 kl. 21.50 skrev Erik Cederstrand: > I do have a problem with buildworld on an unmodified ClangBSD src/ = tree within a ClangBSD VM. Clang barfs on the mmintrin.h headers when = building it's own Lexer because it picks up the gcc version of the = headers instead of the clang version. This has been fixed before in = ClangBSD, but probably the logic to decide on which headers to use are = insufficient. Building a new ClangBSD VM from the latest revision solved this issue = for me and I'm able to build ClangBSD within ClangBSD using unmodified = sources. Erik= --Apple-Mail-537-856027606-- From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 22:19:22 2010 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 F127C1065675 for ; Wed, 2 Jun 2010 22:19:22 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE158FC0A for ; Wed, 2 Jun 2010 22:19:22 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so17373eya.9 for ; Wed, 02 Jun 2010 15:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=wZ3eN5J9TnXRLurPVG04t9QEdzzegkQc2jzsc2xSPZ4=; b=SUzwlNljWAeC1V8fi86ctns7eP+UV94fWLO5jV9DOtgW1+MXPsaB4EMFCablJfeXl/ TUaAT8+XX2sItmO7ACKQ3oIuyUvLfqVM5neJl0lUYpTET2+agJFnXPvq9LFBVzj2Inp6 iRrGZ94rwZu515PU40P4y5IR/MSE30Cdq77Wg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=mW8LGIVTfHFApvkU1ilUVr24H2P83XRPmWcsYALZNTIwDsx6SnyoEiBq+eEq0tbd8l kcDTlWJFtPxJtcuS9pd40P3wqwf1a1r1X78+8FS8mqMErB4UcRfGf7X1cOFwxomijemX T5jik0i79Byyei6Z+IaI/AHtZRe5cCWMKIQCg= Received: by 10.213.32.195 with SMTP id e3mr2970654ebd.18.1275517161073; Wed, 02 Jun 2010 15:19:21 -0700 (PDT) Received: from [172.16.0.199] (c80-216-186-179.bredband.comhem.se [80.216.186.179]) by mx.google.com with ESMTPS id 15sm4712585ewy.0.2010.06.02.15.19.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jun 2010 15:19:20 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Pawel Worach In-Reply-To: <20100602215722.GA72880@troutmask.apl.washington.edu> Date: Thu, 3 Jun 2010 00:19:18 +0200 Content-Transfer-Encoding: 7bit Message-Id: <0840ECD3-3E26-4A30-B955-D3AC8A2F1FC5@gmail.com> References: <20100531075248.GA15206@freebsd.org> <20100531145749.GB55909@troutmask.apl.washington.edu> <20100602215722.GA72880@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.1078) Cc: current@freebsd.org Subject: Re: Importing clang/LLVM into FreeBSD HEAD 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, 02 Jun 2010 22:19:23 -0000 On Jun 2, 2010, at 23:57, Steve Kargl wrote: > On Wed, Jun 02, 2010 at 11:48:11PM +0200, Pawel Worach wrote: >> On May 31, 2010, at 16:57, Steve Kargl wrote: >>> >>> Can clang/LLVM build the livefs and bootonly CD's? >>> >> >> There is a buildbot here[1] that builds a live CD for boot >> testing, so I would say it works. >> >> [1] http://amd64-clang-bot.qat.freebsd.org:8010/ >> > > Clang cannot build a FreeBSD without the help of gcc. > > http://amd64-clang-bot.qat.freebsd.org:8010/freebsd.diff > I believe this was mentioned already that boot2 overflows 512b. It is being worked on, http://llvm.org/bugs/buglist.cgi?quicksearch=6627,5039 -- Pawel From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 23:14:34 2010 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 EDD0A106566B for ; Wed, 2 Jun 2010 23:14:34 +0000 (UTC) (envelope-from gerd@truschinski.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160]) by mx1.freebsd.org (Postfix) with ESMTP id 771E48FC18 for ; Wed, 2 Jun 2010 23:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1275520472; l=820; s=domk; d=truschinski.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:CC:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=MpJzdy4oVzt4y4pYbK3qooLapAI=; b=DH7decq2NTAe/0LFAci0Ndgo+/Mc0mmXNShuryOOmbJ2LiwnTL6PC5ww43Wy2C5mR3j T+8QEQ3rLXnq7MlhUFFWE+zbnnbNVWAYuzAHMaETZyk11h1C9Lkzm492kxVrHS7PNXJME 5pwmqfXIbM1wL0lnGcAr9kBDWqW3doUm0Cc= X-RZG-AUTH: :K2kWcWC8aeptqAZ2mRDu0s07mmH1zFKQdF0lCrKer4N5IzlbYCUfXh+UU9cpFXAUAYM= X-RZG-CLASS-ID: mo00 Received: from [192.168.10.105] (dslb-188-103-110-107.pools.arcor-ip.net [188.103.110.107]) by post.strato.de (fruni mo2) (RZmta 23.2) with ESMTP id Z04f0bm52LNrpy ; Thu, 3 Jun 2010 01:14:32 +0200 (MEST) Message-ID: <4C06E5DC.1090502@truschinski.de> Date: Thu, 03 Jun 2010 01:14:36 +0200 From: Gerd Truschinski User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: current@freebsd.org References: <20100529130240.GA99732@freebsd.org> <0D6C8897-3CC3-453F-BFC4-16E5D1892252@cederstrand.dk> In-Reply-To: <0D6C8897-3CC3-453F-BFC4-16E5D1892252@cederstrand.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Erik Cederstrand Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 02 Jun 2010 23:14:35 -0000 Erik Cederstrand wrote: > Den 31/05/2010 kl. 21.50 skrev Erik Cederstrand: > > >> I do have a problem with buildworld on an unmodified ClangBSD src/ tree within a ClangBSD VM. Clang barfs on the mmintrin.h headers when building it's own Lexer because it picks up the gcc version of the headers instead of the clang version. This has been fixed before in ClangBSD, but probably the logic to decide on which headers to use are insufficient. >> > > Building a new ClangBSD VM from the latest revision solved this issue for me and I'm able to build ClangBSD within ClangBSD using unmodified sources. > Fine, but can we stop calling it ClangBSD, else we end calling the other one Hurd (formerly known as gccBSD, which once was FreeBSD) /gT/ who now has an excuse to buy a new box, dedicated to FreeBSD(Clang). From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 23:53:01 2010 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 23AFF1065676 for ; Wed, 2 Jun 2010 23:53:01 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 90C318FC12 for ; Wed, 2 Jun 2010 23:53:00 +0000 (UTC) Received: by vws12 with SMTP id 12so390299vws.13 for ; Wed, 02 Jun 2010 16:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+8NjWyxu0YGPp8UQanevryh5VlEyt8yWGKLv4N41hnM=; b=XioC+kFntAmwq11GOR11IbDn76/ObYC9ppivG/g8gOSe/wn/DcvsTWC8GNzT7K5Zsi HRDWFqWXFZFfj9PuErQ4ggE4xf1w6pvp02MFbeAHy45YprNpzfJOMhv4JvYpnQhux5VV FSx4NWAS+8sn/F6gBkSYmArW1j2YJVHQoli4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=J+JHla0wPXGTG52q/wxrK3YLT1sV8Nd+r0OeOxykWA0V/mO8bFJ2e5RPUuP2G01O/c Zb0CItzKtk6F3UxXOCurtFTmW2EqvLPnzFYIlBmmPVUvWSvTdA5kigeIq9HRjdLIeIzU lChXwuKoKOmuZKFukHL3vuLxA8uNEGNq5mvtA= MIME-Version: 1.0 Received: by 10.224.35.196 with SMTP id q4mr4107063qad.348.1275522779595; Wed, 02 Jun 2010 16:52:59 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Wed, 2 Jun 2010 16:52:59 -0700 (PDT) In-Reply-To: <4C06E5DC.1090502@truschinski.de> References: <20100529130240.GA99732@freebsd.org> <0D6C8897-3CC3-453F-BFC4-16E5D1892252@cederstrand.dk> <4C06E5DC.1090502@truschinski.de> Date: Wed, 2 Jun 2010 16:52:59 -0700 Message-ID: From: Garrett Cooper To: Gerd Truschinski Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org, Erik Cederstrand Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 02 Jun 2010 23:53:01 -0000 On Wed, Jun 2, 2010 at 4:14 PM, Gerd Truschinski wrote: > Erik Cederstrand wrote: >> >> Den 31/05/2010 kl. 21.50 skrev Erik Cederstrand: >> >> >>> >>> I do have a problem with buildworld on an unmodified ClangBSD src/ tree >>> within a ClangBSD VM. Clang barfs on the mmintrin.h headers when building >>> it's own Lexer because it picks up the gcc version of the headers instead of >>> the clang version. This has been fixed before in ClangBSD, but probably the >>> logic to decide on which headers to use are insufficient. >>> >> >> Building a new ClangBSD VM from the latest revision solved this issue for >> me and I'm able to build ClangBSD within ClangBSD using unmodified sources. >> > > Fine, but can we stop calling it ClangBSD, else we end calling the other one > Hurd (formerly known as gccBSD, which once was FreeBSD) > > /gT/ > who now has an excuse to buy a new box, dedicated to FreeBSD(Clang). I have resources; I just don't have the time to maintain more boxes right now. -Garrett From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 23:54:19 2010 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 0339E1065670 for ; Wed, 2 Jun 2010 23:54:19 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A8A9F8FC22 for ; Wed, 2 Jun 2010 23:54:18 +0000 (UTC) Received: by vws12 with SMTP id 12so391948vws.13 for ; Wed, 02 Jun 2010 16:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=svciP/0Akp2XcQWEYQcooFVYQQaiQz0jVFSTHsWLMtw=; b=a8iB6bi5dole82t8fL75etxDCkMt4eO6u0t3xLrWu3dOjTzCzbV1Jbr5XDKj/0pKuP SEDRDTauYkvlgLMoZYxuxWaOXq7AsVVSlh49V4n1VZ8DOuTklvAOJtRo6PCgeQpY4EH/ 5U2YkT+Yl7bpIBYGgeAV+cDCse2m3X0RLhun4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=N0WKcJeZHxZt29UGw2Pjayf0rb1IrW/UfYD6KpWWnBHEUnlPLh1HLOO1xBKeYlnAt1 DHKHVH+6rPKtfnUCWPpD7P1V5q6yVmwQk5B15Qv5IWNj3JxE+7IKfkYz+j7gLpd+hIh6 RBwkqIgXLBGldK9eA1bS7BvT4Vaz/gntgnXJ0= MIME-Version: 1.0 Received: by 10.224.118.213 with SMTP id w21mr3763441qaq.253.1275522857735; Wed, 02 Jun 2010 16:54:17 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Wed, 2 Jun 2010 16:54:17 -0700 (PDT) In-Reply-To: References: <20100529130240.GA99732@freebsd.org> <0D6C8897-3CC3-453F-BFC4-16E5D1892252@cederstrand.dk> <4C06E5DC.1090502@truschinski.de> Date: Wed, 2 Jun 2010 16:54:17 -0700 Message-ID: From: Garrett Cooper To: Gerd Truschinski Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org, Erik Cederstrand Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 02 Jun 2010 23:54:19 -0000 On Wed, Jun 2, 2010 at 4:52 PM, Garrett Cooper wrote: > On Wed, Jun 2, 2010 at 4:14 PM, Gerd Truschinski wrote: >> Erik Cederstrand wrote: >>> >>> Den 31/05/2010 kl. 21.50 skrev Erik Cederstrand: >>> >>> >>>> >>>> I do have a problem with buildworld on an unmodified ClangBSD src/ tree >>>> within a ClangBSD VM. Clang barfs on the mmintrin.h headers when building >>>> it's own Lexer because it picks up the gcc version of the headers instead of >>>> the clang version. This has been fixed before in ClangBSD, but probably the >>>> logic to decide on which headers to use are insufficient. >>>> >>> >>> Building a new ClangBSD VM from the latest revision solved this issue for >>> me and I'm able to build ClangBSD within ClangBSD using unmodified sources. >>> >> >> Fine, but can we stop calling it ClangBSD, else we end calling the other one >> Hurd (formerly known as gccBSD, which once was FreeBSD) >> >> /gT/ >> who now has an excuse to buy a new box, dedicated to FreeBSD(Clang). > > I have resources; I just don't have the time to maintain more boxes right now. On another note, your.org was donating cycles on ESX machines to the project, so... -Garrett From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 23:58: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 35524106566C for ; Wed, 2 Jun 2010 23:58:20 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7DD88FC16 for ; Wed, 2 Jun 2010 23:58:19 +0000 (UTC) Received: by vws12 with SMTP id 12so397059vws.13 for ; Wed, 02 Jun 2010 16:58:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.107.5 with SMTP id z5mr6149857vco.243.1275523099055; Wed, 02 Jun 2010 16:58:19 -0700 (PDT) Sender: andy@fud.org.nz Received: by 10.220.165.74 with HTTP; Wed, 2 Jun 2010 16:58:19 -0700 (PDT) Date: Thu, 3 Jun 2010 11:58:19 +1200 X-Google-Sender-Auth: uINJuvBgXPWZ3jEv7FxHHhINytA Message-ID: From: Andrew Thompson To: freebsd-current@freebsd.org, brooks@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: bridge & dhcp 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, 02 Jun 2010 23:58:20 -0000 Hi, > r179003 | brooks | 2008-05-15 13:06:10 +1200 (Thu, 15 May 2008) | 9 lines > >Change the default value of synchronous_dhclient to NO. > >To preserve the existing behavior of etc/rc.d/netif, add code to wait >up to if_up_delay seconds (30 seconds by default) for a default route to >be configured if there are any dhcp interfaces. This should be extended >to test that the interface is actually up. As far as I can see this means a bridge interface no longer works when set to dhcp on boot, as the above assumes devd will start dhclient. Firstly it does not generate link-state events which I patched for (same as the recent tap(4) change) but the bridge also doesn't support the SIOCGIFMEDIA ioctl to match "ethernet" in the 2nd part of the rule. notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "ethernet"; action "/etc/rc.d/dhclient quietstart $subsystem"; }; What is the best way to fix this? Andrew From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 00:08:08 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 ED0A91065670; Thu, 3 Jun 2010 00:08:08 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 47C618FC12; Thu, 3 Jun 2010 00:08:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMeOBkyDaFvH/2dsb2JhbACeJXHAZYUWBA X-IronPort-AV: E=Sophos;i="4.53,349,1272859200"; d="scan'208";a="78719339" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 02 Jun 2010 20:08:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 39A8510844DB; Wed, 2 Jun 2010 20:08:05 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ewKSOmYOC9+B; Wed, 2 Jun 2010 20:08:04 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id DFDE210843B3; Wed, 2 Jun 2010 20:08:03 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o530Nt700692; Wed, 2 Jun 2010 20:23:55 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Wed, 2 Jun 2010 20:23:53 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Craig Rodrigues In-Reply-To: <20100602084748.GA68872@crodrigues.org> Message-ID: References: <9EA890DC-CDCF-4E12-BB0E-063153400AB6@samsco.org> <201006011125.00062.jhb@freebsd.org> <20100602084748.GA68872@crodrigues.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: Re: SUJ and "mount" reporting 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: Thu, 03 Jun 2010 00:08:09 -0000 On Wed, 2 Jun 2010, Craig Rodrigues wrote: > > The Berkeley amd is the next big NFS mount client which needs > to be updated to use nmount().....but that code is messy. :) > I know, slightly off topic, but since this reminded me... I've heard good things about the OpenSolaris autofs (I believe Mac OS X now uses a port of that). If there were someone out there looking for an interesting project, porting it might be useful? (Sorry, I don't have the time.) If I had thought of this sooner, maybe it could have been a GSoC project? Maybe next year?? rick From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 02:09:53 2010 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 732091065675 for ; Thu, 3 Jun 2010 02:09:53 +0000 (UTC) (envelope-from sdrhodus@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2278FC18 for ; Thu, 3 Jun 2010 02:09:52 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so30109eya.9 for ; Wed, 02 Jun 2010 19:09:51 -0700 (PDT) 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:content-type; bh=vRjWmU03Kof1tPW5GI9XjU+moN78ofzy1MB40kpO4Eg=; b=Ld08EEZvbGDLtrnk3W+4BaBdBaMoRDe2r7St9xbeX67pZyK4TrGfXTjPEkWf3JIpkb O7qmTYsSiI8RyGQIgVMmYClZfEzl/rps8Cq9wiuOsDM5KOUXbLcICZQnZpD4HG6mrp9j HCYTEbswQJ6hg2xGb1DkGQLlw+MkO4Wir4btQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eibVx2hfLiGSQHKvS6DUVnUgLJpJ2xMAdQra0PLCf5D1Na6zWlHYcurh5ZYStdNagW 5bjCGOybBCw3KCTtsBUJ9fGDzduwDG9MWow47TDuoaMfnpGxL5S1iFe0LTW1XEO+rlAi weR2OALwTrWziBMBhN8dN7Ib1az5l4f0065eU= MIME-Version: 1.0 Received: by 10.213.31.143 with SMTP id y15mr923111ebc.14.1275529684438; Wed, 02 Jun 2010 18:48:04 -0700 (PDT) Received: by 10.213.16.130 with HTTP; Wed, 2 Jun 2010 18:48:04 -0700 (PDT) Date: Wed, 2 Jun 2010 21:48:04 -0400 Message-ID: From: David Rhodus To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Xorg build error on -current-amd64 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: Thu, 03 Jun 2010 02:09:53 -0000 ===> Verifying install for sessreg in /usr/ports/x11/sessreg ===> Building for sessreg-1.0.5 make all-am cc -std=gnu99 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement -I/usr/local/include -O2 -pipe -fno-strict-aliasing -o sessreg sessreg.o sessreg.o(.text+0xada): In function `main': : undefined reference to `ttyslot' *** Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. *** Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. *** Error code 1 Stop in /usr/ports/x11/sessreg. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg. # uname -a FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Jun 2 15:10:14 UTC 2010 root@:/usr/obj/usr/src/sys/GENERIC amd64 # From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 07:43:51 2010 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 D6DC01065677 for ; Thu, 3 Jun 2010 07:43:51 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4608FC20 for ; Thu, 3 Jun 2010 07:43:50 +0000 (UTC) Received: by fxm5 with SMTP id 5so5580646fxm.13 for ; Thu, 03 Jun 2010 00:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=BiVvDP10fEt2KTV9AprZiespjIIpOx0Ht8Y4NqPpNQ8=; b=WxWHlSOlz6z7UhRG96dbQTtmGU61Ahen8HdiEBTJl6JpFqztVlZSpnx34PypcEsyDG LKoncOCm8wnCnhENV+BW4Bf6m2T7FOtGXyuKVHysmIUxD/1athY/o51y09+8Inv2AmsE fVFQVHzb7PtriG6HoJzcWQmBA59YZpybszn5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=oVQzlEgbykdiaNY8W+9315dn/GV61ttnVZwztElmzzTCeT+ZANq+0BWgiHrHXsxnLc Ft+Monra2qqprlq+i4lLCl+o0mJOe7y0doRXkvJC2wOoAvHJENrLNLRn2LJOhhTxGv1E +neRMFMFMSWt6IL0KLicW/vMjFdffts/6XnGk= Received: by 10.223.64.194 with SMTP id f2mr9808413fai.2.1275551029695; Thu, 03 Jun 2010 00:43:49 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id r12sm56216903fah.8.2010.06.03.00.43.46 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 00:43:47 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C075D1E.7040406@FreeBSD.org> Date: Thu, 03 Jun 2010 10:43:26 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Matthew Jacob , current References: <20100602185714.000069be@unknown> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: ata panic: "mtx_lock of destroyed mutex" 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: Thu, 03 Jun 2010 07:43:51 -0000 Matthew Jacob wrote: > Hmm. I just fixed that at Panasas, and I'm pretty sure that I gave the > patch to Alexander Motin to put in. Do you mean one committed at r207221 or something else? >> I've been setting up an amd64 VirtualBox machine with the latest >> 9-CURRENT and got the following panic when booting it (another machine >> updated and booting at the same time didn't panic): >> >> ata1: WARNING - READ_TOC read data overrun 18>12 >> panic: mtx_lock of destroyed mutex @ /usr/src/sys/kern/kern_sema.c:79 >> cpuid = 0 >> >> with the following stack trace: >> >> kdb_enter >> panic >> _mtx_lock_flags >> _sema_post >> ata_completed >> taskqueue_run >> intr_event_execute_handlers >> ithread_loop >> fork_exit >> fork_trampoline -- Alexander Motin From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 07:44:56 2010 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 47C01106566B for ; Thu, 3 Jun 2010 07:44:56 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 701578FC36 for ; Thu, 3 Jun 2010 07:44:55 +0000 (UTC) Received: by fxm5 with SMTP id 5so5581430fxm.13 for ; Thu, 03 Jun 2010 00:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=CD3lNzP/H+lKBMQV2rmZh0A8fRxv8scBoO7paig0Ap4=; b=r9ZWZusfHrEA7li4ykBmzRAOingFHnPCurTjxYyW9MowndlyoZUmLwhuXAwlIgORBH S7abdAlorsvxntVCezmSTB4NtTpMt4FJSaq1H9hsjTlwN1rQdLpmephtr2w9zW0yxzP0 dpcYG/lMqqi42j653n9ucBuyLNgyw6/tROtuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ICX5AJh7/OZxOtqPsP/wijlAo8j9LEUSm5uTfrs+rSp4093IZkJ8V3UBlIdVT6R5R8 QdL0uUIdnp7jSBSIdMOstqr1xvVlTtvAyD6Y5sbhGZQU/2cj4nopeDnwpjNTUTmAQt+J NvpyT5tRyi2WwAk/ZM0nawJ/9ZWi6miX7i1+w= Received: by 10.223.44.86 with SMTP id z22mr9806411fae.13.1275551094486; Thu, 03 Jun 2010 00:44:54 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 15sm56223724fad.10.2010.06.03.00.44.53 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 00:44:53 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C075D60.2040101@FreeBSD.org> Date: Thu, 03 Jun 2010 10:44:32 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Bruce Cran , current References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: ata panic: "mtx_lock of destroyed mutex" 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: Thu, 03 Jun 2010 07:44:56 -0000 Bruce Cran wrote: > I've been setting up an amd64 VirtualBox machine with the latest > 9-CURRENT and got the following panic when booting it (another machine > updated and booting at the same time didn't panic): > > ata1: WARNING - READ_TOC read data overrun 18>12 > panic: mtx_lock of destroyed mutex @ /usr/src/sys/kern/kern_sema.c:79 > cpuid = 0 Are there any other related messages before it if boot with verbose? > with the following stack trace: > > kdb_enter > panic > _mtx_lock_flags > _sema_post > ata_completed > taskqueue_run > intr_event_execute_handlers > ithread_loop > fork_exit > fork_trampoline -- Alexander Motin From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 08:02:22 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 C5D281065670 for ; Thu, 3 Jun 2010 08:02:22 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 8B41B8FC16 for ; Thu, 3 Jun 2010 08:02:22 +0000 (UTC) Received: from [192.168.0.102] (m206-63.dsl.tsoft.com [198.144.206.63]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o5382LL1034708 for ; Thu, 3 Jun 2010 01:02:22 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4C076191.3030406@feral.com> Date: Thu, 03 Jun 2010 01:02:25 -0700 From: Matthew Jacob User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20100602185714.000069be@unknown> <4C075D1E.7040406@FreeBSD.org> In-Reply-To: <4C075D1E.7040406@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.67.166.1]); Thu, 03 Jun 2010 01:02:22 -0700 (PDT) Subject: Re: ata panic: "mtx_lock of destroyed mutex" 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: Thu, 03 Jun 2010 08:02:22 -0000 On 6/3/2010 12:43 AM, Alexander Motin wrote: > Matthew Jacob wrote: > >> Hmm. I just fixed that at Panasas, and I'm pretty sure that I gave the >> patch to Alexander Motin to put in. >> > Do you mean one committed at r207221 or something else? > > yes From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 08:55:21 2010 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 5B69F1065679 for ; Thu, 3 Jun 2010 08:55:21 +0000 (UTC) (envelope-from alp@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.freebsd.org (Postfix) with ESMTP id BE6598FC20 for ; Thu, 3 Jun 2010 08:55:20 +0000 (UTC) Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.252.128]) (authenticated bits=0) by mail.r61.net (8.14.4/8.14.1) with ESMTP id o538hKDg087203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 12:43:20 +0400 (MSD) (envelope-from alp@rsu.ru) Message-ID: <4C076B28.2000705@rsu.ru> Date: Thu, 03 Jun 2010 12:43:20 +0400 From: Alexander Pyhalov User-Agent: Thunderbird 2.0.0.23 (X11/20091202) MIME-Version: 1.0 To: David Rhodus References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Xorg build error on -current-amd64 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: Thu, 03 Jun 2010 08:55:21 -0000 Hello. I've just had this error yesterday. It seems, that utmp.h file is still=20 in the system. Make in /usr/src: make delete-old and try again . David Rhodus wrote: > =3D=3D=3D> Verifying install for sessreg in /usr/ports/x11/sessreg > =3D=3D=3D> Building for sessreg-1.0.5 > make all-am > cc -std=3Dgnu99 -Wall -Wpointer-arith -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > -fno-strict-aliasing -Wbad-function-cast -Wformat=3D2 > -Wold-style-definition -Wdeclaration-after-statement > -I/usr/local/include -O2 -pipe -fno-strict-aliasing -o sessreg > sessreg.o > sessreg.o(.text+0xada): In function `main': > : undefined reference to `ttyslot' > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. > *** Error code 1 >=20 > Stop in /usr/ports/x11/sessreg. > *** Error code 1 >=20 > Stop in /usr/ports/x11/xorg-apps. > *** Error code 1 >=20 > Stop in /usr/ports/x11/xorg-apps. > *** Error code 1 >=20 > Stop in /usr/ports/x11/xorg. > # uname -a > FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Jun 2 15:10:14 UTC > 2010 root@:/usr/obj/usr/src/sys/GENERIC amd64 > # > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=9F=D1=8B=D1=85= =D0=B0=D0=BB=D0=BE=D0=B2, =D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D1=8B=D0=B9 =D0=B0=D0=B4=D0=BC= =D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80 =D0=AE=D0=93= =D0=98=D0=9D=D0=A4=D0=9E =D0=AE=D0=A4=D0=A3. From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 08:59:14 2010 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 8C88E106566C; Thu, 3 Jun 2010 08:59:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2458FC14; Thu, 3 Jun 2010 08:59:14 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id A6F755C85; Thu, 3 Jun 2010 08:59:16 +0000 (UTC) Date: Thu, 3 Jun 2010 09:58:57 +0100 From: Bruce Cran To: Alexander Motin Message-ID: <20100603095857.000071f1@unknown> In-Reply-To: <4C075D60.2040101@FreeBSD.org> References: <4C075D60.2040101@FreeBSD.org> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current Subject: Re: ata panic: "mtx_lock of destroyed mutex" 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: Thu, 03 Jun 2010 08:59:14 -0000 On Thu, 03 Jun 2010 10:44:32 +0300 Alexander Motin wrote: > Bruce Cran wrote: > > I've been setting up an amd64 VirtualBox machine with the latest > > 9-CURRENT and got the following panic when booting it (another > > machine updated and booting at the same time didn't panic): > > > > ata1: WARNING - READ_TOC read data overrun 18>12 > > panic: mtx_lock of destroyed mutex > > @ /usr/src/sys/kern/kern_sema.c:79 cpuid = 0 > > Are there any other related messages before it if boot with verbose? I've only seen it happen once, and didn't get any more details. I'll start booting with verbose in case it happens again. -- Bruce Cran From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 10:05:31 2010 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 3FFC8106566B for ; Thu, 3 Jun 2010 10:05:31 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id D3E8C8FC25 for ; Thu, 3 Jun 2010 10:05:30 +0000 (UTC) Received: from [192.168.2.2] (0x5ebd3756.terminal.tdcmobil.dk [94.189.55.86]) by csmtp3.one.com (Postfix) with ESMTP id BDE1A2401B58 for ; Thu, 3 Jun 2010 10:05:27 +0000 (UTC) From: Erik Cederstrand Content-Type: multipart/signed; boundary=Apple-Mail-575-899428296; protocol="application/pkcs7-signature"; micalg=sha1 Date: Thu, 3 Jun 2010 12:02:51 +0200 Message-Id: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> To: current@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Running all regression tests 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: Thu, 03 Jun 2010 10:05:31 -0000 --Apple-Mail-575-899428296 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I'd like to run the regression tests in src/tools/regression on a = regular basis. What's the official way to do this? Is there some way I = can run them all in one go? It seems it's necessary to enter every single subdirectory and execute = any Makefiles located there before running 'prove -r'. Some of the tests = don't contain .t files, so I assume they can't be run using 'prove'? Also, I'd like to filter out the tests that don't apply on my system, = e.g. zfs tests. Thanks, Erik= --Apple-Mail-575-899428296-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 10:10:35 2010 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 84A24106564A for ; Thu, 3 Jun 2010 10:10:35 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 079858FC17 for ; Thu, 3 Jun 2010 10:10:34 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o53AAUAv061214 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Jun 2010 12:10:31 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.3/8.14.3) with ESMTP id o53AASN0088583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 12:10:28 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o53AASHX032841; Thu, 3 Jun 2010 12:10:28 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o53AARAE032840; Thu, 3 Jun 2010 12:10:27 +0200 (CEST) (envelope-from ticso) Date: Thu, 3 Jun 2010 12:10:27 +0200 From: Bernd Walter To: Hans Petter Selasky Message-ID: <20100603101027.GD27037@cicely7.cicely.de> References: <201006021750.17588.hselasky@c2i.net> <201006021825.25337.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006021825.25337.hselasky@c2i.net> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: Marcelo/Porks , Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 10:10:35 -0000 On Wed, Jun 02, 2010 at 06:25:25PM +0200, Hans Petter Selasky wrote: > > > Hi, > > > > > > Can you dump the USB descriptors of your device? > > > > Hi, right now I can do this at "FreeBSD 8.0-RELEASE-p2 #8 r206060M", > > but If you prefer tonight I can dump from 'freebsd-current' box. > > > > Thank you > > Hi, > > The problem is that LOW speed does not support BULK transfers according to the > USB specification. I guess we could switch that support on, though I'd rather > stick with the spec. I think the original sense is a bit outdated. It was when people had a single full speed controller on their systems and low speed transfers could easily drop overall performance, so it made sense to prohibid bulk transfers on low speed. Today however people have multiple channels and high speed chains where performance is only a matter up to the next transaction translator and even if they don't use a high speed hub it only harms performance on a single (of many) usb low/full channels, while bandwidth hungry devices usually are connected to other controllers. On the other hand - I never understood why people want to implement low speed devices. It has some many restrictions and isn't realy cheaper to build than full speed devices. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 10:13:09 2010 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 2F0FB1065672 for ; Thu, 3 Jun 2010 10:13:09 +0000 (UTC) (envelope-from maxim.konovalov@gmail.com) Received: from mp2.macomnet.net (cl-2958.ham-01.de.sixxs.net [IPv6:2001:6f8:900:b8d::2]) by mx1.freebsd.org (Postfix) with ESMTP id AC26C8FC12 for ; Thu, 3 Jun 2010 10:13:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.14.3/8.14.3) with ESMTP id o53AD6uA047130; Thu, 3 Jun 2010 14:13:06 +0400 (MSD) (envelope-from maxim.konovalov@gmail.com) Date: Thu, 3 Jun 2010 14:13:06 +0400 (MSD) From: Maxim Konovalov To: Erik Cederstrand In-Reply-To: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> Message-ID: <20100603140951.J65565@mp2.macomnet.net> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Thu, 03 Jun 2010 11:23:36 +0000 Cc: current@freebsd.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 10:13:09 -0000 On Thu, 3 Jun 2010, 12:02+0200, Erik Cederstrand wrote: > Hi, > > I'd like to run the regression tests in src/tools/regression on a > regular basis. What's the official way to do this? Is there some way > I can run them all in one go? > There is no one. Yet. > It seems it's necessary to enter every single subdirectory and > execute any Makefiles located there before running 'prove -r'. Some > of the tests don't contain .t files, so I assume they can't be run > using 'prove'? > Yes, correct. > Also, I'd like to filter out the tests that don't apply on my > system, e.g. zfs tests. > > Thanks, > Erik -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 12:47:00 2010 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 7A7FA106564A for ; Thu, 3 Jun 2010 12:47:00 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3238FC1D for ; Thu, 3 Jun 2010 12:47:00 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 9D7E55C85; Thu, 3 Jun 2010 12:47:02 +0000 (UTC) Date: Thu, 3 Jun 2010 13:46:43 +0100 From: Bruce Cran To: Maxim Konovalov Message-ID: <20100603134643.00001204@unknown> In-Reply-To: <20100603140951.J65565@mp2.macomnet.net> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Erik Cederstrand Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 12:47:00 -0000 On Thu, 3 Jun 2010 14:13:06 +0400 (MSD) Maxim Konovalov wrote: > On Thu, 3 Jun 2010, 12:02+0200, Erik Cederstrand wrote: > > > Hi, > > > > I'd like to run the regression tests in src/tools/regression on a > > regular basis. What's the official way to do this? Is there some way > > I can run them all in one go? > > > There is no one. Yet. > > > It seems it's necessary to enter every single subdirectory and > > execute any Makefiles located there before running 'prove -r'. Some > > of the tests don't contain .t files, so I assume they can't be run > > using 'prove'? > > > Yes, correct. > > > Also, I'd like to filter out the tests that don't apply on my > > system, e.g. zfs tests. It seems the p5-Test-Harness may be too simple for our requirements. Has anyone looked into using NetBSD's ATF (http://www.netbsd.org/~jmmv/atf/) in FreeBSD? -- Bruce Cran From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 12:50:23 2010 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 77A0C1065672 for ; Thu, 3 Jun 2010 12:50:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 22EF38FC0A for ; Thu, 3 Jun 2010 12:50:22 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2FA75.dip.t-dialin.net [217.226.250.117]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id DD35884405B; Thu, 3 Jun 2010 14:50:16 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id CD5CA50BB; Thu, 3 Jun 2010 14:50:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1275569413; bh=BhR7YtaoFrnQWpmKriZsKsjSfzFG+oMkQienWqFAEr0=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=xwvyY2NB6Quc3MGh7CMQVHXhcREZD8B5n54D1tRtIp65AM3UYOuRX2oJ3xZAWxScH xnZ1VjayvTUS1UrzE9L5r5M3eR/FOFdCZH+rEimzhq5Zppvf6M5A/uwYjQmGyBglYU 5WGd08SKM8TAS6s2zrQAlk2kK+gvbH8Mh+ocUrfIOjgXU0IxHWKwCE8XC1mx0BSVNe b7Pw7ufEXHZdbD+AZSoiYXuNHC0t07Tc5FTKpzv/C9uGWvY4hDGR+SGrfAXx0Esgmz VltQb730mMB4+fhQmXvNd8hxocKgXdzt+wvZLW785j+/Jdr9fLwGAVdxm8V4wqTGZU 78iKi+jps/sgA== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o53CoD46005748; Thu, 3 Jun 2010 14:50:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 03 Jun 2010 14:50:13 +0200 Message-ID: <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> Date: Thu, 03 Jun 2010 14:50:13 +0200 From: Alexander Leidinger To: Erik Cederstrand References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> In-Reply-To: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: DD35884405B.A737C X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1276174221.02851@NK6j7SwcFttDu0L4js3biw X-EBL-Spam-Status: No Cc: current@FreeBSD.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 12:50:23 -0000 Quoting Erik Cederstrand (from Thu, 3 Jun 2010 12:02:51 +0200): > Hi, > > I'd like to run the regression tests in src/tools/regression on a > regular basis. What's the official way to do this? Is there some way > I can run them all in one go? > > It seems it's necessary to enter every single subdirectory and > execute any Makefiles located there before running 'prove -r'. Some You could write a Makefile which recurses into the subdirs. > of the tests don't contain .t files, so I assume they can't be run > using 'prove'? The effort to convert tests to prove-able tests got stuck at one point in time (probably time constraints / real-life-interupt). Bye, Alexander. -- Year, n.: A period of three hundred and sixty-five disappointments. -- Ambrose Bierce, "The Devil's Dictionary" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 12:53:23 2010 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 8AA60106566C for ; Thu, 3 Jun 2010 12:53:23 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1BD768FC1D for ; Thu, 3 Jun 2010 12:53:21 +0000 (UTC) Received: by fxm5 with SMTP id 5so83226fxm.13 for ; Thu, 03 Jun 2010 05:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=2paaOwDc6nXrazZToi/Onzra4+SKl+AQyG9S9y+AWAU=; b=Q9lOBWxaE5s+I34phiKIGFonHihJScqmdvF7vgq5h9nA0MFGf2yLNJAmBBIK9lsT12 6pjv/5hHQJyrEs4B6mANWRznv5iP8xYCbwxtmpq6eGPywgUbIIpa6wetMfQF0+7gGzoF DcKXZj/wpkxXF9RZ7NAcqr42e68AFqBPtE23I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JpN3p2aEe4u4hGUf43kdLyas0jeXp2SSXOcxCLH8m2/DMtdoZoKf9eE+UyXGxuhzIS w7dlRdnnDS3KPo1nEWvMhjVd1X/JktmNtcovZ9O49ZpdBWA93l6n7/4b7XCWJ3bRRrKa 7tK9HyTtzatvanBGGUumq32edSvAFUzeDTynM= MIME-Version: 1.0 Received: by 10.239.180.17 with SMTP id f17mr681011hbg.138.1275569600236; Thu, 03 Jun 2010 05:53:20 -0700 (PDT) Received: by 10.239.132.194 with HTTP; Thu, 3 Jun 2010 05:53:20 -0700 (PDT) In-Reply-To: <20100603140951.J65565@mp2.macomnet.net> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> Date: Thu, 3 Jun 2010 08:53:20 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Maxim Konovalov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org, Erik Cederstrand Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 12:53:23 -0000 On Thu, Jun 3, 2010 at 6:13 AM, Maxim Konovalov wrote: > On Thu, 3 Jun 2010, 12:02+0200, Erik Cederstrand wrote: > > > Hi, > > > > I'd like to run the regression tests in src/tools/regression on a > > regular basis. What's the official way to do this? Is there some way > > I can run them all in one go? > > > There is no one. Yet. > > > It seems it's necessary to enter every single subdirectory and > > execute any Makefiles located there before running 'prove -r'. Some > > of the tests don't contain .t files, so I assume they can't be run > > using 'prove'? > > > Yes, correct. > > > Also, I'd like to filter out the tests that don't apply on my > > system, e.g. zfs tests. > > > > Thanks, > > Erik > > -- > Maxim Konovalov > I do not know how to perform regression tests , but is it not possible to write a shell script to perform the above manual steps ? In that way it may be possible to apply any selected steps in succession . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 13:15:18 2010 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 EF38C1065672 for ; Thu, 3 Jun 2010 13:15:17 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id 897458FC13 for ; Thu, 3 Jun 2010 13:15:15 +0000 (UTC) Received: from [192.168.0.70] (0x573fa596.cpe.ge-1-1-0-1109.ronqu1.customer.tele.dk [87.63.165.150]) by csmtp3.one.com (Postfix) with ESMTP id 03EAB24069D9; Thu, 3 Jun 2010 13:15:13 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-600-910970159; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Thu, 3 Jun 2010 15:15:13 +0200 Message-Id: <1E5F7C3C-0502-4503-B168-9CF564FA51F8@cederstrand.dk> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> To: Mehmet Erol Sanliturk X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Maxim Konovalov , current@freebsd.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 13:15:18 -0000 --Apple-Mail-600-910970159 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 03/06/2010 kl. 14.53 skrev Mehmet Erol Sanliturk: >=20 > I do not know how to perform regression tests , but > is it not possible to write a shell script to perform the above manual = steps ? I just wrote a shell script to recurse into the subdirectories and run = make on the Makefiles found. Unfortunately, some of the Makefiles start = running tests immediately, some have syntax errors etc., so I'll have to = add some more logic. Erik= --Apple-Mail-600-910970159-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 14:22:55 2010 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 0FD09106566C for ; Thu, 3 Jun 2010 14:22:55 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id BC4138FC19 for ; Thu, 3 Jun 2010 14:22:54 +0000 (UTC) Received: by gwj23 with SMTP id 23so117960gwj.13 for ; Thu, 03 Jun 2010 07:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+zGexWl9tNMwJmPxkgDDqy/ELJlm2zYm9Q88AflRAvk=; b=M7s5zgW1ltN2OFAvsIcFEo0yOpDEsO6uKoBBchVGGXR5Wo7L75Q8bjNsnrE9nzid7G pHUVntV9VQ20izKHYDvl0xDgcCfvTJMbrzXB6e5Mr5GlV4Ip2vNTFjBn9jvvVVdpJyFc JKbJzG5M68R4BDAHxKOKx7lqyyPC0Uxkeu2tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NlCMIHCpw++O8eyAr54tmfPnHp92w+7Fg778AaqaAm7/vXs8ZZVbXJzaLb54v9cHe8 I0V88bieV547hMVohUwAVITqfLvIXaJquGz3F9RqHDRN6luMNG0/vN92nz6htMC/GSWp xTbJMXLXBCLqXpPrBD967gE+Hvoeqy3Sr4ltY= Received: by 10.224.96.89 with SMTP id g25mr4813595qan.42.1275574973674; Thu, 03 Jun 2010 07:22:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.86.71 with HTTP; Thu, 3 Jun 2010 07:22:33 -0700 (PDT) In-Reply-To: <201006021825.25337.hselasky@c2i.net> References: <201006021750.17588.hselasky@c2i.net> <201006021825.25337.hselasky@c2i.net> From: "Marcelo/Porks" Date: Thu, 3 Jun 2010 11:22:33 -0300 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 14:22:55 -0000 On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky wrot= e: > Hi, > > The problem is that LOW speed does not support BULK transfers according t= o the > USB specification. I guess we could switch that support on, though I'd ra= ther > stick with the spec. > > Try changing this line in: > > src/sys/dev/usb/usb_transfer.c > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_LOW] =3D 0, =A0 =A0/* not suppo= rted */ > Into: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_LOW] =3D 8, =A0 =A0/* not suppo= rted according to USB > spec. */ > Hi, Thanks again for the reply. I changed this line [1], but the result was the same: BARAD-DUR% uname -a FreeBSD BARAD-DUR.BUTECO 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r208760M: Thu Jun 3 10:13:44 BRT 2010 porks@BARAD-DUR.BUTECO:/usr/obj/mnt/ad2s1d/data/src/sys/BARAD-DUR i386 BARAD-DUR# kldstat Id Refs Address Size Name 1 29 0xc0400000 757368 kernel 2 1 0xc0b58000 5ad4 snd_cmi.ko 3 3 0xc0b5e000 574a4 sound.ko 4 1 0xc0bb6000 4dfa90 nvidia.ko 5 3 0xc1096000 2eacc linux.ko 6 1 0xc4405000 8000 linprocfs.ko 7 1 0xc4753000 3000 logo_saver.ko 8 1 0xc4a9b000 4000 umodem.ko BARAD-DUR# tail -f /var/log/messages Jun 3 11:10:21 BARAD-DUR kernel: uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT Jun 3 11:10:21 BARAD-DUR kernel: uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 Jun 3 11:10:21 BARAD-DUR kernel: ugen0.3: at usbus0 Jun 3 11:10:21 BARAD-DUR kernel: umodem0: on usbus0 Jun 3 11:10:21 BARAD-DUR kernel: umodem0: data interface 1, has CM over data, has no break Jun 3 11:10:21 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 Jun 3 11:10:21 BARAD-DUR kernel: umodem0: on usbus0 Jun 3 11:10:21 BARAD-DUR kernel: umodem0: data interface 1, has CM over data, has no break Jun 3 11:10:21 BARAD-DUR kernel: device_attach: umodem0 attach returned 6 BARAD-DUR# usbconfig -u 0 -a 3 dump_device_desc dump_curr_config_desc ugen0.3: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps) pwr=3DON bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0110 bDeviceClass =3D 0x0002 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0008 idVendor =3D 0x16c0 idProduct =3D 0x05e1 bcdDevice =3D 0x0100 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x0043 bNumInterfaces =3D 0x0002 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 bmAttributes =3D 0x0080 bMaxPower =3D 0x0032 Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x0002 bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0001 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x00 RAW dump: 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 Additional Descriptor bLength =3D 0x04 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x04, 0x24, 0x02, 0x02 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x06 RAW dump: 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x05, 0x24, 0x01, 0x03, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0083 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008 bInterval =3D 0x00ff bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x000a bInterfaceSubClass =3D 0x0000 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0001 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 [1] Actually the line is 3062 on current of 2010 Jun 2: http://fxr.watson.org/fxr/source/dev/usb/usb_transfer.c#L3060 --=20 Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights.= " From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:52:57 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 8DF0D106564A; Thu, 3 Jun 2010 15:52:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id DCE6A8FC1E; Thu, 3 Jun 2010 15:52:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=OJSkIO69dOippDcgNdwA:9 a=QO6DzH1atqtZMrBCUQao4KT230EA:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1363679182; Thu, 03 Jun 2010 17:52:54 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:50:08 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006021825.25337.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031750.08693.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:52:57 -0000 On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky wrote: > > Hi, > > > > The problem is that LOW speed does not support BULK transfers according > > to the USB specification. I guess we could switch that support on, though > > I'd rather stick with the spec. > > > > Try changing this line in: > > > > src/sys/dev/usb/usb_transfer.c > > > > [USB_SPEED_LOW] = 0, /* not supported */ > > Into: > > > > [USB_SPEED_LOW] = 8, /* not supported according to USB > > spec. */ > > Hi, Thanks again for the reply. > > I changed this line [1], but the result was the same: Hi, You also need to update this structure above: [UE_BULK] = { [USB_SPEED_LOW] = {.fixed = {0, 0, 0, 0}}, /* invalid */ Change it into: 8, 8, 8, 8, :-) --HPS From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:52:57 2010 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 8DF0D106564A; Thu, 3 Jun 2010 15:52:57 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id DCE6A8FC1E; Thu, 3 Jun 2010 15:52:56 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=OJSkIO69dOippDcgNdwA:9 a=QO6DzH1atqtZMrBCUQao4KT230EA:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1363679182; Thu, 03 Jun 2010 17:52:54 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:50:08 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006021825.25337.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031750.08693.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper , current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:52:57 -0000 On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky wrote: > > Hi, > > > > The problem is that LOW speed does not support BULK transfers according > > to the USB specification. I guess we could switch that support on, though > > I'd rather stick with the spec. > > > > Try changing this line in: > > > > src/sys/dev/usb/usb_transfer.c > > > > [USB_SPEED_LOW] = 0, /* not supported */ > > Into: > > > > [USB_SPEED_LOW] = 8, /* not supported according to USB > > spec. */ > > Hi, Thanks again for the reply. > > I changed this line [1], but the result was the same: Hi, You also need to update this structure above: [UE_BULK] = { [USB_SPEED_LOW] = {.fixed = {0, 0, 0, 0}}, /* invalid */ Change it into: 8, 8, 8, 8, :-) --HPS From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 14:14:25 2010 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 9CBAE1065670 for ; Thu, 3 Jun 2010 14:14:25 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (cl-2958.ham-01.de.sixxs.net [IPv6:2001:6f8:900:b8d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 243BC8FC17 for ; Thu, 3 Jun 2010 14:14:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.14.3/8.14.3) with ESMTP id o53EEKtD056000; Thu, 3 Jun 2010 18:14:21 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Thu, 3 Jun 2010 18:14:20 +0400 (MSD) From: Maxim Konovalov To: Erik Cederstrand In-Reply-To: <1E5F7C3C-0502-4503-B168-9CF564FA51F8@cederstrand.dk> Message-ID: <20100603181316.A65565@mp2.macomnet.net> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> <1E5F7C3C-0502-4503-B168-9CF564FA51F8@cederstrand.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Thu, 03 Jun 2010 15:56:51 +0000 Cc: current@freebsd.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 14:14:25 -0000 On Thu, 3 Jun 2010, 15:15+0200, Erik Cederstrand wrote: > > Den 03/06/2010 kl. 14.53 skrev Mehmet Erol Sanliturk: > > > > I do not know how to perform regression tests , but > > is it not possible to write a shell script to perform the above manual steps ? > > I just wrote a shell script to recurse into the subdirectories and > run make on the Makefiles found. Unfortunately, some of the > Makefiles start running tests immediately, some have syntax errors > etc., so I'll have to add some more logic. > It would be nice to get patches while you are there. -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:57:04 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 3165B1065686 for ; Thu, 3 Jun 2010 15:57:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id B2AE88FC17 for ; Thu, 3 Jun 2010 15:57:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=kzPiI3ZxbBDRNV7ynagA:9 a=rNJi5IhWtpV5ubR3r2WEMKe3bOkA:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1368324845; Thu, 03 Jun 2010 17:57:01 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:54:17 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006031750.08693.hselasky@c2i.net> In-Reply-To: <201006031750.08693.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031754.17053.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:57:04 -0000 On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky > > wrote: > > > Hi, > > > > > > The problem is that LOW speed does not support BULK transfers according > > > to the USB specification. I guess we could switch that support on, > > > though I'd rather stick with the spec. > > > > > > Try changing this line in: > > > > > > src/sys/dev/usb/usb_transfer.c > > > > > > [USB_SPEED_LOW] = 0, /* not supported */ > > > Into: > > > > > > [USB_SPEED_LOW] = 8, /* not supported according to > > > USB spec. */ > > > > Hi, Thanks again for the reply. > > > > I changed this line [1], but the result was the same: > > Hi, > > You also need to update this structure above: > > [UE_BULK] = { > [USB_SPEED_LOW] = {.fixed = {0, 0, 0, 0}}, /* invalid > */ > > Change it into: > > 8, 8, 8, 8, > Oops, that seems to be some old code. Forget that patch. I will have another look. And you are sure you built a new kernel and usb module with the initial patch above? --HPS From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:58:05 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 413671065735 for ; Thu, 3 Jun 2010 15:58:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id C26E78FC1F for ; Thu, 3 Jun 2010 15:58:04 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ybvMdcpiZqMhz_w6xkMA:9 a=GEV19PtE5cr3l83Fc2WIqHqN7SgA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1198337236; Thu, 03 Jun 2010 17:58:02 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:55:18 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006031750.08693.hselasky@c2i.net> In-Reply-To: <201006031750.08693.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031755.18083.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:58:05 -0000 Could you join: #bsdusb on efnet ? --HPS From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 15:59:50 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 A8F9D106567A for ; Thu, 3 Jun 2010 15:59:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 38E648FC19 for ; Thu, 3 Jun 2010 15:59:48 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=W03D85Xis-_4jeGQJnEA:9 a=0P1Uf97bWCifzGD6-PIv5m4S2i0A:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1363680666; Thu, 03 Jun 2010 17:59:48 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Thu, 3 Jun 2010 17:57:03 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006031750.08693.hselasky@c2i.net> <201006031754.17053.hselasky@c2i.net> In-Reply-To: <201006031754.17053.hselasky@c2i.net> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006031757.03341.hselasky@c2i.net> Cc: Marcelo/Porks , Garrett Cooper Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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: Thu, 03 Jun 2010 15:59:50 -0000 On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote: > On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: > > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky > > > > wrote: > > > > Hi, > > > > > > > > The problem is that LOW speed does not support BULK transfers > > > > according to the USB specification. I guess we could switch that > > > > support on, though I'd rather stick with the spec. > > > > > > > > Try changing this line in: > > > > > > > > src/sys/dev/usb/usb_transfer.c > > > > Hi, Should be like this: Note the structure is called "bulk_min": static const uint16_t bulk_min[USB_SPEED_MAX] = { [USB_SPEED_LOW] = 8, [USB_SPEED_FULL] = 8, [USB_SPEED_HIGH] = 512, [USB_SPEED_VARIABLE] = 512, [USB_SPEED_SUPER] = 1024, }; --HPS From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 16:04:20 2010 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 D1B301065675 for ; Thu, 3 Jun 2010 16:04:20 +0000 (UTC) (envelope-from lex859@ymail.com) Received: from n3-vm0.bullet.mail.gq1.yahoo.com (n3-vm0.bullet.mail.gq1.yahoo.com [67.195.23.156]) by mx1.freebsd.org (Postfix) with SMTP id 9DE2A8FC19 for ; Thu, 3 Jun 2010 16:04:20 +0000 (UTC) Received: from [67.195.9.83] by n3.bullet.mail.gq1.yahoo.com with NNFMP; 03 Jun 2010 15:51:09 -0000 Received: from [67.195.9.105] by t3.bullet.mail.gq1.yahoo.com with NNFMP; 03 Jun 2010 15:51:09 -0000 Received: from [127.0.0.1] by omp109.mail.gq1.yahoo.com with NNFMP; 03 Jun 2010 15:51:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 795388.5569.bm@omp109.mail.gq1.yahoo.com Received: (qmail 43445 invoked by uid 60001); 3 Jun 2010 15:51:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1275580269; bh=NISiBsChEGa2tfSkPt9V1ck+cEOz8Ap9YJihSKvjtVE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=aw0X++o7l5Lv07Xlk53OiCczrk378ol63HhrnqRYxYLjUZWuvT/dBw/0TlikCk8k+qdevdUQKHC1dr+OAQrei9XgQXFqC62fzXeCn2q5KRCczVjzJbVDkgi/HSmOPaexU8IXa3wgQT0SNA1H+zlGl4KJ63tIcnVrU/AQgzWhTZI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Pv3OnI+byDtRQetLiRW4K0dzBDYwidDXeYaNbaHk7lUnQpdCiE/lJZPvF2jHwHHzZ5mjN9pbVMfRASEknnPm78TeOg7w9wnR0pnHw4OEfCTjhTv1Faii39Uj1lkh0paYLbQsRCjzz1WMwEMo3DZTnrRwZfJr/Pjo5cGUMrauXrM=; Message-ID: <703885.42640.qm@web114309.mail.gq1.yahoo.com> X-YMail-OSG: euAvEl8VM1m97ZZQTSmVRUBdav9ZE2ObDhIYDuuMQm.KGux JXQ9Jx4CDRTmAk12lqN2AEztLZvl1KVMSI61PumPPJ.dDVPT8FvF2MYmL.Un GhceAeOvusS6qdDlvSEPG5UbtBJw.WNTQG2r4Xn2ZEY8UwRC_0PSW6AjanH0 nibUuSr5DysmNq_PFp2WTCu._7qv3FjcNBQwSEfcAY26MtbQ9jvcUBQqOdr3 kswmZ_eXlmqqH0Cp.dI3.tsS8qgVvr6M- Received: from [74.140.169.120] by web114309.mail.gq1.yahoo.com via HTTP; Thu, 03 Jun 2010 08:51:09 PDT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 Date: Thu, 3 Jun 2010 08:51:09 -0700 (PDT) From: John Doe To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Panic on current when enabling SUJ 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: Thu, 03 Jun 2010 16:04:20 -0000 Boot into single user-mode # tunefs -j enable / # tunefs -j enable /usr # tunefs -j enable /tmp # tunefs -j enable /var # reboot The machine then panics. Looks like the machine is trying to write to a read-only filesystem. From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 16:26:47 2010 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 B1EB01065674 for ; Thu, 3 Jun 2010 16:26:47 +0000 (UTC) (envelope-from sdrhodus@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1318FC2F for ; Thu, 3 Jun 2010 16:26:47 +0000 (UTC) Received: by gyh20 with SMTP id 20so307540gyh.13 for ; Thu, 03 Jun 2010 09:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Dp8wDnxeeB/JNTwoiqfPlDd/kkXF1U17x5NcdjPt94k=; b=POaHopTqMtiDn+2a+4slVAGJQNlN/PD1gLG+XmELjk9oThQgu7TXLe92U7tnNfz5Vm TgtaQVhh67P5x1xjWx72P34TK/HPZaEDdu5+FpwJFAmD5i/Mg7KqW8+7BREOPoRfxZ3D WcMh5T0e0gbYeAk0vmY/W80CgvXYXfqDpecyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vNGiMa1mgamqjLLUkju6qR4EEXO0b+Qde28G2EEbEQIZ9kBgfciO4/GXpoW2pAwa6F KzXG2TQF6l8ned5iXsFWhWmZ1BPnNVrPLNYwAMfdXbY1pfCe0Pu9pdmWqd2uXGOBnthT sR937keCRTnfkAXFwDJbiM+0CS+cqrka98btA= MIME-Version: 1.0 Received: by 10.224.120.136 with SMTP id d8mr5094359qar.76.1275582406275; Thu, 03 Jun 2010 09:26:46 -0700 (PDT) Received: by 10.229.232.212 with HTTP; Thu, 3 Jun 2010 09:26:45 -0700 (PDT) In-Reply-To: <4C076B28.2000705@rsu.ru> References: <4C076B28.2000705@rsu.ru> Date: Thu, 3 Jun 2010 12:26:45 -0400 Message-ID: From: David Rhodus To: Alexander Pyhalov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Xorg build error on -current-amd64 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: Thu, 03 Jun 2010 16:26:47 -0000 Thanks, make delete-old fixed everything. On Thu, Jun 3, 2010 at 4:43 AM, Alexander Pyhalov wrote: > Hello. > I've just had this error yesterday. It seems, that utmp.h file is still i= n > the system. Make in /usr/src: > make delete-old > and try again . > > David Rhodus wrote: >> >> =3D=3D=3D> =9A =9AVerifying install for sessreg in /usr/ports/x11/sessre= g >> =3D=3D=3D> =9ABuilding for sessreg-1.0.5 >> make =9Aall-am >> cc -std=3Dgnu99 -Wall -Wpointer-arith -Wstrict-prototypes >> -Wmissing-prototypes -Wmissing-declarations -Wnested-externs >> -fno-strict-aliasing -Wbad-function-cast -Wformat=3D2 >> -Wold-style-definition -Wdeclaration-after-statement >> -I/usr/local/include -O2 -pipe -fno-strict-aliasing =9A -o sessreg >> sessreg.o >> sessreg.o(.text+0xada): In function `main': >> : undefined reference to `ttyslot' >> *** Error code 1 >> >> Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. >> *** Error code 1 >> >> Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.5. >> *** Error code 1 >> >> Stop in /usr/ports/x11/sessreg. >> *** Error code 1 >> >> Stop in /usr/ports/x11/xorg-apps. >> *** Error code 1 >> >> Stop in /usr/ports/x11/xorg-apps. >> *** Error code 1 >> >> Stop in /usr/ports/x11/xorg. >> # uname -a >> FreeBSD =9A9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Jun =9A2 15:10:14 UTC >> 2010 =9A =9A root@:/usr/obj/usr/src/sys/GENERIC =9Aamd64 >> # >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" > > > -- > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, > =E1=CC=C5=CB=D3=C1=CE=C4=D2 =F0=D9=C8=C1=CC=CF=D7, > =D3=C9=D3=D4=C5=CD=CE=D9=CA =C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2 =E0= =E7=E9=EE=E6=EF =E0=E6=F5. > > From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 17:40:30 2010 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 08B551065674 for ; Thu, 3 Jun 2010 17:40:30 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id B20E48FC16 for ; Thu, 3 Jun 2010 17:40:29 +0000 (UTC) Received: by vws12 with SMTP id 12so508257vws.13 for ; Thu, 03 Jun 2010 10:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=DfuyGz6UBb0iXpDm/ZEHyQpqttdQ/qoMEo9i0U84F0Q=; b=PATDFFD0nTs0+t9rphG6SDhdC+g5cy4nH4CrHmfdtK/XS76zu3wPmD1SHQad2fqkoJ I1OS/RYtbJiX+RY8J8FK/t0xlbOJv+qQMZhxT1BD3/2iFvvmhaY14pjBTq1mUoSEtYz7 VN70UYksbQA8b4n7VQ9MKtBNbZqQ7N5aNzlC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CUi/YNbjTo5KBU2tIvNBKbvbk/L5rSvOT4mNuVJf1taqgNWtiA62ADnZ7u1EnTF5kJ +xOlZ2u64BVL6gGGkBZHrdCesalHT24EdYzJJ/2ag2a1g2KtE7tdtaFMJkofuN2rcvWD s4bh+6MlN5VXJD933MTSIA9xmiMEu/v3h4LLY= MIME-Version: 1.0 Received: by 10.224.60.20 with SMTP id n20mr5006261qah.279.1275586828185; Thu, 03 Jun 2010 10:40:28 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Thu, 3 Jun 2010 10:40:27 -0700 (PDT) In-Reply-To: <20100603134643.00001204@unknown> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> <20100603134643.00001204@unknown> Date: Thu, 3 Jun 2010 10:40:27 -0700 Message-ID: From: Garrett Cooper To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: Maxim Konovalov , current@freebsd.org, Erik Cederstrand Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 17:40:30 -0000 On Thu, Jun 3, 2010 at 5:46 AM, Bruce Cran wrote: > On Thu, 3 Jun 2010 14:13:06 +0400 (MSD) > Maxim Konovalov wrote: > >> On Thu, 3 Jun 2010, 12:02+0200, Erik Cederstrand wrote: >> >> > Hi, >> > >> > I'd like to run the regression tests in src/tools/regression on a >> > regular basis. What's the official way to do this? Is there some way >> > I can run them all in one go? >> > >> There is no one. Yet. >> >> > It seems it's necessary to enter every single subdirectory and >> > execute any Makefiles located there before running 'prove -r'. Some >> > of the tests don't contain .t files, so I assume they can't be run >> > using 'prove'? >> > >> Yes, correct. >> >> > Also, I'd like to filter out the tests that don't apply on my >> > system, e.g. zfs tests. > > It seems the p5-Test-Harness may be too simple for our requirements. Has > anyone looked into using NetBSD's ATF (http://www.netbsd.org/~jmmv/atf/) > in FreeBSD? Yes. I'm waiting for miwi to import it into ports. Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 19:46:10 2010 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 1B364106564A for ; Thu, 3 Jun 2010 19:46:10 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFA88FC0C for ; Thu, 3 Jun 2010 19:46:09 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@freebsd.org X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.18, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80, T_MIME_NO_TEXT 0.01, T_TVD_MIME_NO_HEADERS 0.01) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o53Jjapl013925 Received: from kobe.laptop (188.4.35.31.dsl.dyn.forthnet.gr [188.4.35.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o53Jjapl013925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 22:45:42 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o53JjU1E045558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 22:45:31 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o53JjS0p045553; Thu, 3 Jun 2010 22:45:28 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Bruce Cran References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> <20100603134643.00001204@unknown> Date: Thu, 03 Jun 2010 22:45:22 +0300 In-Reply-To: <20100603134643.00001204@unknown> (Bruce Cran's message of "Thu, 3 Jun 2010 13:46:43 +0100") Message-ID: <87pr0799yl.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Maxim Konovalov , current@freebsd.org, Erik Cederstrand Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 19:46:10 -0000 --=-=-= > It seems the p5-Test-Harness may be too simple for our > requirements. Has anyone looked into using NetBSD's ATF > (http://www.netbsd.org/~jmmv/atf/) in FreeBSD? I am not sure if it makes sense to import ATF into the *base* system, but it sure looks like a nice ports/ addition. The work of writing the actual test code is then going to be a bit of extra work on top of that, but we can start doing it in small "mini-project chunks". I already have a few tests that I would love to convert to something more modular like ATF: : keramida@kobe:/hg/bsd/src$ hg qseries -s | fgrep regression : regression-chmod: Add a few regression tests for chmod(1) : regression-stdtime: Add a regression suite for libc/stdtime functions : keramida@kobe:/hg/bsd/src$ If anyone is already working on an ATF package/port, I'm very interested to help. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwIBlgACgkQ1g+UGjGGA7brmwCgwbc3epNQrfRnVf05z3x5A+Ry FBcAn33Pj2p/fbX/xPHpw/hf6QZyBTyX =eIA7 -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 20:14:01 2010 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 DE2191065673 for ; Thu, 3 Jun 2010 20:14:01 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3D08B8FC12 for ; Thu, 3 Jun 2010 20:14:00 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o53Jslel014357 Received: from kobe.laptop (188.4.35.31.dsl.dyn.forthnet.gr [188.4.35.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o53Jslel014357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 22:54:52 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o53Jsfq6011553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 22:54:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o53JsfZ9011550; Thu, 3 Jun 2010 22:54:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Alexander Leidinger References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> Date: Thu, 03 Jun 2010 22:54:41 +0300 In-Reply-To: <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 03 Jun 2010 14:50:13 +0200") Message-ID: <87ljav99j2.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: current@FreeBSD.org, Erik Cederstrand Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 20:14:01 -0000 On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger wrote: > Quoting Erik Cederstrand (from Thu, 3 Jun 2010 > 12:02:51 +0200): > >> Hi, >> >> I'd like to run the regression tests in src/tools/regression on a >> regular basis. What's the official way to do this? Is there some way >> I can run them all in one go? >> >> It seems it's necessary to enter every single subdirectory and >> execute any Makefiles located there before running 'prove -r'. Some > > You could write a Makefile which recurses into the subdirs. That's the easy way to run all the current tests. It should be possible to add minimal makefile glue to run all the regression tests. Skipping some of the tests may also be possible by using a technique similar to the src/ tree, e.g.: SUBDIRS = \ foo \ ${_bar} \ baz .if defined(WITH_BAR) _bar = bar .endif From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 21:30:57 2010 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 217E61065672 for ; Thu, 3 Jun 2010 21:30:57 +0000 (UTC) (envelope-from sdrhodus@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D23548FC13 for ; Thu, 3 Jun 2010 21:30:56 +0000 (UTC) Received: by vws19 with SMTP id 19so21961vws.13 for ; Thu, 03 Jun 2010 14:30:56 -0700 (PDT) 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:content-type; bh=wS3pwFfLLeitxT0u0UopziphiAVJqYnRaX5YFRuWx4A=; b=ItgeDhyXPQDADe400G9CbX5SRDuzfdcfBUp0x5vLshJ2JEhEHtN7oD1BoXk8uK1XmS G6DY6ZSKZvZIKP2gpZzQkA8fF0qfg5v2omKvQYNXgl8dI10R0W7gi2ssfhIH0W+i6kVB 3zn6nw4+/j1sGNEwtj1RwJpfmlBIUZ9sGxOqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dawI3HbW1bQR+6JlMR4Quv7RAHu9ZmSutaZgfhcipnWUFmjjmPVweV4eZ+ZVJxMqBG /cDJnv56XWThCAiEDF1o4hdQTpM/BOy68zRCBMGEUFmGRn5yAOwuAMFhcBi2xjPYMsD6 nrURd/sZkhpgf+bD4CDYhq46FmRzvLVuJEKpA= MIME-Version: 1.0 Received: by 10.224.106.4 with SMTP id v4mr5229251qao.36.1275600643647; Thu, 03 Jun 2010 14:30:43 -0700 (PDT) Received: by 10.229.232.212 with HTTP; Thu, 3 Jun 2010 14:30:43 -0700 (PDT) Date: Thu, 3 Jun 2010 17:30:43 -0400 Message-ID: From: David Rhodus To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Auto doadump() 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: Thu, 03 Jun 2010 21:30:57 -0000 Is there a rc.conf variable to automatically save core on a panic and reboot ? Setting dumpdev="AUTO" doesn't seem to do the trick. # uname -a FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Jun 3 20:00:22 UTC 2010 root@:/usr/obj/usr/src/sys/GE amd64 # From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 21:40:52 2010 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 7F744106564A for ; Thu, 3 Jun 2010 21:40:52 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU [18.9.25.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6B18FC13 for ; Thu, 3 Jun 2010 21:40:51 +0000 (UTC) X-AuditID: 1209190f-b7b20ae000003f85-df-4c082163c575 Received: from mailhub-auth-2.mit.edu (MAILHUB-AUTH-2.MIT.EDU [18.7.62.36]) by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with SMTP id D3.61.16261.361280C4; Thu, 3 Jun 2010 17:40:51 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id o53Lepua007259; Thu, 3 Jun 2010 17:40:51 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o53Len2F021042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 17:40:50 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o53LenOI020528; Thu, 3 Jun 2010 17:40:49 -0400 (EDT) Date: Thu, 3 Jun 2010 17:40:49 -0400 (EDT) From: Benjamin Kaduk To: David Rhodus In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAAA== Cc: current@freebsd.org Subject: Re: Auto doadump() 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: Thu, 03 Jun 2010 21:40:52 -0000 On Thu, 3 Jun 2010, David Rhodus wrote: > Is there a rc.conf variable to automatically save core on a panic and reboot ? > Setting dumpdev="AUTO" doesn't seem to do the trick. dumpdev merely controls which swap device the dump gets written to. You probably want to either compile your kernel with KDB_UNATTENDED or set the debug.debugger_on_panic sysctl to 0. (I run my systems to drop into KDB interactively, but reading kern/kern_shutdown.c seems to indicate that this will do what you want.) -Ben Kaduk From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 21:51:32 2010 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 2AC4B1065670 for ; Thu, 3 Jun 2010 21:51:32 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id F0B838FC08 for ; Thu, 3 Jun 2010 21:51:31 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id C4408F7429; Thu, 3 Jun 2010 17:34:40 -0400 (EDT) Date: Thu, 3 Jun 2010 17:34:40 -0400 From: Bill Moran To: David Rhodus Message-Id: <20100603173440.d665828d.wmoran@potentialtech.com> In-Reply-To: References: Organization: Bill Moran X-Mailer: Sylpheed 3.0.2 (GTK+ 2.18.7; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Auto doadump() 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: Thu, 03 Jun 2010 21:51:32 -0000 In response to David Rhodus : > Is there a rc.conf variable to automatically save core on a panic and reboot ? > Setting dumpdev="AUTO" doesn't seem to do the trick. Did you also set dumpdir? Is dumpdir set to a location with enough disk space to hold a kernel dump? Is the swap device large enough to hold the entire contents of memory + a little? The docs are here: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 22:19:25 2010 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 524891065670 for ; Thu, 3 Jun 2010 22:19:25 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id DE3B08FC18 for ; Thu, 3 Jun 2010 22:19:24 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp3.one.com (Postfix) with ESMTP id EDD0B24061B0; Thu, 3 Jun 2010 22:19:22 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-627-943619085; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: <87ljav99j2.fsf@kobe.laptop> Date: Fri, 4 Jun 2010 00:19:22 +0200 Message-Id: References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> <87ljav99j2.fsf@kobe.laptop> To: Giorgos Keramidas X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexander Leidinger , current@FreeBSD.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 22:19:25 -0000 --Apple-Mail-627-943619085 Content-Type: multipart/mixed; boundary=Apple-Mail-626-943619071 --Apple-Mail-626-943619071 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 03/06/2010 kl. 21.54 skrev Giorgos Keramidas: > On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger = wrote: >> Quoting Erik Cederstrand (from Thu, 3 Jun 2010 >> 12:02:51 +0200): >>=20 >>> Hi, >>>=20 >>> I'd like to run the regression tests in src/tools/regression on a >>> regular basis. What's the official way to do this? Is there some way >>> I can run them all in one go? >>>=20 >>> It seems it's necessary to enter every single subdirectory and >>> execute any Makefiles located there before running 'prove -r'. Some >>=20 >> You could write a Makefile which recurses into the subdirs. I ended up with the attached shell script which does the job (but not = very elegantly) for the time being. As stated elsewhere in this thread, some tests need cleaning up and = rewriting to the standard format. Erik --Apple-Mail-626-943619071 Content-Disposition: attachment; filename=test.sh Content-Type: application/octet-stream; name="test.sh" Content-Transfer-Encoding: 7bit #!/bin/sh # Runs all regression tests within src/tools/regression. # Copy it to src/tools/regression and do: # ./test.sh make # ./test.sh run MAKE="/usr/bin/make" PROVE="/usr/local/bin/prove" DIR=`dirname $0` PWD=`pwd` if [ "$DIR" = "." ]; then BASEDIR="$PWD" else BASEDIR="$PWD/$DIR" fi # Only needs to run once if [ "$1" = "make" ]; then echo "Running 'make':" makefiles=`find "$BASEDIR/" -name "Makefile" | sort` for m in $makefiles; do dir=`dirname $m` # Only run 'make' in directories that contain .t files dott=`find "$dir" -name "*.t"` if [ "$dott" = "" ]; then echo " Skipping $dir (no *.t files in this directory)" else echo " Building in $dir" cd "$dir" # Some of the makefiles start running tests. Ignore the output for now. $MAKE > /dev/null fi done elif [ "$1" = "run" ]; then echo "Running tests:" # Find all dirs containing .t files tdirs=`find "$BASEDIR/" -name "*.t" | sed 's|[^/]*t$||' | sort -u` for t in $tdirs; do echo " Proving $t" $PROVE $t done else echo "Unknown option ('$1')" fi echo "Done" --Apple-Mail-626-943619071-- --Apple-Mail-627-943619085-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 23:11:02 2010 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 D05A61065677 for ; Thu, 3 Jun 2010 23:11:02 +0000 (UTC) (envelope-from sdrhodus@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 687E38FC1B for ; Thu, 3 Jun 2010 23:11:02 +0000 (UTC) Received: by vws19 with SMTP id 19so151997vws.13 for ; Thu, 03 Jun 2010 16:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=KR+zwYeMvjCvFdCXaGHOxOIx5Acz+ZbO04ERpSnBYok=; b=fRNwniyTIyl9pgjpdJFPEfQHbcd2ymjfWZ8W8Tzc3laCLLiRJe528JoUeKHCL94iYJ tyFC+yup/crbZnPTtMMpOI38y2m5+PoAaKZP0BP3PufenZvSX1HFnYftJ7RaAfJUDl4i vk8EKKWXmFHZfVYm/hUiC8fJPKmwSyT3tRZ2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nd2c7DVmH9rNbIp/JVLa5s00/iGbMe3j8vSeiL1FLS5nJfJ6ss3YWHv3HrXFBPsL3t g5CheJxcfpr+burpD+XVdKZ+/+IVUjyprntRTQN794Ts7pEuGoOrodN6av0tJJfLMgzB ua3BtHIMIFT6D3jrQceDH5n6NrWKdyoJYBICQ= MIME-Version: 1.0 Received: by 10.224.88.220 with SMTP id b28mr5028788qam.91.1275606659466; Thu, 03 Jun 2010 16:10:59 -0700 (PDT) Received: by 10.229.232.212 with HTTP; Thu, 3 Jun 2010 16:10:59 -0700 (PDT) In-Reply-To: References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> <87ljav99j2.fsf@kobe.laptop> Date: Thu, 3 Jun 2010 19:10:59 -0400 Message-ID: From: David Rhodus To: Erik Cederstrand Content-Type: text/plain; charset=ISO-8859-1 Cc: Giorgos Keramidas , Alexander Leidinger , current@freebsd.org Subject: Re: Running all regression tests 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: Thu, 03 Jun 2010 23:11:02 -0000 Doing a ./test.sh make crashes my -current machine pretty quickly. It stops in Building in /usr/src/tools/regression/bin/mv On Thu, Jun 3, 2010 at 6:19 PM, Erik Cederstrand wrote: > > Den 03/06/2010 kl. 21.54 skrev Giorgos Keramidas: > >> On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger wrote: >>> Quoting Erik Cederstrand (from Thu, 3 Jun 2010 >>> 12:02:51 +0200): >>> >>>> Hi, >>>> >>>> I'd like to run the regression tests in src/tools/regression on a >>>> regular basis. What's the official way to do this? Is there some way >>>> I can run them all in one go? >>>> >>>> It seems it's necessary to enter every single subdirectory and >>>> execute any Makefiles located there before running 'prove -r'. Some >>> >>> You could write a Makefile which recurses into the subdirs. > > I ended up with the attached shell script which does the job (but not very elegantly) for the time being. > > As stated elsewhere in this thread, some tests need cleaning up and rewriting to the standard format. > > Erik > > From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 23:19:27 2010 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 8E982106566C for ; Thu, 3 Jun 2010 23:19:27 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6E48C8FC0C for ; Thu, 3 Jun 2010 23:19:27 +0000 (UTC) Received: by pzk5 with SMTP id 5so361574pzk.14 for ; Thu, 03 Jun 2010 16:19:27 -0700 (PDT) Received: by 10.142.67.2 with SMTP id p2mr7217066wfa.288.1275607167092; Thu, 03 Jun 2010 16:19:27 -0700 (PDT) Received: from [10.0.1.198] (udp022762uds.hawaiiantel.net [72.234.79.107]) by mx.google.com with ESMTPS id e40sm523139wfj.23.2010.06.03.16.19.25 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 16:19:26 -0700 (PDT) Date: Thu, 3 Jun 2010 13:19:59 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: John Doe In-Reply-To: <703885.42640.qm@web114309.mail.gq1.yahoo.com> Message-ID: References: <703885.42640.qm@web114309.mail.gq1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: Panic on current when enabling SUJ 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: Thu, 03 Jun 2010 23:19:27 -0000 On Thu, 3 Jun 2010, John Doe wrote: > Boot into single user-mode > > # tunefs -j enable / > # tunefs -j enable /usr > # tunefs -j enable /tmp > # tunefs -j enable /var > # reboot > > The machine then panics. > > Looks like the machine is trying to write to a read-only filesystem. Can you please give me information on the panic? What was the state of the filesystems upon reboot? Does dumpfs show suj enabled? Thanks, Jeff > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 23:24:41 2010 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 E45EB1065670 for ; Thu, 3 Jun 2010 23:24:41 +0000 (UTC) (envelope-from sdrhodus@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAA18FC18 for ; Thu, 3 Jun 2010 23:24:41 +0000 (UTC) Received: by vws19 with SMTP id 19so168564vws.13 for ; Thu, 03 Jun 2010 16:24:40 -0700 (PDT) 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:content-type; bh=yJwSQ5PwWP7+IyWxMinzNwnePLVuZ3JH3N80HhJLtPU=; b=fIoKwGhPSXAk3z18S7xI0RScBcTROi/TMGU/NuG/ae1hipbMXWia/OswWY7nh2kRqy NPREW47VQ9SmRBqFWVpKZVGM3G975Kt7xowCw4Nbi2RmqOkp0VAJTWZ79YuTpypUrcst tM8U6UpADqf2S6cclcIRHdoM1As3LgNNxJZ1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ebU53by1y90PLVTkGpTegSgD/mSvAjnGLvxTMF6OlbM+4E3rvj9ZQkQjD4FK8HJfp5 zUEqEOmps1eR23BAhGFmx+MMhDgo+4516wzv/7arEH71iKjHEuhd+6PC0EfUjVenJPyU 2COY3g114H0qMjin0mWJeiYETbiKK1DhhIfnA= MIME-Version: 1.0 Received: by 10.224.53.91 with SMTP id l27mr5464909qag.352.1275607480594; Thu, 03 Jun 2010 16:24:40 -0700 (PDT) Received: by 10.229.232.212 with HTTP; Thu, 3 Jun 2010 16:24:40 -0700 (PDT) Date: Thu, 3 Jun 2010 19:24:40 -0400 Message-ID: From: David Rhodus To: current@freebsd.org, stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: SUJ Patches for 8.X ??? 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: Thu, 03 Jun 2010 23:24:42 -0000 Anyone have a SUJ patch set for 8.x ? From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 00:19:50 2010 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 11C511065672; Fri, 4 Jun 2010 00:19:50 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id E1C3A8FC14; Fri, 4 Jun 2010 00:19:49 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 97CA88C084; Thu, 3 Jun 2010 19:19:49 -0500 (CDT) Date: Thu, 3 Jun 2010 19:19:49 -0500 From: Mark Linimon To: Andrew Reilly Message-ID: <20100604001949.GC22064@lonesome.com> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <20100601145322.52546745@duncan.reilly.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100601145322.52546745@duncan.reilly.home> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Daniel Eischen , Matthew Seaman , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 00:19:50 -0000 I'm just catching up with this thread, so apologies if this has already been pointed out elsewhere. One of the things that has been discussed w/rt compilers for a while (not just at the devsummit) was bending our minds around separating the concept of "base system compiler" from "default ports compiler". In -stable branches, we must and shall not do large compiler updates. But ports probably need a more recent compiler (of whatever flavor) just to keep as many of them building as possible. (As upstream authors switch to newer compilers, their ports often don't build on whatever is in our base). Despite my enthusiasm for the future of llvm, the reality is that even in the medium-term there are so many ports with hardwired assumptions that they are running on gcc (not to mention on linux on i386) that it will never be possible to fix them all. The current paradigm is that as ports stop building with both base gcc, unless they are switched to depending on a newer gcc from ports, they'll be marked 'broken' and go through the deprecation cycle. Further, I remind people that "compile" and "run" and "run equally as well through all code-paths" are three completely separate levels of effort, possibly having an order of magnitude more work between each. We're looking at a multi-year process here, and not every single port is going to survive. But again -- not all of them currently do, anwyays. mcl From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 00:38:45 2010 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 A8A341065672; Fri, 4 Jun 2010 00:38:45 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 8889F8FC0C; Fri, 4 Jun 2010 00:38:45 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 1EC4D8C08D; Thu, 3 Jun 2010 19:38:45 -0500 (CDT) Date: Thu, 3 Jun 2010 19:38:45 -0500 From: Mark Linimon To: Alban Hertroys Message-ID: <20100604003845.GE22064@lonesome.com> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <338E3C69-1542-4F0D-89C4-C96EA3575AEA@solfertje.student.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <338E3C69-1542-4F0D-89C4-C96EA3575AEA@solfertje.student.utwente.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Kostik Belousov , Roman Divacky , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 00:38:45 -0000 On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: > Compiler bugs in gcc are probably just as hard to find as compiler bugs > in clang There are two types of compiler bug: a) bug that produces bad code; b) bug that makes the compiler crash. The latter number seems kind of low right now, but that's probably because some of them are now obscured by BROKEN tags: http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_error=gcc_bug For comparison, bitrot that is probably due to older ports not keeping up with compiler changes is at: http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_error=gcc4_error I don't have any statistic for "produces bad code". mcl From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 00:51:40 2010 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 DA3F1106567C; Fri, 4 Jun 2010 00:51:40 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 724878FC16; Fri, 4 Jun 2010 00:51:39 +0000 (UTC) Received: by vws19 with SMTP id 19so273518vws.13 for ; Thu, 03 Jun 2010 17:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AccrniX3pVtkM2q3NBHdQ6g59jhQMuA309VLIMg/xt8=; b=vLxA/gYn5R42o4C6bx5n51LrP1wybyuGzs9OgrQhwGaQqAwpPF4vwEk/KTSRlHXZMg yxG4wnDNYaimo282wYOrcRerfmpDz7ckWsTuhbj6+lIR4kxUmvGVdTVo7BjbyUG7S//E pxwQfyAgZdvPMuJxSsuCmlIXQN/W45Q3jTmWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RbTv1Yce2bckHmxSiKszDIcLUjXF+e/ovlv2oAras14WtxRAgocltdVS/p0pnG6jxA RASbfnDrZAmfNqBxYY4rz6NO7GSPgMbnduQEE6HF3UhQKV5zoio72Lf3mAH5BZ248uCz OhR+XJs1UdYcz4uHTL86H6MRuPXRPDLlrCD+Q= MIME-Version: 1.0 Received: by 10.224.106.130 with SMTP id x2mr5441652qao.245.1275612699176; Thu, 03 Jun 2010 17:51:39 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Thu, 3 Jun 2010 17:51:39 -0700 (PDT) In-Reply-To: <87pr0799yl.fsf@kobe.laptop> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> <20100603134643.00001204@unknown> <87pr0799yl.fsf@kobe.laptop> Date: Thu, 3 Jun 2010 17:51:39 -0700 Message-ID: From: Garrett Cooper To: Giorgos Keramidas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Bruce Cran , Maxim Konovalov , current@freebsd.org, Erik Cederstrand Subject: Re: Running all regression tests 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, 04 Jun 2010 00:51:40 -0000 On Thu, Jun 3, 2010 at 12:45 PM, Giorgos Keramidas w= rote: >> It seems the p5-Test-Harness may be too simple for our >> requirements. Has anyone looked into using NetBSD's ATF >> (http://www.netbsd.org/~jmmv/atf/) in FreeBSD? > > I am not sure if it makes sense to import ATF into the *base* > system, but it sure looks like a nice ports/ addition. =A0The work > of writing the actual test code is then going to be a bit of > extra work on top of that, but we can start doing it in small > "mini-project chunks". You're correct; it doesn't make sense given the agile approach of releasing the software that's being done today. > I already have a few tests that I would love to convert to > something more modular like ATF: > > : keramida@kobe:/hg/bsd/src$ hg qseries -s | fgrep regression > : regression-chmod: Add a few regression tests for chmod(1) > : regression-stdtime: Add a regression suite for libc/stdtime functions > : keramida@kobe:/hg/bsd/src$ > > If anyone is already working on an ATF package/port, I'm very > interested to help. Already in the works: ports/146754 . Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 00:52:37 2010 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 2DB541065687 for ; Fri, 4 Jun 2010 00:52:37 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0EFB18FC1E for ; Fri, 4 Jun 2010 00:52:36 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id BDA218C08E; Thu, 3 Jun 2010 19:52:36 -0500 (CDT) Date: Thu, 3 Jun 2010 19:52:36 -0500 From: Mark Linimon To: Bruce Cran Message-ID: <20100604005236.GF22064@lonesome.com> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531132205.00000dd6@unknown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100531132205.00000dd6@unknown> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Astrodog , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 00:52:37 -0000 On Mon, May 31, 2010 at 01:22:05PM +0100, Bruce Cran wrote: > From previous messages I don't think sparc64 is currently supported by > clang very well, if at all, so I think we'll still need gcc in the base > system for some time. I'll put on my "tier-2 package builder hat" for a moment. IMHO it helps FreeBSD's robustness to have our other architectures. In particular, fixing bugs in sparc64 may be helping us fix bugs that would affect arm/mips/powerpc, which are key for our embedded userbase. Perhaps I'm just invested in this from having spent time on sparc64 ... But a counter-argument is that if the two archs that llvm currently does not support well (sparc64 and ia64) start holding back major progress on amd64/i386, then we should give the most weight to what 90%+ of our userbase is on, and act accordingly. Hopefully that just means "keep gcc as the default for our tier-2 archs." I've been finding it intellectually interesting to work on these, but really, they shouldn't be allowed to hold up the parade. Final note: there is indeed active kernel work on sparc64, ia64, and powerpc, so things are not stalled. mcl From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 01:03:13 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 ECDD1106564A for ; Fri, 4 Jun 2010 01:03:13 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE7E8FC1C for ; Fri, 4 Jun 2010 01:03:13 +0000 (UTC) Received: by vws19 with SMTP id 19so287602vws.13 for ; Thu, 03 Jun 2010 18:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=zGGsJ0uk5CEU3IUnarVPvWXskfmJsGhVmNkyw4hXIDw=; b=GID8vzVxaD9aIocEGnxIuQbyvFhDSloRWcFOD0fZuelhhRV4uw9NfonnBEb9chM5Pm 6WXjGPb7HiE9e4gVEKI5JmETnORTHj3G/dTOeDEjRubjYBdsRRQcYs2JXr86ciAt7523 FHyJz/tOBNjsRh8vUGH7gGXZN974p3nfvxFJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=BscqBdj9wuSqhv7nicjwgBSXyGbhoYF6ec26ZGFscvbUD4C7DWkbtuj3fFYepxfx0+ TPlF+0MCrpEYsbO4LZTO5+stYXN4cGWtyRwbj+AvPq0ObGExqJnbhgoQBOKU/WdmmB07 +wf6T56OEo8Q8gX2rG9GShTQC21Yh3eyfRE+o= Received: by 10.224.27.142 with SMTP id i14mr5327903qac.272.1275613392333; Thu, 03 Jun 2010 18:03:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.86.71 with HTTP; Thu, 3 Jun 2010 18:02:52 -0700 (PDT) In-Reply-To: <201006031757.03341.hselasky@c2i.net> References: <201006031750.08693.hselasky@c2i.net> <201006031754.17053.hselasky@c2i.net> <201006031757.03341.hselasky@c2i.net> From: "Marcelo/Porks" Date: Thu, 3 Jun 2010 22:02:52 -0300 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 04 Jun 2010 01:03:14 -0000 On Thu, Jun 3, 2010 at 12:57 PM, Hans Petter Selasky wro= te: > On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote: >> On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: >> > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: >> > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky >> > >> > wrote: >> > > > Hi, >> > > > >> > > > The problem is that LOW speed does not support BULK transfers >> > > > according to the USB specification. I guess we could switch that >> > > > support on, though I'd rather stick with the spec. >> > > > >> > > > Try changing this line in: >> > > > >> > > > src/sys/dev/usb/usb_transfer.c >> > > > > > Hi, > > Should be like this: Note the structure is called "bulk_min": > > =A0 =A0 =A0 =A0static const uint16_t bulk_min[USB_SPEED_MAX] =3D { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_LOW] =3D 8, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_FULL] =3D 8, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_HIGH] =3D 512, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_VARIABLE] =3D 512, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_SUPER] =3D 1024, > =A0 =A0 =A0 =A0}; > --HPS Hi, This was what I changed at first. I tried in a FreeBSD current (Jun 3) and at 8.0-p3. At FreeBSD current I changed the line 3062. From: [USB_SPEED_LOW] =3D 0, /* not supported */ To: [USB_SPEED_LOW] =3D 8, Like you suggested I'll try to talk with you in #bsdusb at efnet Thank you! --=20 Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights.= " From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 01:45:58 2010 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 2C3421065673 for ; Fri, 4 Jun 2010 01:45:58 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D7C308FC08 for ; Fri, 4 Jun 2010 01:45:57 +0000 (UTC) Received: by vws19 with SMTP id 19so338239vws.13 for ; Thu, 03 Jun 2010 18:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=A8hjkcc1eBlIrOv0/y/M/GgFNMjfnhFmWPY45zfMR5M=; b=fizIvtQHu8BYbKSlnh7qA/fiuKDDtKEizg8elAqHLz5nct5MNjD1YyhlhOLjnbgYqI tbfXls3fY4l1wazODYmlTbgkWCOZjrjKR3gtxKXErHrD0NRp1qDhRwzd0b4IWYH9xr8+ ss1+edn9/1xnLwCzj9meh5bWFS5pCOvx1gHLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LbGMpux1zz172ynpY6TK1ALrCFYTTtAOYo7gqrND4fRrHpTt07tCNG1JaswhzqHmDx aFhPAG2lrBs5moBmpMNaA/8SqbL9EkuuMzhUaZiaCSsCDi7eOtybLbMsr/Xt9esx9FM3 W4y9oBTKeRSrumxDN5piZAqEsVXt7EijQsHB8= MIME-Version: 1.0 Received: by 10.224.95.199 with SMTP id e7mr5578228qan.68.1275615956463; Thu, 03 Jun 2010 18:45:56 -0700 (PDT) Received: by 10.229.233.74 with HTTP; Thu, 3 Jun 2010 18:45:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Jun 2010 18:45:56 -0700 Message-ID: From: Garrett Cooper To: David Rhodus Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: Auto doadump() 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, 04 Jun 2010 01:45:58 -0000 On Thu, Jun 3, 2010 at 2:30 PM, David Rhodus wrote: > Is there a rc.conf variable to automatically save core on a panic and reb= oot ? > Setting dumpdev=3D"AUTO" =A0doesn't seem to do the trick. > > # uname -a > FreeBSD =A09.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Jun =A03 20:00:22 UTC > 2010 =A0 =A0 root@:/usr/obj/usr/src/sys/GE =A0amd64 dumpdev=3DAUTO in rc.conf has been broken for a while from what I've seen, despite what rc.conf(5) suggests: dumpdev (str) Indicates the device (usually a swap partition) to which a crash dump should be written in the event of a sys= tem crash. If the value of this variable is ``AUTO'', the fir= st suitable swap device listed in /etc/fstab will be used as dump device. Otherwise, the value of this variable is pas= sed as the argument to dumpon(8). To disable crash dumps, set this variable to ``NO''. You have to explicitly note the dump device in /boot/loader.conf and have to reboot the box (otherwise it won't pick up the appropriate value via kenv). Kind of lame if you ask me... HTH, -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 02:09:55 2010 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 9979B106566C for ; Fri, 4 Jun 2010 02:09:55 +0000 (UTC) (envelope-from lex859@ymail.com) Received: from n3-vm0.bullet.mail.gq1.yahoo.com (n3-vm0.bullet.mail.gq1.yahoo.com [67.195.23.156]) by mx1.freebsd.org (Postfix) with SMTP id 670EE8FC13 for ; Fri, 4 Jun 2010 02:09:54 +0000 (UTC) Received: from [67.195.9.81] by n3.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2010 02:09:54 -0000 Received: from [67.195.9.101] by t1.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2010 02:09:54 -0000 Received: from [127.0.0.1] by omp105.mail.gq1.yahoo.com with NNFMP; 04 Jun 2010 02:09:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 556388.20878.bm@omp105.mail.gq1.yahoo.com Received: (qmail 80516 invoked by uid 60001); 4 Jun 2010 02:09:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1275617394; bh=/WCDMR9kbmZH4uMYJk72J2BpM/u/o9hpnDLvqOUABbA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=YzlxZVpDX0DUZ+PQT27wxR/19UqOYNEhLKvzBrsXerybJ3+acPrpIjRrHZ/UK8i14EDe9WLfBM3WcHwVTnYa9ouktk31MuA+uW2cR6wj8AGnhr8XkDZ0IR6XQsv+ZQC12nQL/yn1FPDGFxLS/vi2VuOUK9MAUTGEujPvTIbRyhY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=dg/8tDT78kuD9rt2z44Jaz8XApE6ryTP0mJLsrv9ZO9jfSml6o+qpzBK+teVYcj5JpWwh5OOzBjy8jvbrsUGpJlWcEqwrVtRUKkROMEwIxXq+KF/Asf0AcUH7soInmyzCopQwMDON1LlVjQKb4caL+16gdP4PfqjnsgaAFgM60M=; Message-ID: <441314.75942.qm@web114305.mail.gq1.yahoo.com> X-YMail-OSG: O3DLUxoVM1lHax.WrQGqK_DNF1m1hxCg1_CjoNifjPEOBcy 4IFyGJVw8nBEvFSz2Tgou8HvTAuS3jWbtJF8RKOiWDylKapBI3KINLDSFcyC cxgbwVVCetUYhPBJmcw2NbyAtmGsAXtIUHNAlD8RhMWdSiAMMs19.RaJkkxZ JUX3rpfUqge5SXtea1YasvsBJetyBOEKEObCyxpWUP3VFKYnu7TWjpbJORtZ gxsSPpJ_kV7SCA7GYaqsiMU_7F_xywHyb_WrLJn.fhFXHgMjeExaBYTHvIh_ 2DSBaE535 Received: from [74.140.169.120] by web114305.mail.gq1.yahoo.com via HTTP; Thu, 03 Jun 2010 19:09:54 PDT X-Mailer: YahooMailRC/374.4 YahooMailWebService/0.8.103.269680 References: <703885.42640.qm@web114309.mail.gq1.yahoo.com> Date: Thu, 3 Jun 2010 19:09:54 -0700 (PDT) From: John Doe To: Jeff Roberson In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: Panic on current when enabling SUJ 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, 04 Jun 2010 02:09:55 -0000 ________________________________ From: Jeff Roberson To: John Doe Cc: current@freebsd.org Sent: Thu, June 3, 2010 7:19:59 PM Subject: Re: Panic on current when enabling SUJ On Thu, 3 Jun 2010, John Doe wrote: > Boot into single user-mode > > # tunefs -j enable / > # tunefs -j enable /usr > # tunefs -j enable /tmp > # tunefs -j enable /var > # reboot > > The machine then panics. > > Looks like the machine is trying to write to a read-only filesystem. Can you please give me information on the panic? What was the state of the filesystems upon reboot? Does dumpfs show suj enabled? I wasn't able to get a dump. The filesystem did not have SUJ enable before booting into single user more. It appears SUJ was correctly enable by tunefs while in single user-mode. The problem appears to be isolated to enabling SUJ for the first time while in single user-mode, then rebooting. Let me know if you need anymore information. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 06:35:22 2010 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 E9D971065675 for ; Fri, 4 Jun 2010 06:35:21 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 848DA8FC0C for ; Fri, 4 Jun 2010 06:35:21 +0000 (UTC) Received: from [10.0.1.30] (unknown [85.82.25.93]) by csmtp2.one.com (Postfix) with ESMTP id 3ACB61B003234; Fri, 4 Jun 2010 06:35:20 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-628-973376682; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Fri, 4 Jun 2010 08:35:19 +0200 Message-Id: References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> <87ljav99j2.fsf@kobe.laptop> To: David Rhodus X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: Running all regression tests 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, 04 Jun 2010 06:35:22 -0000 --Apple-Mail-628-973376682 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 04/06/2010 kl. 01.10 skrev David Rhodus: > Doing a ./test.sh make crashes my -current machine pretty quickly. > It stops in Building in /usr/src/tools/regression/bin/mv Well there you go. The regression tests are already useful :-) The Makefile in tools/regression/bin/mv just runs 'sh regress.sh', so = you could run that and see how far it gets. Then obtain backtrace etc. = when it crashes. Erik= --Apple-Mail-628-973376682-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 07:30:56 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 22EAA1065673 for ; Fri, 4 Jun 2010 07:30:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3158FC26 for ; Fri, 4 Jun 2010 07:30:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BgaHaSUmPskA:10 a=0qYQvVkOOIcA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=JcFruBuwmrWImxcYfgoA:9 a=ztWxYv1U0Qc3yvh_wnkA:7 a=2EAs5ivF0utHJjvrfoOQV-lt7ggA:4 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1196699316; Fri, 04 Jun 2010 09:30:53 +0200 From: Hans Petter Selasky To: "Marcelo/Porks" Date: Fri, 4 Jun 2010 09:28:09 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201006031757.03341.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006040928.09768.hselasky@c2i.net> Cc: Garrett Cooper , freebsd-current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 04 Jun 2010 07:30:56 -0000 On Friday 04 June 2010 03:02:52 Marcelo/Porks wrote: > On Thu, Jun 3, 2010 at 12:57 PM, Hans Petter Selasky wrote: > > On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote: > >> On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: > >> > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: > >> > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky > >> > > > >> > > >> > wrote: > >> > > > Hi, > >> > > > > >> > > > The problem is that LOW speed does not support BULK transfers > >> > > > according to the USB specification. I guess we could switch that > >> > > > support on, though I'd rather stick with the spec. > >> > > > > >> > > > Try changing this line in: > >> > > > > >> > > > src/sys/dev/usb/usb_transfer.c > > > > Hi, > > > > Should be like this: Note the structure is called "bulk_min": > > > > static const uint16_t bulk_min[USB_SPEED_MAX] = { > > [USB_SPEED_LOW] = 8, > > [USB_SPEED_FULL] = 8, > > [USB_SPEED_HIGH] = 512, > > [USB_SPEED_VARIABLE] = 512, > > [USB_SPEED_SUPER] = 1024, > > }; > > --HPS > > Hi, This was what I changed at first. I tried in a FreeBSD current > (Jun 3) and at 8.0-p3. > > At FreeBSD current I changed the line 3062. > > From: > [USB_SPEED_LOW] = 0, /* not supported */ > > To: > [USB_SPEED_LOW] = 8, > > > Like you suggested I'll try to talk with you in #bsdusb at efnet > > Thank you! Ok, I think you also need to remove the check for LOW speed in the EHCI/OHCI/UHCI controller drivers too. See usb/controller/{ehci.c,uhci.c,ohci.c} case UE_BULK: if (udev->speed != USB_SPEED_LOW) { ep->methods = &uhci_device_bulk_methods; } break; --HPS From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 08:13:56 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 7C55A1065673 for ; Fri, 4 Jun 2010 08:13:56 +0000 (UTC) (envelope-from bf1783@googlemail.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 152208FC2B for ; Fri, 4 Jun 2010 08:13:55 +0000 (UTC) Received: by mail-wy0-f182.google.com with SMTP id 28so903140wyf.13 for ; Fri, 04 Jun 2010 01:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=2xWFTuWErOkF5gu/f6R/GCxG71bCDwfW5HdvM8YbcR4=; b=V43rJOAWnDBA6ZToIhJ80dJiQS6kAtjqTb8Fj2QTnU4g50Ge7/hH0dhXfO1GosdOOH wP2FvH8s0PyDBT2GE8lmPGFNbAXTWG4b3QdUrVtVsF1hLt+oZSHIU3z+jN/u52DOfEEZ vuGQCDidGBk+EdnsnRPmgDF5Tm4h8pDGeQegk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=kZXvfd0I5co7WQsS0IQfuruE8sXvQkVNjbVhMP8Kbp6kdlTNmsxKHVeDrgcb003nYp YaWvmViLrhRk04BKQp9ug9KdovwmDb6BUtcKZ+BgyG1BVqCyMu2KwmBsOuCtzydp5GCx zILaRmAWn5zTT+sQEhnn/BpqH0pRV8LWMY34U= MIME-Version: 1.0 Received: by 10.216.186.72 with SMTP id v50mr92441wem.50.1275639235297; Fri, 04 Jun 2010 01:13:55 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 01:13:55 -0700 (PDT) Date: Fri, 4 Jun 2010 08:13:55 +0000 Message-ID: From: "b. f." To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Mark Linimon Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 08:13:56 -0000 Mark Linimon wrote: >On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: >> Compiler bugs in gcc are probably just as hard to find as compiler bugs >> in clang > >There are two types of compiler bug: a) bug that produces bad code; b) >bug that makes the compiler crash. > Let's remember that the entire toolchain is important here, and not just the compiler. Some of the problems can be attributed to our old binutils. >For comparison, bitrot that is probably due to older ports not keeping >up with compiler changes is at: > >http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_error=gcc4_error > How did you obtain "gcc4-errors"? We're not alone here: some major GNU/Linux distributions, NetBSD, and DragonFlyBSD are using newer versions of binutils and/or gcc, so we can look at their patches and error logs to fix some problems. b. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 08:28:23 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 D0F3B1065677 for ; Fri, 4 Jun 2010 08:28:23 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id B601F8FC19 for ; Fri, 4 Jun 2010 08:28:23 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 150D58C088; Fri, 4 Jun 2010 03:28:23 -0500 (CDT) Date: Fri, 4 Jun 2010 03:28:23 -0500 From: Mark Linimon To: bf1783@gmail.com Message-ID: <20100604082822.GA30280@lonesome.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@FreeBSD.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 08:28:23 -0000 On Fri, Jun 04, 2010 at 08:13:55AM +0000, b. f. wrote: > How did you obtain "gcc4-errors"? bzgrep -q "See for instructions." Part of ports/Tools/portbuild/scripts/processonelog . mcl From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 09:02:08 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 1E965106567A for ; Fri, 4 Jun 2010 09:02:08 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB6E8FC1F for ; Fri, 4 Jun 2010 09:02:04 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA29841; Fri, 04 Jun 2010 12:02:02 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OKSdx-00040s-RI; Fri, 04 Jun 2010 11:52:45 +0300 Message-ID: <4C08BEDC.7010807@icyb.net.ua> Date: Fri, 04 Jun 2010 11:52:44 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: bf1783@gmail.com References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 09:02:08 -0000 on 04/06/2010 11:13 b. f. said the following: > Mark Linimon wrote: >> On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: >>> Compiler bugs in gcc are probably just as hard to find as compiler bugs >>> in clang >> There are two types of compiler bug: a) bug that produces bad code; b) >> bug that makes the compiler crash. >> > > Let's remember that the entire toolchain is important here, and not > just the compiler. Some of the problems can be attributed to our old > binutils. > >> For comparison, bitrot that is probably due to older ports not keeping >> up with compiler changes is at: >> >> http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_error=gcc4_error >> > > How did you obtain "gcc4-errors"? > > We're not alone here: some major GNU/Linux distributions, NetBSD, and > DragonFlyBSD are using newer versions of binutils and/or gcc, so we > can look at their patches and error logs to fix some problems. DragonFlyBSD and NetBSD use newer GCC? This is the first time I hear about that. No doubt about major Linux distributions, though. -- Andriy Gapon From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 09:30:55 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 972D91065673 for ; Fri, 4 Jun 2010 09:30:55 +0000 (UTC) (envelope-from bf1783@googlemail.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 2BC658FC0C for ; Fri, 4 Jun 2010 09:30:54 +0000 (UTC) Received: by wyf28 with SMTP id 28so956399wyf.13 for ; Fri, 04 Jun 2010 02:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=tX1OQ9O9238nkiNdZbzcBWNp70GxtLP4bPf2gkmjSuM=; b=NMWtPjj1ysdikptPmxnJOHwh5V1jHc+zZhWwXxo1lRRcc4bkQRzlgL7wvLA786bboR /sQjwXDgpEMjDZ2rK16D46iZr3EGGzZQJwMq5qXIgWNbE9b3xtdt209HWsl7ZUaKFg/m T+Yxh3QGHKYvmIiXBltYzFjnvJE1gJkgkhSAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=vVRNjd/s3Qj65tBxrI3Uwj27IfPQWjPPFPEiQQG0uVimOgHucqNwkPVuwWYroH+6TU q0P3SgEQ2OqfmQQoc1KKXesJnUbxmN0K8jXibQ0DceFha983DfujOwBkPR430hYQVs5a qdRE3WZSoJZ4DY3e06z7aXcYr2nKZypviCUUg= MIME-Version: 1.0 Received: by 10.216.90.8 with SMTP id d8mr2062849wef.52.1275643854050; Fri, 04 Jun 2010 02:30:54 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 02:30:53 -0700 (PDT) In-Reply-To: <4C08BEDC.7010807@icyb.net.ua> References: <4C08BEDC.7010807@icyb.net.ua> Date: Fri, 4 Jun 2010 09:30:53 +0000 Message-ID: From: "b. f." To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 09:30:55 -0000 On 6/4/10, Andriy Gapon wrote: > on 04/06/2010 11:13 b. f. said the following: >> Mark Linimon wrote: >>> On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: >>>> Compiler bugs in gcc are probably just as hard to find as compiler bugs >>>> in clang >>> There are two types of compiler bug: a) bug that produces bad code; b) >>> bug that makes the compiler crash. >>> >> >> Let's remember that the entire toolchain is important here, and not >> just the compiler. Some of the problems can be attributed to our old >> binutils. >> >>> For comparison, bitrot that is probably due to older ports not keeping >>> up with compiler changes is at: >>> >>> http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_error=gcc4_error >>> >> >> How did you obtain "gcc4-errors"? >> >> We're not alone here: some major GNU/Linux distributions, NetBSD, and >> DragonFlyBSD are using newer versions of binutils and/or gcc, so we >> can look at their patches and error logs to fix some problems. > > DragonFlyBSD and NetBSD use newer GCC? > This is the first time I hear about that. > No doubt about major Linux distributions, though. DragonFlyBSD imported gcc 4.4 into their development branch in August 2009, binutils 2.20 in Oct. 2009, and switched to binutils 2.20 and gcc 4.4.2 in their 2.6.1 release: http://www.dragonflybsd.org/release26/ http://gitweb.dragonflybsd.org/dragonfly.git/history/HEAD:/gnu/lib/gcc44 http://gitweb.dragonflybsd.org/dragonfly.git/history/HEAD:/gnu/usr.bin/binutils220 NetBSD allows one to set HAVE_BINUTILS=2.19 and use http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/?only_with_tag=MAIN See the README there for their policy statement. I think they decided to bite the bullet and allow optional use of the later version because it was becoming increasingly hard to support some of their many architectures with the old stuff. But no doubt their mailing lists have more information. b. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 09:32:09 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 0EE0E1065673 for ; Fri, 4 Jun 2010 09:32:09 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 990868FC1B for ; Fri, 4 Jun 2010 09:32:08 +0000 (UTC) Received: by wwb22 with SMTP id 22so990653wwb.13 for ; Fri, 04 Jun 2010 02:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=N6VOrhRzOHrRvTkyM8/0mSUniH/RVtgdWlUxJ8W/72M=; b=DDvSLQ2ZzfqRba9bAo5eb1/2nWQ+TuYHstMjf4qNu9GeTkjEIeAgEIVmL7D6wOzeu8 IL94z6u9NCLWez825oC8tR5ySz3T+bcUc3DM8t/D/fH8qMLI9R6QoOcOrTH4XYrlDnd0 Ayw3f+5TX/s/8PRLGKeaf9jhJ3uft4g34mxZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=W6oGJXcPXwztTHMmFE3PEbGLs/c8gcJEuTCX8ZZlbdPPbZdFOXIgA5vkKEfhnz/oEn sIlayQhTJtzS523d597ST3smWRv+QpcjzUEefg5ldwhFYSCpQWhZNpPFcd7FU6RLPOsy x+iY9M3ELncLhnb++iamKwUIonDN7eDXSvfqA= MIME-Version: 1.0 Received: by 10.227.146.13 with SMTP id f13mr10370358wbv.179.1275643921092; Fri, 04 Jun 2010 02:32:01 -0700 (PDT) Received: by 10.216.51.78 with HTTP; Fri, 4 Jun 2010 02:32:01 -0700 (PDT) In-Reply-To: <4C08BEDC.7010807@icyb.net.ua> References: <4C08BEDC.7010807@icyb.net.ua> Date: Fri, 4 Jun 2010 13:32:01 +0400 Message-ID: From: pluknet To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: bf1783@gmail.com, freebsd-current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 09:32:09 -0000 On 4 June 2010 12:52, Andriy Gapon wrote: > on 04/06/2010 11:13 b. f. said the following: >> Mark Linimon wrote: >>> On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: >>>> Compiler bugs in gcc are probably just as hard to find as compiler bug= s >>>> in clang >>> There are two types of compiler bug: a) bug that produces bad code; b) >>> bug that makes the compiler crash. >>> >> >> Let's remember that the entire toolchain is important here, and not >> just the compiler. =A0Some of the problems can be attributed to our old >> binutils. >> >>> For comparison, bitrot that is probably due to older ports not keeping >>> up with compiler changes is at: >>> >>> http://portsmon.freebsd.org/portsconcordanceforbuilderror.py?build_erro= r=3Dgcc4_error >>> >> >> How did you obtain "gcc4-errors"? >> >> We're not alone here: some major GNU/Linux distributions, NetBSD, and >> DragonFlyBSD are using newer versions of binutils and/or gcc, so we >> can look at their patches and error logs to fix some problems. > > DragonFlyBSD and NetBSD use newer GCC? > This is the first time I hear about that. > No doubt about major Linux distributions, though. > AFAIK, NetBSD does it for quite a while since they have a different pov on = this. http://www.thejemreport.com/content/view/317 --=20 wbr, pluknet From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 09:47:15 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 C40D41065676 for ; Fri, 4 Jun 2010 09:47:15 +0000 (UTC) (envelope-from dsuzukisanders@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 802848FC08 for ; Fri, 4 Jun 2010 09:47:15 +0000 (UTC) Received: by gwj23 with SMTP id 23so900164gwj.13 for ; Fri, 04 Jun 2010 02:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1ny67GFYS0uiCWY8MLdUxXuxczPV5symXiVVO7vrZ+8=; b=eQ1PJE7H4GOn9pL3dsdaK1xrrQdMLm6jzjLvvpU9NAZ6XHWJOYxFqPTxRgKZ9o6skh SXKE6F2npIquc5nTizVhJhizT/Th9tG0usYUE3lewSeK1Qn9fRzIbtBtxnqQciZsB4uX JCMdT8Wiq4suW4PjfQGejynJ9yMKLXpVzQRkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VXkLDs0UKAyKCgopMpvpmUexKGYGj2BAFraiJukRE+9HgpLBiyi12UsJqh+6xJu4jK NA6HG5QMSIerjzyeL08XjHGLo8cAYa0Rybsc9fB6DvAXA7AQY/YS7TDiYSrDlsyhjg6u Iof7c82888PrzjR4vhqFv32fr0g7+mpU88blY= MIME-Version: 1.0 Received: by 10.150.75.5 with SMTP id x5mr10236685yba.371.1275644834549; Fri, 04 Jun 2010 02:47:14 -0700 (PDT) Received: by 10.150.96.2 with HTTP; Fri, 4 Jun 2010 02:47:14 -0700 (PDT) In-Reply-To: References: <4C08BEDC.7010807@icyb.net.ua> Date: Fri, 4 Jun 2010 11:47:14 +0200 Message-ID: From: David Sanders To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 09:47:15 -0000 >> >> DragonFlyBSD and NetBSD use newer GCC? >> This is the first time I hear about that. >> No doubt about major Linux distributions, though. >> > > AFAIK, NetBSD does it for quite a while since they have a different pov on this. > http://www.thejemreport.com/content/view/317 That piece of "journalism" is utter garbage. As some have said on this thread - no-one forces anyone else to use GPL licensed software. If you don't want to use it then fine, but stop whining about the terms of the license if you do. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 09:48:00 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 6CE2F106567D for ; Fri, 4 Jun 2010 09:48:00 +0000 (UTC) (envelope-from bf1783@googlemail.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 01A108FC1D for ; Fri, 4 Jun 2010 09:47:59 +0000 (UTC) Received: by wyf28 with SMTP id 28so969293wyf.13 for ; Fri, 04 Jun 2010 02:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=DoTrYT3UqV1zoifr6UcRsWHeV+b0j9vG3BEJCR86g1A=; b=jcJmmB5LD+9aNFK4oPW1aC4oojX7XuBFGjdm5JSPL0C9AJ1VMJ6As938NqV/VKyQPa /fUzkIL6lQgVJUwtqD/3M3+rS+b5vCjNuxOwYdyZQCpJwTVVO2Vpo4wm4iLllmuxJCFy ixQPTOCsRlA6a5QFggMJ2TkWzHzYOq9aLCwaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=fYHhtmRqRMznEMBlH4uHL2Pnn1x7zZguU/UvbMospuwS6D6iPvVodfSOze5N95hEjD yUJyV6EMBaiQCSiIKbB7Q8Af3WjHyPVrU2srCo32bP19C1khAYrYJKzDhoebgRq75ie7 MOMlY/3PKF8TPNMjgW000RQYSo8cYIZPNQwPo= MIME-Version: 1.0 Received: by 10.216.88.147 with SMTP id a19mr1901181wef.93.1275644878830; Fri, 04 Jun 2010 02:47:58 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 02:47:58 -0700 (PDT) In-Reply-To: <20100604082822.GA30280@lonesome.com> References: <20100604082822.GA30280@lonesome.com> Date: Fri, 4 Jun 2010 09:47:58 +0000 Message-ID: From: "b. f." To: Mark Linimon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 09:48:00 -0000 On 6/4/10, Mark Linimon wrote: > On Fri, Jun 04, 2010 at 08:13:55AM +0000, b. f. wrote: >> How did you obtain "gcc4-errors"? > > bzgrep -q "See for instructions." Part > of ports/Tools/portbuild/scripts/processonelog . But are you actually building with lang/gcc4* and devel/binutils when these advisories are generated? If so, what added configuration settings are you using? b. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 12:26:41 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 A9193106564A; Fri, 4 Jun 2010 12:26:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 78DDF8FC22; Fri, 4 Jun 2010 12:26:41 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0210146B81; Fri, 4 Jun 2010 08:26:41 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 582A08A021; Fri, 4 Jun 2010 08:26:40 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 4 Jun 2010 08:04:44 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100529130240.GA99732@freebsd.org> <20100531132205.00000dd6@unknown> <20100604005236.GF22064@lonesome.com> In-Reply-To: <20100604005236.GF22064@lonesome.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006040804.44861.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 04 Jun 2010 08:26:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Bruce Cran , Mark Linimon , Astrodog , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 12:26:41 -0000 On Thursday 03 June 2010 8:52:36 pm Mark Linimon wrote: > On Mon, May 31, 2010 at 01:22:05PM +0100, Bruce Cran wrote: > > From previous messages I don't think sparc64 is currently supported by > > clang very well, if at all, so I think we'll still need gcc in the base > > system for some time. > > I'll put on my "tier-2 package builder hat" for a moment. > > IMHO it helps FreeBSD's robustness to have our other architectures. In > particular, fixing bugs in sparc64 may be helping us fix bugs that would > affect arm/mips/powerpc, which are key for our embedded userbase. > > Perhaps I'm just invested in this from having spent time on sparc64 ... > > But a counter-argument is that if the two archs that llvm currently does > not support well (sparc64 and ia64) start holding back major progress on > amd64/i386, then we should give the most weight to what 90%+ of our > userbase is on, and act accordingly. Hopefully that just means "keep > gcc as the default for our tier-2 archs." > > I've been finding it intellectually interesting to work on these, but > really, they shouldn't be allowed to hold up the parade. > > Final note: there is indeed active kernel work on sparc64, ia64, and > powerpc, so things are not stalled. I actually think that a realistic future may be that some archs use clang/llvm and some other archs still use gcc (probably with an option to use a gplv3 toolchain even, just not shipped by default perhaps). I even think it would be useful to have the option to use the latest gplv3 toolchain for amd64/i386 for folks who want to use it. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 12:26:41 2010 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 A9193106564A; Fri, 4 Jun 2010 12:26:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 78DDF8FC22; Fri, 4 Jun 2010 12:26:41 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0210146B81; Fri, 4 Jun 2010 08:26:41 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 582A08A021; Fri, 4 Jun 2010 08:26:40 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 4 Jun 2010 08:04:44 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100529130240.GA99732@freebsd.org> <20100531132205.00000dd6@unknown> <20100604005236.GF22064@lonesome.com> In-Reply-To: <20100604005236.GF22064@lonesome.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006040804.44861.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 04 Jun 2010 08:26:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Bruce Cran , Mark Linimon , Astrodog , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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, 04 Jun 2010 12:26:41 -0000 On Thursday 03 June 2010 8:52:36 pm Mark Linimon wrote: > On Mon, May 31, 2010 at 01:22:05PM +0100, Bruce Cran wrote: > > From previous messages I don't think sparc64 is currently supported by > > clang very well, if at all, so I think we'll still need gcc in the base > > system for some time. > > I'll put on my "tier-2 package builder hat" for a moment. > > IMHO it helps FreeBSD's robustness to have our other architectures. In > particular, fixing bugs in sparc64 may be helping us fix bugs that would > affect arm/mips/powerpc, which are key for our embedded userbase. > > Perhaps I'm just invested in this from having spent time on sparc64 ... > > But a counter-argument is that if the two archs that llvm currently does > not support well (sparc64 and ia64) start holding back major progress on > amd64/i386, then we should give the most weight to what 90%+ of our > userbase is on, and act accordingly. Hopefully that just means "keep > gcc as the default for our tier-2 archs." > > I've been finding it intellectually interesting to work on these, but > really, they shouldn't be allowed to hold up the parade. > > Final note: there is indeed active kernel work on sparc64, ia64, and > powerpc, so things are not stalled. I actually think that a realistic future may be that some archs use clang/llvm and some other archs still use gcc (probably with an option to use a gplv3 toolchain even, just not shipped by default perhaps). I even think it would be useful to have the option to use the latest gplv3 toolchain for amd64/i386 for folks who want to use it. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 12:27:45 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 94D68106568C for ; Fri, 4 Jun 2010 12:27:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 65B668FC12 for ; Fri, 4 Jun 2010 12:27:45 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 181B846B51; Fri, 4 Jun 2010 08:27:45 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 72C788A01F; Fri, 4 Jun 2010 08:27:44 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 4 Jun 2010 08:27:42 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Message-Id: <201006040827.42261.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 04 Jun 2010 08:27:44 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Garrett Cooper , David Rhodus Subject: Re: Auto doadump() 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, 04 Jun 2010 12:27:45 -0000 On Thursday 03 June 2010 9:45:56 pm Garrett Cooper wrote: > On Thu, Jun 3, 2010 at 2:30 PM, David Rhodus wrote: > > Is there a rc.conf variable to automatically save core on a panic and reboot ? > > Setting dumpdev="AUTO" doesn't seem to do the trick. > > > > # uname -a > > FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Jun 3 20:00:22 UTC > > 2010 root@:/usr/obj/usr/src/sys/GE amd64 > > dumpdev=AUTO in rc.conf has been broken for a while from what I've > seen, despite what rc.conf(5) suggests: > > dumpdev (str) Indicates the device (usually a swap partition) to > which a crash dump should be written in the event of a system > crash. If the value of this variable is ``AUTO'', the first > suitable swap device listed in /etc/fstab will be used as > dump device. Otherwise, the value of this variable is passed > as the argument to dumpon(8). To disable crash dumps, set > this variable to ``NO''. > > You have to explicitly note the dump device in /boot/loader.conf and > have to reboot the box (otherwise it won't pick up the appropriate > value via kenv). Kind of lame if you ask me... Err, how is it broken? It just worked for me just now on a box running HEAD. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 12:49:50 2010 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 8D3731065686 for ; Fri, 4 Jun 2010 12:49:50 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id B84208FC0C for ; Fri, 4 Jun 2010 12:49:49 +0000 (UTC) Received: from [10.0.1.30] (unknown [85.82.25.93]) by csmtp2.one.com (Postfix) with ESMTP id 198911B003B8B; Fri, 4 Jun 2010 12:49:48 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/signed; boundary=Apple-Mail-679-995844465; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: <20100603181316.A65565@mp2.macomnet.net> Date: Fri, 4 Jun 2010 14:49:47 +0200 Message-Id: <54C57DCD-9EEE-49A6-8AED-8DCF6A1AB2D1@cederstrand.dk> References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603140951.J65565@mp2.macomnet.net> <1E5F7C3C-0502-4503-B168-9CF564FA51F8@cederstrand.dk> <20100603181316.A65565@mp2.macomnet.net> To: Maxim Konovalov X-Mailer: Apple Mail (2.1078) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: Running all regression tests 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, 04 Jun 2010 12:49:50 -0000 --Apple-Mail-679-995844465 Content-Type: multipart/mixed; boundary=Apple-Mail-678-995844450 --Apple-Mail-678-995844450 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 03/06/2010 kl. 16.14 skrev Maxim Konovalov: > On Thu, 3 Jun 2010, 15:15+0200, Erik Cederstrand wrote: >=20 >> I just wrote a shell script to recurse into the subdirectories and >> run make on the Makefiles found. Unfortunately, some of the >> Makefiles start running tests immediately, some have syntax errors >> etc., so I'll have to add some more logic. >>=20 > It would be nice to get patches while you are there. A couple of patches to Makefiles were already committed (thanks, = Maxim!). Here's a cleanup patch for some more Makefiles. It enforces the = following convention for make targets: .all: builds any code needed to run the tests .test: runs any test cases defined .clean: cleans up any files Not all Makefiles define these targets, but it changes the Makefiles = that do have them. The patch allows to recursively run 'make all' on all Makefiles first, = then run 'make test' on all Makefiles to run the regression tests. The = patch doesn't attempt to rewrite existing tests to .t format. Also, I = know next to nothing about Makefiles. If it looks OK, is somebody willing to commit this? Thanks, Erik --Apple-Mail-678-995844450 Content-Disposition: attachment; filename=regression.patch Content-Type: application/octet-stream; name="regression.patch" Content-Transfer-Encoding: 7bit Index: tools/regression/execve/Makefile =================================================================== --- tools/regression/execve/Makefile (revision 208799) +++ tools/regression/execve/Makefile (working copy) @@ -18,7 +18,7 @@ chmod +x ${x} .endfor -regress: test-empty test-nonexist test-nonexistshell \ +test: test-empty test-nonexist test-nonexistshell \ test-devnullscript test-badinterplen test-goodscript \ test-scriptarg test-scriptarg-nospace test-goodaout \ test-truncaout test-sparseaout Index: tools/regression/acct/Makefile =================================================================== --- tools/regression/acct/Makefile (revision 208799) +++ tools/regression/acct/Makefile (working copy) @@ -9,7 +9,7 @@ CFLAGS= -include /usr/include/sys/limits.h \ -include /usr/include/sys/syslog.h -all: regress +all: pack: pack.c convert.c @@ -17,7 +17,7 @@ sed -n -e 's/log(/syslog(/g' \ -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@ -regress: pack regress.t +test: pack regress.t ./regress.t clean: Index: tools/regression/file/closefrom/Makefile =================================================================== --- tools/regression/file/closefrom/Makefile (revision 208799) +++ tools/regression/file/closefrom/Makefile (working copy) @@ -7,3 +7,4 @@ LDADD= -lutil .include + Index: tools/regression/usr.bin/lastcomm/Makefile =================================================================== --- tools/regression/usr.bin/lastcomm/Makefile (revision 208799) +++ tools/regression/usr.bin/lastcomm/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -all: regress +all: -regress: regress.t +test: regress.t ./regress.t Index: tools/regression/usr.bin/m4/Makefile =================================================================== --- tools/regression/usr.bin/m4/Makefile (revision 208799) +++ tools/regression/usr.bin/m4/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @sh ${.CURDIR}/regress.sh ${.CURDIR} Index: tools/regression/usr.bin/xargs/Makefile =================================================================== --- tools/regression/usr.bin/xargs/Makefile (revision 208799) +++ tools/regression/usr.bin/xargs/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/apply/Makefile =================================================================== --- tools/regression/usr.bin/apply/Makefile (revision 208799) +++ tools/regression/usr.bin/apply/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/tr/Makefile =================================================================== --- tools/regression/usr.bin/tr/Makefile (revision 208799) +++ tools/regression/usr.bin/tr/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/comm/Makefile =================================================================== --- tools/regression/usr.bin/comm/Makefile (revision 208799) +++ tools/regression/usr.bin/comm/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/jot/Makefile =================================================================== --- tools/regression/usr.bin/jot/Makefile (revision 208799) +++ tools/regression/usr.bin/jot/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/uudecode/Makefile =================================================================== --- tools/regression/usr.bin/uudecode/Makefile (revision 208799) +++ tools/regression/usr.bin/uudecode/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/join/Makefile =================================================================== --- tools/regression/usr.bin/join/Makefile (revision 208799) +++ tools/regression/usr.bin/join/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/printf/Makefile =================================================================== --- tools/regression/usr.bin/printf/Makefile (revision 208799) +++ tools/regression/usr.bin/printf/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/file2c/Makefile =================================================================== --- tools/regression/usr.bin/file2c/Makefile (revision 208799) +++ tools/regression/usr.bin/file2c/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/uuencode/Makefile =================================================================== --- tools/regression/usr.bin/uuencode/Makefile (revision 208799) +++ tools/regression/usr.bin/uuencode/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/calendar/Makefile =================================================================== --- tools/regression/usr.bin/calendar/Makefile (revision 208799) +++ tools/regression/usr.bin/calendar/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/sed/Makefile =================================================================== --- tools/regression/usr.bin/sed/Makefile (revision 208799) +++ tools/regression/usr.bin/sed/Makefile (working copy) @@ -1,5 +1,5 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} @sh multitest.t Index: tools/regression/usr.bin/ncal/Makefile =================================================================== --- tools/regression/usr.bin/ncal/Makefile (revision 208799) +++ tools/regression/usr.bin/ncal/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: @m4 ${.CURDIR}/../regress.m4 ${.CURDIR}/regress.sh | sh /dev/stdin ${.CURDIR} Index: tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile (working copy) @@ -5,6 +5,8 @@ # The modification of the archive consists in slashes appended to short names. # +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # must be ok Index: tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_44bsd/Makefile (working copy) @@ -2,6 +2,8 @@ # This test checks the code reading archive files. The archive file # is a BSD4.4 file with __.SYMTAB and #1/N long file names. +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # should be ok Index: tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile =================================================================== --- tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile (revision 208799) +++ tools/regression/usr.bin/make/archives/fmt_oldbsd/Makefile (working copy) @@ -3,6 +3,8 @@ # is an old BSD file with __.SYMTAB and no long file names. Filenames # are truncated to 16 characters. +test: test1 test2 test3 test4 test5 test6 test7 + ############################################################################# # must be ok Index: tools/regression/usr.bin/make/syntax/semi/Makefile =================================================================== --- tools/regression/usr.bin/make/syntax/semi/Makefile (revision 208799) +++ tools/regression/usr.bin/make/syntax/semi/Makefile (working copy) @@ -3,6 +3,8 @@ # Test handling of escaped newlines. # +test: test1 test2 + .ifmake test1 FOO= Index: tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile =================================================================== --- tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile (revision 208799) +++ tools/regression/usr.bin/make/sysmk/t0/2/1/Makefile (working copy) @@ -2,5 +2,5 @@ # # Can we traverse up to / and find a 'mk/sys.mk'? # -all: +test: @echo ${DASH_M_DOTDOTDOT} Index: tools/regression/usr.bin/make/shell/builtin/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/builtin/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/builtin/Makefile (working copy) @@ -11,6 +11,8 @@ .PHONY: builtin no-builtin +test: builtin no-builtin + builtin: @exec ls -d . Index: tools/regression/usr.bin/make/shell/meta/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/meta/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/meta/Makefile (working copy) @@ -11,6 +11,8 @@ .PHONY: meta no-meta +test: meta no-meta + meta: @ls * Index: tools/regression/usr.bin/make/shell/replace/Makefile =================================================================== --- tools/regression/usr.bin/make/shell/replace/Makefile (revision 208799) +++ tools/regression/usr.bin/make/shell/replace/Makefile (working copy) @@ -15,7 +15,7 @@ echoFlag="x" errFlag="y" \ hasErrCtl=y check="check errors" ignore="ignore errors" -.PHONY: test1 -test1: +.PHONY: test +test: -@funny $$ funnier $$ Index: tools/regression/usr.bin/make/variables/t0/Makefile =================================================================== --- tools/regression/usr.bin/make/variables/t0/Makefile (revision 208799) +++ tools/regression/usr.bin/make/variables/t0/Makefile (working copy) @@ -4,7 +4,7 @@ # A = 0 AV = 1 -test1: +test: @echo $A @echo ${AV} @echo ${A} Index: tools/regression/usr.bin/make/variables/modifier_M/Makefile =================================================================== --- tools/regression/usr.bin/make/variables/modifier_M/Makefile (revision 208799) +++ tools/regression/usr.bin/make/variables/modifier_M/Makefile (working copy) @@ -8,7 +8,7 @@ map.c map.h \ parser.y lexer.l \ cmdman.1 format.5 -test1: +test: @echo "all files: ${FILES}" @echo "cfiles: ${FILES:M*.c}" @echo "hfiles: ${FILES:M*.h}" Index: tools/regression/usr.bin/make/suffixes/basic/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/basic/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/basic/Makefile (working copy) @@ -2,7 +2,7 @@ # # Check that a simple suffix rule is correctly processed. -test1: TEST1.b +test: TEST1.b diff -u TEST1.a TEST1.b .SUFFIXES: Index: tools/regression/usr.bin/make/suffixes/src_wild1/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/src_wild1/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/src_wild1/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -test1: TEST1.b +test: TEST1.b cat TEST1.a TEST2.a | diff -u - TEST1.b TEST1.b: *.a Index: tools/regression/usr.bin/make/suffixes/src_wild2/Makefile =================================================================== --- tools/regression/usr.bin/make/suffixes/src_wild2/Makefile (revision 208799) +++ tools/regression/usr.bin/make/suffixes/src_wild2/Makefile (working copy) @@ -5,7 +5,7 @@ SRC=*.a -test1: TEST1.b +test: TEST1.b cat TEST1.a TEST2.a | diff -u - TEST1.b TEST1.b: ${SRC} Index: tools/regression/usr.sbin/sa/Makefile =================================================================== --- tools/regression/usr.sbin/sa/Makefile (revision 208799) +++ tools/regression/usr.sbin/sa/Makefile (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -all: regress +all: -regress: regress.t +test: regress.t ./regress.t Index: tools/regression/usr.sbin/Makefile =================================================================== --- tools/regression/usr.sbin/Makefile (revision 208799) +++ tools/regression/usr.sbin/Makefile (working copy) @@ -1,5 +1,4 @@ # $FreeBSD$ -SUBDIR= sa .include Index: tools/regression/lib/msun/Makefile =================================================================== --- tools/regression/lib/msun/Makefile (revision 208799) +++ tools/regression/lib/msun/Makefile (working copy) @@ -6,7 +6,7 @@ CFLAGS+= -O0 -lm .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libmp/Makefile =================================================================== --- tools/regression/lib/libmp/Makefile (revision 208799) +++ tools/regression/lib/libmp/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall -lcrypto -lmp .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libutil/Makefile =================================================================== --- tools/regression/lib/libutil/Makefile (revision 208799) +++ tools/regression/lib/libutil/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall -Wextra -Werror -lutil .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/locale/Makefile =================================================================== --- tools/regression/lib/libc/locale/Makefile (revision 208799) +++ tools/regression/lib/libc/locale/Makefile (working copy) @@ -17,7 +17,7 @@ test-towctrans .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/stdlib/Makefile =================================================================== --- tools/regression/lib/libc/stdlib/Makefile (revision 208799) +++ tools/regression/lib/libc/stdlib/Makefile (working copy) @@ -5,7 +5,7 @@ test-mergesort .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/stdio/Makefile =================================================================== --- tools/regression/lib/libc/stdio/Makefile (revision 208799) +++ tools/regression/lib/libc/stdio/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -lm .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/nss/Makefile =================================================================== --- tools/regression/lib/libc/nss/Makefile (revision 208799) +++ tools/regression/lib/libc/nss/Makefile (working copy) @@ -5,7 +5,7 @@ CFLAGS+= -g -Wall .PHONY: tests -tests: ${TESTS} +test: ${TESTS} .PHONY: clean clean: Index: tools/regression/lib/libc/net/Makefile =================================================================== --- tools/regression/lib/libc/net/Makefile (revision 208799) +++ tools/regression/lib/libc/net/Makefile (working copy) @@ -4,7 +4,7 @@ CFLAGS+= -g -Wall .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/string/Makefile =================================================================== --- tools/regression/lib/libc/string/Makefile (revision 208799) +++ tools/regression/lib/libc/string/Makefile (working copy) @@ -7,7 +7,7 @@ TESTS= test-stpncpy test-strerror test-wcscasecmp test-wcsnlen .PHONY: tests -tests: ${TESTS} +test: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done .PHONY: clean Index: tools/regression/lib/libc/resolv/Makefile =================================================================== --- tools/regression/lib/libc/resolv/Makefile (revision 208799) +++ tools/regression/lib/libc/resolv/Makefile (working copy) @@ -9,7 +9,7 @@ DPADD+= ${LIBPTHREAD} LDADD+= -lpthread -regress: ${PROG} +test: ${PROG} ./${PROG} -r ${.CURDIR}/mach .include Index: tools/regression/bin/date/Makefile =================================================================== --- tools/regression/bin/date/Makefile (revision 208799) +++ tools/regression/bin/date/Makefile (working copy) @@ -1,4 +1,4 @@ # $FreeBSD$ -all: +test: sh regress.sh Index: tools/regression/pipe/Makefile =================================================================== --- tools/regression/pipe/Makefile (revision 208799) +++ tools/regression/pipe/Makefile (working copy) @@ -6,7 +6,7 @@ PROG= bigpipetest NO_MAN= -regress: +test: @if ./bigpipetest; then \ echo "PASS"; \ else \ Index: tools/regression/sockets/accept_fd_leak/Makefile =================================================================== --- tools/regression/sockets/accept_fd_leak/Makefile (revision 208799) +++ tools/regression/sockets/accept_fd_leak/Makefile (working copy) @@ -5,7 +5,7 @@ PROG= accept_fd_leak NO_MAN= -regress: +test: ./accept_fd_leak .include Index: tools/regression/sockets/accf_data_attach/Makefile =================================================================== --- tools/regression/sockets/accf_data_attach/Makefile (revision 208799) +++ tools/regression/sockets/accf_data_attach/Makefile (working copy) @@ -5,7 +5,7 @@ PROG= accf_data_attach NO_MAN= -accf_data_attach: accf_data_attach.c +all: accf_data_attach.c gcc -Wall -o accf_data_attach accf_data_attach.c .include --Apple-Mail-678-995844450-- --Apple-Mail-679-995844465-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 12:49:55 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 AE819106564A for ; Fri, 4 Jun 2010 12:49:55 +0000 (UTC) (envelope-from bf1783@googlemail.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 44F158FC13 for ; Fri, 4 Jun 2010 12:49:54 +0000 (UTC) Received: by wyf28 with SMTP id 28so1118140wyf.13 for ; Fri, 04 Jun 2010 05:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type; bh=DPeRyGJZb2kn3umBpm8B2mfQuJU1/C5/EiKxhmr2E38=; b=hUia1MSPi4qMMfV04TSOx2RRYuCqWTsrZLkeLcEbNXXt+VV2jiEh3/4YQcSZLcPSza MGpyV09aW5DqKu2238g2K8sWFNhw5bzV5L+dUQjMctIzoHs0RFWZOUSXGQlj7f8evMw9 zKiFqStmKFyGVc6dcJlJrs4eOru48aryAngXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=CMmDp+/PefUjGVDBNJj+Jd6s/rdV/g0HlxJ8yQAzoPBjJqR1/roAHx0BKaaDaHj4GD OTibdpeMnX6/EvyeO8xgXAmnk0t8VoY1jk6PP3Xdf9KZi4EadsVgQpAoYx1kMYnf6nMQ 7KPErrjVx+Eo5yP5sEXMOthioZw0ZTmgPDCFI= MIME-Version: 1.0 Received: by 10.227.134.16 with SMTP id h16mr10607220wbt.69.1275655793902; Fri, 04 Jun 2010 05:49:53 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 05:49:53 -0700 (PDT) In-Reply-To: References: <4C08BEDC.7010807@icyb.net.ua> Date: Fri, 4 Jun 2010 12:49:53 +0000 Message-ID: From: "b. f." To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 12:49:55 -0000 On 6/4/10, b. f. wrote: > On 6/4/10, Andriy Gapon wrote: >> on 04/06/2010 11:13 b. f. said the following: >>> Mark Linimon wrote: >>>> On Tue, Jun 01, 2010 at 12:18:41PM +0200, Alban Hertroys wrote: > > NetBSD allows one to set HAVE_BINUTILS=2.19 and use > > http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/?only_with_tag=MAIN > > See the README there for their policy statement. I think they decided > to bite the bullet and allow optional use of the later version because > it was becoming increasingly hard to support some of their many > architectures with the old stuff. But no doubt their mailing lists > have more information. I should say that, with reference to the NetBSD changes I mentioned earlier, and John Baldwin's comments about having a GPLv3 toolchain option in our own tree, that despite NetBSD's cautious policy statement regarding GPLv3-licensed software in their base system, and their requirement that such software should be optional, it appears that use of such software is now their _default_ since Nov. 2009: http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/bsd.own.mk.diff?r1=1.593&r2=1.594&only_with_tag=MAIN&f=h b. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 15:00:24 2010 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 257CF106566B; Fri, 4 Jun 2010 15:00:24 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id DEA558FC14; Fri, 4 Jun 2010 15:00:23 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:814:2dff:a4e6:c897] (unknown [IPv6:2001:7b8:3a7:0:814:2dff:a4e6:c897]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 024A95C59; Fri, 4 Jun 2010 17:00:21 +0200 (CEST) Message-ID: <4C091509.2070607@andric.com> Date: Fri, 04 Jun 2010 17:00:25 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100531 Lanikai/3.1.1pre MIME-Version: 1.0 To: David Rhodus References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, current@freebsd.org Subject: Re: SUJ Patches for 8.X ??? 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, 04 Jun 2010 15:00:24 -0000 On 2010-06-04 01:24, David Rhodus wrote: > Anyone have a SUJ patch set for 8.x ? http://www.andric.com/freebsd/suj/suj-stable8-r208287-1.diff.bz2 This backports SUJ from head to stable/8 (at r208799), by cherry-picking the following revisions: r207141 | jeff | 2010-04-24 09:05:35 +0200 (Sat, 24 Apr 2010) | 7 lines r207142 | pjd | 2010-04-24 09:36:33 +0200 (Sat, 24 Apr 2010) | 2 lines r207143 | pjd | 2010-04-24 09:54:49 +0200 (Sat, 24 Apr 2010) | 2 lines r207144 | pjd | 2010-04-24 09:58:59 +0200 (Sat, 24 Apr 2010) | 3 lines r207145 | jeff | 2010-04-24 09:59:45 +0200 (Sat, 24 Apr 2010) | 4 lines r207309 | jeff | 2010-04-28 09:26:41 +0200 (Wed, 28 Apr 2010) | 2 lines r207310 | jeff | 2010-04-28 09:57:37 +0200 (Wed, 28 Apr 2010) | 5 lines r207421 | jeff | 2010-04-30 06:21:22 +0200 (Fri, 30 Apr 2010) | 7 lines r207462 | edwin | 2010-05-01 11:05:06 +0200 (Sat, 01 May 2010) | 7 lines r207476 | emaste | 2010-05-01 20:56:45 +0200 (Sat, 01 May 2010) | 4 lines r207741 | jeff | 2010-05-07 10:20:56 +0200 (Fri, 07 May 2010) | 8 lines r207742 | jeff | 2010-05-07 10:45:21 +0200 (Fri, 07 May 2010) | 7 lines r208241 | jeff | 2010-05-18 03:45:28 +0200 (Tue, 18 May 2010) | 11 lines r208287 | jeff | 2010-05-19 08:18:01 +0200 (Wed, 19 May 2010) | 11 lines I have tested: - Applying this diff to stable/8 at r208799 (any other rev is NOT guaranteed to work, but there is a good chance, if not too far off) - Doing a full buildworld, buildkernel, installkernel, reboot, installworld and mergemaster. - Enabling SUJ on a big filesystem with "tunefs -j enable". - Randomly resetting the box during a large copy operation on that filesystem, seeing the journal is replayed at boot time, and the filesystem recovered. That said, there is NO WARRANTY that this patch works properly. It could hose all your filesystems, and/or cause irreversible damage to your system. Most likely, even. You have been warned. :) Also, please do NOT bother Jeff Roberson about this, as he is probably busy enough supporting SUJ in head. :) Instead, direct any problem reports to me first, or to the freebsd-stable mailing list, if you prefer. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 15:29:45 2010 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 0DCCF106566C for ; Fri, 4 Jun 2010 15:29:45 +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 B9CD58FC17 for ; Fri, 4 Jun 2010 15:29:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id ADA859CB0FE for ; Fri, 4 Jun 2010 17:26:08 +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 GHttLmvD-0+2 for ; Fri, 4 Jun 2010 17:26:05 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 70D0D9CB140 for ; Fri, 4 Jun 2010 17:26:05 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o54FQ5e6080321 for current@freebsd.org; Fri, 4 Jun 2010 17:26:05 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 4 Jun 2010 17:26:05 +0200 From: Roman Divacky To: current@freebsd.org Message-ID: <20100604152605.GA80277@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 15:29:45 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear current@ On June 9th, we are importing clang/LLVM into FreeBSD HEAD. We are going to import clang/LLVM sources and put those into contrib/llvm (~45MB) and the build infrastructure for it (lib/clang and usr.bin/clang). There's also a small patch to hook it into the build. This patch is attached for review or available at (stripped from mergeinfo): http://lev.vlakno.cz/~rdivacky/clangbsd-import.patch Clang will be enabled to be built on amd64/i386/ppc by default and disabled everywhere else. The selected clang/LLVM revision is r104832. Clang will be installed as "clang" so it should not interfere with anything. There's a switch (WITH_CLANG and WITHOUT_CLANG) that alters whether clang will be built or not. We plan to update clang/LLVM "often" as bugs are being found/fixed. =46rom the point of view of a user nothing changes except one more applicat= ion will be installed after the next buildworld/installworld. The next plan is to gradually start integrating the necessary changes to enable buildworld with clang but this is pending some more discussion. Roman Divacky --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwJGw0ACgkQLVEj6D3CBEzilwCfTkb/iOARpyiusyKvdQUFUXx1 VIMAmgI25hHSqU6dAS/RhuhrhagJ9vI5 =ykRy -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 15:33:21 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 BADDD1065673 for ; Fri, 4 Jun 2010 15:33:21 +0000 (UTC) (envelope-from marcelorossi@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7412A8FC13 for ; Fri, 4 Jun 2010 15:33:21 +0000 (UTC) Received: by gyh20 with SMTP id 20so1302823gyh.13 for ; Fri, 04 Jun 2010 08:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WV4Fi3GtXvG7JAVmoGI1GubDNR3jTWEi04E43KNcyPw=; b=JiasGQ/320PHcmSTJ90oWyR6sh4IiMGBFybhfDI4Om7C77LiC8TTt49uA19qjxuR1a tPsZHTmF4B3k31AhvHjQo22HAPnfMw99LPfkmStJ/v/IXmyECo01EiNapODz4xp5VxFw Fph56ZeUmRUeyjH4+qX+a/GWcZbsJCzsSben8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=vgYapKCOfJIZsL41DTYCNIJJrhRUejLJ4AzIqGYyizpCfVJkU5KFA9L7wEqufea0Q7 DHS2TuvsOmdK+WitrhHbdyYeIgHRN3HNqH5JZ4ZazKMW1NaHacyXgWmP3G80lax42V+w AggMehaSdq6BZlQVE1pfQnIA2Inq3QYSXWaVU= Received: by 10.229.38.147 with SMTP id b19mr279534qce.253.1275665600533; Fri, 04 Jun 2010 08:33:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.86.71 with HTTP; Fri, 4 Jun 2010 08:32:58 -0700 (PDT) In-Reply-To: <201006040928.09768.hselasky@c2i.net> References: <201006031757.03341.hselasky@c2i.net> <201006040928.09768.hselasky@c2i.net> From: "Marcelo/Porks" Date: Fri, 4 Jun 2010 12:32:58 -0300 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-current@freebsd.org Subject: Re: Fwd: umodem (4) recognize a CDC-ACM device 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, 04 Jun 2010 15:33:21 -0000 On Fri, Jun 4, 2010 at 4:28 AM, Hans Petter Selasky wrot= e: > On Friday 04 June 2010 03:02:52 Marcelo/Porks wrote: >> On Thu, Jun 3, 2010 at 12:57 PM, Hans Petter Selasky > wrote: >> > On Thursday 03 June 2010 17:54:17 Hans Petter Selasky wrote: >> >> On Thursday 03 June 2010 17:50:08 Hans Petter Selasky wrote: >> >> > On Thursday 03 June 2010 16:22:33 Marcelo/Porks wrote: >> >> > > On Wed, Jun 2, 2010 at 1:25 PM, Hans Petter Selasky >> >> > > >> >> > >> >> > wrote: >> >> > > > Hi, >> >> > > > >> >> > > > The problem is that LOW speed does not support BULK transfers >> >> > > > according to the USB specification. I guess we could switch tha= t >> >> > > > support on, though I'd rather stick with the spec. >> >> > > > >> >> > > > Try changing this line in: >> >> > > > >> >> > > > src/sys/dev/usb/usb_transfer.c >> > >> > Hi, >> > >> > Should be like this: Note the structure is called "bulk_min": >> > >> > =A0 =A0 =A0 =A0static const uint16_t bulk_min[USB_SPEED_MAX] =3D { >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_LOW] =3D 8, >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_FULL] =3D 8, >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_HIGH] =3D 512, >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_VARIABLE] =3D 512, >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[USB_SPEED_SUPER] =3D 1024, >> > =A0 =A0 =A0 =A0}; >> > --HPS >> >> Hi, This was what I changed at first. I tried in a FreeBSD current >> (Jun 3) and at 8.0-p3. >> >> At FreeBSD current I changed the line 3062. >> >> From: >> [USB_SPEED_LOW] =3D 0, =A0 =A0/* not supported */ >> >> To: >> [USB_SPEED_LOW] =3D 8, >> >> >> Like you suggested I'll try to talk with you in #bsdusb at efnet >> >> Thank you! > > Ok, > > I think you also need to remove the check for LOW speed in the EHCI/OHCI/= UHCI > controller drivers too. See usb/controller/{ehci.c,uhci.c,ohci.c} > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0case UE_BULK: > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (udev->speed !=3D USB_S= PEED_LOW) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ep->method= s =3D &uhci_device_bulk_methods; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0break; > > --HPS > Hia Hans! It seems to work now or at least it was recognized. I'll make more tests on Monday and post the results. Thank you so much. again! BARAD-DUR# uname -a FreeBSD BARAD-DUR.BUTECO 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r208760M: Fri Jun 4 12:16:35 BRT 2010 porks@BARAD-DUR.BUTECO:/usr/obj/mnt/ad2s1d/data/src/sys/BARAD-DUR i386 BARAD-DUR# kldload umodem BARAD-DUR# kldstat Id Refs Address Size Name 1 29 0xc0400000 757368 kernel 2 1 0xc0b58000 5ad4 snd_cmi.ko 3 3 0xc0b5e000 574a4 sound.ko 4 1 0xc0bb6000 4dfa90 nvidia.ko 5 3 0xc1096000 2eacc linux.ko 6 1 0xc4407000 8000 linprocfs.ko 7 1 0xc474f000 3000 logo_saver.ko 8 1 0xc4d54000 4000 umodem.ko < DEVICE PLUGGED ON USB PORT > BARAD-DUR# tail -f /var/log/messages Jun 4 12:27:14 BARAD-DUR kernel: uhub_reattach_port: port 1 reset failed, error=3DUSB_ERR_TIMEOUT Jun 4 12:27:14 BARAD-DUR kernel: uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 Jun 4 12:27:15 BARAD-DUR kernel: ugen0.3: at usbus0 Jun 4 12:27:15 BARAD-DUR kernel: umodem0: on usbus0 Jun 4 12:27:15 BARAD-DUR kernel: umodem0: data interface 1, has CM over data, has no break BARAD-DUR# ls -lah /dev/cuaU* crw-rw---- 1 uucp dialer 0, 114 Jun 4 12:27 /dev/cuaU0 crw-rw---- 1 uucp dialer 0, 115 Jun 4 12:27 /dev/cuaU0.init crw-rw---- 1 uucp dialer 0, 116 Jun 4 12:27 /dev/cuaU0.lock < DEVICE PLUGED OFF USB PORT> BARAD-DUR# tail -f /var/log/messages Jun 4 12:30:15 BARAD-DUR kernel: ugen0.3: at usbus0 (disconnected) Jun 4 12:30:15 BARAD-DUR kernel: umodem0: at uhub0, port 1, addr 3 (disconnected) BARAD-DUR# ls -lah /dev/cuaU* zsh: no matches found: /dev/cuaU* --=20 Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights.= " From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 16:59:17 2010 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 93B991065674 for ; Fri, 4 Jun 2010 16:59:17 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2505E8FC0A for ; Fri, 4 Jun 2010 16:59:16 +0000 (UTC) Received: (qmail 6309 invoked by uid 399); 4 Jun 2010 16:59:16 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Jun 2010 16:59:16 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C0930E3.3030301@FreeBSD.org> Date: Fri, 04 Jun 2010 09:59:15 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Roman Divacky References: <20100604152605.GA80277@freebsd.org> In-Reply-To: <20100604152605.GA80277@freebsd.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 16:59:17 -0000 On 06/04/10 08:26, Roman Divacky wrote: > Dear current@ > > On June 9th, we are importing clang/LLVM into FreeBSD HEAD. Excellent news! :) I am in favor of this, and look forward to a day of using a FreeBSD system compiled as much as possible with clang. During the ongoing discussion there were 2 items identified that I was particularly interested in, and I personally would like to see those items resolved before the clang import: 1. Have uname report the compiler (and compiler version?) that the kernel was compiled with. This can likely be done through newvers.sh easily enough. 2. Publish instructions on how to set up a different compiler for ports. I realize that what you're talking about in this announcement is simply importing clang into the build, not using it to build anything yet. However my concern is that if we don't attend to these 2 issues sooner than later that they will get lost in the shuffle. In any case, congratulations on the progress the clang team has made so far, and on this new milestone. :) Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 16:53:38 2010 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 CA7081065680; Fri, 4 Jun 2010 16:53:38 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id AD88C8FC16; Fri, 4 Jun 2010 16:53:38 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id EAD874A2E6CD; Fri, 4 Jun 2010 09:01:21 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, 04 Jun 2010 09:07:57 -0700 Date: Fri, 4 Jun 2010 09:07:57 -0700 From: Jason To: Dimitry Andric Message-ID: <20100604160755.GB43193@eggman.experts-exchange.com> References: <4C091509.2070607@andric.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4C091509.2070607@andric.com> X-Operating-System: FreeBSD 7.2-RELEASE-p7 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Fri, 04 Jun 2010 17:05:31 +0000 Cc: stable@freebsd.org, David Rhodus , current@freebsd.org Subject: Re: SUJ Patches for 8.X ??? 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, 04 Jun 2010 16:53:38 -0000 On Fri, Jun 04, 2010 at 05:00:25PM +0200, Dimitry Andric thus spake: >On 2010-06-04 01:24, David Rhodus wrote: >> Anyone have a SUJ patch set for 8.x ? > >http://www.andric.com/freebsd/suj/suj-stable8-r208287-1.diff.bz2 > >This backports SUJ from head to stable/8 (at r208799), by cherry-picking >the following revisions: > > r207141 | jeff | 2010-04-24 09:05:35 +0200 (Sat, 24 Apr 2010) | 7 lines > r207142 | pjd | 2010-04-24 09:36:33 +0200 (Sat, 24 Apr 2010) | 2 lines > r207143 | pjd | 2010-04-24 09:54:49 +0200 (Sat, 24 Apr 2010) | 2 lines > r207144 | pjd | 2010-04-24 09:58:59 +0200 (Sat, 24 Apr 2010) | 3 lines > r207145 | jeff | 2010-04-24 09:59:45 +0200 (Sat, 24 Apr 2010) | 4 lines > r207309 | jeff | 2010-04-28 09:26:41 +0200 (Wed, 28 Apr 2010) | 2 lines > r207310 | jeff | 2010-04-28 09:57:37 +0200 (Wed, 28 Apr 2010) | 5 lines > r207421 | jeff | 2010-04-30 06:21:22 +0200 (Fri, 30 Apr 2010) | 7 lines > r207462 | edwin | 2010-05-01 11:05:06 +0200 (Sat, 01 May 2010) | 7 lines > r207476 | emaste | 2010-05-01 20:56:45 +0200 (Sat, 01 May 2010) | 4 lines > r207741 | jeff | 2010-05-07 10:20:56 +0200 (Fri, 07 May 2010) | 8 lines > r207742 | jeff | 2010-05-07 10:45:21 +0200 (Fri, 07 May 2010) | 7 lines > r208241 | jeff | 2010-05-18 03:45:28 +0200 (Tue, 18 May 2010) | 11 lines > r208287 | jeff | 2010-05-19 08:18:01 +0200 (Wed, 19 May 2010) | 11 lines > >I have tested: >- Applying this diff to stable/8 at r208799 (any other rev is NOT > guaranteed to work, but there is a good chance, if not too far off) >- Doing a full buildworld, buildkernel, installkernel, reboot, > installworld and mergemaster. >- Enabling SUJ on a big filesystem with "tunefs -j enable". >- Randomly resetting the box during a large copy operation on that > filesystem, seeing the journal is replayed at boot time, and the > filesystem recovered. > >That said, there is NO WARRANTY that this patch works properly. It >could hose all your filesystems, and/or cause irreversible damage to >your system. Most likely, even. You have been warned. :) > >Also, please do NOT bother Jeff Roberson about this, as he is probably >busy enough supporting SUJ in head. :) Instead, direct any problem >reports to me first, or to the freebsd-stable mailing list, if you >prefer. >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > I wasn't sure what SUJ was, so I looked it up and it sounds like a great feature to come to FreeBSD. I also found this email from Jeff that may be a good resource as well. http://lists.freebsd.org/pipermail/freebsd-current/2010-January/014811.html -j From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:28:22 2010 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 E793B106566B; Fri, 4 Jun 2010 17:28:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id C89948FC19; Fri, 4 Jun 2010 17:28:22 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o54HSMPh085054; Fri, 4 Jun 2010 10:28:22 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o54HSMSD085053; Fri, 4 Jun 2010 10:28:22 -0700 (PDT) (envelope-from sgk) Date: Fri, 4 Jun 2010 10:28:22 -0700 From: Steve Kargl To: Doug Barton Message-ID: <20100604172822.GA85023@troutmask.apl.washington.edu> References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C0930E3.3030301@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 17:28:23 -0000 On Fri, Jun 04, 2010 at 09:59:15AM -0700, Doug Barton wrote: > On 06/04/10 08:26, Roman Divacky wrote: > >Dear current@ > > > >On June 9th, we are importing clang/LLVM into FreeBSD HEAD. > > Excellent news! :) I am in favor of this, and look forward to a day of > using a FreeBSD system compiled as much as possible with clang. > > During the ongoing discussion there were 2 items identified that I was > particularly interested in, and I personally would like to see those > items resolved before the clang import: > > 1. Have uname report the compiler (and compiler version?) that the > kernel was compiled with. This can likely be done through newvers.sh > easily enough. > Is it possible to load a clang compiled module into a gcc compiled kernel (and vice versa)? If the answer is "yes", then a change to uname may produce meaningless and somewhat misleading information. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:33:12 2010 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 BF790106566B for ; Fri, 4 Jun 2010 17:33:12 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 496638FC21 for ; Fri, 4 Jun 2010 17:33:11 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so169610fgb.13 for ; Fri, 04 Jun 2010 10:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=JmNxt19xyiJeGyGmOrxHLiwYG8wUw5NAl+xxbDzEdZI=; b=W6QK2Jr0QgImQBAO/ifTpWWqL04l0PexDoYs6NtSNS12VDHYVbveHC6mgwmbIJb/yY wsQuE1fuilEY80S0FKFRHkLQCQthdLdcSHz/ksALSPW/RsCpj+SnhtDwhG9i2mVohOc+ G8mvNWlxnG9gIu/0nYPaiWggm7QfKN6Y8R0DM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=k+eVK0kaM5Jx35V5vihH4V+p85XnWFweybNgvGsMzgX46+PX3l3GlOUpw6PVpEjWRe JI3uq4xFEh5teSGy6VB2HvacvzV27OoaIF/RL6CruGfEH786fatqGnt8S+d5ezteTtkw CqCZVZFy2QPlAUH7+lNfxiFRZrwW7ye992QUo= MIME-Version: 1.0 Received: by 10.204.47.36 with SMTP id l36mr4171795bkf.32.1275672790662; Fri, 04 Jun 2010 10:33:10 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.135.149 with HTTP; Fri, 4 Jun 2010 10:33:10 -0700 (PDT) In-Reply-To: <20100604152605.GA80277@freebsd.org> References: <20100604152605.GA80277@freebsd.org> Date: Fri, 4 Jun 2010 13:33:10 -0400 X-Google-Sender-Auth: OvfMS8tZ67DCSpK4pyFkVj-uuEg Message-ID: From: Justin Hibbits To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 17:33:12 -0000 On Fri, Jun 4, 2010 at 11:26 AM, Roman Divacky wrote: > Dear current@ > > On June 9th, we are importing clang/LLVM into FreeBSD HEAD. We are going > to import clang/LLVM sources and put those into contrib/llvm (~45MB) and > the build infrastructure for it (lib/clang and usr.bin/clang). There's > also a small patch to hook it into the build. This patch is attached for > review or available at (stripped from mergeinfo): > > > http://lev.vlakno.cz/~rdivacky/clangbsd-import.patch > > > Clang will be enabled to be built on amd64/i386/ppc by default and disabled > everywhere else. The selected clang/LLVM revision is r104832. Clang will > be installed as "clang" so it should not interfere with anything. There's > a switch (WITH_CLANG and WITHOUT_CLANG) that alters whether clang will > be built or not. > > We plan to update clang/LLVM "often" as bugs are being found/fixed. > > From the point of view of a user nothing changes except one more > application > will be installed after the next buildworld/installworld. > > The next plan is to gradually start integrating the necessary changes to > enable buildworld with clang but this is pending some more discussion. > > > Roman Divacky > Does this mean the last bits of the ppc support have been fixed? - Justin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:44:57 2010 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 C77391065675; Fri, 4 Jun 2010 17:44:57 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 057E68FC12; Fri, 4 Jun 2010 17:44:56 +0000 (UTC) Received: by ewy1 with SMTP id 1so91441ewy.33 for ; Fri, 04 Jun 2010 10:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:cc:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=MdEymRFe5/GklOwnYEBucPv/wb4Hcpa4vcsgboEzZ7s=; b=ndyEnwdFuyR8lLRNPIdc+YTsjKDDGOwLojBqNIdXQwsTDjQlcTCtVkrtCTotkQtDyY XLjOuOroixsJYJCqHJ1TSPDcGwPq9g4bo/ITiX1xOVsWAnUeeBerI5ARE971atLHqqkT UxvQlRToh7bHO52drggBKQ93dn0YjxpyEguTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=hUKbMTZfuCYfcVZnAqJbnKHruvGOw+JPvyfmBZKj8wlFQJNJMN4hLrBRbiY2p5rtbR iFjnCVshxj0IrP23FfTkOrdYQnt/+tM7usDo9Aa9JOuemMfHhVmb43E4x/HacQmexaJz ii81j4QoUfsUVlKXL6GLQGEJbn/oshV1JwhdU= Received: by 10.213.9.70 with SMTP id k6mr8577236ebk.37.1275673495838; Fri, 04 Jun 2010 10:44:55 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 13sm848339ewy.13.2010.06.04.10.44.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 10:44:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Roman Divacky" , "Doug Barton" References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> Date: Fri, 04 Jun 2010 20:44:52 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <4C0930E3.3030301@FreeBSD.org> User-Agent: Opera Mail/10.60 (FreeBSD) Cc: current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 17:44:57 -0000 On Fri, 04 Jun 2010 19:59:15 +0300, Doug Barton wrote: > 2. Publish instructions on how to set up a different compiler for ports. There's really no nice way to do it right now. We'll probably put something on the wiki page[1], but there's only so much we can do when ports don't expect compiler to be changed. I'm working on it for my SoC project, but I'm not sure when (hopefully, not "if") it will be committed. [1] http://wiki.freebsd.org/PortsAndClang -- Andrius From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:46:15 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 8A5B31065676 for ; Fri, 4 Jun 2010 17:46:15 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 47A4E8FC2A for ; Fri, 4 Jun 2010 17:46:15 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 383C5BF407 for ; Fri, 4 Jun 2010 19:46:14 +0200 (CEST) Received: by gwj23 with SMTP id 23so1427210gwj.13 for ; Fri, 04 Jun 2010 10:46:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.117.41 with SMTP id p41mr8316968ybc.439.1275673572786; Fri, 04 Jun 2010 10:46:12 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 10:46:12 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Jun 2010 19:46:12 +0200 Message-ID: From: Alexander Best To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 17:46:15 -0000 2010/6/2 Andrius Mork=C5=ABnas : > On Wed, 02 Jun 2010 18:23:19 +0300, Alexander Best > wrote: >> >> it seems for some reason gcc44 gets chosen at some point as compiler >> instead of the base gcc. i DO have CC, CXX and CPP defined in my >> /etc/make.conf so that gcc44 gets used for ports and other stuff. >> HOWEVER /stc/src.conf also contains those three variables and they to >> the base version of gcc. of course commenting out those variables in >> /etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld' >> should use /etc/src.conf at all times and thus should be aware that i >> want it to use base gcc. > > buildworld uses both, src.conf and make.conf, and whatever is in > make.conf pretty much overrides everything else. You can use something > like this to set compiler only for ports: > > .if !empty(.CURDIR:M/usr/ports/*) > CC=3Dgcc44 > .endif thanks for the info. actually i had something like this in my make.conf beforehand as stated in http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-= ports-gcc.html i thought i could get rid of it. imo the current behaviour where make.conf takes priority over src.conf during buildworld is not what users expect. src.conf should ALWAYS take priority over make.conf when buildworld or buildkernel is being run. just my 0,02$. ;) cheers. alex > > -- > Andrius > --=20 Alexander Best From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:52:35 2010 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 4990B1065692 for ; Fri, 4 Jun 2010 17:52:35 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C97088FC13 for ; Fri, 4 Jun 2010 17:52:34 +0000 (UTC) Received: (qmail 31541 invoked by uid 399); 4 Jun 2010 17:52:33 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Jun 2010 17:52:33 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C093D60.1010008@FreeBSD.org> Date: Fri, 04 Jun 2010 10:52:32 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 17:52:35 -0000 On 06/04/10 10:44, Andrius Morkūnas wrote: > On Fri, 04 Jun 2010 19:59:15 +0300, Doug Barton wrote: >> 2. Publish instructions on how to set up a different compiler for ports. > > There's really no nice way to do it right now. We'll probably put something > on the wiki page[1], but there's only so much we can do when ports don't > expect compiler to be changed. > I'm working on it for my SoC project, but I'm not sure when (hopefully, > not "if") it will be committed. > > [1] http://wiki.freebsd.org/PortsAndClang Sorry I wasn't clear. I'm not talking about compiling ports with clang (which I also look forward to someday) I'm talking about installing a version of gcc from ports and using that to compile all the other ports. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 17:55:14 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 B965E10656C9 for ; Fri, 4 Jun 2010 17:55:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5105E8FC23 for ; Fri, 4 Jun 2010 17:55:14 +0000 (UTC) Received: (qmail 2724 invoked by uid 399); 4 Jun 2010 17:55:13 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Jun 2010 17:55:13 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C093E01.7020909@FreeBSD.org> Date: Fri, 04 Jun 2010 10:55:13 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Alexander Best References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 17:55:14 -0000 On 06/04/10 10:46, Alexander Best wrote: > src.conf should ALWAYS take priority over make.conf when > buildworld or buildkernel is being run. Defining the same variables in different contexts is always a recipe for the dreaded "unpredictable results." Even if it were possible to create the proper rules to enforce what you're asking for allowing users to rely on it would just be encouraging bad habits. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 18:28:46 2010 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 A9829106564A; Fri, 4 Jun 2010 18:28:46 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id DBC748FC1F; Fri, 4 Jun 2010 18:28:45 +0000 (UTC) Received: by ewy1 with SMTP id 1so98717ewy.33 for ; Fri, 04 Jun 2010 11:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:cc:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=VqyVMglLc7jOBscN7ZAXOooBEp4eYnmlv/5IykhI8tI=; b=Kvfe9ZfIS2oumSoq4eYLph9XxJ+AFnRPDHd/OA/BxiG06kLSv6CClxdSOE2DcJ2Ox0 GbFoPKUY1m83DWl4QbZ2Aybdqh7cZ926O3noY4huNlW/h8VUx4RN/zJlaCLiOO5j7dsR R76NlvkqKCyoqUB+GB6q3wuNKlONzB/b6TlMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=SKvrk8H56cgLls6pK0Q+uuCydIhhgJ2bnHlF5e3Czy/BEvAVNKjEh8KE4BMVmMkaA5 hbzQRQcy8Xh0n7nipE3w1t591qAadOBhM8dpMd04QVhbIfz48AdoNajEpoosqz2ZCYhD is6bDP+6k65AuTvFn1PmjnW6BWqSUg+ED4/D0= Received: by 10.213.35.18 with SMTP id n18mr6174023ebd.10.1275676124514; Fri, 04 Jun 2010 11:28:44 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 13sm869412ewy.1.2010.06.04.11.28.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 11:28:43 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Doug Barton" References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> Date: Fri, 04 Jun 2010 21:28:40 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <4C093D60.1010008@FreeBSD.org> User-Agent: Opera Mail/10.60 (FreeBSD) Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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, 04 Jun 2010 18:28:46 -0000 On Fri, 04 Jun 2010 20:52:32 +0300, Doug Barton wrote: > Sorry I wasn't clear. I'm not talking about compiling ports with clang > (which I also look forward to someday) I'm talking about installing a > version of gcc from ports and using that to compile all the other ports. I'm even more confused now. What does that have to do with clang import? And I guess I wasn't too clear myself. I was talking about "setting ports compiler to whatever you want", not "compiling ports with clang". I guess PortsAndClang page would only explain how to change the compiler to clang, but there's already a tutorial about changing ports compiler to newer version of gcc[1]. So what am I missing here? [1] http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html -- Andrius From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 18:30:36 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 5F0EA106564A for ; Fri, 4 Jun 2010 18:30:36 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id E125B8FC16 for ; Fri, 4 Jun 2010 18:30:35 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so182244fgb.13 for ; Fri, 04 Jun 2010 11:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=lXwWEr9rnQcaORekT38Tzk5R1Fq+zekeVTcJ01XQ3uQ=; b=GH8QsX6cSg28Blrp1FP+ocajMxckv8QWYLnj4LzLatpvo2WDKyX/3tzmOXmTNVlqvm elVOcaJGFisY7BeUjQjQKF4tYOWJ+z2aZyPpgjHX8MTPoqdWztYhWcBxnYNEfJeCKxyh jdJ109tvHOkNNqjonNPTn4DFNBhoIpCnQ1pSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=VFDQsQtZeVzoBBxaZwOI47PWqEM0xCrVFKDWPfJ0cEn3U9SUxG31uJDWr8TzksYcWD 292YMOE1+jbBcwXwkVYxWW/vTMO6wzVzTZlc5HDZaM/tGEU1KYGxsa/1J4k9IG2o0HHP AyvxMXfGuLpJWEGke9143sCXQ9INmsltGg8lE= Received: by 10.223.147.209 with SMTP id m17mr12215847fav.11.1275676234719; Fri, 04 Jun 2010 11:30:34 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id g10sm6434643fai.0.2010.06.04.11.30.33 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 11:30:34 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C094635.40002@FreeBSD.org> Date: Fri, 04 Jun 2010 21:30:13 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: FreeBSD-Current X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: ioapic_assign_cpu() on active level-triggered interrupt 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, 04 Jun 2010 18:30:36 -0000 Hi. I am working on driver for HPET event timers. It works mostly fine, except after some cases when ioapic_assign_cpu() called while timer is active. Under interrupt rate of 10KHz it is enough a dozen cpuset runs to break it (with 1KHz - few dozens). When it happens, I can see that timer is still running, interrupt status register is changing, but no interrupts received. Timer uses level-triggered interrupts, so it is tolerant to interrupt losses. I have tried to not acknowledge some, and they have immediately got back to me again, as expected for level-triggering. Timer runs in periodic mode, so it doesn't need handling to continue counting. I have reproduced it on two different i386 SMP systems: Core2Duo+ICH10 and Core i5+PCH. With more experiments I have found that I can't trigger this issue if following patch applied: --- io_apic.c.prev 2010-06-02 10:55:56.000000000 +0300 +++ io_apic.c 2010-06-04 17:45:51.000000000 +0300 @@ -363,7 +366,10 @@ ioapic_assign_cpu(struct intsrc *isrc, u printf(") to lapic %u vector %u\n", intpin->io_cpu, intpin->io_vector); } + ioapic_disable_source(isrc, PIC_NO_EOI); + DELAY(10); ioapic_program_intpin(intpin); + ioapic_enable_source(isrc); /* * Free the old vector after the new one is established. This is done * to prevent races where we could miss an interrupt. It is is almost a hack and 10us is completely experimental. But it looks like changing interrupt's APIC and vector in some moments of interrupt processing may be not a good idea. Can somebody explain this behavior and propose some solution? Have somebody seen it for regular PCI devices? -- Alexander Motin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 18:39:07 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 E7EA9106572D for ; Fri, 4 Jun 2010 18:39:07 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE5E48FC1B for ; Fri, 4 Jun 2010 18:39:06 +0000 (UTC) Received: by iwn5 with SMTP id 5so1685030iwn.13 for ; Fri, 04 Jun 2010 11:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=QPyTY4r9jKsDORzuuFYwrSxP7FcxiD/sMqnf1mg/k+4=; b=n99UTOO8a9AzxH3XmDPd9FB7F4v/uNLh1ha2L8EFo6hLyVnwsYRiTtxd6C7xiNJzbQ VVYCRqRpfpOJQOD9RSe2Kwug99q6S9i8/vvRyVQRy3M/grObGs+yChpLFgblX9eyFe57 KP40mzTLF521PyixOJfNTyXEDwc+cLJoBrm3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GahevRcglkE5s2Bhf2EW+wadj1B+aUwLhWNfXpL3CyEs8F89bFDA0O1125xwvqxQHe dAuljaTgiMvv+M+svCDoxVoiD2T2Jcs9tR85y8w2PiCAZqsb/Wc7GKFw3/nlFheKHSSn zIwsE3AZVwn0yXtEVKEQy5GPL7uo3rDsI7G1Q= MIME-Version: 1.0 Received: by 10.231.59.80 with SMTP id k16mr1242044ibh.114.1275676746014; Fri, 04 Jun 2010 11:39:06 -0700 (PDT) Received: by 10.231.16.137 with HTTP; Fri, 4 Jun 2010 11:39:05 -0700 (PDT) In-Reply-To: <4C093E01.7020909@FreeBSD.org> References: <4C093E01.7020909@FreeBSD.org> Date: Fri, 4 Jun 2010 11:39:05 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 18:39:08 -0000 On Fri, Jun 4, 2010 at 10:55 AM, Doug Barton wrote: > On 06/04/10 10:46, Alexander Best wrote: > >> src.conf should ALWAYS take priority over make.conf when >> buildworld or buildkernel is being run. >> > > Defining the same variables in different contexts is always a recipe for > the dreaded "unpredictable results." Even if it were possible to create the > proper rules to enforce what you're asking for allowing users to rely on it > would just be encouraging bad habits. Wouldn't it be great, if /etc/make.conf disappeared completely? To be replaced by /etc/src.conf for buildworld/kernel stuff. And /etc/ports.conf for ports building stuff. With no linkage of any kind between the two, with all the "magic" hidden in /usr/ports/Mk and /usr/share/Mk. Maybe I'm dreaming, but wouldn't it make things a lot simpler in the long run? One could set all the weird and wonderful CPU* variables they want in /etc/ports.conf, and leave /etc/src.conf as generic as possible, without worrying about how one affects the other. Then you get a nice optimised app installation env, with a nice stable base. Seems like the next logical progression now that src.conf has appeared. :) -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 19:33:21 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 E4A881065675 for ; Fri, 4 Jun 2010 19:33:21 +0000 (UTC) (envelope-from bf1783@googlemail.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 7961B8FC14 for ; Fri, 4 Jun 2010 19:33:21 +0000 (UTC) Received: by wyf28 with SMTP id 28so1504829wyf.13 for ; Fri, 04 Jun 2010 12:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=hCEq2zrV+NLnAetc6u9qfRQe/awj7Dz1W1T35JfweYQ=; b=p+jBozwaSKZ6EP68f+af5MVdxqml6c8a3q9qQT4RHAIJFb+pH5pxTNHeY5WvKq9umQ Z/J+c5cLpRX+p6Ibp4qpzDiQsDu3INMDyCeWRChNGmCHV+nqNi22/3KaIPYbKUMrNJyo lWkwG/o4762pgklh9c0FVzg2JulrBEIpbWrf4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=G1hVKSHbX+ctu+KtDHC5OqTAyOT+P+0vSBvo9jzKI6Q+9LwZ2gx6ta/Grt7j1qTP0y yIBc1fcyBD1LXXr4B4f4cFt2kQVC8m3P8tEhyMnt/SZ3j+1eGuhxKK/sOQEjEQoizxAh iFGWz4vwoXEtr9v1Tx1HENXjTcBDoCh1iDCAg= MIME-Version: 1.0 Received: by 10.227.148.10 with SMTP id n10mr6149818wbv.87.1275680000145; Fri, 04 Jun 2010 12:33:20 -0700 (PDT) Received: by 10.216.183.5 with HTTP; Fri, 4 Jun 2010 12:33:19 -0700 (PDT) Date: Fri, 4 Jun 2010 19:33:19 +0000 Message-ID: From: "b. f." To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: 'buildworld' not always pulling in /etc/src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 19:33:22 -0000 >Wouldn't it be great, if /etc/make.conf disappeared completely? > >To be replaced by /etc/src.conf for buildworld/kernel stuff. > >And /etc/ports.conf for ports building stuff. > Er, and replaced by what for using make on the many things that are neither in the base system, nor in FreeBSD Ports? The world of software is a big place. >With no linkage of any kind between the two, with all the "magic" hidden in >/usr/ports/Mk and /usr/share/Mk. > >Maybe I'm dreaming, but wouldn't it make things a lot simpler in the long >run? Just because you have a make.conf, doesn't mean that you can't have a ports.conf, or that you must continue to use src.conf in the way that it is used now. b. From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 20:21:21 2010 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 E74E41065670; Fri, 4 Jun 2010 20:21:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id BAEDF8FC13; Fri, 4 Jun 2010 20:21:21 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 5A69746B0C; Fri, 4 Jun 2010 16:21:21 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A01868A01F; Fri, 4 Jun 2010 16:21:20 -0400 (EDT) From: John Baldwin To: Jeff Roberson Date: Fri, 4 Jun 2010 09:55:03 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201006040955.03845.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 04 Jun 2010 16:21:20 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=4.2 tests=AWL,BAYES_00, DATE_IN_PAST_06_12 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: current@freebsd.org Subject: Sparse journal? 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, 04 Jun 2010 20:21:22 -0000 I crashed a testbox running FreeBSD/i386 today which had SUJ enabled on its /var partition. It encountered the following error when trying to fsck -p during boot: ** SU+J Recovering /dev/ada0s1d ** Reading 16572416 byte journal from inode 4. fsck_ufs: Sparse journal inode 4. It then failed with an unexpected soft update inconsistency. du claims that /var/.sujournal takes up 16192 KB. This matches up assuming 8k blocks and 1 indirect block (I used fsdb -r and dumped the block list for inode 4 and it does have one indirect block). Any ideas? -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 21:59:03 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 62DB11065672 for ; Fri, 4 Jun 2010 21:59:03 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 1E75B8FC1D for ; Fri, 4 Jun 2010 21:59:02 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 150C6BF407; Fri, 4 Jun 2010 23:59:00 +0200 (CEST) Received: by gwaa12 with SMTP id a12so45694gwa.13 for ; Fri, 04 Jun 2010 14:58:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.252.13 with SMTP id z13mr11446626ybh.76.1275688738830; Fri, 04 Jun 2010 14:58:58 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 14:58:58 -0700 (PDT) In-Reply-To: <4C093E01.7020909@FreeBSD.org> References: <4C093E01.7020909@FreeBSD.org> Date: Fri, 4 Jun 2010 23:58:58 +0200 Message-ID: From: Alexander Best To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 21:59:03 -0000 On Fri, Jun 4, 2010 at 7:55 PM, Doug Barton wrote: > On 06/04/10 10:46, Alexander Best wrote: >> >> src.conf should ALWAYS take priority over make.conf when >> buildworld or buildkernel is being run. > > Defining the same variables in different contexts is always a recipe for = the > dreaded "unpredictable results." Even if it were possible to create the > proper rules to enforce what you're asking for allowing users to rely on = it > would just be encouraging bad habits. i just found out that src.conf should only contain WITHOUT_* and maybe DEBUG_FLAGS =3D -g. what i did was to remove all CC, CXX and CPP definitions from make.conf and defined them in src.conf. this however broke buildworld. :( simply add CC=3Dgcc CXX=3Dg++ CPP=3Dcpp to src.conf and bamm! 'buildworld' should fail somewhere in lib/csu (that's ony amd64). so putting compiler related stuff into src.conf isn't such a great idea. > > > Doug > > -- > > =A0 =A0 =A0 =A0... and that's just a little bit of history repeating. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads > > =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with > =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co= m/ > > --=20 Alexander Best From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 22:35:26 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 2DB971065672 for ; Fri, 4 Jun 2010 22:35:26 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id E2F6F8FC0A for ; Fri, 4 Jun 2010 22:35:25 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id E7315BF407 for ; Sat, 5 Jun 2010 00:35:24 +0200 (CEST) Received: by gwaa12 with SMTP id a12so68010gwa.13 for ; Fri, 04 Jun 2010 15:35:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.237.19 with SMTP id k19mr11393973ybh.393.1275690923474; Fri, 04 Jun 2010 15:35:23 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 15:35:23 -0700 (PDT) Date: Sat, 5 Jun 2010 00:35:23 +0200 Message-ID: From: Alexander Best To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: strange scsi/CAM related dmesg output 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, 04 Jun 2010 22:35:26 -0000 hi there. running HEAD, amd64 and r208806 i get this dmesg output which doesn't look right: ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transferscd0 at ata2 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1944656 x 2048 byte records] (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C) my kernel contains: options SC_HISTORY_SIZE=1000 options MSGBUF_SIZE=65536 options PRINTF_BUFR_SIZE=128 might this be caused by one of these lines? cheers. -- Alexander Best From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 22:41:21 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 8B0281065675 for ; Fri, 4 Jun 2010 22:41:21 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5558FC14 for ; Fri, 4 Jun 2010 22:41:21 +0000 (UTC) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.211.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 33285BF407 for ; Sat, 5 Jun 2010 00:41:20 +0200 (CEST) Received: by ywh12 with SMTP id 12so1059608ywh.14 for ; Fri, 04 Jun 2010 15:41:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.252.13 with SMTP id z13mr11477894ybh.76.1275691278797; Fri, 04 Jun 2010 15:41:18 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Fri, 4 Jun 2010 15:41:18 -0700 (PDT) Date: Sat, 5 Jun 2010 00:41:18 +0200 Message-ID: From: Alexander Best To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Auto doadump() 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, 04 Jun 2010 22:41:21 -0000 maybe you could add a ddb(8) command to your crontab? i for example have this in my crontab: @reboot /sbin/ddb script 'kdb.enter.panic=textdump set; capture on; show pcpu; show allpcpu; bt; ps; show locks; show alllocks; show lockedvnods; alltrace; call doadump' cheers. -- Alexander Best From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 23:09:30 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 9A1201065673 for ; Fri, 4 Jun 2010 23:09:30 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2905C8FC13 for ; Fri, 4 Jun 2010 23:09:29 +0000 (UTC) Received: (qmail 17033 invoked by uid 399); 4 Jun 2010 23:09:27 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Jun 2010 23:09:27 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C0987A6.5010109@FreeBSD.org> Date: Fri, 04 Jun 2010 16:09:26 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Freddie Cash References: <4C093E01.7020909@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 23:09:30 -0000 On 06/04/10 11:39, Freddie Cash wrote: > On Fri, Jun 4, 2010 at 10:55 AM, Doug Barton wrote: > > Wouldn't it be great, if /etc/make.conf disappeared completely? No, since it's useful for things that are common to both src and ports, and to stuff that is neither. > To be replaced by /etc/src.conf for buildworld/kernel stuff. That already exists. > And /etc/ports.conf for ports building stuff. ports-mgmt/portconf. -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 23:20:04 2010 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 6726F106564A; Fri, 4 Jun 2010 23:20:04 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 255488FC14; Fri, 4 Jun 2010 23:20:03 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id CBBC811BA77; Fri, 4 Jun 2010 17:49:54 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id 5P39QX6SUZJ5; Fri, 04 Jun 2010 17:49:54 -0500 Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <201006040955.03845.jhb@freebsd.org> Date: Fri, 4 Jun 2010 23:49:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3886E750-8569-4C07-8691-B3B55A0B8CCA@FreeBSD.org> References: <201006040955.03845.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1078) Cc: current@freebsd.org Subject: Re: Sparse journal? 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, 04 Jun 2010 23:20:04 -0000 On 4 Jun 2010, at 14:55, John Baldwin wrote: > I crashed a testbox running FreeBSD/i386 today which had SUJ enabled = on its=20 > /var partition. It encountered the following error when trying to = fsck -p=20 > during boot: >=20 > ** SU+J Recovering /dev/ada0s1d > ** Reading 16572416 byte journal from inode 4. > fsck_ufs: Sparse journal inode 4. >=20 > It then failed with an unexpected soft update inconsistency. du = claims that=20 > /var/.sujournal takes up 16192 KB. This matches up assuming 8k blocks = and 1=20 > indirect block (I used fsdb -r and dumped the block list for inode 4 = and it=20 > does have one indirect block). Any ideas? I had this too on /var. The workaround was to disable SUJ on my /var = which only has 2GB. BTW, every time I booted, this error would show up. Regards, -- Rui Paulo From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 23:30:51 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 7D990106567B for ; Fri, 4 Jun 2010 23:30:51 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9B98FC1B for ; Fri, 4 Jun 2010 23:30:50 +0000 (UTC) Received: by iwn5 with SMTP id 5so2002564iwn.13 for ; Fri, 04 Jun 2010 16:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Prbdtj6tIHpVd269kgCIIw+w1hOOBEZXi7IcWXf4spc=; b=x3YAt0qcYe1jxTbu4NpJuBuQvoycRL2mjEPHSfi1gOzDH4g6fcBMOYYBmpecvV6SjJ bWce+WivP+fkN2JJTl8XsHWYN52ao2aew42I640EelaZegPFcuQ2MEDnJGZkKe8ePvnW KChjsZb6BQlKs4KmUqShLGL0Jz1TshqHvhdFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lZuFDnZoKY3PqBZm/at+If2GJtU1VkhIZPzewNcjH5R0P9NG96qUMsYcINNe1lNVHq /L7DWDpqCiZi/4a0nZYQqoz3Bqxd7PH/2qZpdKu9rAErC/Gui+j1ePFZwUpg0vjm/W96 xrcw4YIvVzDx2urku8TC33Nn5XMuLfmMHCtRE= MIME-Version: 1.0 Received: by 10.231.149.203 with SMTP id u11mr7780413ibv.6.1275694250351; Fri, 04 Jun 2010 16:30:50 -0700 (PDT) Received: by 10.231.16.137 with HTTP; Fri, 4 Jun 2010 16:30:50 -0700 (PDT) In-Reply-To: <4C0987A6.5010109@FreeBSD.org> References: <4C093E01.7020909@FreeBSD.org> <4C0987A6.5010109@FreeBSD.org> Date: Fri, 4 Jun 2010 16:30:50 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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, 04 Jun 2010 23:30:51 -0000 On Fri, Jun 4, 2010 at 4:09 PM, Doug Barton wrote: > On 06/04/10 11:39, Freddie Cash wrote: > >> On Fri, Jun 4, 2010 at 10:55 AM, Doug Barton wrote: >> >> Wouldn't it be great, if /etc/make.conf disappeared completely? >> > > No, since it's useful for things that are common to both src and ports, and > to stuff that is neither. make.conf could be reserved for "normal", non-buildworld, non-ports-related stuff, when one just runs make by itself (ie, a config file for make), for one's own uses. src.conf could be for stuff that only matters to buildworld/kernel/universe/etc (just stuff under /usr/src). IOW, a config file for the source tree builds. ports.conf could be for stuff that only matters to ports building (just stuff under /usr/src). IOW, a config file for the ports tree. Seems silly to have a separate src.conf without a separate ports.conf, as the requirements for them are very different. I had a long, multi-page spec for this written up (gotta love insomnia), but /etc/src.conf appeared while it was still in draft form, so I never finished/submitted it. Sounded like this was the direction things were heading, so I never thought about it further. ports-mgmt/portconf. portconf has horrible syntax, compared to make.conf/src.conf, at least last I tried to use it (when it first came out). And this is geared more toward per-port configuration settings. ports.conf would be for global settings for the whole ports tree, stuff that affects multiple ports. Things like WITH{OUT}_X11, WITH{OUT}_GNOME, CPUTYPE, perl version info, selecting a default python version, etc. Of course, if it's grown those features (global ports settings), then this whole discussion is moot, as one can just ignore make.conf, and use src.conf/portconf config file. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 00:38:46 2010 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 57DBD1065674 for ; Sat, 5 Jun 2010 00:38:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 01EE18FC14 for ; Sat, 5 Jun 2010 00:38:45 +0000 (UTC) Received: (qmail 1528 invoked by uid 399); 5 Jun 2010 00:38:45 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2010 00:38:45 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C099C93.8050709@FreeBSD.org> Date: Fri, 04 Jun 2010 17:38:43 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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: Sat, 05 Jun 2010 00:38:46 -0000 On 06/04/10 11:28, Andrius Morkūnas wrote: > On Fri, 04 Jun 2010 20:52:32 +0300, Doug Barton wrote: >> Sorry I wasn't clear. I'm not talking about compiling ports with clang >> (which I also look forward to someday) I'm talking about installing a >> version of gcc from ports and using that to compile all the other ports. > > I'm even more confused now. What does that have to do with clang import? I didn't say it did. I said "I'd like to see ..." I have no power to mandate anything. :) The connection in MY mind is that once we start down the road of making the idea of "compiler/toolchain" more flexible, it's probably a good idea to also start down the road of "ports compiler" and "base compiler." I'm not sure I can invest the time to work on the "clang for the base" side of it, but I am pretty sure I can work on the "compiler for ports" side. Not to mention that I'd like to see if the new compiler makes any difference on my newish CPU. I'd also like to see this issue get a little more attention since it's something that all FreeBSD users can participate in, not just those running -current. > but there's already a tutorial about changing ports compiler to newer > version of gcc[1]. > > So what am I missing here? > > [1] > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html That's just what I was looking for, thanks! -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 00:47:17 2010 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 B005F1065677 for ; Sat, 5 Jun 2010 00:47:17 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9638FC16 for ; Sat, 5 Jun 2010 00:47:16 +0000 (UTC) Received: (qmail 11701 invoked by uid 399); 5 Jun 2010 00:47:16 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2010 00:47:16 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C099E93.1030103@FreeBSD.org> Date: Fri, 04 Jun 2010 17:47:15 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Mark Linimon References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <71B7DEC2-1ABE-4333-8C8E-02F899D2449B@samsco.org> <4C03DD4B.9020209@infracaninophile.co.uk> <20100601145322.52546745@duncan.reilly.home> <20100604001949.GC22064@lonesome.com> In-Reply-To: <20100604001949.GC22064@lonesome.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD 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: Sat, 05 Jun 2010 00:47:17 -0000 100% agreement with Mark here. On 06/03/10 17:19, Mark Linimon wrote: > I'm just catching up with this thread, so apologies if this has already > been pointed out elsewhere. > > One of the things that has been discussed w/rt compilers for a while > (not just at the devsummit) was bending our minds around separating the > concept of "base system compiler" from "default ports compiler". In > -stable branches, we must and shall not do large compiler updates. But > ports probably need a more recent compiler (of whatever flavor) just to > keep as many of them building as possible. (As upstream authors switch > to newer compilers, their ports often don't build on whatever is in our > base). > > Despite my enthusiasm for the future of llvm, the reality is that even > in the medium-term there are so many ports with hardwired assumptions > that they are running on gcc (not to mention on linux on i386) that it > will never be possible to fix them all. The current paradigm is that > as ports stop building with both base gcc, unless they are switched to > depending on a newer gcc from ports, they'll be marked 'broken' and go > through the deprecation cycle. > > Further, I remind people that "compile" and "run" and "run equally as > well through all code-paths" are three completely separate levels of > effort, possibly having an order of magnitude more work between each. > We're looking at a multi-year process here, and not every single port is > going to survive. But again -- not all of them currently do, anwyays. > > mcl -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 01:09:12 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 626061065672 for ; Sat, 5 Jun 2010 01:09:12 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9B58FC0A for ; Sat, 5 Jun 2010 01:09:11 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o5519A2s055410; Fri, 4 Jun 2010 20:09:10 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 4 Jun 2010 20:09:10 -0500 (CDT) From: "Sean C. Farley" To: Freddie Cash In-Reply-To: Message-ID: References: <4C093E01.7020909@FreeBSD.org> <4C0987A6.5010109@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: FreeBSD-Current Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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: Sat, 05 Jun 2010 01:09:12 -0000 On Fri, 4 Jun 2010, Freddie Cash wrote: > On Fri, Jun 4, 2010 at 4:09 PM, Doug Barton wrote: > >> ports-mgmt/portconf. > > portconf has horrible syntax, compared to make.conf/src.conf, at least > last I tried to use it (when it first came out). And this is geared > more toward per-port configuration settings. ports.conf would be for > global settings for the whole ports tree, stuff that affects multiple > ports. Things like WITH{OUT}_X11, WITH{OUT}_GNOME, CPUTYPE, perl > version info, selecting a default python version, etc. > > Of course, if it's grown those features (global ports settings), then > this whole discussion is moot, as one can just ignore make.conf, and > use src.conf/portconf config file. portconf ties itself into make.conf. It does have global port settings and basically anything that can handle a glob. For a partial example: *: PYTHON_DEFAULT_VERSION=python2.6 |\ SRC_BASE=/usr/FreeBSD/branches/stable/8/src |\ SYSDIR=/usr/FreeBSD/branches/stable/8/src/sys |\ WITH_NVIDIA_GL java/eclipse*: WITH_GECKO=xulrunner mail/*pine*: WITH_ISPELL |\ WITH_LDAP |\ WITHOUT_PICO multimedia/mkvtoolnix: WITHOUT_WXGTK=yes pear*: WITH_CTYPE OK. Some of the examples are old (i.e., java/eclipse and WITH_GECKO=xulrunner), but you get the idea. Sean -- scf@FreeBSD.org From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 01:27:08 2010 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 27782106566B; Sat, 5 Jun 2010 01:27:08 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BED838FC14; Sat, 5 Jun 2010 01:27:07 +0000 (UTC) Received: by iwn5 with SMTP id 5so2081846iwn.13 for ; Fri, 04 Jun 2010 18:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=KOkJVBN75osgH1fJwyzTkKxamuc/+dfCHkVMOun9uUo=; b=aZ7JzmMBaq8QVlvYWaoWA6qM7SgKi7vI/vWInUUhqAou44J0qzbLKdXDVcY4Qk/6DR E5fVNU/DxJwfxPevASv9P5KWUIOuGhg789ubFQ1oEWqYnuEXTkV+8ejLcNtsYIkO94Xc Mo6rPlRo1bkeOwO60QTVcys/lQRZGjUsWr16c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=sBjWaIL3gIfTSjMdhR2UNq29HV9vCDtdzZXD6kwHEgbafew0e6Qaff1S0RTEJex67H E/7NyYvBeGMe6sVnU4SoeMfx19aq++Oux1nNzHSx7vovh7k+fs4r2AzLtegZHqem41zX gXIxDsk0klXKhKwDFMjBpVJ+KtrwgIrCUZpeE= Received: by 10.231.147.143 with SMTP id l15mr1830355ibv.9.1275701226793; Fri, 04 Jun 2010 18:27:06 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-128-180.dsl.klmzmi.sbcglobal.net [99.181.128.180]) by mx.google.com with ESMTPS id d9sm7915558ibl.4.2010.06.04.18.27.05 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 18:27:06 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C09A7E8.10503@dataix.net> Date: Fri, 04 Jun 2010 21:27:04 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100515 Thunderbird MIME-Version: 1.0 To: Doug Barton References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> In-Reply-To: <4C0930E3.3030301@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=89D8547E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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: Sat, 05 Jun 2010 01:27:08 -0000 On 06/04/2010 12:59, Doug Barton wrote: > On 06/04/10 08:26, Roman Divacky wrote: >> Dear current@ >> >> On June 9th, we are importing clang/LLVM into FreeBSD HEAD. > > Excellent news! :) I am in favor of this, and look forward to a day of > using a FreeBSD system compiled as much as possible with clang. > > During the ongoing discussion there were 2 items identified that I was > particularly interested in, and I personally would like to see those > items resolved before the clang import: > > 1. Have uname report the compiler (and compiler version?) that the > kernel was compiled with. This can likely be done through newvers.sh > easily enough. IMHO, With all due respect, Adding CLANG to uname ? This would only leave it to be useless information later on when we finally jettison gcc out of base. How about this. Create a sysctl kern.compilers and set it to be a read only. Assign a value system to the compilers that can be used. 1 = gcc 3 = clang/llvm 5 = other 4 = gcc+clang 6 = gcc+other 8 = clang+other 9 = one strange environment. etc... etc... etc... Then you can still have newvers.sh generate something for inclusion that would set the final value of that sysctl. > > 2. Publish instructions on how to set up a different compiler for ports. This should not stop the import. > > I realize that what you're talking about in this announcement is simply > importing clang into the build, not using it to build anything yet. > However my concern is that if we don't attend to these 2 issues sooner > than later that they will get lost in the shuffle. > > In any case, congratulations on the progress the clang team has made so > far, and on this new milestone. :) > > > Doug > Regards, -- jhell From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 04:43:38 2010 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 CC64D1065674 for ; Sat, 5 Jun 2010 04:43:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5A83A8FC26 for ; Sat, 5 Jun 2010 04:43:38 +0000 (UTC) Received: (qmail 25847 invoked by uid 399); 5 Jun 2010 04:43:37 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2010 04:43:37 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C09D5F7.1050901@FreeBSD.org> Date: Fri, 04 Jun 2010 21:43:35 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> <4C099C93.8050709@FreeBSD.org> In-Reply-To: <4C099C93.8050709@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Roman Divacky , current@freebsd.org Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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: Sat, 05 Jun 2010 04:43:38 -0000 On 06/04/10 17:38, Doug Barton wrote: > On 06/04/10 11:28, Andrius Morkūnas wrote: > >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html Ok, everything in that section seems clear except this in 3.3: It is possible to completely replace CFLAGS and/or define custom CPUTYPE as well. We recommend setting CPUTYPE because many ports decide their optimizations flags based on this variable. How do I figure out what to set for CPUTYPE? Also, what else should I include in CFLAGS besides -mssse3? I have a core 2 duo processor, which says this at boot time: CPU: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (2330.23-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Family = 6 Model = f Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant Thanks! Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 06:11:06 2010 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 7FB17106564A; Sat, 5 Jun 2010 06:11:06 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id A29838FC08; Sat, 5 Jun 2010 06:11:05 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so247358fgb.13 for ; Fri, 04 Jun 2010 23:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=PAXa5fzcAUcUiErds9EAQm7q78fCnY2x/EbL7/sDU1Y=; b=Lt3ru15OiKmxrzXT09nyPy9BEN8Ojr0HAAJl0+A05bb8lNbyKLDPEPJ/0kJL6A4ath JcNujt58fC5qtwdPHNohm0AXKfcwcsKe9k79ffC3JWbNnjMj4ZHKFLAEqxf9/v/RxhUV 7Wx6hNWjUp9clTKy48n1T11G8UxQLkMPuemL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=iO5TZRpesCJjztoviIQHcd+oweGGgbL1tWtQHOBMtz5AMip9cBVJO8t0Mas1/RUGBq vl1xERC9EZq6CA7lDISDPopYWVnV8wTW/Y6ZX69MhgNawBRU/eDYkDdWrjHRwu0Ni7gY 2A9I8MAwRH0vWlIpbkHuzdXX1TWD/fdbIs6yo= Received: by 10.87.71.7 with SMTP id y7mr18881939fgk.63.1275718264210; Fri, 04 Jun 2010 23:11:04 -0700 (PDT) Received: from localhost ([66.90.104.9]) by mx.google.com with ESMTPS id d6sm6852479fga.18.2010.06.04.23.10.30 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 23:11:02 -0700 (PDT) From: Anonymous To: Doug Barton References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> <4C099C93.8050709@FreeBSD.org> <4C09D5F7.1050901@FreeBSD.org> Date: Sat, 05 Jun 2010 06:10:06 +0000 In-Reply-To: <4C09D5F7.1050901@FreeBSD.org> (Doug Barton's message of "Fri, 04 Jun 2010 21:43:35 -0700") Message-ID: <861vcm6mdd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Roman Divacky , current@freebsd.org, Andrius =?utf-8?Q?Mork=C5=ABnas?= Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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: Sat, 05 Jun 2010 06:11:06 -0000 Doug Barton writes: > On 06/04/10 17:38, Doug Barton wrote: >> On 06/04/10 11:28, Andrius Mork=C5=ABnas wrote: >> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configur= ing-ports-gcc.html > > Ok, everything in that section seems clear except this in 3.3: > It is possible to completely replace CFLAGS and/or define custom > CPUTYPE as well. We recommend setting CPUTYPE because many ports > decide their optimizations flags based on this variable. Most ports decide features based on MACHINE_CPU not CPUTYPE. However, MACHINE_CPU doesn't support non-base compiler and `native' CPUTYPE. Plus core2 CPUTYPE is silently degraded to nocona/prescott even when it's supported by underlying compiler. See conf/112997. > > How do I figure out what to set for CPUTYPE? Also, what else should I > include in CFLAGS besides -mssse3? I have a core 2 duo processor, IIRC, on gcc44+ -march=3Dnative automatically enables -msse[1234]. But if you don't want to use CPUTYPE=3Dnative then add cc1 flags to CFLAGS, e.g. $ gcc45 -E -v -march=3Dnative - which says this at boot time: > CPU: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (2330.23-MHz > 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x6f6 Family =3D 6 Model =3D f Ste= pping =3D 6 > > Features=3D0xbfebfbff > Features2=3D0xe3bd > AMD Features=3D0x20100000 > AMD Features2=3D0x1 > TSC: P-state invariant > > > Thanks! > > Doug From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 09:55:12 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 E85101065670 for ; Sat, 5 Jun 2010 09:55:12 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id A4AEF8FC0C for ; Sat, 5 Jun 2010 09:55:12 +0000 (UTC) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id C5671BF40A for ; Sat, 5 Jun 2010 11:55:10 +0200 (CEST) Received: by gyh20 with SMTP id 20so1931321gyh.13 for ; Sat, 05 Jun 2010 02:55:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.59.19 with SMTP id m19mr12673102ybk.56.1275731709310; Sat, 05 Jun 2010 02:55:09 -0700 (PDT) Received: by 10.150.178.13 with HTTP; Sat, 5 Jun 2010 02:55:09 -0700 (PDT) In-Reply-To: References: <4C093E01.7020909@FreeBSD.org> Date: Sat, 5 Jun 2010 11:55:09 +0200 Message-ID: From: Alexander Best To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: 'buildworld' not always pulling in /etc/src.conf 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: Sat, 05 Jun 2010 09:55:13 -0000 [snip] right now i have this in my make.conf: .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) && exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif which works quite well. everything except code in /usr/src and /usr/obj now gets built with gcc44. [snip] -- Alexander Best From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 18:29:34 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 19452106564A for ; Sat, 5 Jun 2010 18:29:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id CAE998FC17 for ; Sat, 5 Jun 2010 18:29:33 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o55ITUmL086163; Sat, 5 Jun 2010 12:29:30 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: Date: Sat, 5 Jun 2010 12:29:29 -0600 Content-Transfer-Encoding: 7bit Message-Id: <6BEF4925-A058-4EFA-B005-30A01B3132FC@samsco.org> References: To: Alexander Best X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: strange scsi/CAM related dmesg output 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: Sat, 05 Jun 2010 18:29:34 -0000 On Jun 4, 2010, at 4:35 PM, Alexander Best wrote: > hi there. running HEAD, amd64 and r208806 i get this dmesg output > which doesn't look right: > > ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 > ada0: ATA-7 SATA 2.x device > ada0: 300.000MB/s transferscd0 at ata2 bus 0 scbus2 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [1944656 x 2048 byte records] > (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C) > > > my kernel contains: > > options SC_HISTORY_SIZE=1000 > options MSGBUF_SIZE=65536 > options PRINTF_BUFR_SIZE=128 > > might this be caused by one of these lines? > > cheers. > Can you be more specific about what you think is not right? Scott From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 18:43:46 2010 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 F1EC6106566B for ; Sat, 5 Jun 2010 18:43:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7488A8FC14 for ; Sat, 5 Jun 2010 18:43:46 +0000 (UTC) Received: (qmail 7285 invoked by uid 399); 5 Jun 2010 18:43:45 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2010 18:43:45 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C0A9AE0.7050408@FreeBSD.org> Date: Sat, 05 Jun 2010 11:43:44 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Anonymous References: <20100604152605.GA80277@freebsd.org> <4C0930E3.3030301@FreeBSD.org> <4C093D60.1010008@FreeBSD.org> <4C099C93.8050709@FreeBSD.org> <4C09D5F7.1050901@FreeBSD.org> <861vcm6mdd.fsf@gmail.com> In-Reply-To: <861vcm6mdd.fsf@gmail.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Roman Divacky , current@freebsd.org, =?UTF-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Subject: Re: [INFO]: import of clang/LLVM to happen on June 9th 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: Sat, 05 Jun 2010 18:43:47 -0000 On 06/04/10 23:10, Anonymous wrote: > Most ports decide features based on MACHINE_CPU not CPUTYPE. However, > MACHINE_CPU doesn't support non-base compiler and `native' CPUTYPE. Plus > core2 CPUTYPE is silently degraded to nocona/prescott even when it's > supported by underlying compiler. See conf/112997. > > IIRC, on gcc44+ -march=native automatically enables -msse[1234]. > But if you don't want to use CPUTYPE=native then add cc1 flags to > CFLAGS, e.g. Ok, CPUTYPE=native seems to be doing the trick, thanks! BTW, the suggestion in the web page (CFLAGS+=-mssse3) gives an "unknown option" error. Perhaps it would be better to add CPUTYPE=native to the defaults in section 3.1, and use a different example in 3.3? Doug http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 18:56:06 2010 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 7BC6F106564A for ; Sat, 5 Jun 2010 18:56:06 +0000 (UTC) (envelope-from gavin@ury.york.ac.uk) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id D014A8FC1A for ; Sat, 5 Jun 2010 18:56:05 +0000 (UTC) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id o55IO9X8020256; Sat, 5 Jun 2010 19:24:09 +0100 (BST) Received: from gavin (helo=localhost) by ury.york.ac.uk with local-esmtp (Exim 4.71) (envelope-from ) id 1OKy2T-0006n3-Ip; Sat, 05 Jun 2010 19:24:09 +0100 Date: Sat, 5 Jun 2010 19:24:09 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: John Baldwin In-Reply-To: <201006040955.03845.jhb@freebsd.org> Message-ID: References: <201006040955.03845.jhb@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@ury.york.ac.uk Cc: current@freebsd.org Subject: Re: Sparse journal? 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: Sat, 05 Jun 2010 18:56:06 -0000 On Fri, 4 Jun 2010, John Baldwin wrote: > I crashed a testbox running FreeBSD/i386 today which had SUJ enabled on its > /var partition. It encountered the following error when trying to fsck -p > during boot: > > ** SU+J Recovering /dev/ada0s1d > ** Reading 16572416 byte journal from inode 4. > fsck_ufs: Sparse journal inode 4. > > It then failed with an unexpected soft update inconsistency. du claims that > /var/.sujournal takes up 16192 KB. This matches up assuming 8k blocks and 1 > indirect block (I used fsdb -r and dumped the block list for inode 4 and it > does have one indirect block). Any ideas? This should be fixed in r208241. Try disabling and re-enabling journalling on that partition with tunefs(8) built after that revision. Gavin From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 19:12: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 B776C1065676 for ; Sat, 5 Jun 2010 19:12:06 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 7761D8FC15 for ; Sat, 5 Jun 2010 19:12:06 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 92A6ABF40C for ; Sat, 5 Jun 2010 21:12:04 +0200 (CEST) Received: by vws18 with SMTP id 18so689476vws.13 for ; Sat, 05 Jun 2010 12:12:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.235.197 with SMTP id kh5mr1002867qcb.237.1275765122535; Sat, 05 Jun 2010 12:12:02 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Sat, 5 Jun 2010 12:12:02 -0700 (PDT) Date: Sat, 5 Jun 2010 21:12:02 +0200 Message-ID: From: Alexander Best To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: strange scsi/CAM related dmesg output 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: Sat, 05 Jun 2010 19:12:06 -0000 sure. sorry. the output ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transferscd0 at ata2 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1944656 x 2048 byte records] (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C should actually look like this: ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) cd0 at ata2 bus 0 scbus2 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1944656 x 2048 byte records] ada0: Command Queueing enabled ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C cheers. -- Alexander Best From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 19:12:23 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 6AF17106564A for ; Sat, 5 Jun 2010 19:12:23 +0000 (UTC) (envelope-from jille@quis.cx) Received: from istud.quis.cx (56-64-223.ftth.xms.internl.net [85.223.64.56]) by mx1.freebsd.org (Postfix) with ESMTP id E45FB8FC0A for ; Sat, 5 Jun 2010 19:12:22 +0000 (UTC) Received: from [192.168.0.4] (unknown [192.168.0.4]) by istud.quis.cx (Postfix) with ESMTP id 86817610837; Sat, 5 Jun 2010 20:54:25 +0200 (CEST) Message-ID: <4C0A9D57.8000900@quis.cx> Date: Sat, 05 Jun 2010 20:54:15 +0200 From: Jille Timmermans User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Scott Long References: <6BEF4925-A058-4EFA-B005-30A01B3132FC@samsco.org> In-Reply-To: <6BEF4925-A058-4EFA-B005-30A01B3132FC@samsco.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Alexander Best Subject: Re: strange scsi/CAM related dmesg output 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: Sat, 05 Jun 2010 19:12:23 -0000 Scott Long schreef: > On Jun 4, 2010, at 4:35 PM, Alexander Best wrote: > >> hi there. running HEAD, amd64 and r208806 i get this dmesg output >> which doesn't look right: >> >> ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 >> ada0: ATA-7 SATA 2.x device >> ada0: 300.000MB/s transferscd0 at ata2 bus 0 scbus2 target 0 lun 0 >> cd0: Removable CD-ROM SCSI-0 device >> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) >> cd0: cd present [1944656 x 2048 byte records] >> (SATA 2.x, UDMA6, PIO 8192bytes) >> ada0: Command Queueing enabled >> ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C) >> >> >> my kernel contains: >> >> options SC_HISTORY_SIZE=1000 >> options MSGBUF_SIZE=65536 >> options PRINTF_BUFR_SIZE=128 >> >> might this be caused by one of these lines? >> >> cheers. >> > > Can you be more specific about what you think is not right? > > Scott I assume he means that 'cd0 at ata2 ...' is on the same line as the third ada0 line. After all the cd0-lines, the ada0 line continues. That shouldn't happen with PRINTF_BUFR_SIZE set, should it? -- Jille From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 20:04:04 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 480D31065676 for ; Sat, 5 Jun 2010 20:04:04 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 04B9F8FC0C for ; Sat, 5 Jun 2010 20:04:03 +0000 (UTC) Received: from [127.0.0.1] (pooker.samsco.org [168.103.85.57]) (authenticated bits=0) by pooker.samsco.org (8.14.3/8.14.3) with ESMTP id o55K42xT086447; Sat, 5 Jun 2010 14:04:02 -0600 (MDT) (envelope-from scottl@samsco.org) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Scott Long In-Reply-To: Date: Sat, 5 Jun 2010 14:04:02 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Alexander Best X-Mailer: Apple Mail (2.1078) X-Spam-Status: No, score=-50.0 required=3.8 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: strange scsi/CAM related dmesg output 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: Sat, 05 Jun 2010 20:04:04 -0000 On Jun 5, 2010, at 1:12 PM, Alexander Best wrote: > sure. sorry. >=20 > the output >=20 > ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 > ada0: ATA-7 SATA 2.x device > ada0: 300.000MB/s transferscd0 at ata2 bus 0 scbus2 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [1944656 x 2048 byte records] > (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C >=20 > should actually look like this: >=20 > ada0 at ahcich2 bus 0 scbus3 target 0 lun 0 > ada0: ATA-7 SATA 2.x device > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > cd0 at ata2 bus 0 scbus2 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [1944656 x 2048 byte records] > ada0: Command Queueing enabled > ada0: 238474MB (488395055 512 byte sectors: 16H 63S/T 16383C >=20 > cheers. >=20 >=20 The attribute print code in /sys/cam/ata/ata_xpt.c purposely prints a = partial line without a , with the expectation that the rest will be = printed immediately after it. It probably gets interrupted to print the = other device detection; I thought that all of this got single-threaded = through the camisr, but maybe not. Anyways, the quick fix is to print = these attributes into a sprintf buffer first, then splat that buffer out = once its complete. Scott