-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Noisy compilation on FreeBSD, warns of calling destructor in dlclose'd library #120413
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-thread-localsArea: Thread local storage (TLS)Area: Thread local storage (TLS)C-bugCategory: This is a bug.Category: This is a bug.O-freebsdOperating system: FreeBSDOperating system: FreeBSDT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
A-thread-localsArea: Thread local storage (TLS)Area: Thread local storage (TLS)C-bugCategory: This is a bug.Category: This is a bug.O-freebsdOperating system: FreeBSDOperating system: FreeBSDT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Apologies if this isn't the right place, it isn't obvious to me if this originates in rustc or should be upstreamed to FreeBSD.
My limited understand of the warnings however suggests it could be a misuse of
thread_locals on our end.The following comment from cxa_thread_atexit_impl.c seems relevant:
Meta
I can't reproduce this on latest stable, just latest nightly so far.