Closed wdeconinck closed 12 years ago
Yep, I confirm the same behaviour - is this a clang-macosx thing? Does clang 3.0 on Linux reproduces the same result?
The linker behaves slightly differently from macosx to Linux.
I'm upgrading my home machine to get clang 3.0. On Clang 2.9, I have no problems in linux.
My VUB iMac is up and running again with new hard disk after the crash. Soon this error will appear on dashboards near you. 2 builds are coming: a minimal one having only boost and openmpi, and a recommended build having the recommended deps.
This does not happen with clang 3.0 on linux, so it must be mac-specific. Given that it is a segfault, I'd say hunt it down: get a linker with debug symbols, get a backtrace, and send it to the clang developers. Maybe before that, adding the "-v" option to clang will already give more clues.
Miraculously this problem fixed itself, as it also came by itself :) Hurray!
Still using the same configuration as before. Also the OSX dashboard builds show this.
Since the last merge from barche, clang crashes again at linking utest-proto-heat, and other utest-proto executables. Only the UFEM/tests have this problem. The proto tests for cf3/solver don't have any problems.
The crash occurs both with clang 3.0 and clang 3.1. I realize this is probably a bug in clang, which should give a proper linking error message, but since this crash only started occurring since latest merge, maybe it is possible an error is introduced in cf3 nevertheless.
Since clang is one of our main supported compilers, this issue is marked as fatal and urgent. barche is assigned being the expert proto-clang-crasher :)