From nobody@FreeBSD.org  Wed Dec 28 15:55:44 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EA747106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Dec 2011 15:55:43 +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 CCFAB8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Dec 2011 15:55:43 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBSFthYc050743
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Dec 2011 15:55:43 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBSFthpu050742;
	Wed, 28 Dec 2011 15:55:43 GMT
	(envelope-from nobody)
Message-Id: <201112281555.pBSFthpu050742@red.freebsd.org>
Date: Wed, 28 Dec 2011 15:55:43 GMT
From: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/gcc46: make failed for lang/gcc46
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163672
>Category:       ports
>Synopsis:       lang/gcc46: make failed for lang/gcc46
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gerald
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 28 16:00:27 UTC 2011
>Closed-Date:    Sat Jan 07 12:41:15 UTC 2012
>Last-Modified:  Sat Jan 07 12:41:15 UTC 2012
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
On FreeBSD 10.0-CURRENT/amd64, CLANG built world and kernel and most ports, I'm incapable of building lang/gcc46 anymore. /etc/make.conf contains only addenda to build world with CLANG, also ports. The /etc/src.conf contains:

WITH_CLANG=             YES
WITH_CLANG_EXTRAS=      YES
#
WITH_BIND_LIBS=         YES
WITH_BIND_SIGCHASE=     YES
WITH_BIND_LARGE_FILE=   YES
#
WITH_IDEA=              YES
#WITH_HESIOD=           YES
#
#WITH_ICONV=            YES
WITH_BSD_GREP=          YES
#
WITH_LIBCPLUSPLUS=      YES
#
#WITH_OFED=             YES

This error is quite new, since with the same settings, the last time update of lang/gcc46 performed well on the very same box. On FreeBSD 9.0-PRE/amd64, most recent world compiled today with CLANG, the port lang/gcc46 build well.

On the FBSD 10.0-CUR box in question, I use the 10.0-problem fix set via

# BUGFIX FreeBSD 10.0
WITH_FBSD10_FIX=        YES

I also set 

setenv UNAME_r "9.9-CURRENT"

in the shell before building.

libtool: link: /usr/ports/lang/gcc46/work/build/./gcc/xgcc -B/usr/ports/lang/gcc46/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd9.9/bin/ -B/usr/local/x86_64-portbld-freebsd9.9/lib/ -isystem /usr/local/x86_64-portbld-freebsd9.9/include -isystem /usr/local/x86_64-portbld-freebsd9.9/sys-include    -shared  math/.libs/acoshq.o math/.libs/fmodq.o math/.libs/acosq.o math/.libs/frexpq.o math/.libs/rem_pio2q.o math/.libs/asinhq.o math/.libs/hypotq.o math/.libs/remainderq.o math/.libs/asinq.o math/.libs/rintq.o math/.libs/atan2q.o math/.libs/isinfq.o math/.libs/roundq.o math/.libs/atanhq.o math/.libs/isnanq.o math/.libs/scalblnq.o math/.libs/atanq.o math/.libs/j0q.o math/.libs/scalbnq.o math/.libs/cbrtq.o math/.libs/j1q.o math/.libs/signbitq.o math/.libs/ceilq.o math/.libs/jnq.o math/.libs/sincos_table.o math/.libs/complex.o math/.libs/ldexpq.o math/.libs/sincosq.o math/.libs/copysignq.o math/.libs/lgammaq.o math/.libs/sincosq_kernel.o math/.libs/coshq.o math/.libs/llroundq.o 
 math/.libs/sinhq.o math/.libs/cosq.o math/.libs/log10q.o math/.libs/sinq.o math/.libs/cosq_kernel.o math/.libs/log1pq.o math/.libs/sinq_kernel.o math/.libs/erfq.o math/.libs/logq.o math/.libs/sqrtq.o math/.libs/expm1q.o math/.libs/lroundq.o math/.libs/tanhq.o math/.libs/expq.o math/.libs/modfq.o math/.libs/tanq.o math/.libs/fabsq.o math/.libs/nanq.o math/.libs/tgammaq.o math/.libs/finiteq.o math/.libs/nextafterq.o math/.libs/truncq.o math/.libs/floorq.o math/.libs/powq.o math/.libs/fmaq.o math/.libs/cacoshq.o math/.libs/cacosq.o math/.libs/casinhq.o math/.libs/casinq.o math/.libs/catanhq.o math/.libs/catanq.o math/.libs/cimagq.o math/.libs/conjq.o math/.libs/cprojq.o math/.libs/crealq.o math/.libs/fdimq.o math/.libs/fmaxq.o math/.libs/fminq.o math/.libs/ilogbq.o math/.libs/llrintq.o math/.libs/log2q.o math/.libs/lrintq.o math/.libs/nearbyintq.o math/.libs/remquoq.o printf/.libs/addmul_1.o printf/.libs/add_n.o printf/.libs/cmp.o printf/.libs/divrem.o printf/.libs/flt1282mpn.o
  printf/.libs/fpioconst.o printf/.libs/lshift.o printf/.libs!
 /mul_1.o printf/.libs/mul_n.o printf/.libs/mul.o printf/.libs/printf_fphex.o printf/.libs/printf_fp.o printf/.libs/quadmath-printf.o printf/.libs/rshift.o printf/.libs/submul_1.o printf/.libs/sub_n.o strtod/.libs/strtoflt128.o strtod/.libs/mpn2flt128.o strtod/.libs/tens_in_limb.o   -lm  -march=native -Wl,--version-script=../.././../gcc-4.6-20111209/libquadmath/quadmath.map   -Wl,-soname -Wl,libquadmath.so.0 -o .libs/libquadmath.so.0
libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s "libquadmath.so.0" "libquadmath.so")
libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s "libquadmath.so.0" "libquadmath.so")
libtool: link: /usr/local/x86_64-portbld-freebsd9.9/bin/ar rc .libs/libquadmath.a  math/acoshq.o math/fmodq.o math/acosq.o math/frexpq.o math/rem_pio2q.o math/asinhq.o math/hypotq.o math/remainderq.o math/asinq.o math/rintq.o math/atan2q.o math/isinfq.o math/roundq.o math/atanhq.o math/isnanq.o math/scalblnq.o math/atanq.o math/j0q.o math/scalbnq.o math/cbrtq.o math/j1q.o math/signbitq.o math/ceilq.o math/jnq.o math/sincos_table.o math/complex.o math/ldexpq.o math/sincosq.o math/copysignq.o math/lgammaq.o math/sincosq_kernel.o math/coshq.o math/llroundq.o math/sinhq.o math/cosq.o math/log10q.o math/sinq.o math/cosq_kernel.o math/log1pq.o math/sinq_kernel.o math/erfq.o math/logq.o math/sqrtq.o math/expm1q.o math/lroundq.o math/tanhq.o math/expq.o math/modfq.o math/tanq.o math/fabsq.o math/nanq.o math/tgammaq.o math/finiteq.o math/nextafterq.o math/truncq.o math/floorq.o math/powq.o math/fmaq.o math/cacoshq.o math/cacosq.o math/casinhq.o math/casinq.o math/catanhq.o math/catanq
 .o math/cimagq.o math/conjq.o math/cprojq.o math/crealq.o math/fdimq.o math/fmaxq.o math/fminq.o math/ilogbq.o math/llrintq.o math/log2q.o math/lrintq.o math/nearbyintq.o math/remquoq.o printf/addmul_1.o printf/add_n.o printf/cmp.o printf/divrem.o printf/flt1282mpn.o printf/fpioconst.o printf/lshift.o printf/mul_1.o printf/mul_n.o printf/mul.o printf/printf_fphex.o printf/printf_fp.o printf/quadmath-printf.o printf/rshift.o printf/submul_1.o printf/sub_n.o strtod/strtoflt128.o strtod/mpn2flt128.o strtod/tens_in_limb.o
libtool: link: /usr/local/x86_64-portbld-freebsd9.9/bin/ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" && ln -s "../libquadmath.la" "libquadmath.la" )
gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc46.
*** Error code 1

Stop in /usr/ports/lang/gcc46.

===>>> make failed for lang/gcc46
===>>> Aborting update

===>>> Update for lang/gcc46 failed
===>>> Aborting update

Terminated



Well, after the first fail run, I deleted gcc46 and tried installing again, but failed also. After performing a rebuild of gettext, gmake and gawk as well as binutils, as they were in the past often problematic in FreeBSD 10 and the installation tools, I performed after that with the same settings a

portmaster -f lang/gcc46.

Everything expect gcc46 built well, the gcc46 build fails again and seems to be the same error:

libtool: link: /usr/ports/lang/gcc46/work/build/./gcc/xgcc -B/usr/ports/lang/gcc46/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd9.9/bin/ -B/usr/local/x86_64-portbld-freebsd9.9/lib/ -isystem /usr/local/x86_64-portbld-freebsd9.9/include -isystem /usr/local/x86_64-portbld-freebsd9.9/sys-include    -shared  math/.libs/acoshq.o math/.libs/fmodq.o math/.libs/acosq.o math/.libs/frexpq.o math/.libs/rem_pio2q.o math/.libs/asinhq.o math/.libs/hypotq.o math/.libs/remainderq.o math/.libs/asinq.o math/.libs/rintq.o math/.libs/atan2q.o math/.libs/isinfq.o math/.libs/roundq.o math/.libs/atanhq.o math/.libs/isnanq.o math/.libs/scalblnq.o math/.libs/atanq.o math/.libs/j0q.o math/.libs/scalbnq.o math/.libs/cbrtq.o math/.libs/j1q.o math/.libs/signbitq.o math/.libs/ceilq.o math/.libs/jnq.o math/.libs/sincos_table.o math/.libs/complex.o math/.libs/ldexpq.o math/.libs/sincosq.o math/.libs/copysignq.o math/.libs/lgammaq.o math/.libs/sincosq_kernel.o math/.libs/coshq.o math/.libs/llroundq.o 
 math/.libs/sinhq.o math/.libs/cosq.o math/.libs/log10q.o math/.libs/sinq.o math/.libs/cosq_kernel.o math/.libs/log1pq.o math/.libs/sinq_kernel.o math/.libs/erfq.o math/.libs/logq.o math/.libs/sqrtq.o math/.libs/expm1q.o math/.libs/lroundq.o math/.libs/tanhq.o math/.libs/expq.o math/.libs/modfq.o math/.libs/tanq.o math/.libs/fabsq.o math/.libs/nanq.o math/.libs/tgammaq.o math/.libs/finiteq.o math/.libs/nextafterq.o math/.libs/truncq.o math/.libs/floorq.o math/.libs/powq.o math/.libs/fmaq.o math/.libs/cacoshq.o math/.libs/cacosq.o math/.libs/casinhq.o math/.libs/casinq.o math/.libs/catanhq.o math/.libs/catanq.o math/.libs/cimagq.o math/.libs/conjq.o math/.libs/cprojq.o math/.libs/crealq.o math/.libs/fdimq.o math/.libs/fmaxq.o math/.libs/fminq.o math/.libs/ilogbq.o math/.libs/llrintq.o math/.libs/log2q.o math/.libs/lrintq.o math/.libs/nearbyintq.o math/.libs/remquoq.o printf/.libs/addmul_1.o printf/.libs/add_n.o printf/.libs/cmp.o printf/.libs/divrem.o printf/.libs/flt1282mpn.o
  printf/.libs/fpioconst.o printf/.libs/lshift.o printf/.libs!
 /mul_1.o printf/.libs/mul_n.o printf/.libs/mul.o printf/.libs/printf_fphex.o printf/.libs/printf_fp.o printf/.libs/quadmath-printf.o printf/.libs/rshift.o printf/.libs/submul_1.o printf/.libs/sub_n.o strtod/.libs/strtoflt128.o strtod/.libs/mpn2flt128.o strtod/.libs/tens_in_limb.o   -lm  -march=native -Wl,--version-script=../.././../gcc-4.6-20111209/libquadmath/quadmath.map   -Wl,-soname -Wl,libquadmath.so.0 -o .libs/libquadmath.so.0
libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s "libquadmath.so.0" "libquadmath.so")
libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s "libquadmath.so.0" "libquadmath.so")
libtool: link: /usr/local/x86_64-portbld-freebsd9.9/bin/ar rc .libs/libquadmath.a  math/acoshq.o math/fmodq.o math/acosq.o math/frexpq.o math/rem_pio2q.o math/asinhq.o math/hypotq.o math/remainderq.o math/asinq.o math/rintq.o math/atan2q.o math/isinfq.o math/roundq.o math/atanhq.o math/isnanq.o math/scalblnq.o math/atanq.o math/j0q.o math/scalbnq.o math/cbrtq.o math/j1q.o math/signbitq.o math/ceilq.o math/jnq.o math/sincos_table.o math/complex.o math/ldexpq.o math/sincosq.o math/copysignq.o math/lgammaq.o math/sincosq_kernel.o math/coshq.o math/llroundq.o math/sinhq.o math/cosq.o math/log10q.o math/sinq.o math/cosq_kernel.o math/log1pq.o math/sinq_kernel.o math/erfq.o math/logq.o math/sqrtq.o math/expm1q.o math/lroundq.o math/tanhq.o math/expq.o math/modfq.o math/tanq.o math/fabsq.o math/nanq.o math/tgammaq.o math/finiteq.o math/nextafterq.o math/truncq.o math/floorq.o math/powq.o math/fmaq.o math/cacoshq.o math/cacosq.o math/casinhq.o math/casinq.o math/catanhq.o math/catanq
 .o math/cimagq.o math/conjq.o math/cprojq.o math/crealq.o math/fdimq.o math/fmaxq.o math/fminq.o math/ilogbq.o math/llrintq.o math/log2q.o math/lrintq.o math/nearbyintq.o math/remquoq.o printf/addmul_1.o printf/add_n.o printf/cmp.o printf/divrem.o printf/flt1282mpn.o printf/fpioconst.o printf/lshift.o printf/mul_1.o printf/mul_n.o printf/mul.o printf/printf_fphex.o printf/printf_fp.o printf/quadmath-printf.o printf/rshift.o printf/submul_1.o printf/sub_n.o strtod/strtoflt128.o strtod/mpn2flt128.o strtod/tens_in_limb.o
libtool: link: /usr/local/x86_64-portbld-freebsd9.9/bin/ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" && ln -s "../libquadmath.la" "libquadmath.la" )
gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc46.
*** Error code 1

Stop in /usr/ports/lang/gcc46.


>How-To-Repeat:
Install or update lang/gcc46 from most recent ports tree on a most recent FreeBSD 10.0-CURRENT/amd64 clang built world with the above settings in /etc/src.conf.

>Fix:
Not known.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gerald 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Dec 28 16:00:38 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163672 

