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

February/March 2016 GNU Toolchain Update Part 1

March 24, 2016
Nick Clifton
Related topics:
Containers
Related products:
Red Hat OpenShift

    Introduction

    The GNU Toolchain is a collection of  programming tools produced by the GNU Project. The tools are often packaged together due to their common use for developing software applications, operating systems, and low level software for embedded systems.

    This blog is part of a regular series covering the latest changes and improvements in the components that make up this Toolchain.  Apart from the announcement of new releases however, the features described here are at the very bleeding edge of software development in the tools.  This does mean that it may be a while before they make it into production releases, although interested parties can always build their own copies of the toolchain in order to try them out.

     

    New Releases:

    GDB 7.11

    Diving right in, this release brings many new features and enhancements to the debugger, including:

    • Per-inferior thread numbers.  (Thread numbers are now per inferior instead of being global).
    • Users can specify breakpoint locations using a more explicit syntax (named "explicit location").
    • When hitting a breakpoint or receiving a signal while debugging a multi-threaded program, the debugger now shows which thread triggered the event.
    • Record btrace now supports non-stop mode.
    • Various improvements on AArch64 GNU/Linux:
    • Multi-architecture debugging support.
    • Displaced stepping.
    • Tracepoint support added in GDBserver.
    • Kernel-based threads support on FreeBSD.

    GLIBC 2.23

    Not to be outdone the GLIBC team have also announced a major new release of the GNU C Library.  Full details can be found in the archived mail annoucncement.

    But if you don't feel like reading everything, here are some highlights:

    • Unicode 8.0.0 Support
    • getaddrinfo now detects certain invalid responses on an internal netlink socket.
    • A defect in the malloc implementation could result in the unnecessary serialization of memory allocation requests across threads. The defect is now corrected. Users should see a substantial increase in the concurrent throughput of allocation requests for applications which used to trigger this bug.  Affected applications typically create and destroy threads
      frequently.
    • There is now a --disable-timezone-tools configure option for disabling the building and installing of the timezone related utilities (zic, zdump, and tzselect).
    • The obsolete header <regexp.h> has been removed. Programs that require this header must be updated to use <regex.h> instead.
    • Optimized string, wcsmbs and memory functions for IBM z13.

    New features:

    Compiler

    In GCC-land, work on getting the code ready for the GCC 6 branch continues at a furious pace.  Some new features have made it in over the last couple of months, however. Here are the details:

    • Initial support for the C++ Extensions for Concepts Technical Specification, ISO 19217 (2015), has been added to G++. This allows code like this:

    template <class T> concept bool Addable = requires (T t) { t + t; };
    template <Addable T> T add (T a, T b) { return a + b; }

    • The new GCC warning option -Wnonnull-compare can be used to generate a warning when comparing a variable with the nonnull attribute against null.
    • The -Wunused-const-variable option has been extended. A setting of -Wunused-const-variable=1 only generates warnings about unused static const variables in the main compilation unit, and not in headers. A setting of -Wunused-const-variable=2 also warns about unused static const variables in non-system header files. This second setting corresponds to the old -Wunused-const-variable behaviour but it must now be explicitly requested since in C++ it is not an error and in C it might be hard to clean up all headers involved.
    • The -fshort-double command line option has now been deprecated.
    • The ARC backend of GCC now supports a -mfpu= command line option to select the type of floating point operations that can be used.
    • A GCC enhancement was made a while ago, but I totally failed to report on it. Fortunately reader David Wolfherd pointed this out to me, so here is the news:

    The inline assembler feature in GCC now has the ability to specify the flags set in the condition code register as part of the output of the asm. This helps the compiler as it can now use that information to improve the code that it generates after the inline asm.

    For more details see: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#FlagOutputOperands and: http://developers.redhat.com/blog/2016/02/25/new-asm-flags-feature-for-x86-in-gcc-6/

    Linker & Assembler

    There are also some changes to report in the binutils:

    • The binutils for ELF based targets can now handle commons as either the STT_COMMON or STT_OBJECT type. A configure time option can select the default, and command line options to ld, gas and objcopy can be used to specify exactly which type should be used.
    • The LD linker now supports a couple of new features:
    • The command line option -z noreloc-overflow in the x86-64 ELF linker to disable relocation overflow check.
    • The command line options -z nodynamic-undefined-weak in the x86 ELF linker can be used to avoid generating dynamic relocations against undefined weak symbols in executable.
    • The GAS assembler can now set ELF section flags and types via numeric values. This allows extra or unusual bits in these fields to be set.
    • GAS for x86 targets now also supports a command line option of -mfence-as-lock-add=yes which encodes the lfence, mfence and sfence opcodes as lock addl $0x0, (%[re]sp).
    • The ARC port of GAS now supports assembly-time relaxation.

    Newlib C library

    Last but not least, there is a new feature in newlib as well:

    • Newlib now supports the clog10 and clog10f math functions.

    Closing Notes

    That's it for this report... back in two months time. Meanwhile, I have a minor plug: some other Red Hat developers have written blogs about new features that will be in the upcoming GCC 6 release.  So if you are interested in what will happen, please see:

    http://developers.redhat.com/blog/2016/02/23/upcoming-features-in-gcc-6/

    and:

    http://developers.redhat.com/blog/2016/02/26/gcc-6-wmisleading-indentation-vs-goto-fail/

    Last updated: September 19, 2023

    Recent Posts

    • Installing Red Hat Enterprise Linux 10 from a bootc image with bootc

    • Why your database benchmarking data is probably wrong (and how I fixed mine)

    • Type what you want to break: AI-assisted chaos engineering with Krkn

    • Understanding evaluation collections in EvalHub

    • An overview of confidential containers on OpenShift bare metal

    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.