[LLVMdev] Does compiling LLVM on PowerPC64 always requires -mminimal-toc?

Hal Finkel hfinkel at anl.gov
Sat Jun 1 05:04:56 PDT 2013


Kai,

As I recall, this is required for gcc (but maybe not if you have a very recent version), and is not required when compiling with clang.

 -Hal

----- Original Message -----
> Hi!
> 
> I always have to specify the flag -mminimize-toc when compiling on a
> PowerPC64 architecture (Linux, AIX). Is this the preferred way or are
> there other/better solutions?
> 
> If this flag is always required then I would create a patch to
> automatically set this flag.
> 
> Regards
> Kai
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 



More information about the llvm-dev mailing list