From: Jan Beich <jbeich@tormail.net>
To: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163672: lang/gcc46: make failed for lang/gcc46
Date: Wed, 28 Dec 2011 18:08:45 -0600

 Oliver Hartmann <ohartman@zedat.fu-berlin.de> writes:
 
 > #WITH_ICONV=            YES
 
 Do you still have /usr/include/iconv.h ? It should be removed manually.
 There is no support to remove optional files installed by WITH_ICONV
 in tools/build/mk/OptionalObsoleteFiles.inc yet.
 
 > gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
 > gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd9.9/libquadmath'
 > gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 > gmake: *** [bootstrap-lean] Error 2
 > *** Error code 1
 
 Have you tried with DISABLE_MAKE_JOBS ? Or post a complete log somewhere.
 Note, both iconv.h and _Static_assert (reported on -current@) errors fail
 during `bootstrap-lean' target.

From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: Jan Beich <jbeich@tormail.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163672: lang/gcc46: make failed for lang/gcc46
Date: Thu, 29 Dec 2011 08:40:14 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigC2A4D23076DA8D56B262DC67
 Content-Type: text/plain; charset=ISO-8859-15
 Content-Transfer-Encoding: quoted-printable
 
 Am 12/29/11 01:08, schrieb Jan Beich:
 > Oliver Hartmann <ohartman@zedat.fu-berlin.de> writes:
 >=20
 >> #WITH_ICONV=3D            YES
 >=20
 > Do you still have /usr/include/iconv.h ? It should be removed manually.=
 
 > There is no support to remove optional files installed by WITH_ICONV
 > in tools/build/mk/OptionalObsoleteFiles.inc yet.
 
 Indeed, /usr/include/iconv.h remained in the system. Aftere deletion I
 started again a build of lang/gcc46, but it ended up again with the very
 same error:
 
  libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s
 "libquadmath.so.0" "libquadmath.so")
 libtool: link: (cd ".libs" && rm -f "libquadmath.so" && ln -s
 "libquadmath.so.0" "libquadmath.so")
 libtool: link: /usr/local/bin/ar rc .libs/libquadmath.a  math/acoshq.o
 math/fmodq.o math/acosq.o math/frexpq.o math/rem_pio2q.o math/asinhq.o
 math/hypotq.o math/remainderq.o math/asinq.o math/rintq.o math/atan2q.o
 math/isinfq.o math/roundq.o math/atanhq.o math/isnanq.o math/scalblnq.o
 math/atanq.o math/j0q.o math/scalbnq.o math/cbrtq.o math/j1q.o
 math/signbitq.o math/ceilq.o math/jnq.o math/sincos_table.o
 math/complex.o math/ldexpq.o math/sincosq.o math/copysignq.o
 math/lgammaq.o math/sincosq_kernel.o math/coshq.o math/llroundq.o
 math/sinhq.o math/cosq.o math/log10q.o math/sinq.o math/cosq_kernel.o
 math/log1pq.o math/sinq_kernel.o math/erfq.o math/logq.o math/sqrtq.o
 math/expm1q.o math/lroundq.o math/tanhq.o math/expq.o math/modfq.o
 math/tanq.o math/fabsq.o math/nanq.o math/tgammaq.o math/finiteq.o
 math/nextafterq.o math/truncq.o math/floorq.o math/powq.o math/fmaq.o
 math/cacoshq.o math/cacosq.o math/casinhq.o math/casinq.o math/catanhq.o
 math/catanq.o math/cimagq.o math/conjq.o math/cprojq.o math/crealq.o
 math/fdimq.o math/fmaxq.o math/fminq.o math/ilogbq.o math/llrintq.o
 math/log2q.o math/lrintq.o math/nearbyintq.o math/remquoq.o
 printf/addmul_1.o printf/add_n.o printf/cmp.o printf/divrem.o
 printf/flt1282mpn.o printf/fpioconst.o printf/lshift.o printf/mul_1.o
 printf/mul_n.o printf/mul.o printf/printf_fphex.o printf/printf_fp.o
 printf/quadmath-printf.o printf/rshift.o printf/submul_1.o
 printf/sub_n.o strtod/strtoflt128.o strtod/mpn2flt128.o
 strtod/tens_in_limb.o
 libtool: link: /usr/local/bin/ranlib .libs/libquadmath.a
 libtool: link: ( cd ".libs" && rm -f "libquadmath.la" && ln -s
 "../libquadmath.la" "libquadmath.la" )
 gmake[3]: Leaving directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libquadmath'=
 
 gmake[2]: Leaving directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libquadmath'=
 
 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 1
 
 Stop in /usr/ports/lang/gcc46.
 *** Error code 1
 
 Stop in /usr/ports/lang/gcc46.
 
 =3D=3D=3D>>> make failed for lang/gcc46
 =3D=3D=3D>>> Aborting update
 
 Terminated
 
 
 Besides: on FreeBSD 9.0-PRERELEASE the header file /usr/include/iconv.h
 is also present since I compiled that system once also with option
 "WITH_ICONV=3DYES", but on 9.0-PRE boxes, lang/gcc46 builds without compl=
 ains.
 
 >=20
 >> gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-p=
 ortbld-freebsd9.9/libquadmath'
 >> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build/x86_64-p=
 ortbld-freebsd9.9/libquadmath'
 >> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 >> gmake: *** [bootstrap-lean] Error 2
 >> *** Error code 1
 >=20
 > Have you tried with DISABLE_MAKE_JOBS ? Or post a complete log somewher=
 e.
 > Note, both iconv.h and _Static_assert (reported on -current@) errors fa=
 il
 > during `bootstrap-lean' target.
 
 After application of DISABLE_MAKE_JOBS=3DYES in /etc/make.conf I receive =
 a
 more specific error:
 
 
 gmake[3]: Entering directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3=
 '
 Making all in include
 gmake[4]: Entering directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3=
 /include'
 mkdir -p ./x86_64-portbld-freebsd10.0/bits/stdc++.h.gch
 /usr/ports/lang/gcc46/work/build/./gcc/xgcc -shared-libgcc
 -B/usr/ports/lang/gcc46/work/build/./gcc -nostdinc++
 -L/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v=
 3/src
 -L/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v=
 3/src/.libs
 -B/usr/local/x86_64-portbld-freebsd10.0/bin/
 -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem
 /usr/local/x86_64-portbld-freebsd10.0/include -isystem
 /usr/local/x86_64-portbld-freebsd10.0/sys-include    -x c++-header
 -nostdinc++ -g -O3 -fno-strict-aliasing -pipe -march=3Dnative
 -I/usr/local/include
 -I/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v=
 3/include/x86_64-portbld-freebsd10.0
 -I/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v=
 3/include
 -I/usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/libsupc++ -O2
 -g -std=3Dgnu++0x
 /usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/include/precompi=
 led/stdc++.h
 \
 -o x86_64-portbld-freebsd10.0/bits/stdc++.h.gch/O2ggnu++0x.gch
 In file included from
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/chrono:38:0,
                  from
 /usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/include/precompi=
 led/stdc++.h:100:
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/ratio:133:31:
 error: macro "_Static_assert" passed 3 arguments, but takes just 2
 In file included from
 /usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/include/precompi=
 led/stdc++.h:103:0:
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/future:376:39:
 error: macro "_Static_assert" passed 4 arguments, but takes just 2
 In file included from
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/memory:85:0,
                  from
 /usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/include/precompi=
 led/stdc++.h:81:
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:
 In constructor 'constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr()':
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:117:59:
 error: constexpr constructor does not have empty body
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:
 In constructor 'constexpr std::unique_ptr<_Tp,
 _Dp>::unique_ptr(std::nullptr_t)':
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:139:59:
 error: constexpr constructor does not have empty body
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:
 In constructor 'constexpr std::unique_ptr<_Tp [], _Dp>::unique_ptr()':
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:279:59:
 error: constexpr constructor does not have empty body
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:
 In constructor 'constexpr std::unique_ptr<_Tp [],
 _Dp>::unique_ptr(std::nullptr_t)':
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/bits/unique_ptr.h:301:59:
 error: constexpr constructor does not have empty body
 In file included from
 /usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3/=
 include/cassert:45:0,
                  from
 /usr/ports/lang/gcc46/work/gcc-4.6-20111209/libstdc++-v3/include/precompi=
 led/stdc++.h:34:
 /usr/include/assert.h: At global scope:
 /usr/include/assert.h:62:23: error: '_Static_assert' does not name a type=
 
 /usr/include/assert.h:62:23: error: '_Static_assert' does not name a type=
 
 gmake[4]: ***
 [x86_64-portbld-freebsd10.0/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
 gmake[4]: Leaving directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3=
 /include'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3=
 '
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory
 `/usr/ports/lang/gcc46/work/build/x86_64-portbld-freebsd10.0/libstdc++-v3=
 '
 gmake[1]: *** [all-target-libstdc++-v3] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 1
 
 Stop in /usr/ports/lang/gcc46.
 *** Error code 1
 
 Stop in /usr/ports/lang/gcc46.
 
 =3D=3D=3D>>> make failed for lang/gcc46
 =3D=3D=3D>>> Aborting update
 
 Terminated
 
 
 
 Regards,
 Oliver
 
 
 --------------enigC2A4D23076DA8D56B262DC67
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (FreeBSD)
 
 iQEcBAEBAgAGBQJO/BlkAAoJEOgBcD7A/5N80WoH/jP4ZjRaBJWWirfdTYyrqSVK
 CprrqESm3Y9ggCgqmtaGH4mNNMkL4JbN6ax+2xR8XoxalQoJRjvP5+f5WpBnNjLU
 kR0Cy1ZsFAyRNPdzWw3wtYm9IQSV76OAi5WT+OTg106EXZKjVGkVl8K5ILugeqjB
 HoXVEzSbskeWs4ZvzPjAWyGWt/t1U6HoD8EfVzc0R6s1EPlBM1gAgaq7lpwtELEP
 IR7t5EdwnxxEHB/sdmEoQU66HI+gaOnfyvmbmvaifaRpSZALOFVuZPnBC49DC+JU
 FvQiyxUrQdh8mxeZoLsfDbVsH7H+W/C+L5PmmLnuuaEICyc17XRI9/e3bW0ZdO4=
 =UlZf
 -----END PGP SIGNATURE-----
 
 --------------enigC2A4D23076DA8D56B262DC67--

From: Andreas Tobler <andreast@fgznet.ch>
To: bug-followup@FreeBSD.org
Cc:  
Subject: ports/163672: lang/gcc46: make failed for lang/gcc46
Date: Sun, 01 Jan 2012 11:17:34 +0100

 Should be fixed with this commit:
 
 http://svn.freebsd.org/changeset/base/228955
 
 Successful bootstrap of gcc-4.6 branch on x86_64-*-freebsd10.0.
State-Changed-From-To: open->closed 
State-Changed-By: gerald 
State-Changed-When: Sat Jan 7 12:39:09 UTC 2012 
State-Changed-Why:  
Thanks to Andreas for providing the connection to the fix on the src 
side. 

As a side note, current versions of lang/gcc46 or lang/gcc47 (and in 
fact now also lang/gcc) should not require WITH_FBSD10_FIX any more. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163672 
>Unformatted:
