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

Harald Schmalzbauer h.schmalzbauer at omnisec.de
Sun May 20 17:54:08 UTC 2007


Hello,

I compiled samba on a fresh -current and I'm seeing strange errors.
When I try to execute 'net' I get this error:
/usr/local/bin/net: Exec format error. Binary file not executable.

Starting smbd results in this:
Starting smbd.
Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function 
arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1720.
Abort trap (core dumped)
Starting winbindd.
Assertion failed: ((run->regs_mask[elm] & (1 << bit)) == 0), function 
arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 1720.
Abort trap (core dumped)

Any ideas? Is this related to the default libthr change or the gcc4.2 import?

Best regards,

-Harry


More information about the freebsd-current mailing list