Skip to content

regression: TLS linker issues #96132

Closed
Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

Sample error:

 /usr/bin/ld: _ZN12actix_server6worker17MAX_CONNS_COUNTER7__getit5__KEY17h775958233b530a84E: TLS definition in /opt/rustwide/target/debug/deps/libactix_server-e79ae2ac501e8d6f.rlib(actix_server-e79ae2ac501e8d6f.actix_server.1b875993-cgu.14.rcgu.o) section .tbss._ZN12actix_server6worker17MAX_CONNS_COUNTER7__getit5__KEY17h775958233b530a84E mismatches non-TLS reference in /opt/rustwide/target/debug/deps/libactix_server-e79ae2ac501e8d6f.rlib(actix_server-e79ae2ac501e8d6f.actix_server.1b875993-cgu.9.rcgu.o)
[INFO] [stdout]           /usr/bin/ld: /opt/rustwide/target/debug/deps/libactix_server-e79ae2ac501e8d6f.rlib: error adding symbols: bad value

I suspect this is quite common -- it looks to be majority of the build failed "unknown" errors (~1000) in Crater results (https://crater-reports.s3.amazonaws.com/beta-1.61-1/index.html).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-thread-localsArea: Thread local storage (TLS)P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions