ports/86207: WINE + Datasize of more than 0x50000000
Louis Croisez
louis.croisez at gmail.com
Thu Oct 8 13:36:29 UTC 2009
Hi,
you wrote 4 years ago a bug report on the FreeBSD mailing list concerning a
problem of ld-elf.so.1 library.
Apparently, the status of this bug was "resolved/closed".
Problem is that I have the same behavior now on my FreeNAS distribution
running 7.2 kernel:
~# ldd `which wine`
/usr/local/bin/wine:
ELF interpreter /libexec/ld-elf.so.1 not found
/usr/local/bin/wine: signal 6
~# wine
ELF interpreter /libexec/ld-elf.so.1 not found
Abort
~# uname -a
FreeBSD freenas.local 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Fri Jun 19
20:56:48 UTC 2009 root at vmbsd72i386:/usr/obj/freenas/usr/src/sys/FREENAS-i386
i386
I have tried your workaround (setting a smaller value of kern.maxdsiz in
/boot/loader.conf below 1Meg) but it does not work. The problem is still
there.
Could you help me? Do you know a solution?
> ports/86207: WINE + Datasize of more than 0x50000000*Ulrich Spoerlein* q
> at galgenberg.net <freebsd-ports-bugs%40freebsd.org?Subject=ports/86207%3A%20WINE%20%2B%20Datasize%20of%20more%20than%200x50000000&In-Reply-To=>
> *Fri Sep 16 03:00:34 PDT 2005*
>
>
> - Previous message: ports/86206: Unable to build OpenOffice2.0Beta2<https://mail.google.com/mail/html/compose/static_files/066256.html>
> - Next message: ports/86207: WINE + Datasize of more than 0x50000000<https://mail.google.com/mail/html/compose/static_files/066258.html>
> - *Messages sorted by:* [ date ]<https://mail.google.com/mail/html/compose/static_files/date.html#66257>
> [ thread ]<https://mail.google.com/mail/html/compose/static_files/thread.html#66257>
> [ subject ]<https://mail.google.com/mail/html/compose/static_files/subject.html#66257>
> [ author ]<https://mail.google.com/mail/html/compose/static_files/author.html#66257>
>
> ------------------------------
>
> >*Number: 86207*>*Category: ports*>*Synopsis: WINE + Datasize of more than 0x50000000*>*Confidential: no*>*Severity: non-critical*>*Priority: low*>*Responsible: freebsd-ports-bugs*>*State: open*>*Quarter: *>*Keywords: *>*Date-Required:*>*Class: sw-bug*>*Submitter-Id: current-users*>*Arrival-Date: Fri Sep 16 10:00:32 GMT 2005*>*Closed-Date:*>*Last-Modified:*>*Originator: Ulrich Spoerlein*>*Release: FreeBSD 6.0-BETA2 i386*>*Organization:*>*Environment:*>*Description:*When the max. Data Size exceeds more than 1GB (1GB is still fine), then
> sys/kern/imgact_elf.c has trouble exec()'ing Wine. This also manifests
> itself in ldd(1) crashing on the Wine binary.
> >*How-To-Repeat:*Set kern.maxdsiz="1342177280" in /boot/loader.conf, run wine or
> ldd /usr/local/bin/wine.
>
> % ldd `which wine`
> /usr/local/bin/wine:
> ELF interpreter /libexec/ld-elf.so.1 not found
> /usr/local/bin/wine: signal 6
>
> A maxdsiz of 1073741824 will work just fine, but YMMV.
> % ldd `which wine`
> /usr/local/bin/wine:
> libwine.so.1 => /usr/local/lib/libwine.so.1 (0xbbf37000)
> libc.so.6 => /lib/libc.so.6 (0xbbf4f000)
>
> Note that using plain limit won't do. You have to reboot.
>
> Now, I initially had a dsize of 2GB and since Wine tries something
> funky with it's heap at 0x80000000 I thought this was it. But just
> setting dsize somewhat above 1GB will trigger this too. Rather odd.
> >*Fix:*>*Release-Note:*>*Audit-Trail:*>*Unformatted:*
>
>
>
More information about the freebsd-ports-bugs
mailing list