| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0004941 | Spring engine | Linux | public | 2015-08-29 20:15 | 2016-01-22 03:26 | ||||
| Reporter | apoleon | ||||||||
| Assigned To | abma | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | resolved | Resolution | no change required | ||||||
| Product Version | 100.0 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004941: error: undefined reference to '__atomic_is_lock_free' | ||||||||
| Description | Hi, one spring 100.0 test fails to build from source with GCC 5.2. The affected file is test/engine/System/testThreadPool.cpp Please find attached the full build log with the error message. The error is apparently caused by std::atomic<int> cnt(0); BOOST_CHECK(cnt.is_lock_free()); GCC 5.2 requires that -latomic must be added to the linker stage. However this might be a bug in GCC. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65913 Perhaps it won't hurt to add -latomic anyway? Corresponding Debian bug report: https://bugs.debian.org/797282 | ||||||||
| Steps To Reproduce | Compile spring 100.0 tests with GCC 5.2 on Debian GNU/Linux amd64 | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
abma (administrator) 2015-08-31 00:09 |
i'm a bit undecided about this. 5.2 is very new, imo we should wait for 5.2.1 as this seems clearly a gcc bug. if its fixed there, everything is fine, if not a workarround makes sense. |
|
abma (administrator) 2016-01-22 03:26 |
seems its fixed with gcc 5.3 at least |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-08-29 20:15 | apoleon | New Issue | |
| 2015-08-29 20:15 | apoleon | File Added: spring_100.0+dfsg-1_amd64.build.gz | |
| 2015-08-31 00:09 | abma | Note Added: 0015105 | |
| 2015-08-31 00:09 | abma | Status | new => feedback |
| 2016-01-22 03:26 | abma | Note Added: 0015554 | |
| 2016-01-22 03:26 | abma | Status | feedback => resolved |
| 2016-01-22 03:26 | abma | Resolution | open => no change required |
| 2016-01-22 03:26 | abma | Assigned To | => abma |


