Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Nov 17, 2018

Running all druntime unittests, this is the only place where an X32 regression was found, the effect seen was that live TLS data was being collected and freed at runtime.

@ibuclaw ibuclaw added Regression PRs that fix regressions GC garbage collector labels Nov 17, 2018
@ibuclaw ibuclaw requested a review from Burgos as a code owner November 17, 2018 15:17
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + druntime#2354"

else
{
c_ulong ti_module;
c_ulong ti_offset;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've verified that in other cases ti_module & ti_offset are unsigned long int.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, just for the discussion thread, I left size_t in as the default branch. At least musl defines this as a size_t[2] type.

(Grep'ing musl 1.16 for __tls__get_addr):

void *__tls_get_addr(size_t *);
...
return __tls_get_addr((size_t []){def.dso->tls_id, def.sym->st_value});

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By "other cases" I meant only by grepping the source of glibc. I didn't mean for musl etc.

@thewilsonator thewilsonator merged commit 86b0d3c into dlang:master Nov 17, 2018
@ibuclaw ibuclaw deleted the fixx32 branch November 22, 2018 06:18
chunorig pushed a commit to chunorig/gcc-kludges that referenced this pull request Jan 26, 2019
Commits merged from druntime.

    Fix struct tls_index definition on x32
    dlang/druntime#2354

    Update SectionGroup signatures to match on all targets
    dlang/druntime#2401

    Fix issue 19128 - argument to alloca may be too large
    dlang/druntime#2409

    Define some common filesystem limits in core.stdc.limits
    dlang/druntime#2460

    Use version Darwin instead of OSX in core.sys.posix.aio
    dlang/druntime#2470

Commits merged from phobos.

    Don't run HardFloat tests on SoftFloat systems
    dlang/phobos#5358

    Remove reliance on stdin, stdout, stderr being aliasable
    dlang/phobos#5718

    Solaris: add import clock_gettime to currStdTime
    dlang/phobos#5807

    Don't print debug messages when building unittests
    dlang/phobos#6827

    Add HPPA support to phobos
    Fixes https://gcc.gnu.org/PR89054
    dlang/phobos#6836

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268293 138bc75d-0d04-0410-961f-82ee72b054a4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

GC garbage collector Regression PRs that fix regressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants