| Age | Commit message (Collapse) | Author |
|
Thanks to rillig for spotting my mistake.
|
|
the gcc specs are currently broken.
PR/56876: hppa: "cc -pg" fails with "undefined reference to `mprotect'"
|
|
Note that it seems to work even for GCC8, according to log data of
official test runs, e.g.,
https://releng.netbsd.org/b5reports/evbarm-aarch64/2020/2020.09.01.15.45.20/test.log
|
|
XXX file a PR to xref
|
|
Add new variations for existing C++ tests:
- Static
- Profile+32-bit
- PIC+32-bit
- PIC+Profile
- PIC+Profile+32-bit
All tests pass for NetBSD/amd64:
- t_cxxruntime
- t_hello
- t_static_destructor
+--------------------------------------------------------------+
| Options | cxxruntime | hello | static_destructor |
+--------------------------------------------------------------+
| None | Passed | Passed | Passed |
| 32-bit | Passed | Passed | Passed |
| PIC | Passed | Passed | Passed |
| PIE | Passed | Passed | Passed |
| Profile | Passed | Passed | Passed |
| Static | Passed | Passed | Passed |
| Profile+32-bit | Passed | Passed | Passed |
| PIC+32-bit | Passed | Passed | Passed |
| PIC+Profile | Passed | Passed | Passed |
| PIC+Profile+32-bit | Passed | Passed | Passed |
+--------------------------------------------------------------+
Add new C++11 std::call_once tests:
- t_call_once
- t_call_once2
Add new C++11 test with pthread_once(3) and C++ lambda:
- t_pthread_once
All tests with the profile option for std::call_once and
pthread_once(3) are marked as expected failure (NetBSD/amd64).
Results for *_once*:
+------------------------------------------------------------+
| Options | call_once | call_once2 | pthread_once |
+------------------------------------------------------------+
| None | Passed | Passed | Passed |
| 32-bit | Passed | Passed | Passed |
| PIC | Passed | Passed | Passed |
| PIE | Passed | Passed | Passed |
| Profile | Failed | Failed | Failed |
| Static | Passed | Passed | Passed |
| Profile+32-bit | Failed | Failed | Failed |
| PIC+32-bit | Passed | Passed | Passed |
| PIC+Profile | Failed | Failed | Failed |
| PIC+Profile+32-bit | Failed | Failed | Failed |
+------------------------------------------------------------+
Long term there is an option to refacotr the framework for C and C++ tests,
in order to reduce code duplication.
Patches sent by Yang Zheng <tomsun.0.7@gmail.com>
|
|
These tests are cloned from t_cxxruntime and check proper order of destructor
calls. They must be reported in reverse order of constructor completion.
Added tests:
- static_destructor
- static_destructor_pic
- static_destructor_pie
- static_destructor32
This test file replaces src/regress/usr.bin/c++/static_destructor.
|