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

Kip Macy kip.macy at gmail.com
Sun May 20 22:53:00 UTC 2007


> > It was my very first thought too, but it's i386. It's a xeon 3050
> > (core2, thus EM64-T) processor but world alwys was i386 and also is
> > for that jail. Could it be possible that there's any runtime
> > detection which made me 64-bit binaries on a 32-bit base system?
> >
> Samba auto-detected -fpie support in GCC 4.3 and tried to use it.
> FreeBSD kernel does not know how to deal with binaries created by this
> option yet, so it freaks out.
>
> Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now.
>

What kernel support is required?

 -Kip


More information about the freebsd-current mailing list