Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

New Red Hat compilers toolsets in beta: Clang and LLVM, GCC, Go, Rust

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

April 6, 2018
Mike Guerette
Related topics:
Developer toolsLinux
Related products:
Developer ToolsetRed Hat Enterprise Linux

    Twice a year, Red Hat distributes new versions of compiler toolsets, scripting languages, open source databases, and/or web tools, etc. so that application developers will have access to the latest, stable versions. These Red Hat supported offerings are packaged as Red Hat Software Collections (scripting languages, open source databases, web tools, etc.), Red Hat Developer Toolset (GCC), and the recently added compiler toolsets Clang/LLVM, Go, and Rust. All are yum installable, and are included in most Red Hat Enterprise Linux subscriptions and all Red Hat Enterprise Linux Developer Subscriptions. Most Red Hat Software Collections and Red Hat Developer Toolset components are also available as Linux container images for hybrid cloud development across Red Hat Enterprise Linux, Red Hat OpenShift Container Platform, etc.

    The new/updated compiler toolsets are:

    New version of the GCC compiler toolset:  Red Hat Developer Toolset 7.1 with GCC 7.3

    This is an update of the latest stable upstream updates of GCC 7. Developer Toolset (DTS) users are encouraged to update to DTS 7.1.

    The latest GNU Compiler Collection major release, GCC 7.3, brings substantial new functionality, including experimental support for the current C++17 draft, better diagnostics, and an improved optimizer, with many new intra- and inter-procedural optimizations. With respect to diagnostics, GCC 7 brings improved locations, location ranges, suggestions for misspelled identifiers, option names, fix-it hints, and new warnings.

    DTS 7 is available for the following architectures:

    • x86_64 (RHEL 6 & 7 )
    • ppc64le (RHEL 6)
    • aarch64 (RHEL 6)
    • s390x (RHEL 6)

    Where to find other versions of GCC and DTS?

    • DTS 6.1 has GCC version 6.3
    • DTS 4.1 has GCC version 5
    • (There is no DTS 5)
    • RHEL7 has GCC version 4.8
    • RHEL6 has GCC version 4.4
    • Updated DTS tools in DTS 7

    Linux Container image: rhscl-beta/devtoolset-7-toolchain-rhel7

    New version of the Clang and LLVM compiler toolset:  Clang and LLVM 5.0

    Clang is an "LLVM native" C/C++/Objective-C compiler, which aims to deliver amazingly fast compiles, extremely useful error and warning messages, and to provide a platform for building great source level tools. The Clang Static Analyzer is a tool that automatically finds bugs in your code, and is a great example of the sort of tool that can be built using the Clang frontend as a library to parse C/C++ code. The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for the RHEL CPU architectures.

    The Clang and LLVM toolset will release in the devtools repo as Tech Preview for RHEL 7 only. Customers are encouraged to use and evaluate the compiler but not to build applications for production. Frequent updates, not necessarily backward compatible, are planned until the LLVM toolset is considered stable enough for production support. There is currently no Clang and LLVM toolset available in RHEL7.

    The Clang and LLVM toolset is Tech Preview for RHEL 7 for:

    • x86_64
    • ppc64le
    • aarch64
    • s390x

    The following packages are included in this release:

    • llvm-toolset-7-llvm
    • llvm-toolset-7-clang

    New version of the Go compiler toolset: Golang 1.8.7

    This release of the Go toolset introduces a new version of the Golang1.8.7 compiler for use by RHEL customers and partners.

    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.

    Currently, a Golang compiler is available in the Optional channel of RHEL7. Long term, the compiler in Optional will be dropped in favor of this new Go toolset in devtools.

    RHEL developers now have the latest stable version of the upstream Go compiler for application development on RHEL7. The Go toolset will release in devtools as Tech Preview. Customers are encouraged to use and evaluate the compiler but not to build applications for production. Frequent updates, not necessarily backward compatible, are planned until the Go toolset is considered stable enough for production support.

    The Go toolset is Tech Preview for RHEL 7 and is available for:

    • x86_64
    • ppc64le
    • aarch64
    • s390x

    Package name:  go-toolset-7-golang

    New version of the Rust compiler toolset: Rust 1.24

    The first release of the Rust toolset is based on Rust version 1.20.

    Rust is an open source systems programming language created by Mozilla and a community of volunteers, designed to help developers create fast, secure applications which take full advantage of the powerful features of modern multi-core processors. It prevents segmentation faults and guarantees thread safety, all with an easy-to-learn syntax. In addition, Rust offers zero-cost abstractions, move semantics, guaranteed memory safety, threads with no data races, trait-based generics, pattern matching, type inference, and efficient C bindings, with a minimum runtime size.

    Cargo is Rust’s package manager and build tool. It allows Rust projects to declare dependencies with specific version requirements. Cargo will resolve the full dependency graph, download packages as needed, and build and test the entire project.

    Rust was added to RHEL devtools channel with RHSCL 3.0 (late 2017).

    The Rust toolset is Tech Preview for RHEL 7 and is available for:

    • x86_64
    • ppc64le
    • aarch64
    • s390x

    The following packages are included in this release:

    • rust-toolset-7
    • rust-toolset-7-rust
    • rust-toolset-7-cargo

    REFERENCES:

    • Developer Toolset and GCC 7.3 Hello World and Release Notes
    • Clang/LLVM 5.0, Go 1.8.7, and Rust 1.24:  Hello World and Release Notes
    • Red Hat Container Catalog
    Last updated: April 3, 2023

    Recent Posts

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    What’s up next?

     

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.