NetBSD Problem Report #49638

From www@NetBSD.org  Tue Feb  3 22:48:30 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D827AA65B0
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  3 Feb 2015 22:48:29 +0000 (UTC)
Message-Id: <20150203224828.9967AA65B9@mollari.NetBSD.org>
Date: Tue,  3 Feb 2015 22:48:28 +0000 (UTC)
From: mdehling@gmail.com
Reply-To: mdehling@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/re2c fails to build on an Ultra-2 running Solaris 10u7 w/ Studio Pro 12u1
X-Send-Pr-Version: www-1.0

>Number:         49638
>Category:       pkg
>Synopsis:       devel/re2c fails to build on an Ultra-2 running Solaris 10u7 w/ Studio Pro 12u1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 03 22:50:00 +0000 2015
>Originator:     Malte Dehling
>Release:        pkgsrc-2014Q4
>Organization:
>Environment:
SunOS U2 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03

>Description:
Build fails with

[...]
statement.source='translate.cc' object='translate.o' libtool=no \
DEPDIR=.deps depmode=none /pkg/bin/pdksh ./depcomp \
CC -DHAVE_CONFIG_H -I.     -fast -W -Wall -Wextra -pedantic -Wredundant-decls -DPEDANTIC -c -o translate.o translate.cc
"range.cc", line 99: Warning: statement is unreachable.
1 Warning(s) detected.
"parser.cc", line 173: Warning: "std::map<std::string,std::pair<int, re2c::RegExp*> >::operator[](const std::string &)" is too large and will not be expanded inline.
"parser.cc", line 173:     Where: While instantiating "std::map<std::string,std::pair<int, re2c::RegExp*> >::operator[](const std::string &)".
"parser.cc", line 173:     Where: Instantiated from non-template code.
"parser.cc", line 173: Warning (Anachronism): Assigning std::pair<int, re2c::RuleOp*> to std::pair<int, re2c::RegExp*>.
"parser.cc", line 173: Error: Cannot cast from std::pair<int, re2c::RuleOp*> to std::pair<int, re2c::RegExp*>.
1 Error(s) and 2 Warning(s) detected.
Makefile:672: recipe for target 'parser.o' failed
gmake[1]: *** [parser.o] Error 1

>How-To-Repeat:

>Fix:
Don't know.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.