From owner-freebsd-toolchain@FreeBSD.ORG Mon Feb 11 11:06:53 2013 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D1F992EF for ; Mon, 11 Feb 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ABEC41BE3 for ; Mon, 11 Feb 2013 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1BB6rvx081450 for ; Mon, 11 Feb 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1BB6rA2081448 for freebsd-toolchain@FreeBSD.org; Mon, 11 Feb 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2013 11:06:53 GMT Message-Id: <201302111106.r1BB6rA2081448@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-toolchain@FreeBSD.org Subject: Current problem reports assigned to freebsd-toolchain@FreeBSD.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Feb 2013 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/175930 toolchain [headers] clang does not define __STDC_ISO_10646__, de 1 problem total. From owner-freebsd-toolchain@FreeBSD.ORG Wed Feb 13 22:38:23 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D34EBA61 for ; Wed, 13 Feb 2013 22:38:23 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm32.bullet.mail.bf1.yahoo.com (nm32.bullet.mail.bf1.yahoo.com [72.30.238.128]) by mx1.freebsd.org (Postfix) with ESMTP id 752D4349 for ; Wed, 13 Feb 2013 22:38:23 +0000 (UTC) Received: from [98.139.212.146] by nm32.bullet.mail.bf1.yahoo.com with NNFMP; 13 Feb 2013 22:32:33 -0000 Received: from [98.139.213.8] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 13 Feb 2013 22:32:33 -0000 Received: from [127.0.0.1] by smtp108.mail.bf1.yahoo.com with NNFMP; 13 Feb 2013 22:32:33 -0000 X-Yahoo-Newman-Id: 307347.31257.bm@smtp108.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7maRjSkVM1msEdEQdDC0y5PbsxUSk11WP31_x4nSfdWAKCn 5M2uTD8tjkZU1.I3hDguGbhI.JgFql2xp6h3SCGfWl12MdUKZl1dA9AAXYY. Fm1FrHsKrMd5q.BIEKJ9xa9DayyQtax7K3fGvHVicTDeYSk5QEhxDvqekBFz VgldHVr9nyNWEluLameVaQVa1SEUns_mKjt2HZBcCxz22CkIaa6QIgzNkf2c t2ieEucq2AHxL52hrQJSerZBsg2PLKL11ewGsENXFo_EqWOXAlFSaLyXaqow rMgPO52u7Nr6Lm4oAxvDyHrXZhmwnsjqU_FoC5u1kf611fyo.IBdCLkNIvL. XA2EB4NZZGUUMA2_QddxG9r83lmB51QZDYj9M4mauCPFaNPuUjNpO6nVdMpJ NeVcByTZYvp2lvv9DfinkT4.sKK282jD6J52vsP10NEy9RJ1Mo0A6rCVSbhd oMF4_5Bpdxs4- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.102] (pfg@200.118.157.7 with plain) by smtp108.mail.bf1.yahoo.com with SMTP; 13 Feb 2013 14:32:33 -0800 PST Message-ID: <511C1480.2040708@FreeBSD.org> Date: Wed, 13 Feb 2013 17:32:32 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130201 Thunderbird/17.0.2 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: base gcc and _GLIBCXX_USE_C99 References: <5106953E.2020907@FreeBSD.org> <510BBCAD.3070705@FreeBSD.org> <510BD53D.1070209@FreeBSD.org> <510EE5D2.4050409@FreeBSD.org> In-Reply-To: <510EE5D2.4050409@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: toolchain@FreeBSD.org, Andriy Gapon X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 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, 13 Feb 2013 22:38:23 -0000 Hello; On 02/03/2013 17:33, Dimitry Andric wrote: > On 2013-02-01 15:46, Pedro Giffuni wrote: >> On 02/01/2013 08:01, Andriy Gapon wrote: >>> on 28/01/2013 17:11 Andriy Gapon said the following: >>>> I wonder why the following is the case for the base gcc. >>>> /usr/include/c++/4.2/bits/c++config.h: >>>> >>>> /* Define if C99 functions or macros from , , >>>> , >>>> , and can be used or exposed. */ >>>> /* #undef _GLIBCXX_USE_C99 */ >>>> >>>> Because of this undef there is no e.g. std::strtoll(). >>>> Ditto for other things in stdlib.h. >>>> >> I looked at this very briefly and it looks like it would fix a nasty >> issue we have been working around in OpenOffice. >> >> I suggest to enable it first on a gcc port though (it's tied to a >> configure flag, but don't remember which). > > I had a bit more in-depth look at our current libstdc++ configuration. > > I took the original gcc 4.2.1 release tarball, modified a few autoconf > related scripts to cope with "freebsd10.0" being the current version, > and did a full three-stage build, though only targeting C and C++. > > The libstdc++ configure script in 4.2.1 does detect a few new features > that are not in our shipping config.h, but is does not detect any > different settings regarding C99. > > ... > I have attached a diff of the other changes that can be applied on our > current libstdc++ config file, as detected by the configure script. I > will probably commit that soonish, if there are no objections. > I think this patch is really important, please do commit it to current. I think it should be in -stable too but with some caution: it appears that people will have to build world and all C++ applications. Pedro. From owner-freebsd-toolchain@FreeBSD.ORG Thu Feb 14 09:57:19 2013 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D65767A; Thu, 14 Feb 2013 09:57:19 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 68AD81A5; Thu, 14 Feb 2013 09:57:19 +0000 (UTC) Received: from [192.168.0.2] (cpc10-cmbg15-2-0-cust123.5-4.cable.virginmedia.com [86.30.246.124]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r1E9vGhA009830 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 14 Feb 2013 09:57:17 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: base gcc and _GLIBCXX_USE_C99 From: David Chisnall In-Reply-To: <1359947350.91372.YahooMailNeo@web162105.mail.bf1.yahoo.com> Date: Thu, 14 Feb 2013 09:57:13 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5106953E.2020907@FreeBSD.org> <510BBCAD.3070705@FreeBSD.org> <510BD53D.1070209@FreeBSD.org> <510EE5D2.4050409@FreeBSD.org> <1359947350.91372.YahooMailNeo@web162105.mail.bf1.yahoo.com> To: Pedro Giffuni X-Mailer: Apple Mail (2.1499) Cc: "toolchain@FreeBSD.org" , Dimitry Andric , "stephen@FreeBSD.org" , Andriy Gapon X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 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, 14 Feb 2013 09:57:19 -0000 On 4 Feb 2013, at 03:09, Pedro Giffuni wrote: > Those are surely in this list: > https://wiki.freebsd.org/MissingMathStuff >=20 > I think we are using stubs for libc++. We are using stubs for libc++, because libc++ is a C++11 standard = library, which expects the C99 math functions. The libstdc++ in base is = a C++03 library, and the C++03 standard does not include a long long = type, nor any of the related functions. David