Hacking Thursday
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 2022-09-06 主題分享 -- 如何貢獻 glibc ## 活動資訊 - 日期: 2022-09-06 (二) 19:00 ~ 22:00 - 地點: 台北市中正區八德路一段94號3樓(摩茲工寮) - <https://moztw.org/space/> - Google Map: <https://g.page/MozTW?share> - 講者: 謝昇達 BestSteve - About: <https://about.me/BestSteve> - Github: <https://github.com/ibmibmibm> - 注意事項 - 場地無供餐,請自行帶晚餐飲食前來 - 有 WiFi 及電源插座 - 該場地有門禁,活動開始前會有志工到場開門。 - 視情況可聯絡志工遠端開門 - 費用: 無 - 主辦單位 - Hacking Thursday, <https://www.hackingthursday.org> - TOSSUG, <https://tossug.net/> ## 講題簡介 glibc, The GNU C Library, 存在絕大多數的 Unix/Linux 作業系統中,為系統最基礎的元素之一。Open Source 開發者 BestSteve 在開發 WebAssembly runtime 中,遇到浮點數轉整數的問題,這個問題也跟之後的 C20 標準有關 (TS 18661-1:2014),於是著手進行修改並向上游提交 patch 。然而,提交 glibc 的 patch 和其他 Open Source 專案在 github 直接開 Pull Request 有些不同,在於中間需要經過一些向自由軟體基金會(Free Software Foundation) 簽署一些著作權相關的文件的流程,同時溝通跟交換 patch 的過程是在 mailing-list 上進行,善用 git 的 send-email, format-patch 的功能,才能讓過程少一點痛苦。在走完所有官方的手續,及在 mailing-list 上反覆的溝通與修改的過程後,終於 2021 的 6 月正式將結果提交進到官方的 upstream 程式碼庫,並搭載在 >= 2.34 版的 glibc 函式庫中。 此次講題將邀請由 BestSteve 來分享此次提交 patch 的經驗與過程,內容可能會有(但不限於): - WebAssembly, C, C20, x86/x86_64 浮點數指令 - 浮點數轉整數的概況, ex: **TS 18661-1:2014**, roundeven - 貢獻程式碼給自由軟體基金會有哪些手續要處理 - `git send-mail`,`git format-patch` ref: - [glibc patches URL](https://sourceware.org/git/?p=glibc.git&a=search&h=f7b0fc5cc61301461e3c1a278240ce78701bb9a8&st=author&s=Shen-Ta+Hsieh) - glibc mailing list - <https://sourceware.org/pipermail/libc-alpha/2021-May/126749.html> - <https://sourceware.org/pipermail/libc-alpha/2021-May/126750.html> - <https://sourceware.org/pipermail/libc-alpha/2021-May/126751.html> ## 投影片 - <https://docs.google.com/presentation/d/15_6N_ojyu20hXIv-3MXSmWzMDqInvxDq-Gk63c_YSJA/> ## 錄影 - https://youtu.be/lHBrCzUx7TM ## 活動形式 於 19:00 ~ 20:00 大家各自下班後,由大家自行攜帶餐點及飲料至摩茲工寮邊吃邊聊、敘敘舊。待茶餘飯飽之後,約於 20:00 前後,由主持人簡短介紹當天的主題及講者後,由講者開始跟大家分享他的經驗跟見聞。 分享的時間長短不限,可以是 7 分鐘的 lightening talk, 也可以是 20~30 分鐘的侃侃而談。由講者自由發揮。 講者介紹完內容之後,後續即進入提問回答及自由閒聊時間。由於能和講者跟其他與會者第一手的接觸與交流,後半段的自由交流時間常常是能認識新朋友和意外收獲的好時光。 不論是老朋友、新朋友,都歡迎帶著一個輕鬆交流的心情前來參加。 ## 地圖資訊 <iframe src="https://www.google.com/maps/d/embed?mid=1vZP9eoaR3fznXtKWQ-ruUiqzgK2nqVM&ehbc=2E312F" width="100%" height="600"></iframe> ## 預計出席 場地可容納人數約 15 ~ 25 人。目前活動設定 15 人座位,候位 3 人。 報名方式為直接編輯此頁面,於下方列表登記。也歡迎現場直接參加,若人數超過上限,以有填表報名者優先 _有意出席的人,歡迎於下方登記+1,方便活動主辦方估算與準備_ 以下為登記列表: - [x] Mat +1 - [x] RJ +1 - [X] BestSteve +1 - [x] StarNight +1 - [x] Shawn +1 - [ ] eopXD +1 - [x] DouEnergy +1 - [x] Leolarrel +1 - [x] MKH +1 - [x] GMHuang +1 - [x] Eric - [x] proof.K +1 - [x] Wei Ji +1 - [x] Marconi Jiang, Eva +2 - [x] swt02026 - [x] wayling - [x] dreamerc - [x] Neal - [x] bluebat ## 活動照片 ![](https://i.imgur.com/6Nt9JTS.jpg) ![](https://i.imgur.com/ounD6Ig.jpg) ## 補充筆記 - <https://godbolt.org/> - 快速 preview compiler 產生 assembly 的結果

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully