<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I’ve just updated the install scripts in <a href="https://github.com/sloede/install-bgq" class="">https://github.com/sloede/install-bgq</a> to include the gcc/4.7.2 fixup rpm.
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 05 Apr 2015, at 14:53 , Hal Finkel <<a href="mailto:hfinkel@anl.gov" class="">hfinkel@anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hi everyone,<br class="">
<br class="">
For those following the nightly builds, as of r234111-20150405, an additional rpm will need to be installed: toolchain-fixup-4.7.2 (the download link is near the bottom of the nightly builds page). This rpm contains a rebuild of libgcc_s.so.1 from the 4.7.2
toolchain which properly handles unwinding for dynamically linked applications.<br class="">
<br class="">
Why? Unfortunately, because of the way that IBM patched and built the 4.7.2 toolchain, the libgcc_s.so.1 provided does not work correctly. Specifically, it does not properly restore the TOC pointer in register r2 when entering a catch block (which happens because
of the way that IBM changed the static/dynamic linking default in their patch), and does not properly match exception types (a problem that can be replicated in cross-compiling configurations even without IBM's patch, and seems to be a problem with cross-compiled
4.7.2 on PPC generally). With the library in toolchain-fixup-4.7.2, instead of crashing whenever a dynamically-linked application using the 4.7.2 toolchain throws an exception, exception handling should now work for dynamically linked applications as it does
for statically-linked applications.<br class="">
<br class="">
-Hal<br class="">
<br class="">
-- <br class="">
Hal Finkel<br class="">
Assistant Computational Scientist<br class="">
Leadership Computing Facility<br class="">
Argonne National Laboratory<br class="">
_______________________________________________<br class="">
llvm-bgq-discuss mailing list<br class="">
<a href="mailto:llvm-bgq-discuss@lists.alcf.anl.gov" class="">llvm-bgq-discuss@lists.alcf.anl.gov</a><br class="">
https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>