qemu: freebsd6_mmap -1 errno 12 Cannot allocate memory

Kostik Belousov kostikbel at gmail.com
Fri Dec 7 22:02:11 PST 2007


On Sat, Dec 08, 2007 at 12:55:37PM +0700, Eugene Grosbein wrote:
> On Sat, Dec 08, 2007 at 07:45:52AM +0200, Kostik Belousov wrote:
> 
> > > But I do not see this:
> > > 
> > > # ldd `which qemu`
> > > /usr/local/bin/qemu:
> 
> [skip]
> 
> > > 	libpthread.so.2 => /lib/libpthread.so.2 (0x481f5000)
> > RELENG_6 libpthread
> > > 	libc.so.6 => /lib/libc.so.6 (0x4821c000)
> > RELENG_6 libc
> 
> [skip]
> 
> > > 	libthr.so.3 => /lib/libthr.so.3 (0x48546000)
> > RELENG_7 libpthread
> > > 	libc.so.7 => /lib/libc.so.7 (0x48558000)
> > RELENG_7 libc
> 
> Thank you. Now I wonder, how such thing may happen
> if qemu was built under 6.2 where there were no
> libthr.so.3 and libc.so.7?
Most likely, you have rebuilt some library that brough in the dependencies.
Check with readelf -d (look for NEEDED tags).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071208/ef79b0a4/attachment.pgp


More information about the freebsd-stable mailing list