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

Hal Finkel hfinkel at anl.gov
Tue Mar 18 01:51:14 CDT 2014


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


More information about the llvm-bgq-discuss mailing list