strange "Exec format error" (gcc4.2 suspicious)

Scott Long scottl at samsco.org
Mon May 21 14:49:49 UTC 2007


Dag-Erling Smørgrav wrote:
> Wes Morgan <morganw at chemikals.org> writes:
>> I have to ask the stupidly obvious question of why isn't the compiler
>> smart enough to realize (or forcefully taught) that our platform
>> doesn't support this?
> 
> Looking at it from the opposite perspective, how much work would it be
> to teach ld-elf.so to support PIE?
> 
> DES

It looks like most of the interesting magic would be in the kernel, 
actually.  KDE and Apache seem to be good candidates for benefiting
from it, which makes it interesting for FreeBSD.  I haven't been able
to find any technical details other than a broad overview in the apache
docs.

Scott


More information about the freebsd-current mailing list