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

Kai Nacke kai.nacke at redstar.de
Sat Jun 1 05:35:34 PDT 2013


Hi Hal,

so it makes sense to add this flag if the compiler is gcc. I try to 
create a patch...

Regards
Kai

On 01.06.2013 14:04, Hal Finkel wrote:
> 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
>>
> _______________________________________________
> 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