Skip to main content
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 Red Hat 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

    • Red Hat OpenShift AI
    • 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.

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

    • 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.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

glibc: Calling new contributors

September 30, 2024
Arjun Shankar
Related topics:
C, C#, C++LinuxOpen sourceRuntimes
Related products:
Red Hat Enterprise Linux

    This article is mostly a story about my attempt at getting new contributors involved in the glibc project, a summary of what I learned along the way, and an encouragement to contribute if you're on the fence.

    My entire stint at Red Hat has been focused around glibc and its Fedora and RHEL packages, and my upstream contributions reflect that.  I started off years ago with changes to the upstream testsuite.  I slowly built from there, having fixed various bugs, overhauled a couple of features, discovered and fixed security flaws, and reviewed patches by now -- with hopefully more work to come as opportunities arise.

    Obviously, while it's nice to "fix a deadlock in a POSIX interface implementation" as part of my day job, I feel that even seemingly small or minor contributions are valuable.  FOSS means that everyone stands to benefit from every useful change.  For example, every new memory allocator test can help ensure the continued quality/correctness of that subsystem and strengthen the guarantee that trillions of 'malloc' calls executed every hour on Linux systems around the world will continue to work as expected.  Every user, whether or not a Red Hat customer stands to benefit.  This is why it's important to make sure that projects like this continue to thrive and regularly attract new contributors to replace the (very natural and understandable) attrition.

    The glibc community is fairly active, but an in-depth look at the commit log for the last decade (2013-2022; I skipped 2023 and 2024 because measuring attrition gets a bit inaccurate when you don't allow enough time for contributors to make another commit) shows me that we average an attrition of around 48 contributors each year, with around 46 new contributors replacing them.  The number of commits made each year also appears to be in a very slight downtrend.  While I wasn't really looking at these numbers in the past, the data seems to indicate a trend that the community should try to reverse.

    Last summer, I got the idea of attempting to do some outreach for glibc in my head.  I wanted to see if I can give a talk about contributing to glibc, and perhaps winning a new contributor for the community.  Talk about a force multiplier!  I submitted and gave a talk at DevConf CZ, the local annual FOSS conference in Brno, Czech Republic where I live.  I titled it "Seven Easy Steps to Your First glibc Patch", hoping that the clickbait title will get me a reasonably sized audience.  The talk initially felt like a success.  I got multiple questions mid-talk and had discussions outside the hall with some interested attendees.  But after a couple of emails and LinkedIn connections, I realized that there would be no new patches coming out of it.  I spoke about this with seniors on my team and they reassured me that it's okay and that despite no new contributions, there's value in having done that talk.  So I made a mental note to try again a year later and went back to regular stuff.

    Eventually, Spring rolled around again and DevConf CZ was inviting new talk submissions for this year's edition and of course I applied.  This time, I wanted to do a workshop aimed at getting your first patch into glibc.  I wanted to show up with multiple small improvement ideas with limited and clear scope.  Something that will actually convert to patches.  At one of the weekly glibc patch review meetings (yeah!  We have those), I asked some of the other developers for ideas, and one of the suggestions I got was to look for interfaces that go untested during "make check".  I rolled with it, and with the help of a couple of objdump/sed incantations, I was able to come up with some specific ideas for patches of various difficulty levels, all around testing.  This time, the workshop was actually a success.  I handed out roughly twenty tasks and I got four actual patch submissions out of the workshop, each of them from a new first-time contributor. I know of at least one more patch that's in progress.  Obviously, there's no telling if any of the new contributors will end up joining to community, but the easier it gets for new contributors to get their first patch in, the higher the chances of one that might end up staying and becoming a part of the community for good.  Either way, I hope I did my part in trying to reverse contributor attrition for 2024.  If DevConf allows it or if I get a chance to do the same workshop again somewhere else next year, I intend to do so again.

    In the meanwhile, if any of this excites you, consider contributing!  The easiest start would be to write to libc-help@sourceware.org indicating your interest in contributing, and one of the regular contributors could help you find an idea to work on.  If you don't want to start off on a public mailing list, you're also welcome to write to me separately.  You'll find my email address in glibc's commit logs.  I'm curious to know if this blog post will convert to a patch or two.

    Last updated: October 1, 2024
    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Recent Posts

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    • Control multicluster costs with right-sizing in Red Hat Advanced Cluster Management 5

    • Lightbits is now certified for Red Hat OpenStack Services on OpenShift

    • What's new in Red Hat OpenShift 5 for developers

    • On-demand screen context in Red Hat Developer Hub intelligent assistant

    Red Hat Developers logo

    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
    Ask AI