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

Re: -fpie -pic question [corection].



> Balint Cristian wrote:
>
>> 	I have a question about exec-shield, i compiled with -fpic -pic
>> passed to gcc an aplication (qmail for eg)
>>  on FC1 and how can i know that really work the exec-shield stuff on
>> the aplication ?
>
> I assume the -fpic and -pic above really mean -fpie and -pie.


Oh s*it of course -fpie(-fPIE) linking with -pie.

sorry for induced errors on the list ...


>
> In that case, run this
>
> readelf -a PROGRAM | egrep -q 'Type:[[:space:]]*DYN' &&
> readelf -a PROGRAM | egrep -q '  DEBUG[[:space:]]*$' &&
> echo "is PIC"
>

works :)

really thanks for debug my message too ....

>
>
> --
> â?§ Ulrich Drepper â?§ Red Hat, Inc. â?§ 444 Castro St â?§ Mountain
> View, CA â??
>
>
> --
> fedora-devel-list mailing list
> fedora-devel-list redhat com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list






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