Ticket #3171: darwin-apfs-gcc-libstdc++-bug-81797-redi-2.diff
File darwin-apfs-gcc-libstdc++-bug-81797-redi-2.diff, 4.5 KB (added by Chris Johns, on 10/27/17 at 03:04:12) |
---|
-
gcc-7.2.0/libstdc++-v3/configure.ac
old new 467 467 test $ac_cv_prog_DBLATEX = "yes" && 468 468 test $ac_cv_prog_PDFLATEX = "yes") 469 469 470 case "$build" in 471 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;; 472 * ) glibcxx_include_dir_notparallel=no ;; 473 esac 474 AM_CONDITIONAL(INCLUDE_DIR_NOTPARALLEL, 475 test $glibcxx_include_dir_notparallel = "yes") 470 476 471 477 # Propagate the target-specific source directories through the build chain. 472 478 ATOMICITY_SRCDIR=config/${atomicity_dir} -
gcc-7.2.0/libstdc++-v3/configure
old new 620 620 ATOMIC_FLAGS 621 621 ATOMIC_WORD_SRCDIR 622 622 ATOMICITY_SRCDIR 623 INCLUDE_DIR_NOTPARALLEL_FALSE 624 INCLUDE_DIR_NOTPARALLEL_TRUE 623 625 BUILD_PDF_FALSE 624 626 BUILD_PDF_TRUE 625 627 PDFLATEX … … 11601 11603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11602 11604 lt_status=$lt_dlunknown 11603 11605 cat > conftest.$ac_ext <<_LT_EOF 11604 #line 1160 4"configure"11606 #line 11606 "configure" 11605 11607 #include "confdefs.h" 11606 11608 11607 11609 #if HAVE_DLFCN_H … … 11707 11709 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11708 11710 lt_status=$lt_dlunknown 11709 11711 cat > conftest.$ac_ext <<_LT_EOF 11710 #line 1171 0"configure"11712 #line 11712 "configure" 11711 11713 #include "confdefs.h" 11712 11714 11713 11715 #if HAVE_DLFCN_H … … 15393 15395 # Fake what AC_TRY_COMPILE does. 15394 15396 15395 15397 cat > conftest.$ac_ext << EOF 15396 #line 1539 6"configure"15398 #line 15398 "configure" 15397 15399 int main() 15398 15400 { 15399 15401 typedef bool atomic_type; … … 15428 15430 rm -f conftest* 15429 15431 15430 15432 cat > conftest.$ac_ext << EOF 15431 #line 1543 1"configure"15433 #line 15433 "configure" 15432 15434 int main() 15433 15435 { 15434 15436 typedef short atomic_type; … … 15463 15465 rm -f conftest* 15464 15466 15465 15467 cat > conftest.$ac_ext << EOF 15466 #line 1546 6"configure"15468 #line 15468 "configure" 15467 15469 int main() 15468 15470 { 15469 15471 // NB: _Atomic_word not necessarily int. … … 15499 15501 rm -f conftest* 15500 15502 15501 15503 cat > conftest.$ac_ext << EOF 15502 #line 1550 2"configure"15504 #line 15504 "configure" 15503 15505 int main() 15504 15506 { 15505 15507 typedef long long atomic_type; … … 15580 15582 # unnecessary for this test. 15581 15583 15582 15584 cat > conftest.$ac_ext << EOF 15583 #line 1558 3"configure"15585 #line 15585 "configure" 15584 15586 int main() 15585 15587 { 15586 15588 _Decimal32 d1; … … 15622 15624 # unnecessary for this test. 15623 15625 15624 15626 cat > conftest.$ac_ext << EOF 15625 #line 1562 5"configure"15627 #line 15627 "configure" 15626 15628 template<typename T1, typename T2> 15627 15629 struct same 15628 15630 { typedef T2 type; }; … … 15656 15658 rm -f conftest* 15657 15659 15658 15660 cat > conftest.$ac_ext << EOF 15659 #line 156 59"configure"15661 #line 15661 "configure" 15660 15662 template<typename T1, typename T2> 15661 15663 struct same 15662 15664 { typedef T2 type; }; … … 81219 81221 fi 81220 81222 81221 81223 81224 case "$build" in 81225 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;; 81226 * ) glibcxx_include_dir_notparallel=no ;; 81227 esac 81228 if test $glibcxx_include_dir_notparallel = "yes"; then 81229 INCLUDE_DIR_NOTPARALLEL_TRUE= 81230 INCLUDE_DIR_NOTPARALLEL_FALSE='#' 81231 else 81232 INCLUDE_DIR_NOTPARALLEL_TRUE='#' 81233 INCLUDE_DIR_NOTPARALLEL_FALSE= 81234 fi 81235 81222 81236 81223 81237 # Propagate the target-specific source directories through the build chain. 81224 81238 ATOMICITY_SRCDIR=config/${atomicity_dir} … … 81913 81927 as_fn_error "conditional \"BUILD_PDF\" was never defined. 81914 81928 Usually this means the macro was only invoked conditionally." "$LINENO" 5 81915 81929 fi 81930 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then 81931 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined. 81932 Usually this means the macro was only invoked conditionally." "$LINENO" 5 81933 fi 81916 81934 81917 81935 : ${CONFIG_STATUS=./config.status} 81918 81936 ac_write_fail=0 -
gcc-7.2.0/libstdc++-v3/include/Makefile.am
old new 1475 1475 $(ext_headers): ; @: 1476 1476 $(experimental_headers): ; @: 1477 1477 $(experimental_bits_headers): ; @: 1478 if INCLUDE_DIR_NOTPARALLEL 1479 # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 1480 .NOTPARALLEL: 1481 endif -
gcc-7.2.0/libstdc++-v3/include/Makefile.in
old new 1897 1897 $(ext_headers): ; @: 1898 1898 $(experimental_headers): ; @: 1899 1899 $(experimental_bits_headers): ; @: 1900 # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 1901 @INCLUDE_DIR_NOTPARALLEL_TRUE@.NOTPARALLEL: 1900 1902 1901 1903 # Tell versions [3.59,3.63) of GNU make to not export all variables. 1902 1904 # Otherwise a system limit (for SysV at least) may be exceeded.