From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 25 13:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 BF851AA2 for ; Thu, 25 Apr 2013 13:30:00 +0000 (UTC) (envelope-from gnats@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 A244E1504 for ; Thu, 25 Apr 2013 13:30:00 +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 r3PDU0B1001412 for ; Thu, 25 Apr 2013 13:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3PDU0m6001401; Thu, 25 Apr 2013 13:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 25 Apr 2013 13:30:00 GMT Resent-Message-Id: <201304251330.r3PDU0m6001401@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marino Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E72F3A52 for ; Thu, 25 Apr 2013 13:25:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D721214E4 for ; Thu, 25 Apr 2013 13:25:13 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3PDPDYB091290 for ; Thu, 25 Apr 2013 13:25:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3PDPD8W091289; Thu, 25 Apr 2013 13:25:13 GMT (envelope-from nobody) Message-Id: <201304251325.r3PDPD8W091289@red.freebsd.org> Date: Thu, 25 Apr 2013 13:25:13 GMT From: John Marino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/178143: lang/gcc-aux: [MAINTAINER] Update to gcc 4.7.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 13:30:00 -0000 >Number: 178143 >Category: ports >Synopsis: lang/gcc-aux: [MAINTAINER] Update to gcc 4.7.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 25 13:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Marino >Release: >Organization: >Environment: >Description: Please apply the attached diff to upgrade lang/gcc-aux from gcc 4.7.1 to gcc 4.7.3. It has been tested with poudriere on FreeBSD-9.1-amd64 The same patches have been used in pkgsrc for a few weeks without issue. Also, the options were converted to the new style. >How-To-Repeat: >Fix: Patch attached with submission follows: --- lang/gcc-aux/Makefile.orig 2013-04-24 20:22:33.000000000 +0200 +++ lang/gcc-aux/Makefile 2013-04-25 15:24:26.000000000 +0200 @@ -1,16 +1,10 @@ -# New ports collection makefile for: gcc-aux -# Date created: 2012-07-15 -# Whom: John Marino -# +# Created by: John Marino # $FreeBSD: ports/lang/gcc-aux/Makefile,v 1.3 2012/11/17 05:58:50 svnexp Exp $ -# PORTNAME= gcc-aux PORTVERSION= ${SNAPSHOT} -PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://downloads.dragonlace.net/src/:boot \ - http://dragonlace.mirrors.ada.cx/src/:boot \ ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= releases/gcc-${GCC_VERSION} DISTFILES= gcc-${GCC_VERSION}.tar.bz2 @@ -26,29 +20,40 @@ BOOTSTRAP_COMPILER= NOT_REQUIRED BOOTSTRAP_TRIPLET= NOT_SET FULL_GNATGCC= NOT_SET +OS_LABEL4VERS= [${OPSYS}] +GARCH= ${ARCH:S/amd64/x86_64/} -OPTIONS= ADA "Build Ada language" on -OPTIONS+= CXX "Build C++ language" on -OPTIONS+= FORT "Build Fortran language" on -OPTIONS+= OBJC "Build Objective-C language" on -OPTIONS+= STATIC "Build with no shared libraries other than libc" off -OPTIONS+= TESTSUITE "Activate test support" off -OPTIONS+= NLS "Native Language Support" off +OPTIONS_DEFINE= ADA CXX FORT OBJC STATIC TESTSUITE NLS +OPTIONS_DEFAULT= ADA CXX FORT OBJC +NO_OPTIONS_SORT= yes + +ADA_DESC= Build Ada language +CXX_DESC= Build C++ language +FORT_DESC= Build Fortran language +OBJC_DESC= Build Objective-C language +STATIC_DESC= Build with no shared libraries other than libc +TESTSUITE_DESC= Activate test support -.include .include -.if ${ARCH} == "amd64" -BLD_TARGET= x86_64-aux-freebsd${OSREL} +.if ${OPSYS} == FreeBSD +. if ${GARCH} == x86_64 OS_LABEL4VERS= [FreeBSD64] BOOTSTRAP_TRIPLET= x86_64-bootstrap-freebsd8.1/4.6.0 -BOOTSTRAP_COMPILER= gnat-bootstrap.x86_64.freebsd.tar.bz2 -.else -BLD_TARGET= i386-aux-freebsd${OSREL} -OS_LABEL4VERS= [FreeBSD] +. else BOOTSTRAP_TRIPLET= i386-bootstrap-freebsd8.0/4.6.0 -BOOTSTRAP_COMPILER= gnat-bootstrap.i386.freebsd.tar.bz2 +. endif .endif +.if ${OPSYS} == DragonFly +. if ${GARCH} == x86_64 +OS_LABEL4VERS= [DragonFly64] +BOOTSTRAP_TRIPLET= x86_64-bootstrap-dragonfly2.8/4.6.0 +. else +BOOTSTRAP_TRIPLET= i386-bootstrap-dragonfly2.8/4.6.0 +. endif +.endif +BLD_TARGET= ${GARCH}-aux-${OPSYS:L}${OSREL} +BOOTSTRAP_COMPILER= gnat-bootstrap.${GARCH}.${OPSYS:L}.tar.bz2 WRKSRC= ${WRKDIR}/gcc-${GCC_VERSION} BUILDDIR= ${WRKDIR}/build @@ -79,7 +84,7 @@ .endif # If FULL_GNATGCC is not set, we'll request the bootstrap compiler -.if ${FULL_GNATGCC} == "NOT_SET" +.if ${FULL_GNATGCC} == NOT_SET INTENDED_COMPILER=BOOTSTRAP FULL_GNATGCC=${BOOTSTRAP_PREFIX}/bin/gnatgcc FULL_PATH=${BOOTSTRAP_PREFIX}/bin:/sbin:/bin:/usr/sbin:/usr/bin:${PREFIX}/bin @@ -89,6 +94,8 @@ # for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1" .if defined(PLUS_BOOTSTRAPS) DISTFILES=gcc-${GCC_VERSION}.tar.bz2 \ + gnat-bootstrap.i386.dragonfly.tar.bz2:boot \ + gnat-bootstrap.x86_64.dragonfly.tar.bz2:boot \ gnat-bootstrap.i386.freebsd.tar.bz2:boot \ gnat-bootstrap.x86_64.freebsd.tar.bz2:boot .endif @@ -97,7 +104,7 @@ ## Ada ## ########### -.if defined(WITH_ADA) +.if ${PORT_OPTIONS:MADA} LANGS+= ada APPLY_DIFFS+= ada .endif @@ -106,7 +113,7 @@ ## C++ ## ########### -.if defined(WITH_CXX) +.if ${PORT_OPTIONS:MCXX} LANGS+= c++ APPLY_DIFFS+= cxx MAN1+= g++.1 @@ -116,7 +123,7 @@ ## Fortran ## ############### -.if defined(WITH_FORT) +.if ${PORT_OPTIONS:MFORT} LANGS+= fortran APPLY_DIFFS+= fortran MAN1+= gfortran.1 @@ -129,7 +136,7 @@ ## Objective-C ## ################### -.if defined(WITH_OBJC) +.if ${PORT_OPTIONS:MOBJC} LANGS+= objc .endif @@ -137,7 +144,7 @@ ## Testsuite Support ## ######################### -.if defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MTESTSUITE} BUILD_DEPENDS= dejagnu>=1.4:${PORTSDIR}/misc/dejagnu APPLY_DIFFS+= ada-testsuite APPLY_DIFFS+= fortran-testsuite @@ -149,7 +156,7 @@ ## NATIONAL LANGUAGE SUPPORT ## ################################# -.if defined(WITH_NLS) +.if ${PORT_OPTIONS:MNLS} BUILD_DEPENDS= gettext>=0.18:${PORTSDIR}/devel/gettext EXTRA_CONFIG+= --enable-nls .else @@ -191,7 +198,7 @@ @${ECHO} "-=> GNAT AUX ${OS_LABEL4VERS}" > ${REVFILE} # Create new directories in preparation of applying diff files -.if defined(WITH_CXX) +.if ${PORT_OPTIONS:MCXX} ${MKDIR} ${WRKSRC}/libstdc++-v3/config/locale/dragonfly ${MKDIR} ${WRKSRC}/libstdc++-v3/config/os/bsd/dragonfly .endif @@ -204,14 +211,15 @@ # Update LINK_SPEC to add gcc-aux lib runpath in every binary @${ECHO} "Configuring LINK_SPEC runpath" - @perl -pi -e 's;\@PREFIX\@;${PREFIX};' \ + @${PERL} -pi -e 's;\@PREFIX\@;${PREFIX};' \ + ${WRKSRC}/gcc/config/dragonfly.h \ ${WRKSRC}/gcc/config/i386/freebsd64.h \ ${WRKSRC}/gcc/config/i386/freebsd.h -.if defined(WITH_STATIC) +.if ${PORT_OPTIONS:MSTATIC} @${ECHO} "Reconfiguring GCC Makefile to build compiler statically" @${PATCH} -d ${WRKSRC} -s -E < ${FILESDIR}/diff-static-version -.if defined(WITH_NLS) +.if ${PORT_OPTIONS:MNLS} @${PERL} -pi -e 's;\@LIBINTL\@;${STINTL} ${STICONV};' ${WRKSRC}/intl/config.intl.in @${PERL} -pi -e 's;\@LIBICONV\@;;' \ ${WRKSRC}/gcc/Makefile.in \ @@ -225,7 +233,7 @@ .endif .endif -.if ${INTENDED_COMPILER} == "BOOTSTRAP" +.if ${INTENDED_COMPILER} == BOOTSTRAP ${MKDIR} ${BOOTSTRAP_PREFIX} ${MV} ${BOOTSTRAP_PREFIX}/../bin ${BOOTSTRAP_PREFIX} ${MV} ${BOOTSTRAP_PREFIX}/../lib ${BOOTSTRAP_PREFIX} @@ -234,12 +242,8 @@ # Bootstrap compiler has statically linked z, gmp, mpc, mpfr and iconv # The only shared lib is libc.so.7, so it should work for a long time. -.if ${OSVERSION} > 900000 - # Since June 7, bootstrap compiler's include-fixed headers have been - # incompatible with FreeBSD 9.0-CURRENT ${RM} -rf ${BOOTSTRAP_PREFIX}/lib/gcc/${BOOTSTRAP_TRIPLET}/include-fixed .endif -.endif do-configure: ${MKDIR} ${BUILDDIR} @@ -252,34 +256,34 @@ test: build test-ada test-fortran test-objc test-cxx test-c test-ada: -.if defined(WITH_ADA) && defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MADA} && ${PORT_OPTIONS:MTESTSUITE} cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} -sk check-ada .endif test-fortran: -.if defined(WITH_FORT) && defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MFORT} && ${PORT_OPTIONS:MTESTSUITE} cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} -sk check-fortran .endif test-objc: -.if defined(WITH_OBJC) && defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MOBJC} && ${PORT_OPTIONS:MTESTSUITE} cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} -sk check-objc .endif test-cxx: -.if defined(WITH_CXX) && defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MCXX} && ${PORT_OPTIONS:MTESTSUITE} # libstdc++ testsuite will break every time, TRUE used to force continuation cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} -sk check-c++ || true .endif test-c: -.if defined(WITH_TESTSUITE) +.if ${PORT_OPTIONS:MTESTSUITE} cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} -sk check-c .endif do-install: cd ${BUILDDIR} && ${SETENV} ${ADA_MAKE_ENV} ${GMAKE} install-strip DESTDIR=${DESTINY} - ${CP} -pr ${DESTINY}${PREFIX}/ ${PREFIX}/ + ${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/ post-install: ${RM} -f ${WRKDIR}/PLIST.all @@ -293,7 +297,8 @@ ${SED} -e 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all cd ${WRKDIR}; ${SED} -i -e "/PLIST.all/ r PLIST.all" ${TMPPLIST} -.if ${OSVERSION} > 900000 && ${OSVERSION} < 900507 +.if ${OPSYS} == FreeBSD +. if ${OSVERSION} > 900000 && ${OSVERSION} < 900507 @${ECHO_MSG} "====================================================================" @${ECHO_MSG} " NOTICE REGARDING ADA TASKING ON FREEBSD 9.0:" @${ECHO_MSG} " Due to a bug in the FreeBSD 9.0 threading library, an exiting task" @@ -303,6 +308,7 @@ @${ECHO_MSG} " 2) Patch and rebuild thread library as described in" @${ECHO_MSG} " http://www.dragonlace.net/posts/F9_Fix/" @${ECHO_MSG} "====================================================================" +. endif .endif -.include +.include --- lang/gcc-aux/Makefile.common.orig 2013-04-24 20:22:40.000000000 +0200 +++ lang/gcc-aux/Makefile.common 2013-04-24 20:23:04.000000000 +0200 @@ -14,8 +14,8 @@ ALL_TARGET= default MAKE_JOBS_SAFE= yes -SNAPSHOT= 20120614 +SNAPSHOT= 20130411 GCC_BRANCH= 4.7 -GCC_POINT= 1 +GCC_POINT= 3 GCC_VERSION= ${GCC_BRANCH}.${GCC_POINT} --- lang/gcc-aux/distinfo.orig 2013-04-24 20:09:47.000000000 +0200 +++ lang/gcc-aux/distinfo 2013-04-24 20:13:52.000000000 +0200 @@ -1,5 +1,9 @@ -SHA256 (gcc-4.7.1.tar.bz2) = 16093f6fa01732adf378d97fe338f113c933bdf56da22bf87c76beff13da406f -SIZE (gcc-4.7.1.tar.bz2) = 82639660 +SHA256 (gcc-4.7.3.tar.bz2) = 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 +SIZE (gcc-4.7.3.tar.bz2) = 82904224 +SHA256 (gnat-bootstrap.i386.dragonfly.tar.bz2) = 9148952791231e7d302238b690b183af72867b19ecac8ac482f035c06583cb0c +SIZE (gnat-bootstrap.i386.dragonfly.tar.bz2) = 28205489 +SHA256 (gnat-bootstrap.x86_64.dragonfly.tar.bz2) = ccd361f3fa15fad38ea68530b120517f0049767d6b98cf02898d5adf9ef2b23e +SIZE (gnat-bootstrap.x86_64.dragonfly.tar.bz2) = 31380342 SHA256 (gnat-bootstrap.i386.freebsd.tar.bz2) = c38e1c960f651c3f248c1ef540b1df724058fa71c1d046af93ce975483abb645 SIZE (gnat-bootstrap.i386.freebsd.tar.bz2) = 27973176 SHA256 (gnat-bootstrap.x86_64.freebsd.tar.bz2) = c4abd6af1281785d47d99352e28e41b2a1455e25ff347eca0de5791cdede9ed8 --- lang/gcc-aux/files/diff-ada.orig 2013-04-24 20:09:47.000000000 +0200 +++ lang/gcc-aux/files/diff-ada 2013-04-24 23:06:26.000000000 +0200 @@ -2228,7 +2228,7 @@ /* VxWorks Section */ /*******************/ -@@ -2416,9 +2487,13 @@ +@@ -2450,9 +2521,13 @@ initialization of the FP processor. This version is used under INTERIX and WIN32. */ @@ -8971,14 +8971,13 @@ EH_MECHANISM=-gcc THREADSLIB= -lpthread GMEM_LIB = gmemlib -@@ -1231,26 +1240,101 @@ +@@ -1231,14 +1240,21 @@ MISCLIB = -lutil endif --ifeq ($(strip $(filter-out %86_64 freebsd%,$(arch) $(osys))),) + +# FREEBSD AMD64 -+ifeq ($(strip $(filter-out x86_64 freebsd%,$(arch) $(osys))),) + ifeq ($(strip $(filter-out %86_64 freebsd%,$(arch) $(osys))),) LIBGNAT_TARGET_PAIRS = \ + a-exetim.adb&5 --- lang/gcc-aux/files/diff-cxx.orig 2013-04-24 20:09:47.000000000 +0200 +++ lang/gcc-aux/files/diff-cxx 2013-04-24 23:06:26.000000000 +0200 @@ -44,7 +44,7 @@ --- libstdc++-v3/configure.orig +++ libstdc++-v3/configure -@@ -15704,7 +15704,7 @@ +@@ -15738,7 +15738,7 @@ if test "${enable_clocale+set}" = set; then : enableval=$enable_clocale; case "$enableval" in @@ -53,7 +53,7 @@ *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;; esac -@@ -15742,6 +15742,9 @@ +@@ -15776,6 +15776,9 @@ darwin* | freebsd*) enable_clocale_flag=darwin ;; @@ -63,7 +63,7 @@ *) if test x"$with_newlib" = x"yes"; then enable_clocale_flag=newlib -@@ -15883,7 +15886,23 @@ +@@ -15917,7 +15920,23 @@ CTIME_CC=config/locale/generic/time_members.cc CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h ;; @@ -622,7 +622,7 @@ + struct ctype_base + { + // Non-standard typedefs. -+ typedef const unsigned char* __to_type; ++ typedef const int* __to_type; + + // NB: Offsets into ctype::_M_table force a particular size + // on the mask type. Because of this, we don't use an enum. @@ -746,7 +746,7 @@ +} // namespace --- /dev/null +++ libstdc++-v3/config/os/bsd/dragonfly/ctype_inline.h -@@ -0,0 +1,127 @@ +@@ -0,0 +1,161 @@ +// Locale support -*- C++ -*- + +// Copyright (C) 2000, 2003, 2004, 2005, 2009, 2010 @@ -791,14 +791,38 @@ + bool + ctype:: + is(mask __m, char __c) const -+ { return _M_table[(unsigned char)(__c)] & __m; } ++ { ++ if (_M_table) ++ return _M_table[static_cast(__c)] & __m; ++ else ++ return __libc_ctype_ [__c + 1] & __m; ++ } + + const char* + ctype:: + is(const char* __low, const char* __high, mask* __vec) const + { -+ while (__low < __high) -+ *__vec++ = _M_table[*__low++]; ++ if (_M_table) ++ while (__low < __high) ++ *__vec++ = _M_table[static_cast(*__low++)]; ++ else ++ for (;__low < __high; ++__vec, ++__low) ++ { ++ mask __m = 0; ++ if (this->is(upper, *__low)) __m |= upper; ++ if (this->is(lower, *__low)) __m |= lower; ++ if (this->is(alpha, *__low)) __m |= alpha; ++ if (this->is(digit, *__low)) __m |= digit; ++ if (this->is(xdigit, *__low)) __m |= xdigit; ++ if (this->is(space, *__low)) __m |= space; ++ if (this->is(print, *__low)) __m |= print; ++ if (this->is(graph, *__low)) __m |= graph; ++ if (this->is(cntrl, *__low)) __m |= cntrl; ++ if (this->is(punct, *__low)) __m |= punct; ++ // Do not include explicit line for alnum mask since it is a ++ // pure composite of masks on DragonFly. ++ *__vec = __m; ++ } + return __high; + } + @@ -806,8 +830,13 @@ + ctype:: + scan_is(mask __m, const char* __low, const char* __high) const + { -+ while (__low < __high && !this->is(__m, *__low)) -+ ++__low; ++ if (_M_table) ++ while (__low < __high ++ && !(_M_table[static_cast(*__low)] & __m)) ++ ++__low; ++ else ++ while (__low < __high && !this->is(__m, *__low)) ++ ++__low; + return __low; + } + @@ -815,8 +844,13 @@ + ctype:: + scan_not(mask __m, const char* __low, const char* __high) const + { -+ while (__low < __high && this->is(__m, *__low) != 0) -+ ++__low; ++ if (_M_table) ++ while (__low < __high ++ && (_M_table[static_cast(*__low)] & __m) != 0) ++ ++__low; ++ else ++ while (__low < __high && this->is(__m, *__low) != 0) ++ ++__low; + return __low; + } + --- lang/gcc-aux/files/diff-cxx-testsuite.orig 2013-04-24 20:09:47.000000000 +0200 +++ lang/gcc-aux/files/diff-cxx-testsuite 2013-04-24 23:06:26.000000000 +0200 @@ -508,16 +508,6 @@ // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } // { dg-require-cstdint "" } ---- libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc.orig -+++ libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc -@@ -1,5 +1,5 @@ --// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* powerpc-ibm-aix* } } --// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* powerpc-ibm-aix* } } -+// { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -+// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } - // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } - // { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } - // { dg-require-cstdint "" } --- libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc.orig +++ libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc @@ -1,5 +1,5 @@ >Release-Note: >Audit-Trail: >Unformatted: