autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [autoconf] Problems Configuring (C Compiler cannot produce executabl


From: Mike Frysinger
Subject: Re: [autoconf] Problems Configuring (C Compiler cannot produce executables)
Date: Wed, 22 Aug 2012 15:21:17 -0400
User-agent: KMail/1.13.7 (Linux/3.5.0; KDE/4.6.5; x86_64; ; )

On Wednesday 22 August 2012 15:15:07 Jeffrey Walton wrote:
> On Wed, Aug 22, 2012 at 3:06 PM, Mike Frysinger <address@hidden> wrote:
> > On Wednesday 22 August 2012 13:47:30 Jeffrey Walton wrote:
> >> -Wall -Wextra -Wconversion -fPIE -pie -Wno-unused-parameter -Wformat=2
> > 
> > read the log you actually posted.  you aren't using -pie (which would be
> > correct), you're using -Wl,-pie (which is wrong).
> 
> Believe it or not, you need both -fPIE and -pie. The linker consumes
> the -pie switch. The -Wl just passes the switch through the compiler
> drive to the linker.

believe it or not, i understand how PIE works.  i think you missed my point 
that your latest config.log is using wrong flags and it has nothing to do with 
autotools -- you cannot link with -pie only as the compiler driver must see it 
in order to adjust the startup files used.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]