From owner-freebsd-toolchain@FreeBSD.ORG Mon Feb 16 21:21:43 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57A87A8E; Mon, 16 Feb 2015 21:21:43 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E442923F; Mon, 16 Feb 2015 21:21:42 +0000 (UTC) Received: by lbiw7 with SMTP id w7so931690lbi.10; Mon, 16 Feb 2015 13:21:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Sb9hf3lIfu+zKofVucRQWehw0gytfOuI964widOYMKY=; b=LkkOZ2A72BLCZCSOvs7Ke42d/BT2wsUghd914aB3+CUz8iTDckscJomCc3mAes5YVP Y55+yNZ66mLLMfBGD5Hg4ZUsEKnPux0xzmvpkGJodZTbY+JA9ENct/HWTNW9Ea2PT2r7 tcwTYdEMKDQYZULne22YcmH7JiTVXARw0r7lXrVbuaupdY1tVD+a+Bl0FYz5jtwDWXht cmeLR+7J0F7LdXYPrqjCgisMNDcMv9W7XJFhv4xIIECZ9KzTB9bwxW8/a8VqFrpG3Gjq kBd+2qLIZEbyM5ilqgu+nqiTWJw2/M3UjAcfERISqNITS1tiSMAPWCcREcvR9XPGmerJ Cdvw== MIME-Version: 1.0 X-Received: by 10.112.202.227 with SMTP id kl3mr25548202lbc.81.1424121695062; Mon, 16 Feb 2015 13:21:35 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.28.40 with HTTP; Mon, 16 Feb 2015 13:21:34 -0800 (PST) In-Reply-To: <08E18A70-59E0-441D-A705-0F3F3B7B9998@FreeBSD.org> References: <08E18A70-59E0-441D-A705-0F3F3B7B9998@FreeBSD.org> Date: Mon, 16 Feb 2015 13:21:34 -0800 X-Google-Sender-Auth: 7oI7N4wB_mYS6LUbR5PQeT0UsR8 Message-ID: Subject: Re: clang and scanbuild From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 21:21:43 -0000 On Wed, Feb 11, 2015 at 1:43 PM, Dimitry Andric wrote: > > Yes, choose either lang/clang-devel, or lang/clangXY, where XY is the > version you are interested in. > > > > (2) is there enough llvm source in FreeBSD that we can build this in > > FreeBSD instead of checking out llvm source? > > You can already run the analyzers with the clang executable in base, > unless you built your world using WITHOUT_CLANG_FULL. You do need perl > installed, of course. > > Nice! I did this: pkg install lang/clang-devel export PATH=$PATH:/usr/local/llvm-devel/bin scan-build cc a.c scan-build: Using '/usr/local/llvm-devel/bin/clang' for static analysis a.c:10:10: warning: Use of memory after it is freed a[5] ='b'; ~~~~ ^ 1 warning generated. scan-build: 1 bug found. scan-build: Run 'scan-view /tmp/scan-build-2015-02-16-211517-60875-1' to examine bug reports. scan-view /tmp/scan-build-2015-02-16-211517-60875-1 Traceback (most recent call last): File "/usr/local/llvm-devel/bin/scan-view", line 131, in main() File "/usr/local/llvm-devel/bin/scan-view", line 128, in main run(port, options, root) File "/usr/local/llvm-devel/bin/scan-view", line 57, in run import ScanView ImportError: No module named ScanView It looks like some stuff for scan-view is missing from the port. Do you have any ideas offhand what is missing? It's not so important, because the results of scan-build can be opened up in any web browser, independently of scan-view. Would it be possible to include scan-build somwehere under /usr/src/contrib/llvm in the FreeBSD source tree? It seems like it is handy to have. However, if it is better to only have it in the port and not in src, I understand. -- Craig -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Mon Feb 16 21:42:48 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8A30834; Mon, 16 Feb 2015 21:42:48 +0000 (UTC) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFD86AB; Mon, 16 Feb 2015 21:42:48 +0000 (UTC) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 913E25A9F25; Mon, 16 Feb 2015 21:42:42 +0000 (UTC) Date: Mon, 16 Feb 2015 21:42:42 +0000 From: Brooks Davis To: Craig Rodrigues Subject: Re: clang and scanbuild Message-ID: <20150216214242.GA524@spindle.one-eyed-alien.net> References: <08E18A70-59E0-441D-A705-0F3F3B7B9998@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 21:42:48 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 16, 2015 at 01:21:34PM -0800, Craig Rodrigues wrote: > On Wed, Feb 11, 2015 at 1:43 PM, Dimitry Andric wrote: >=20 > > > > Yes, choose either lang/clang-devel, or lang/clangXY, where XY is the > > version you are interested in. > > > > > > > (2) is there enough llvm source in FreeBSD that we can build this = in > > > FreeBSD instead of checking out llvm source? > > > > You can already run the analyzers with the clang executable in base, > > unless you built your world using WITHOUT_CLANG_FULL. You do need perl > > installed, of course. > > > > > Nice! I did this: >=20 > pkg install lang/clang-devel > export PATH=3D$PATH:/usr/local/llvm-devel/bin > scan-build cc a.c >=20 > scan-build: Using '/usr/local/llvm-devel/bin/clang' for static analysis > a.c:10:10: warning: Use of memory after it is freed > a[5] =3D'b'; > ~~~~ ^ > 1 warning generated. > scan-build: 1 bug found. > scan-build: Run 'scan-view /tmp/scan-build-2015-02-16-211517-60875-1' to > examine bug reports. >=20 > scan-view /tmp/scan-build-2015-02-16-211517-60875-1 > Traceback (most recent call last): > File "/usr/local/llvm-devel/bin/scan-view", line 131, in > main() > File "/usr/local/llvm-devel/bin/scan-view", line 128, in main > run(port, options, root) > File "/usr/local/llvm-devel/bin/scan-view", line 57, in run > import ScanView > ImportError: No module named ScanView >=20 >=20 > It looks like some stuff for scan-view is missing from the port. Do you > have any > ideas offhand what is missing? It's not so important, because the > results of scan-build can be opened up in any web browser, independently = of > scan-view. You should use the wrappers in /usr/local/bin (e.g. scan-view-devel) as the= y set up the environment so modules can be found. -- Brooks --/04w6evG8XlLl3ft Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTiZFEACgkQXY6L6fI4GtQmAgCfd5klQkm0IfZPpthxkE9YZhN2 pfoAnivqwzKM5mXZ8gKxYgaPcI7HJ7d/ =rwag -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- From owner-freebsd-toolchain@FreeBSD.ORG Mon Feb 16 22:27:20 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A0EAD57; Mon, 16 Feb 2015 22:27:20 +0000 (UTC) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FCA2BBF; Mon, 16 Feb 2015 22:27:19 +0000 (UTC) Received: by labms9 with SMTP id ms9so26483064lab.10; Mon, 16 Feb 2015 14:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WgBoLkj0HloBaR+sC4s3xMIhpsEmNOkORy6iTF2q5a4=; b=MSudUAICX2RR2NXPL3p2jmEEzFNSP67rErmQxwKsPYbqlCc+0nMXpElpPGvgPk2kWA DtmpOonQwUNrIc1JJ6/RMEKS96g8QXF5PnW8YXV2N/x6WXhbhAZL+ieJ3srnw0GFmRHL QF1WHN7qtmS4QhB1d0fhGjvmntiiHEJetNIco6jIo6OLW7vUrJ+7Q0Rhn481N3N2pa0y Kug5o6XamTdYmsbsFuUM3qb0Ox4iwSpNsdOUyvb7+eGIR4XZ3cfqQ9mw0pnzwaj1zgZv OIGk4EmJuufniSYAcWK1HWxDfNoPxiZbjPzl2wfcEXYhB1UGtYSDqGcDkyRcLLks7Ouu cMUQ== MIME-Version: 1.0 X-Received: by 10.152.26.199 with SMTP id n7mr25416584lag.29.1424125632504; Mon, 16 Feb 2015 14:27:12 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.28.40 with HTTP; Mon, 16 Feb 2015 14:27:12 -0800 (PST) In-Reply-To: <20150216214242.GA524@spindle.one-eyed-alien.net> References: <08E18A70-59E0-441D-A705-0F3F3B7B9998@FreeBSD.org> <20150216214242.GA524@spindle.one-eyed-alien.net> Date: Mon, 16 Feb 2015 14:27:12 -0800 X-Google-Sender-Auth: yMufYEvxZok8Kuc4rXpyDxIYOQ0 Message-ID: Subject: Re: clang and scanbuild From: Craig Rodrigues To: Brooks Davis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 22:27:20 -0000 On Mon, Feb 16, 2015 at 1:42 PM, Brooks Davis wrote: > On Mon, Feb 16, 2015 at 01:21:34PM -0800, Craig Rodrigues wrote: > > On Wed, Feb 11, 2015 at 1:43 PM, Dimitry Andric wrote: > > > > > > > > Yes, choose either lang/clang-devel, or lang/clangXY, where XY is the > > > version you are interested in. > > > > > > > > > > (2) is there enough llvm source in FreeBSD that we can build this > in > > > > FreeBSD instead of checking out llvm source? > > > > > > You can already run the analyzers with the clang executable in base, > > > unless you built your world using WITHOUT_CLANG_FULL. You do need perl > > > installed, of course. > > > > > > > > Nice! I did this: > > > > pkg install lang/clang-devel > > export PATH=$PATH:/usr/local/llvm-devel/bin > > scan-build cc a.c > > > > scan-build: Using '/usr/local/llvm-devel/bin/clang' for static analysis > > a.c:10:10: warning: Use of memory after it is freed > > a[5] ='b'; > > ~~~~ ^ > > 1 warning generated. > > scan-build: 1 bug found. > > scan-build: Run 'scan-view /tmp/scan-build-2015-02-16-211517-60875-1' to > > examine bug reports. > > > > scan-view /tmp/scan-build-2015-02-16-211517-60875-1 > > Traceback (most recent call last): > > File "/usr/local/llvm-devel/bin/scan-view", line 131, in > > main() > > File "/usr/local/llvm-devel/bin/scan-view", line 128, in main > > run(port, options, root) > > File "/usr/local/llvm-devel/bin/scan-view", line 57, in run > > import ScanView > > ImportError: No module named ScanView > > > > > > It looks like some stuff for scan-view is missing from the port. Do you > > have any > > ideas offhand what is missing? It's not so important, because the > > results of scan-build can be opened up in any web browser, independently > of > > scan-view. > > You should use the wrappers in /usr/local/bin (e.g. scan-view-devel) as > they set up > the environment so modules can be found. > Ah, OK! scan-view-devel worked. It might be nice to have a patch in the port which changes the message from scan-build to tell folks to invoke scan-view-devel instead of scan-view. -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Wed Feb 18 21:06:21 2015 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AAE79E5 for ; Wed, 18 Feb 2015 21:06:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40144B5A for ; Wed, 18 Feb 2015 21:06:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1IL6LSP061079 for ; Wed, 18 Feb 2015 21:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 192320] Use of thread_local produces linking errors on system version of clang++ Date: Wed, 18 Feb 2015 21:06:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: swills@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 21:06:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320 --- Comment #3 from Steve Wills --- (In reply to David Chisnall from comment #2) Any status update on this? I've run into this issue too. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-toolchain@FreeBSD.ORG Wed Feb 18 21:30:35 2015 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75D48253 for ; Wed, 18 Feb 2015 21:30:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B4F5DFF for ; Wed, 18 Feb 2015 21:30:35 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ILUZKR012767 for ; Wed, 18 Feb 2015 21:30:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 192320] Use of thread_local produces linking errors on system version of clang++ Date: Wed, 18 Feb 2015 21:30:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: theraven@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 21:30:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320 --- Comment #4 from David Chisnall --- I'm still not completely sure what the correct solution for implementing this is. Clang will always lazily construct thread_local objects on first access (which means that you can't use them to track thread counts and so on, which limits their use somewhat), but the destructors will run when the thread exits. Unfortunately, the destructors might not be signal safe and so there is no *good* way of running them on library unload. A complete solution most likely involves locking the library in memory while it has outstanding thread-local objects. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-toolchain@FreeBSD.ORG Thu Feb 19 08:57:04 2015 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54BC7F91 for ; Thu, 19 Feb 2015 08:57:04 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AE63355 for ; Thu, 19 Feb 2015 08:57:04 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1J8v3kA034526 for ; Thu, 19 Feb 2015 08:57:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 192320] Use of thread_local produces linking errors on system version of clang++ Date: Thu, 19 Feb 2015 08:57:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 08:57:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320 --- Comment #5 from Tijl Coosemans --- (In reply to David Chisnall from comment #4) That's what glibc seems to do. When a thread calls dlclose its thread_local variables are destroyed, but if there are other threads with thread_local variables the DSO is kept in memory until those variables are destroyed (when the threads exit or call dlclose). https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-toolchain@FreeBSD.ORG Sat Feb 21 21:15:21 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABE1F3BF for ; Sat, 21 Feb 2015 21:15:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CE3F8FF for ; Sat, 21 Feb 2015 21:15:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LLFLSH035274 for ; Sat, 21 Feb 2015 21:15:21 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1LLFLTQ035273; Sat, 21 Feb 2015 21:15:21 GMT (envelope-from root) Date: Sat, 21 Feb 2015 21:15:21 +0000 To: freebsd-toolchain@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Request, 6 lines] D1932: Remove the non-standard CC alias for c++ Message-ID: X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZi X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 21:15:21 -0000 dim created this revision. dim added reviewers: emaste, theraven. dim added a subscriber: freebsd-toolchain. REVISION SUMMARY Since r34282 (almost 17 years ago) we have been carrying the alias 'CC' for 'c++, to invoke the C++ compiler. The original reason in O'Brien's commit message is "for compatibility with SGI". This alias is not based on any standard, is not compatible with case insensitive filesystems, and does not seem to be used by any other operating system. So let's finally get rid of it. TEST PLAN Do an exp-run, probably. I expect zero breakage. BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1932 AFFECTED FILES ObsoleteFiles.inc gnu/usr.bin/cc/c++/Makefile usr.bin/clang/clang/Makefile To: dim, emaste, theraven Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Sat Feb 21 21:17:16 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 596F53F2 for ; Sat, 21 Feb 2015 21:17:16 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 397A890E for ; Sat, 21 Feb 2015 21:17:16 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LLHF7w036953 for ; Sat, 21 Feb 2015 21:17:15 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1LLHFQq036952; Sat, 21 Feb 2015 21:17:15 GMT (envelope-from root) Date: Sat, 21 Feb 2015 21:17:15 +0000 To: freebsd-toolchain@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Updated, 8 lines] D1932: Remove the non-standard CC alias for c++ Message-ID: <895b3f44a4ee776f37d5e2cdf478b05b@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFTo9ds= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 21:17:16 -0000 dim updated this revision to Diff 3900. dim added a comment. Added one more instance of CC.1. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1932?vs=3899&id=3900 BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1932 AFFECTED FILES ObsoleteFiles.inc gnu/usr.bin/cc/c++/Makefile gnu/usr.bin/cc/cc/Makefile usr.bin/clang/clang/Makefile To: dim, emaste, theraven Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Sat Feb 21 21:27:24 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7001A5C9 for ; Sat, 21 Feb 2015 21:27:24 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1119FE for ; Sat, 21 Feb 2015 21:27:24 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1LLROSg047246 for ; Sat, 21 Feb 2015 21:27:24 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1LLRO6T047245; Sat, 21 Feb 2015 21:27:24 GMT (envelope-from root) Date: Sat, 21 Feb 2015 21:27:24 +0000 To: freebsd-toolchain@freebsd.org From: "theraven (David Chisnall)" Subject: [Differential] [Accepted] D1932: Remove the non-standard CC alias for c++ Message-ID: X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFTo+Dw= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 21:27:24 -0000 theraven accepted this revision. theraven added a comment. This revision is now accepted and ready to land. Thank you! BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1932 To: dim, emaste, theraven Cc: freebsd-toolchain