Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
RichFelker's profile
Rich Felker
Rich Felker
Rich Felker
@RichFelker

Tweets

Rich Felker

@RichFelker

Yeah, I do @musllibc, FOSS & infosec stuff. But now is not the time for a mostly-/only-tech Twitter feed.

musl-libc.org
Joined March 2014

Tweets

  • © 2018 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Carlos O'Donell‏ @CarlosODonell Oct 1

      PSA: Static linking and threads has never worked with the GNU toolchain, it was always a limited use scenario and developers ignored the warnings. It doesn't work 100%. Still in draft form for Fedora C/C++ guidelines: https://fedoraproject.org/wiki/C_and_C%2B%2B_v2#Static_Linking …

      2 replies 10 retweets 21 likes
    2. Frank Ch. Eigler‏ @fche Oct 1
      Replying to @CarlosODonell

      If we made it work, we'd be more competitive with static-linkage-based toolchains.

      1 reply 0 retweets 0 likes
    3. Siddhesh Poyarekar‏ @siddhesh_p Oct 1
      Replying to @fche @CarlosODonell

      We might be able to do some of this if we build the plt table into the static binary (to allow patching in calls from dlopened modules) and build all of libc.a in. It will end up bloating the binary big time though... It also may not work when the module needs a newer glibc.

      3 replies 0 retweets 1 like
    4. Carlos O'Donell‏ @CarlosODonell Oct 1
      Replying to @siddhesh_p @fche

      Yes, but you'd have to revert useful optimizations in the static binary and keep PLTs present. It would be tough. Basically it ends up looking a lot like a dynamically linked binary that has been statically assembled and can later be relinked. It's not easy.

      1 reply 0 retweets 1 like
    5. Rich Felker‏ @RichFelker Oct 1
      Replying to @CarlosODonell @siddhesh_p @fche

      There are a lot of inherent problems with static linking and dlopen, stemming from the partial inclusion of any given library that turns library-internal interface surfaces into external ones.

      1 reply 0 retweets 1 like
      Rich Felker‏ @RichFelker Oct 1
      Replying to @RichFelker @CarlosODonell and

      I see two possible consistent approaches to dlopen with static linking, either...

      6:45 PM - 1 Oct 2018
      1 reply 0 retweets 0 likes
        1. New conversation
        2. Rich Felker‏ @RichFelker Oct 1
          Replying to @RichFelker @CarlosODonell and

          1/2) Have dlopen ignore and treat as already-opened any .so providing definitions of symbols already static linked. This means you need --whole-archive for these if you want additional symbols available at runtime.

          2 replies 0 retweets 0 likes
        3. Siddhesh Poyarekar‏ @siddhesh_p Oct 1
          Replying to @RichFelker @CarlosODonell @fche

          Yeah that's what my idea was, I guess I didn't do a good job of expressing it ;) You would still need a truckload of constraints to make it consistent.

          1 reply 0 retweets 0 likes
        4. Rich Felker‏ @RichFelker Oct 1
          Replying to @siddhesh_p @CarlosODonell @fche

          I think that covers making in consistent. The remaining part is whether it meets people's needs.

          1 reply 0 retweets 0 likes
        5. Carlos O'Donell‏ @CarlosODonell Oct 3
          Replying to @RichFelker @siddhesh_p @fche

          We have already discussed policy on this. I expect static linking in the future will not support dlopen, and we will fix everything else to work with static linking. This way you cant make a broken program. https://www.sourceware.org/ml/libc-alpha/2017-12/msg00831.html …

          2 replies 1 retweet 1 like
        6. Rich Felker‏ @RichFelker Oct 3
          Replying to @CarlosODonell @siddhesh_p @fche

          That may work for glibc where static linking is frowned upon, but for musl static dlopen is a much-requested feature and I think we can make it work reasonably and consistently.

          1 reply 0 retweets 1 like
        7. Carlos O'Donell‏ @CarlosODonell Oct 3
          Replying to @RichFelker @siddhesh_p @fche

          I am a staunch proponent for having static linking available as an option, but I'd like to see a working subset that is robust. I applaud your efforts to support static linking *and* dlopen.

          0 replies 0 retweets 2 likes
        8. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2018 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info