pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49350: inconsistent GCC_REQD for c++11 nullptr
The following reply was made to PR pkg/49350; it has been noted by GNATS.
From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Cc:
Subject: Re: pkg/49350: inconsistent GCC_REQD for c++11 nullptr
Date: Tue, 04 Nov 2014 05:28:59 +0900 (JST)
Hi,
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>, Date: Sat, 1 Nov 2014 04:10:04 +0000 (UTC)
>>Number: 49350
>>Category: pkg
>>Synopsis: inconsistent GCC_REQD for c++11 nullptr
>>Confidential: no
>>Severity: non-critical
>>Priority: medium
>>Responsible: pkg-manager
>>State: open
>>Class: change-request
>>Submitter-Id: net
>>Arrival-Date: Sat Nov 01 04:10:00 +0000 2014
>>Originator: Izumi Tsutsui
>>Release: NetBSD 6.1.5 + pkgsrc updated around 20141101
>>Organization:
>>Environment:
> System: NetBSD/i386 6.1.5
> Architecture: i386
> Machine: i386
>>Description:
> inputmethod/mozc-server/Makefile.common says:
> ---
> USE_LANGUAGES= c c++
> # nullptr requires -std=c++11, and -std=c++11 requires gcc 4.7 or later
> GCC_REQD+= 4.7
> CXXFLAGS+= -std=c++11
> ---
>
> but www/firefox/mozilla-common.mk claims:
> ---
> # GCC 4.6 is required to support nullptr.
> GCC_REQD+= 4.6
> ---
nullptr requires -std=c++03 really. It was my misunderstanding.
GCC_REQD in mozc-server should be 4.6.
> so annoying large two sets of gcc versions are built and installed
> for these major two packages only to handle nullptr in a few sources.
>
>>How-To-Repeat:
> Build the above two packages on NetBSD/i386 6.1.5.
>
>>Fix:
> For now, I would like to change www/firefox/mozilla-common.mk
> to have GCC_REQD=4.7 as mozc-server/Makefile.common at least
> for NetBSD 6.x because
> - firefox-33.x is not in the pkgsrc-20xxQn releases yet
> - there is a report gcc 4.6 is broken on NetBSD 6.x:
> http://mail-index.netbsd.org/tech-pkg/2014/10/22/msg013717.html
>
> In the perfect world, someone[tm] will prepare some magic .mk file
> which handles "requirement of c++11 nullptr"?
>
> ---
Under my netbsd-6/amd64 chroot test environment on NetBSD/amd64 7.99.1,
lang/gcc46 is built without any error.
I will build lang/gcc46 under NetBSD 6.1.4 virtual machine later.
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index