1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= GNU Compiler collection (GCC), Series 7
8 HOMEPAGE= https://gcc.gnu.org/
9 CONTACT= John_Marino[draco@marino.st]
12 SITES[main]= GCC/releases/gcc-7.3.0
13 DISTFILE[1]= gcc-7.3.0.tar.xz:main
15 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 BUILD_DEPENDS= gmp:static:standard
29 BUILDRUN_DEPENDS= binutils:single:ravensys
30 EXRUN[fortran_run]= gcc7:libs:standard
31 EXRUN[cxx_run]= gcc7:libs:standard
32 EXRUN[compilers]= gcc7:cxx_run:standard
34 USES= cpe gmake iconv:build libtool makeinfo perl:build
38 LICENSE= GPLv3+:compilers LGPL3+:compilers
40 LICENSE_TERMS= compilers:{{WRKDIR}}/TERMS
41 LICENSE_FILE= GPLv3+:{{WRKSRC}}/COPYING3
42 LGPL3+:{{WRKSRC}}/COPYING3.LIB
43 GPLv3RLE+:{{WRKSRC}}/COPYING.RUNTIME
46 PREFIX= {{LOCALBASE}}/toolchain/{{NAMEBASE}}
48 infopages:cppinternals
60 FPC_EQUIVALENT= lang/gcc7
64 CONFIGURE_OUTSOURCE= yes
65 CONFIGURE_ARGS= --enable-languages="c,c++,fortran"
66 --with-local-prefix={{LOCALBASE}}
68 --with-gmp={{LOCALBASE}}
69 --with-mpc={{LOCALBASE}}
70 --with-mpfr={{LOCALBASE}}
71 {{ICONV_CONFIGURE_ARG}}
73 --enable-threads=posix
74 --enable-checking=release
78 --disable-libsanitizer
83 --with-as={{LOCALBASE}}/toolchain/bin/as
84 --with-ld={{LOCALBASE}}/toolchain/bin/ld
85 --with-pkgversion="Ravenports"
88 INSTALL_TARGET= install-strip
89 PLIST_SUB= GCCVER=7.3.0
90 TARGET={{CONFIGURE_TARGET}}
92 VAR_OPSYS[freebsd]= CONFIGURE_ARGS=--disable-libstdcxx-pch
93 VAR_OPSYS[sunos]= CONFIGURE_ARGS=--without-gnu-ld
94 CONFIGURE_ARGS=--enable-symvers=no
97 # Update LINK_SPEC to add gcc-aux lib runpath in every binary
98 @${ECHO} "Configuring LINK_SPEC runpath"
99 ${REINPLACE_CMD} -e 's;\@PREFIX\@;${PREFIX:H};' \
100 -e 's;\@GCCAUX\@;${NAMEBASE};' \
101 ${WRKSRC}/gcc/config/dragonfly.h \
102 ${WRKSRC}/gcc/config/sol2.h \
103 ${WRKSRC}/gcc/config/i386/freebsd64.h \
104 ${WRKSRC}/gcc/config/i386/freebsd.h \
105 ${WRKSRC}/gcc/config/i386/gnu-user64.h \
106 ${WRKSRC}/gcc/config/aarch64/aarch64-freebsd.h
107 ${REINPLACE_CMD} -e 's|static:crtbeginT.o%s;||' \
108 ${WRKSRC}/gcc/config/freebsd-spec.h
110 post-install-freebsd:
111 ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/7.3.0/include-fixed
113 post-install-dragonfly:
114 ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/7.3.0/include-fixed
117 cp ${STAGEDIR}${PREFIX}/bin/gcc ${STAGEDIR}${PREFIX}/bin/cc
118 cp ${STAGEDIR}${PREFIX}/bin/g++ ${STAGEDIR}${PREFIX}/bin/CC
119 ${RM} ${STAGEDIR}${MANPREFIX}/man/man7/*
122 ${HEAD} -n 19 ${WRKSRC}/gcc/gcc.h > ${WRKDIR}/TERMS
123 ${HEAD} -n 31 ${WRKSRC}/gcc/ada/adaint.h >> ${WRKDIR}/TERMS
124 ${HEAD} -n 18 ${WRKSRC}/libiberty/hex.c >> ${WRKDIR}/TERMS
127 ${REINPLACE_CMD} -e 's|cp -p -r |cp -RP |' \
128 ${WRKSRC}/gcc/Makefile.in
129 ${REINPLACE_CMD} -e 's| install-gcc-specs||' \
130 ${WRKSRC}/gcc/ada/gcc-interface/Makefile.in
132 [FILE:236:descriptions/desc.compilers]
133 This is series 7 of the GNU Compiler Collection (GCC)
135 This compiler supports the following languages: C, C++, and Fortran.
136 The C++ front-end defaults to the gnu++14 standard.
138 This package contains the compilers, drivers, and headers.
141 [FILE:104:descriptions/desc.cxx_run]
142 This is series 7 of the GNU Compiler Collection (GCC)
144 This package contains the C++ runtime libraries.
147 [FILE:108:descriptions/desc.fortran_run]
148 This is series 7 of the GNU Compiler Collection (GCC)
150 This package contains the Fortran runtime libraries.
153 [FILE:156:descriptions/desc.libs]
154 This is series 7 of the GNU Compiler Collection (GCC)
156 This package contains the remaining runtime libraries after excluding
157 the C++ and Fortran libraries.
160 [FILE:126:descriptions/desc.infopages]
161 This is series 7 of the GNU Compiler Collection (GCC)
163 This package contains the man pages and info pages that come with GCC.
167 832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c 62462388 gcc-7.3.0.tar.xz
170 [FILE:26278:manifests/plist.compilers]
171 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/cilk.h
172 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/cilk_api.h
173 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/cilk_api_linux.h
174 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/cilk_stub.h
175 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/cilk_undocumented.h
176 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/common.h
177 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/holder.h
178 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/hyperobject_base.h
179 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/metaprogramming.h
180 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer.h
181 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_file.h
182 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_list.h
183 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_max.h
184 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_min.h
185 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_min_max.h
186 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_opadd.h
187 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_opand.h
188 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_opmul.h
189 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_opor.h
190 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_opxor.h
191 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_ostream.h
192 @comment lib/gcc/%%TARGET%%/%%GCCVER%%/include/cilk/reducer_string.h
193 %%ONLY-DRAGONFLY%%lib/gcc/%%TARGET%%/%%GCCVER%%/
196 %%ONLY-DRAGONFLY%%lib/gcc/%%TARGET%%/%%GCCVER%%/include/tgmath.h
197 %%ONLY-DRAGONFLY%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/
200 %%ONLY-DRAGONFLY%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/i386/dragonfly.h
201 %%ONLY-FREEBSD%%lib/gcc/%%TARGET%%/%%GCCVER%%/
204 %%ONLY-FREEBSD%%lib/gcc/%%TARGET%%/%%GCCVER%%/include/tgmath.h
205 %%ONLY-FREEBSD%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/
209 %%ONLY-FREEBSD%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/i386/
212 %%ONLY-LINUX%%lib/gcc/%%TARGET%%/%%GCCVER%%/
220 %%ONLY-LINUX%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/
224 %%ONLY-LINUX%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/linux/a.out.h
225 %%ONLY-LINUX%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/
231 %%ONLY-LINUX%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/i386/
239 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/
245 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include/tgmath.h
246 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/
255 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/dat/dat_platform_specific.h
256 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/iso/
262 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/mps/secport.h
263 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/netinet/
271 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/include-fixed/sys/
276 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/
280 %%ONLY-SUNOS%%lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/i386/
287 %%TARGET%%-gcc-%%GCCVER%%
290 %%TARGET%%-gcc-ranlib
305 include/c++/%%GCCVER%%/
395 include/c++/%%GCCVER%%/%%TARGET%%/bits/
418 include/c++/%%GCCVER%%/%%TARGET%%/ext/opt_random.h
419 include/c++/%%GCCVER%%/backward/
428 include/c++/%%GCCVER%%/bits/
435 atomic_lockfree_defines.h
440 boost_concept_check.h
448 cxxabi_init_exception.h
450 enable_special_members.h
474 locale_facets_nonio.h
475 locale_facets_nonio.tcc
522 stl_iterator_base_funcs.h
523 stl_iterator_base_types.h
531 stl_raw_storage_iter.h
554 include/c++/%%GCCVER%%/debug/
574 safe_local_iterator.h
575 safe_local_iterator.tcc
578 safe_unordered_base.h
579 safe_unordered_container.h
580 safe_unordered_container.tcc
588 include/c++/%%GCCVER%%/decimal/
591 include/c++/%%GCCVER%%/experimental/
622 include/c++/%%GCCVER%%/experimental/bits/
631 include/c++/%%GCCVER%%/ext/
640 codecvt_specializations.h
676 include/c++/%%GCCVER%%/ext/pb_ds/
680 list_update_policy.hpp
685 include/c++/%%GCCVER%%/ext/pb_ds/detail/
687 container_base_dispatch.hpp
689 priority_queue_base_dispatch.hpp
690 standard_policies.hpp
694 include/c++/%%GCCVER%%/ext/pb_ds/detail/bin_search_tree_/
696 constructors_destructor_fn_imps.hpp
702 iterators_fn_imps.hpp
705 policy_access_fn_imps.hpp
708 split_join_fn_imps.hpp
710 include/c++/%%GCCVER%%/ext/pb_ds/detail/binary_heap_/
713 constructors_destructor_fn_imps.hpp
721 iterators_fn_imps.hpp
722 point_const_iterator.hpp
723 policy_access_fn_imps.hpp
725 split_join_fn_imps.hpp
727 include/c++/%%GCCVER%%/ext/pb_ds/detail/binomial_heap_/
729 constructors_destructor_fn_imps.hpp
731 include/c++/%%GCCVER%%/ext/pb_ds/detail/binomial_heap_base_/
732 binomial_heap_base_.hpp
733 constructors_destructor_fn_imps.hpp
738 split_join_fn_imps.hpp
739 include/c++/%%GCCVER%%/ext/pb_ds/detail/branch_policy/
741 null_node_metadata.hpp
743 include/c++/%%GCCVER%%/ext/pb_ds/detail/cc_hash_table_map_/
746 cond_key_dtor_entry_dealtor.hpp
747 constructor_destructor_fn_imps.hpp
748 constructor_destructor_no_store_hash_fn_imps.hpp
749 constructor_destructor_store_hash_fn_imps.hpp
751 debug_no_store_hash_fn_imps.hpp
752 debug_store_hash_fn_imps.hpp
753 entry_list_fn_imps.hpp
755 erase_no_store_hash_fn_imps.hpp
756 erase_store_hash_fn_imps.hpp
758 find_store_hash_fn_imps.hpp
761 insert_no_store_hash_fn_imps.hpp
762 insert_store_hash_fn_imps.hpp
763 iterators_fn_imps.hpp
764 policy_access_fn_imps.hpp
766 resize_no_store_hash_fn_imps.hpp
767 resize_store_hash_fn_imps.hpp
770 include/c++/%%GCCVER%%/ext/pb_ds/detail/eq_fn/
773 include/c++/%%GCCVER%%/ext/pb_ds/detail/gp_hash_table_map_/
774 constructor_destructor_fn_imps.hpp
775 constructor_destructor_no_store_hash_fn_imps.hpp
776 constructor_destructor_store_hash_fn_imps.hpp
778 debug_no_store_hash_fn_imps.hpp
779 debug_store_hash_fn_imps.hpp
781 erase_no_store_hash_fn_imps.hpp
782 erase_store_hash_fn_imps.hpp
784 find_no_store_hash_fn_imps.hpp
785 find_store_hash_fn_imps.hpp
789 insert_no_store_hash_fn_imps.hpp
790 insert_store_hash_fn_imps.hpp
792 policy_access_fn_imps.hpp
794 resize_no_store_hash_fn_imps.hpp
795 resize_store_hash_fn_imps.hpp
797 include/c++/%%GCCVER%%/ext/pb_ds/detail/hash_fn/
798 direct_mask_range_hashing_imp.hpp
799 direct_mod_range_hashing_imp.hpp
800 linear_probe_fn_imp.hpp
801 mask_based_range_hashing.hpp
802 mod_based_range_hashing.hpp
804 quadratic_probe_fn_imp.hpp
808 sample_range_hashing.hpp
809 sample_ranged_hash_fn.hpp
810 sample_ranged_probe_fn.hpp
811 include/c++/%%GCCVER%%/ext/pb_ds/detail/left_child_next_sibling_heap_/
813 constructors_destructor_fn_imps.hpp
818 iterators_fn_imps.hpp
819 left_child_next_sibling_heap_.hpp
821 point_const_iterator.hpp
822 policy_access_fn_imps.hpp
824 include/c++/%%GCCVER%%/ext/pb_ds/detail/list_update_map_/
825 constructor_destructor_fn_imps.hpp
827 entry_metadata_base.hpp
832 iterators_fn_imps.hpp
835 include/c++/%%GCCVER%%/ext/pb_ds/detail/list_update_policy/
836 lu_counter_metadata.hpp
837 sample_update_policy.hpp
838 include/c++/%%GCCVER%%/ext/pb_ds/detail/ov_tree_map_/
839 constructors_destructor_fn_imps.hpp
844 iterators_fn_imps.hpp
847 policy_access_fn_imps.hpp
848 split_join_fn_imps.hpp
850 include/c++/%%GCCVER%%/ext/pb_ds/detail/pairing_heap_/
851 constructors_destructor_fn_imps.hpp
857 split_join_fn_imps.hpp
858 include/c++/%%GCCVER%%/ext/pb_ds/detail/pat_trie_/
859 constructors_destructor_fn_imps.hpp
864 insert_join_fn_imps.hpp
865 iterators_fn_imps.hpp
868 policy_access_fn_imps.hpp
872 synth_access_traits.hpp
876 include/c++/%%GCCVER%%/ext/pb_ds/detail/rb_tree_map_/
877 constructors_destructor_fn_imps.hpp
885 split_join_fn_imps.hpp
887 include/c++/%%GCCVER%%/ext/pb_ds/detail/rc_binomial_heap_/
888 constructors_destructor_fn_imps.hpp
893 rc_binomial_heap_.hpp
894 split_join_fn_imps.hpp
896 include/c++/%%GCCVER%%/ext/pb_ds/detail/resize_policy/
897 cc_hash_max_collision_check_resize_trigger_imp.hpp
898 hash_exponential_size_policy_imp.hpp
899 hash_load_check_resize_trigger_imp.hpp
900 hash_load_check_resize_trigger_size_base.hpp
901 hash_prime_size_policy_imp.hpp
902 hash_standard_resize_policy_imp.hpp
903 sample_resize_policy.hpp
904 sample_resize_trigger.hpp
905 sample_size_policy.hpp
906 include/c++/%%GCCVER%%/ext/pb_ds/detail/splay_tree_/
907 constructors_destructor_fn_imps.hpp
916 split_join_fn_imps.hpp
918 include/c++/%%GCCVER%%/ext/pb_ds/detail/thin_heap_/
919 constructors_destructor_fn_imps.hpp
924 split_join_fn_imps.hpp
927 include/c++/%%GCCVER%%/ext/pb_ds/detail/tree_policy/
928 node_metadata_selector.hpp
929 order_statistics_imp.hpp
930 sample_tree_node_update.hpp
931 include/c++/%%GCCVER%%/ext/pb_ds/detail/trie_policy/
932 node_metadata_selector.hpp
933 order_statistics_imp.hpp
934 prefix_search_node_update_imp.hpp
935 sample_trie_access_traits.hpp
936 sample_trie_node_update.hpp
938 trie_string_access_traits_imp.hpp
939 include/c++/%%GCCVER%%/ext/pb_ds/detail/unordered_iterator/
942 point_const_iterator.hpp
944 include/c++/%%GCCVER%%/parallel/
954 compiletime_settings.h
988 include/c++/%%GCCVER%%/profile/
1007 include/c++/%%GCCVER%%/profile/impl/
1010 profiler_container_size.h
1011 profiler_hash_func.h
1012 profiler_hashtable_size.h
1013 profiler_list_to_slist.h
1014 profiler_list_to_vector.h
1015 profiler_map_to_unordered_map.h
1019 profiler_vector_size.h
1020 profiler_vector_to_list.h
1021 include/c++/%%GCCVER%%/tr1/
1055 legendre_function.tcc
1059 modified_bessel_func.tcc
1068 special_function_util.h
1084 include/c++/%%GCCVER%%/tr2/
1091 lib/gcc/%%TARGET%%/%%GCCVER%%/
1098 lib/gcc/%%TARGET%%/%%GCCVER%%/finclude/
1110 lib/gcc/%%TARGET%%/%%GCCVER%%/include/
1114 avx5124fmapsintrin.h
1115 avx5124vnniwintrin.h
1122 avx512ifmavlintrin.h
1125 avx512vbmivlintrin.h
1129 avx512vpopcntdqintrin.h
1191 lib/gcc/%%TARGET%%/%%GCCVER%%/include/ssp/
1196 lib/gcc/%%TARGET%%/%%GCCVER%%/install-tools/
1201 lib/gcc/%%TARGET%%/%%GCCVER%%/install-tools/include/
1204 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/
1208 libcc1plugin.so.0.0.0
1211 libcp1plugin.so.0.0.0
1212 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/
1325 gimple-pretty-print.h
1350 highlev-plugin-common.h
1488 substring-locations.h
1495 target-hooks-macros.h
1533 tree-scalar-evolution.h
1540 tree-ssa-loop-ivopts.h
1541 tree-ssa-loop-manip.h
1542 tree-ssa-loop-niter.h
1545 tree-ssa-propagate.h
1547 tree-ssa-scopedtables.h
1549 tree-ssa-threadbackward.h
1550 tree-ssa-threadedge.h
1551 tree-ssa-threadupdate.h
1577 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/ada/gcc-interface/ada-tree.def
1578 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/c-family/
1584 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/
1589 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/config/i386/
1599 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/cp/
1605 lib/gcc/%%TARGET%%/%%GCCVER%%/plugin/include/objc/objc-tree.def
1606 libexec/gcc/%%TARGET%%/%%GCCVER%%/
1613 liblto_plugin.so.0.0.0
1616 libexec/gcc/%%TARGET%%/%%GCCVER%%/install-tools/
1621 libexec/gcc/%%TARGET%%/%%GCCVER%%/plugin/gengtype
1624 [FILE:262:manifests/plist.cxx_run]
1630 libstdc++.so.6.0.24-gdb.py
1633 share/gcc-%%GCCVER%%/python/libstdcxx/__init__.py
1634 share/gcc-%%GCCVER%%/python/libstdcxx/v6/
1640 [FILE:240:manifests/plist.fortran_run]
1645 libgfortran.so.4.0.0
1655 libquadmath.so.0.0.0
1658 [FILE:452:manifests/plist.libs]
1659 @comment %%ASLIB%%/libcilkrts.a
1660 @comment %%ASLIB%%/libcilkrts.so
1661 @comment %%ASLIB%%/libcilkrts.so.5
1662 @comment %%ASLIB%%/libcilkrts.so.5.0.0
1663 @comment %%ASLIB%%/libcilkrts.spec
1686 [FILE:104:manifests/plist.infopages]
1697 [FILE:4761:patches/patch-diff-core]
1698 --- gcc/config/dragonfly.h.orig
1699 +++ gcc/config/dragonfly.h
1702 %{static:-Bstatic} \
1704 - %{!static:--hash-style=gnu} \
1705 + %{!static:--hash-style=gnu --enable-new-dtags -rpath @PREFIX@/@GCCAUX@/lib} \
1706 %{symbolic:-Bsymbolic}"
1709 #define LINK_SPEC DFBSD_LINK_SPEC
1711 -#define DFBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.2"
1712 +#define DFBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.2"
1715 /* Use --as-needed -lgcc_s for eh support. */
1716 --- gcc/config/sol2.h.orig
1717 +++ gcc/config/sol2.h
1719 %{static:-dn -Bstatic} \
1720 %{shared:-G -dy %{!mimpure-text:-z text}} " \
1721 LINK_LIBGCC_MAPFILE_SPEC LINK_CLEARCAP_SPEC " \
1722 + %{!static:-R/lib/amd64:@PREFIX@/@GCCAUX@/lib/amd64} \
1723 %{symbolic:-Bsymbolic -G -dy -z text} \
1726 --- gcc/config/aarch64/aarch64-freebsd.h.orig
1727 +++ gcc/config/aarch64/aarch64-freebsd.h
1729 %{symbolic:-Bsymbolic} \
1730 %{static:-Bstatic} \
1732 + %{!static:--hash-style=gnu --enable-new-dtags -rpath @PREFIX@/@GCCAUX@/lib} \
1733 %{rdynamic:-export-dynamic} \
1734 %{!shared:-dynamic-linker " FBSD_DYNAMIC_LINKER " }} \
1735 -X" SUBTARGET_EXTRA_LINK_SPEC " \
1738 #define MCOUNT_NAME ".mcount"
1740 +/* Static stack checking is supported by means of probes. */
1741 +#define STACK_CHECK_STATIC_BUILTIN 1
1742 #endif /* GCC_AARCH64_FREEBSD_H */
1743 --- gcc/config/i386/freebsd.h.orig
1744 +++ gcc/config/i386/freebsd.h
1746 %{rdynamic:-export-dynamic} \
1747 -dynamic-linker %(fbsd_dynamic_linker) } \
1748 %{static:-Bstatic}} \
1749 + %{!static:--hash-style=gnu --enable-new-dtags -rpath @PREFIX@/@GCCAUX@/lib} \
1750 %{symbolic:-Bsymbolic}"
1752 /* A C statement to output to the stdio stream FILE an assembler
1753 --- gcc/config/i386/freebsd64.h.orig
1754 +++ gcc/config/i386/freebsd64.h
1756 %{rdynamic:-export-dynamic} \
1757 -dynamic-linker %(fbsd_dynamic_linker) } \
1758 %{static:-Bstatic}} \
1759 + %{!static:--hash-style=gnu -rpath @PREFIX@/@GCCAUX@/lib} \
1760 %{symbolic:-Bsymbolic}"
1761 --- gcc/Makefile.in.orig
1763 @@ -1200,7 +1200,6 @@
1771 @@ -1597,6 +1596,7 @@
1772 $(OBJS-libcommon-target) main.o c-family/cppspec.o \
1773 $(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) $(GCOV_OBJS) $(GCOV_DUMP_OBJS) \
1774 $(GCOV_TOOL_OBJS) $(GENGTYPE_OBJS) gcc-ar.o gcc-nm.o gcc-ranlib.o \
1775 + insn-modes.o insn-modes-ada.o \
1776 lto-wrapper.o collect-utils.o
1778 # for anything that is shared use the cc1plus profile data, as that
1779 @@ -1612,6 +1612,11 @@
1780 ALL_HOST_OBJS = $(ALL_HOST_FRONTEND_OBJS) $(ALL_HOST_BACKEND_OBJS)
1782 BACKEND = libbackend.a main.o libcommon-target.a libcommon.a \
1784 + $(CPPLIB) $(LIBDECNUMBER)
1786 +BACKEND2 = libbackend.a main.o libcommon-target.a libcommon.a \
1787 + insn-modes-ada.o \
1788 $(CPPLIB) $(LIBDECNUMBER)
1790 # This is defined to "yes" if Tree checking is enabled, which roughly means
1791 @@ -2312,6 +2317,7 @@
1793 insn-modes.c: s-modes; @true
1794 insn-modes.h: s-modes-h; @true
1795 +insn-modes-ada.c: s-modes-ada; @true
1796 min-insn-modes.c: s-modes-m; @true
1798 s-modes: build/genmodes$(build_exeext)
1799 @@ -2329,6 +2335,12 @@
1800 $(SHELL) $(srcdir)/../move-if-change tmp-min-modes.c min-insn-modes.c
1803 +s-modes-ada: s-modes
1804 + $(shell sed -e 's/: TARGET_96_ROUND_53_LONG_DOUBLE \? &ieee_extended_intel_96_round_53_format //' \
1805 + < insn-modes.c > tmp-modes-ada.c)
1806 + $(SHELL) $(srcdir)/../move-if-change tmp-modes-ada.c insn-modes-ada.c
1807 + $(STAMP) s-modes-ada
1809 insn-preds.c: s-preds; @true
1810 tm-preds.h: s-preds-h; @true
1811 tm-constrs.h: s-constrs-h; @true
1812 @@ -3536,6 +3548,9 @@
1813 ( cd $(DESTDIR)$(bindir) && \
1814 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(FULL_DRIVER_NAME) ); \
1816 + if [ -f gnat1$(exeext) ] ; then \
1817 + ( cd $(DESTDIR)$(bindir) && $(LN) $(GCC_INSTALL_NAME)$(exeext) ada$(exeext) ) \
1819 if [ ! -f gcc-cross$(exeext) ] \
1820 && [ "$(GCC_INSTALL_NAME)" != "$(GCC_TARGET_INSTALL_NAME)" ]; then \
1821 rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \
1822 --- gcc/config/i386/gnu-user64.h.orig
1823 +++ gcc/config/i386/gnu-user64.h
1825 %{" SPEC_32 ":-m " GNU_USER_LINK_EMULATION32 "} \
1826 %{" SPEC_X32 ":-m " GNU_USER_LINK_EMULATIONX32 "} \
1828 + %{!static:--enable-new-dtags -rpath @PREFIX@/@GCCAUX@/lib64} \
1831 %{rdynamic:-export-dynamic} \
1834 [FILE:8816:patches/patch-diff-cxx]
1835 --- libstdc++-v3/configure.host.orig
1836 +++ libstdc++-v3/configure.host
1839 os_include_dir="os/bsd/freebsd"
1842 + os_include_dir="os/bionic"
1845 os_include_dir="os/generic"
1847 --- libstdc++-v3/config/os/bionic/ctype_base.h.orig
1848 +++ libstdc++-v3/config/os/bionic/ctype_base.h
1850 // Non-standard typedefs.
1851 typedef const int* __to_type;
1854 +#define _U _CTYPE_U
1855 +#define _L _CTYPE_L
1856 +#define _D _CTYPE_D
1857 +#define _S _CTYPE_S
1858 +#define _P _CTYPE_P
1859 +#define _C _CTYPE_C
1860 +#define _X _CTYPE_X
1861 +#define _B _CTYPE_B
1862 +#define _N _CTYPE_D
1865 // NB: Offsets into ctype<char>::_M_table force a particular size
1866 // on the mask type. Because of this, we don't use an enum.
1868 --- libstdc++-v3/src/c++11/futex.cc.orig
1869 +++ libstdc++-v3/src/c++11/futex.cc
1871 #if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1
1875 +#include <sys/syscall.h>
1877 #include <syscall.h>
1880 #include <sys/time.h>
1882 --- libstdc++-v3/src/filesystem/dir.cc.orig
1883 +++ libstdc++-v3/src/filesystem/dir.cc
1884 @@ -146,7 +146,13 @@
1886 int err = std::exchange(errno, 0);
1887 const auto entp = readdir(dirp);
1889 + int tmperr = errno;
1893 std::swap(errno, err);
1898 --- libstdc++-v3/include/bits/c++config.orig
1899 +++ libstdc++-v3/include/bits/c++config
1901 #ifndef _GLIBCXX_CXX_CONFIG_H
1902 #define _GLIBCXX_CXX_CONFIG_H 1
1907 +#define _GTHROW throw()
1910 // The major release number for the GCC release the C++ library belongs to.
1911 #define _GLIBCXX_RELEASE
1913 --- libstdc++-v3/include/c_global/cstdio.orig
1914 +++ libstdc++-v3/include/c_global/cstdio
1915 @@ -159,16 +159,16 @@
1916 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
1918 (snprintf)(char * __restrict, std::size_t, const char * __restrict, ...)
1922 (vfscanf)(FILE * __restrict, const char * __restrict, __gnuc_va_list);
1923 extern "C" int (vscanf)(const char * __restrict, __gnuc_va_list);
1925 (vsnprintf)(char * __restrict, std::size_t, const char * __restrict,
1926 - __gnuc_va_list) throw ();
1927 + __gnuc_va_list) _GTHROW;
1929 (vsscanf)(const char * __restrict, const char * __restrict, __gnuc_va_list)
1934 #if !_GLIBCXX_USE_C99_DYNAMIC
1935 --- libstdc++-v3/include/c_global/cstdlib.orig
1936 +++ libstdc++-v3/include/c_global/cstdlib
1941 - extern "C" void abort(void) throw () _GLIBCXX_NORETURN;
1942 - extern "C" int atexit(void (*)(void)) throw ();
1943 - extern "C" void exit(int) throw () _GLIBCXX_NORETURN;
1944 + extern "C" void abort(void) _GTHROW _GLIBCXX_NORETURN;
1945 + extern "C" int atexit(void (*)(void)) _GTHROW;
1946 + extern "C" void exit(int) _GTHROW _GLIBCXX_NORETURN;
1947 #if __cplusplus >= 201103L
1948 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT
1949 - extern "C" int at_quick_exit(void (*)(void)) throw ();
1950 + extern "C" int at_quick_exit(void (*)(void)) _GTHROW;
1952 # ifdef _GLIBCXX_HAVE_QUICK_EXIT
1953 - extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN;
1954 + extern "C" void quick_exit(int) _GTHROW _GLIBCXX_NORETURN;
1961 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
1962 - extern "C" void (_Exit)(int) throw () _GLIBCXX_NORETURN;
1963 + extern "C" void (_Exit)(int) _GTHROW _GLIBCXX_NORETURN;
1965 #if !_GLIBCXX_USE_C99_DYNAMIC
1967 @@ -211,11 +211,11 @@
1970 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
1971 - extern "C" long long int (atoll)(const char *) throw ();
1972 + extern "C" long long int (atoll)(const char *) _GTHROW;
1973 extern "C" long long int
1974 - (strtoll)(const char * __restrict, char ** __restrict, int) throw ();
1975 + (strtoll)(const char * __restrict, char ** __restrict, int) _GTHROW;
1976 extern "C" unsigned long long int
1977 - (strtoull)(const char * __restrict, char ** __restrict, int) throw ();
1978 + (strtoull)(const char * __restrict, char ** __restrict, int) _GTHROW;
1980 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
1982 --- libstdc++-v3/include/c_global/cwchar.orig
1983 +++ libstdc++-v3/include/c_global/cwchar
1984 @@ -242,16 +242,16 @@
1986 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
1987 extern "C" long double
1988 - (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) throw ();
1989 + (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) _GTHROW;
1991 #if !_GLIBCXX_USE_C99_DYNAMIC
1994 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
1995 extern "C" long long int
1996 - (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
1997 + (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) _GTHROW;
1998 extern "C" unsigned long long int
1999 - (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
2000 + (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) _GTHROW;
2002 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
2004 --- libstdc++-v3/include/c_std/cstdio.orig
2005 +++ libstdc++-v3/include/c_std/cstdio
2006 @@ -157,16 +157,16 @@
2007 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
2009 (snprintf)(char * __restrict, std::size_t, const char * __restrict, ...)
2013 (vfscanf)(FILE * __restrict, const char * __restrict, __gnuc_va_list);
2014 extern "C" int (vscanf)(const char * __restrict, __gnuc_va_list);
2016 (vsnprintf)(char * __restrict, std::size_t, const char * __restrict,
2017 - __gnuc_va_list) throw ();
2018 + __gnuc_va_list) _GTHROW;
2020 (vsscanf)(const char * __restrict, const char * __restrict, __gnuc_va_list)
2025 #if !_GLIBCXX_USE_C99_DYNAMIC
2026 --- libstdc++-v3/include/c_std/cstdlib.orig
2027 +++ libstdc++-v3/include/c_std/cstdlib
2032 - extern "C" void abort(void) throw () _GLIBCXX_NORETURN;
2033 - extern "C" int atexit(void (*)(void)) throw ();
2034 - extern "C" void exit(int) throw () _GLIBCXX_NORETURN;
2035 + extern "C" void abort(void) _GTHROW _GLIBCXX_NORETURN;
2036 + extern "C" int atexit(void (*)(void)) _GTHROW;
2037 + extern "C" void exit(int) _GTHROW _GLIBCXX_NORETURN;
2038 #if __cplusplus >= 201103L
2039 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT
2040 - extern "C" int at_quick_exit(void (*)(void)) throw ();
2041 + extern "C" int at_quick_exit(void (*)(void)) _GTHROW;
2043 # ifdef _GLIBCXX_HAVE_QUICK_EXIT
2044 - extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN;
2045 + extern "C" void quick_exit(int) _GTHROW _GLIBCXX_NORETURN;
2052 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
2053 - extern "C" void (_Exit)(int) throw () _GLIBCXX_NORETURN;
2054 + extern "C" void (_Exit)(int) _GTHROW _GLIBCXX_NORETURN;
2056 #if !_GLIBCXX_USE_C99_DYNAMIC
2058 @@ -228,11 +228,11 @@
2061 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
2062 - extern "C" long long int (atoll)(const char *) throw ();
2063 + extern "C" long long int (atoll)(const char *) _GTHROW;
2064 extern "C" long long int
2065 - (strtoll)(const char * __restrict, char ** __restrict, int) throw ();
2066 + (strtoll)(const char * __restrict, char ** __restrict, int) _GTHROW;
2067 extern "C" unsigned long long int
2068 - (strtoull)(const char * __restrict, char ** __restrict, int) throw ();
2069 + (strtoull)(const char * __restrict, char ** __restrict, int) _GTHROW;
2071 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
2073 --- libstdc++-v3/include/c_std/cwchar.orig
2074 +++ libstdc++-v3/include/c_std/cwchar
2075 @@ -238,16 +238,16 @@
2077 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
2078 extern "C" long double
2079 - (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) throw ();
2080 + (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) _GTHROW;
2082 #if !_GLIBCXX_USE_C99_DYNAMIC
2085 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
2086 extern "C" long long int
2087 - (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
2088 + (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) _GTHROW;
2089 extern "C" unsigned long long int
2090 - (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
2091 + (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) _GTHROW;
2093 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
2097 [FILE:1612:patches/patch-diff-gcc-testsuite]
2098 --- gcc/testsuite/gcc.dg/format/ext-1.c.orig
2099 +++ gcc/testsuite/gcc.dg/format/ext-1.c
2104 -foo (quad_t q, u_quad_t uq, quad_t *qn, size_t z, size_t *zn, long long int ll,
2105 +foo (quad2_t q, u_quad2_t uq, quad2_t *qn, size_t z, size_t *zn, long long int ll,
2106 unsigned long long int ull, int i, unsigned int u, double d,
2107 char *s, void *p, wchar_t *ls, wint_t lc, int *n, long int l)
2109 --- gcc/testsuite/gcc.dg/format/ext-2.c.orig
2110 +++ gcc/testsuite/gcc.dg/format/ext-2.c
2115 -foo (quad_t *qp, u_quad_t *uqp, quad_t *qn, long long int *llp,
2116 +foo (quad2_t *qp, u_quad2_t *uqp, quad2_t *qn, long long int *llp,
2117 unsigned long long int *ullp, float *fp, char *s, void **pp, wchar_t *ls,
2118 int *ip, unsigned int *up)
2120 --- gcc/testsuite/gcc.dg/format/format.h.orig
2121 +++ gcc/testsuite/gcc.dg/format/format.h
2125 /* %q formats want a "quad"; GCC considers this to be a long long. */
2126 -typedef llong quad_t;
2127 -typedef ullong u_quad_t;
2128 +typedef llong quad2_t;
2129 +typedef ullong u_quad2_t;
2131 __extension__ typedef __INTMAX_TYPE__ intmax_t;
2132 __extension__ typedef __UINTMAX_TYPE__ uintmax_t;
2133 --- gcc/testsuite/gcc.dg/pch/pch.exp.orig
2134 +++ gcc/testsuite/gcc.dg/pch/pch.exp
2136 set test "largefile.c"
2137 set testh "largefile.hs"
2138 set f [open $test w]
2139 +puts $f "/* { dg-do run { target *-*-solaris* } } */"
2140 +puts $f "/* { dg-error \"dummy\" \"fool dejagnu\" { target { ! *-*-solaris* } 20 } } */"
2141 puts $f "/* { dg-timeout-factor 4.0 } */"
2143 for { set v 0 } { $v < 10000 } { incr v } {
2146 [FILE:286:sunos/patch-gcc_config.build]
2147 --- gcc/config.build.orig 2017-01-01 12:07:43 UTC
2148 +++ gcc/config.build
2153 -build_install_headers_dir=install-headers-tar
2154 +build_install_headers_dir=install-headers-cp
2155 build_file_translate=
2157 # System-specific settings.