[Llvm-bgq-discuss] Problems with binaries compiled with anything else than -O0

Biddiscombe, John A. biddisco at cscs.ch
Tue Mar 18 17:49:01 CDT 2014


Hal

Would core files from my machine be any use?

A stack trace of the fail is here, but it only shows that during init of
boost serialisation, things die.
http://pastebin.com/0f1phPvu

Make me wonder if a simple boost serialise test wouldn't show the same
fault … I’ll give that a try.

JB




On 18/03/14 07:51, "Hal Finkel" <hfinkel at anl.gov> wrote:

>Thomas,
>
>Unfortunately, going from -O0 to -O1 causes a lot of internal changes, it
>is not as simple as added compile flags. Do you have some core files I
>could look at?
>
> -Hal
>
>----- Original Message -----
>> From: "Thomas Heller" <thom.heller at gmail.com>
>> To: llvm-bgq-discuss at lists.alcf.anl.gov
>> Sent: Monday, March 17, 2014 4:32:29 PM
>> Subject: [Llvm-bgq-discuss] Problems with binaries compiled with
>>anything	else than -O0
>> 
>> Hi List,
>> 
>> We are currently trying to streamline our BGQ support for HPX. As it
>> turns
>> out, our builds segfault at right at the beginning in some static
>> initialization segment of a dynamic library when compiling our code
>> with -O3
>> (in fact, anything else above -O0 leads to the same segfault).
>> Everything
>> works splendid when doing the same with -O0. Unfortunately, I was not
>> able to
>> extract a simple enough testcase to reproduce the problem yet. I was
>> wondering
>> if there is a list of compile flags added when going from -O0 to -O1
>> which
>> might be the culprit. I am running out of ideas here... I was
>> thinking about
>> LTO, but it is not explicitly enabled in our builds.
>> 
>> Hope someone can help,
>> Thomas
>> _______________________________________________
>> llvm-bgq-discuss mailing list
>> llvm-bgq-discuss at lists.alcf.anl.gov
>> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
>> 
>
>-- 
>Hal Finkel
>Assistant Computational Scientist
>Leadership Computing Facility
>Argonne National Laboratory
>_______________________________________________
>llvm-bgq-discuss mailing list
>llvm-bgq-discuss at lists.alcf.anl.gov
>https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss



More information about the llvm-bgq-discuss mailing list