{"id":37145,"date":"2019-10-31T22:15:59","date_gmt":"2019-10-31T19:15:59","guid":{"rendered":"https:\/\/prohoster.info\/blog\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd\/"},"modified":"2019-10-31T22:15:59","modified_gmt":"2019-10-31T19:15:59","slug":"gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd","title":{"rendered":"GCC will be removed from the core of FreeBSD","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>FreeBSD Developers <noindex><a rel=\"nofollow\" href=\"https:\/\/lists.freebsd.org\/pipermail\/freebsd-arch\/2019-August\/019674.html\">have introduced<\/a><\/noindex> The plan to remove GCC 4.2.1 from the source texts of the FreeBSD base system. GCC components will be removed by the branching of FreeBSD 13, which will include only the Clang compiler. GCC can be installed from ports if desired, where it is offered. <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc8\/\">, can still be installed from packages and ports as before. GCC from ports is also recommended for building FreeBSD on architectures that rely on GCC and cannot switch to Clang. Recall that starting with FreeBSD 10, the base system for i386, AMD64, and ARM architectures has been transitioned to supply Clang compiler by default and the libc++ library developed by the LLVM project. GCC and libstdc++ for the mentioned architectures have long since stopped being built as part of the base system but continue to be supplied by default for powerpc, mips, mips64, and sparc64 architectures.<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc8\/\">7<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc8\/\">8<\/a><\/noindex>, as well as those already classified as obsolete <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/?page=2\">releases<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc48\/\">GCC 4.8<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc5\/\">5<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc6\/\">6<\/a><\/noindex> and <noindex><a rel=\"nofollow\" href=\"https:\/\/www.freshports.org\/lang\/gcc7\/\">7<\/a><\/noindex>.<\/p>\n<p>Architectures tied to GCC that cannot transition to Clang will be offered to switch to external tools installed from ports. As part of the preparation for the removal of GCC from the base system, work is planned to improve the integration of the base system's build system with external toolchains. For example, for the amd64 architecture, the continuous integration system has already been updated to include the ability to build using gcc 6.4 from ports, which can serve as a foundation for transitioning other architectures.<\/p>\n<p>Recall that starting from FreeBSD 10, the base system for architectures i386, AMD64, and ARM was transitioned to the default provision of the Clang compiler and the libc++ library developed by the LLVM project. GCC and libstdc++ for the specified architectures stopped being built as part of the base system, but continued to be provided by default for powerpc, mips, mips64, and sparc64 architectures, and could also be installed during a rebuild with the flags WITH_GCC and WITH_GNUCXX. The provision of the obsolete GCC 4.2.1 version was due to licensing restrictions.<\/p>\n<p>FreeBSD could not switch to a newer version of GCC, as starting from release 4.2.2, GCC was <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=12364\">transferred<\/a><\/noindex> to the GPLv3 license and the integration of GCC 4.2.2 was hindered by the incompatibility of GCC runtime components with the BSD license. Later, in GCC 4.4, this incompatibility <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=21376\">was resolved<\/a><\/noindex>, but adding GPLv3-licensed components to the FreeBSD base system was <noindex><a rel=\"nofollow\" href=\"https:\/\/web.archive.org\/web\/20070912192705\/http:\/\/www.freebsdfoundation.org\/press\/2007Aug-newsletter.shtml\">recognized as impossible<\/a><\/noindex> due to conflicts with <noindex><a rel=\"nofollow\" href=\"http:\/\/www.freebsd.org\/doc\/faq\/introduction.html#FreeBSD-goals\">the goals of the FreeBSD project<\/a><\/noindex> and the unwillingness to impose additional restrictions on users, such as prohibiting <noindex><a rel=\"nofollow\" href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%A2%D0%B8%D0%B2%D0%BE%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F\">Tivoization<\/a><\/noindex>.<\/p>\n<p>The process of removing GCC from the base system will be divided into several stages and will last 9 months, providing developers tied to GCC architectures (powerpc, mips, mips64, and sparc64) time to migrate to Clang or switch to using external tools. The first phase begins on August 31 and will lead to the exclusion of gcc 4.2.1 from the continuous integration system builds, as well as the cessation of the use of the '-Werror' flag for GCC-bound platforms and the disabling of GCC builds by default when running 'make universe'. <\/p>\n<p>On December 31, 2019, the GCC build will be disabled by default, but can still be re-enabled by specifying certain flags. On March 31, 2020, GCC will be removed from the SVN repository, and on May 31, all platforms not covered by the continuous integration system, which do not support LLVM or have not transitioned to external build tools, will be removed from SVN. On July 31, 2020, there will be a final removal from SVN of all remaining platforms requiring external tools but not supported in the release build scripts.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51286\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 FreeBSD \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u043b\u0430\u043d \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f GCC 4.2.1 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b FreeBSD. \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b GCC \u0431\u0443\u0434\u0443\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u044b \u0434\u043e \u043e\u0442\u0432\u0435\u0442\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0442\u043a\u0438 FreeBSD 13, \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 Clang. GCC \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f GCC 9, 7 \u0438 8, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0432 \u0440\u0430\u0437\u0440\u044f\u0434 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u0438 GCC [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-37145","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 FreeBSD \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u043b\u0430\u043d \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f GCC 4.2.1 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47GCC \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0451\u043d \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0430 FreeBSD | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 FreeBSD \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u043b\u0430\u043d \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f GCC 4.2.1 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:15:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:15:59+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47GCC will be removed from the core of FreeBSD | ProHoster","description":"FreeBSD developers have presented a plan to remove GCC 4.2.1 from the base system source code.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47GCC \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0451\u043d \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0430 FreeBSD | ProHoster","og:description":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 FreeBSD \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u043b\u0430\u043d \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f GCC 4.2.1 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/gcc-budet-udalyon-iz-osnovnogo-sostava-freebsd","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:15:59+00:00","article:modified_time":"2019-10-31T19:15:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"37145","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 06:17:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:32:14","updated":"2026-01-22 06:17:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=37145"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/37145\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=37145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=37145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=37145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}