[LLVMdev] errorr: ‘class llvm::TargetOptions’ has no member named ‘EnableSegmentedStacks’

Hal Finkel hfinkel at anl.gov
Sat Apr 12 04:22:30 PDT 2014


----- Original Message -----
> From: "zosrothko" <zosrothko at orange.fr>
> To: llvmdev at cs.uiuc.edu
> Sent: Saturday, April 12, 2014 6:10:06 AM
> Subject: [LLVMdev] errorr: ‘class llvm::TargetOptions’ has no member named ‘EnableSegmentedStacks’
> 
> Hi
> 
> Compiling LLVM and CLang from the main trunk produces this error:
> 
> /cygdrive/z/dev/llvm/x64/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:
> In member function ‘llvm::TargetMachine*
> {anonymous}::EmitAssemblyHelper::CreateTargetMachine(bool)’:
> /cygdrive/z/dev/llvm/x64/llvm/tools/clang/lib/CodeGen/BackendUtil.cpp:491:11:
> erreur: ‘class llvm::TargetOptions’ has no member named
> ‘EnableSegmentedStacks’
>     Options.EnableSegmentedStacks =
>     CodeGenOpts.EnableSegmentedStacks;
>             ^
> llvm[4]: Compiling CommentBriefParser.cpp for Release+Asserts build
> 
> 
> A missing commit maybe?

It looks like your clang is out of date. Try (cd tools/clang && svn update)

 -Hal

> 
> zos
> 
> $ svn info
> Path: .
> Working Copy Root Path: /cygdrive/z/dev/llvm/x64/llvm
> URL: http://llvm.org/svn/llvm-project/llvm/trunk
> Relative URL: ^/llvm/trunk
> Repository Root: http://llvm.org/svn/llvm-project
> Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
> Revision: 206105
> Node Kind: directory
> Schedule: normal
> Last Changed Author: dblaikie
> Last Changed Rev: 206105
> Last Changed Date: 2014-04-12 07:35:59 +0200 (Sat, 12 Apr 2014)
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory




More information about the llvm-dev mailing list