[Llvm-bgq-discuss] question about flags
Biddiscombe, John A.
biddisco at cscs.ch
Tue Aug 26 08:27:07 CDT 2014
Hal
Linking. I see now that it produces the message when linking, so I will ignore it.
Unfortunately, the flags did not help me.
I've got a problem with this test
https://raw.githubusercontent.com/biddisco/cpptest/master/regex-recursion.cxx
which hangs after the first boost_check_throw, the first bad regex test does not throw and hangs indefinitely. Since it's a possibly stack related problem inside regex, I thought the stack related flags might help.
I'm using
-mcpu=a2 --std=c++11 -stdlib=libc++ -mno-qpx -mllvm -qpx-stack-unaligned -mllvm -ppc-always-use-base-pointer
but no joy yet.
Can you suggest any other stack related flags that I might experiment with, I'll be working my way through
clang++ --help | grep stack
to get ideas. But it does mean a lot of tedious boost recompilation.
gcc4.8.2 compiles the test and runs ok (also using -std=c++11 which I need for other reasons)
So far I've tried boost_1_55 and 1_56
ta
JB
-----Original Message-----
From: Hal Finkel [mailto:hfinkel at anl.gov]
Sent: 26 August 2014 14:17
To: Biddiscombe, John A.
Cc: llvm-bgq-discuss at lists.alcf.anl.gov
Subject: Re: [Llvm-bgq-discuss] question about flags
John,
Does it say this when compiling, or just when linking? I'd expect them to be unused when linking.
-Hal
----- Original Message -----
> From: "John A. Biddiscombe" <biddisco at cscs.ch>
> To: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Tuesday, August 26, 2014 7:09:42 AM
> Subject: [Llvm-bgq-discuss] question about flags
>
>
>
>
>
> When I use
>
> -mllvm -qpx-stack-unaligned
>
> -mllvm -ppc-always-use-base-pointer
>
>
>
> the compiler tells me that these flags are unused. I wanted to
> experiment with them to try to work around a boost problem I’ve got.
> Are there equivalents that I should be using instead?
>
>
>
> thanks
>
>
>
> JB
>
>
>
>
>
> --
>
> John Biddiscombe, email:biddisco @.at.@ cscs.ch
>
> http://www.cscs.ch/
>
> CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
>
> Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
>
>
> _______________________________________________
> 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