Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pc_tls fails #3

Closed
wrwilliams opened this issue May 2, 2016 · 4 comments
Closed

pc_tls fails #3

wrwilliams opened this issue May 2, 2016 · 4 comments
Labels
Milestone

Comments

@wrwilliams
Copy link
Member

No description provided.

@jdetter
Copy link
Contributor

jdetter commented May 19, 2016

I am passing this on VEX and master:

[root@localhost testsuite]# ./test_driver -test pc_tls
TEST                       COMP   OPT  ABI MODE     THREAD  LINK    PIC     RESULT
pc_tls                     g++    none 64  create   SPST    dynamic nonPIC  PASSED

has this issue been fixed?

@wrwilliams
Copy link
Member Author

Single-process single-thread is not a meaningful test here (the SPST under thread). If you run multithreaded (I think it's -mt, but -test pc_tls -all will get it for sure) you should see a bunch of failures on threads other than the main one; the failure mode has been that each thread grabs the TLS value that we expect from the first one.

@jdetter
Copy link
Contributor

jdetter commented May 19, 2016

Very interesting. I it appears I actually pass all of the tests on Fedora 23. However, I get a flood of warnings and failures running on the RHEL 6. Seems like another case where Fedora 23 and RHEL6 are not giving us the same behavior.

[root@localhost testsuite]# ./test_driver -all -test pc_tls
TEST                       COMP   OPT  ABI MODE     THREAD  LINK    PIC     RESULT
pc_tls                     g++    none 64  create   SPST    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  create   MPST    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  create   SPMT    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  create   MPMT    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  attach   SPST    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  attach   MPST    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  attach   SPMT    dynamic nonPIC  PASSED
pc_tls                     g++    none 64  attach   MPMT    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  create   SPST    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  create   MPST    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  create   SPMT    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  create   MPMT    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  attach   SPST    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  attach   MPST    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  attach   SPMT    dynamic nonPIC  PASSED
pc_tls                     gcc    none 64  attach   MPMT    dynamic nonPIC  PASSED

@wrwilliams
Copy link
Member Author

Ah, my memory is refreshed: I am failing this in 32-bit mode, where we don't have a working libthreaddb. Closing and opening a testsuite-oriented bug, as it's a problem with the test suite's ability to match "valid mode for test", "valid way to build tests on this system", and "valid way to build this test on this system".

@wrwilliams wrwilliams added the bug label Apr 5, 2017
@matthieugras matthieugras mentioned this issue Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants