Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Merge changes from TFS #109

Merged
merged 1 commit into from
Feb 6, 2015
Merged

Merge changes from TFS #109

merged 1 commit into from
Feb 6, 2015

Conversation

dotnet-bot
Copy link

No description provided.

Certain versions of the clang toolchain build libcoreclr.so with this symbol undefined. This symbol is just an alias of g_dispatch_cache_chain_success_counter and the issue was probably caused by the fact that we pass the CHAIN_SUCCESS_COUNTER as a parameter to macro and that macro then appends the @GOTPCREL to the symbol. It seems that in the problematic case, the assembler appends the @GOTPCREL to the CHAIN_SUCCESS_COUNTER instead of the original g_dispatch_cache_chain_success_counter symbol.
Changing the
CHAIN_SUCCESS_COUNTER = g_dispatch_cache_chain_success_counter
to
#define CHAIN_SUCCESS_COUNTER g_dispatch_cache_chain_success_counter
fixes the issue.

[tfs-changeset: 1411600]
jkotas added a commit that referenced this pull request Feb 6, 2015
@jkotas jkotas merged commit a67cc0a into dotnet:master Feb 6, 2015
@dotnet-bot dotnet-bot deleted the from-tfs branch February 6, 2015 15:28
janvorli referenced this pull request in kangaroo/coreclr Feb 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants