Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. This is a wild #rust toolchain bug:

This is a wild #rust toolchain bug:

Scheduled Pinned Locked Moved Uncategorized
rust
1 Posts 1 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • wtfismyip@gnu.glW This user is from outside of this forum
    wtfismyip@gnu.glW This user is from outside of this forum
    wtfismyip@gnu.gl
    wrote last edited by
    #1

    This is a wild #rust toolchain bug:

    Can only repro when the call to gettid is in a library crate, and only when it has a certain name, and only when not using -C target-feature=-crt-static, only when using LTO... The boundary is exactly at std! Crate names alphabetically ≥ std fail (including std itself), and crate names < std work!

    Link Preview Image
    Calling libc gettid segfaults on x86_64-unknown-linux-musl · Issue #154439 · rust-lang/rust

    View all comments This is a very strange one. Since 289fe36 (I bisected; cc @tgross35), my program that calls libc's gettid segfaults when built for x86_64-unknown-linux-musl. However, I can only reproduce this when the call to gettid is...

    favicon

    GitHub (github.com)

    1 Reply Last reply
    1
    0
    • R relay@relay.mycrowd.ca shared this topic
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups