Ticket #2580 (closed: fixed)
Tests fail with gcc 4.5
Reported by: | Peter Peterson | Owned by: | Stuart Campbell |
---|---|---|---|
Priority: | blocker | Milestone: | Iteration 28 |
Component: | Mantid | Keywords: | |
Cc: | martyn.gigg@… | Blocked By: | |
Blocking: | Tester: | Andrei Savici |
Description (last modified by Stuart Campbell) (diff)
This is a major 'gotcha'. Roughly 200 tests fail when running from ctest. The xml files generated by the tests say that they pass (random sampling in DataHandling, but ctest says they failed. Until this is sorted out there will be a major problem for people using fedora 14 and ubuntu 11.04 to develop mantid.
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner set to Stuart Campbell
- Status changed from new to assigned
comment:3 Changed 10 years ago by Stuart Campbell
- Blocked By 2754 removed
I will try to test on the various platforms.
comment:4 Changed 10 years ago by Stuart Campbell
Fedora 14: gcc 4.5.1 / cmake 2.8.2 --> Passes All tests!
comment:5 Changed 10 years ago by Stuart Campbell
Fedora 15 (rawhide): gcc 4.6.0 / cmake 2.8.4 -> fails 134 tests
comment:8 Changed 10 years ago by Stuart Campbell
The reason that most of the tests fail is down to a crash in dlclose()
Inconsistency detected by ld.so: dl-close.c: 743: _dl_close: Assertion `map->l_init_called' failed!
Investigating further...
comment:9 Changed 10 years ago by Stuart Campbell
It looks like this is a bug in glibc. It is trying to call the destructors after dlclose, rather than before. This of course might not be the problem but it looks likely.
The recommended workaround is to just not call dlclose().
comment:11 Changed 10 years ago by Stuart Campbell
comment:12 Changed 9 years ago by Stuart Campbell
- Status changed from accepted to verify
- Resolution set to fixed
comment:13 Changed 9 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:14 Changed 9 years ago by Andrei Savici
- Status changed from verifying to closed
Works on Ubuntu 11.04beta
comment:15 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 3427