NetBSD Problem Report #39594

From wiz@hiro.nih.at  Sun Sep 21 17:00:39 2008
Return-Path: <wiz@hiro.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0BBEA63BA98
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Sep 2008 17:00:39 +0000 (UTC)
Message-Id: <20080921170032.68C9228E3E42@hiro.nih.at>
Date: Sun, 21 Sep 2008 19:00:32 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@gnats.NetBSD.org
Subject: acroread8 doesn't work in linux32 emulation
X-Send-Pr-Version: 3.95

>Number:         39594
>Category:       kern
>Synopsis:       acroread8 doesn't work in linux32 emulation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chs
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 21 17:05:00 +0000 2008
>Closed-Date:    Sat May 13 20:37:20 +0000 2023
>Last-Modified:  Sat May 13 20:37:20 +0000 2023
>Originator:     Thomas Klausner
>Release:        NetBSD 4.99.72
>Organization:
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
print/acroread8 doesn't work in linux32 emulation on amd64.
When starting it, the error message is:
cannot set up thread-local storage: cannot set up LDT for thread-local storage

Nicolas Joly says that it needs the modify_ldt(2) syscall, but that
depends on the USER_LDT kernel option, which NetBSD/amd64 currently
doesn't support.
>How-To-Repeat:
cd /usr/pkgsrc/print/acroread8
make install
acroread8
>Fix:
Probably: Implement modify_ldt(2) for linux32 emulation.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->chs
Responsible-Changed-By: chs@NetBSD.org
Responsible-Changed-When: Mon, 02 Aug 2010 16:26:53 +0000
Responsible-Changed-Why:
I'm doing linux stuff these days.


State-Changed-From-To: open->feedback
State-Changed-By: chs@NetBSD.org
State-Changed-When: Mon, 02 Aug 2010 16:26:53 +0000
State-Changed-Why:
this works for me now in -current, could you try it?


From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/39594 (acroread8 doesn't work in linux32 emulation)
Date: Tue, 24 Aug 2010 21:03:50 +0200

 On Mon, Aug 02, 2010 at 04:26:54PM +0000, chs@NetBSD.org wrote:
 > this works for me now in -current, could you try it?

 It works on some files fine, on others not. procfs is mount:
 # mount | grep linux32
 procfs on /usr/pkg/emul/linux32/proc type procfs (local)
 # grep procfs /etc/fstab 
 procfs          /proc   procfs  rw,noauto
 procfs          /emul/linux32/proc      procfs  rw,linux

 Example of a not-working file:
 http://www.bollenberger.com/events//030115_Seminar%20Abfertigung%20Neu/MVK_VergleichGPA090103.pdf
 acroread8 immediately exits; the file displays fine in evince.

 Cheers,
  Thomas

State-Changed-From-To: feedback->open
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 05 Sep 2010 07:02:33 +0000
State-Changed-Why:
Feedback supplied.


State-Changed-From-To: open->feedback
State-Changed-By: chs@NetBSD.org
State-Changed-When: Tue, 21 Sep 2010 19:33:34 +0000
State-Changed-Why:
I've fixed all the problems with acroread that I've found,
do you still see any problems?


State-Changed-From-To: feedback->open
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 25 Sep 2010 22:30:19 +0000
State-Changed-Why:
Feedback supplied.


From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/39594 (acroread8 doesn't work in linux32 emulation)
Date: Sun, 26 Sep 2010 00:28:26 +0200

 On Tue, Sep 21, 2010 at 07:33:35PM +0000, chs@NetBSD.org wrote:
 > I've fixed all the problems with acroread that I've found,
 > do you still see any problems?

 Yes -- using suse-11.3, it doesn't start at all:
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libxml2.so.2)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib/libxml2.so.2)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgdk_pixbuf_xlib-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgtk-x11-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgdk-x11-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib/libgdk_pixbuf-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgdk_pixbuf-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libpango-1.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgobject-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.8' not found (required by /usr/lib/libglib-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libglib-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib/libglib-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.9' not found (required by /usr/lib/libglib-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libz.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libcairo.so.2)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib/libcairo.so.2)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.9' not found (required by /usr/lib/libgio-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgio-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.5' not found (required by /usr/lib/libgio-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libfontconfig.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib/libfontconfig.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libgthread-2.0.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libpcre.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libfreetype.so.6)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib/libfreetype.so.6)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libpixman-1.so.0)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libpng14.so.14)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.11' not found (required by /usr/lib/libpng14.so.14)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libxcb.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libselinux.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.8' not found (required by /lib/libselinux.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libexpat.so.1)
 /usr/pkg/Acrobat9/Adobe/Reader9/Reader/intellinux/bin/acroread: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libXau.so.6)

 The following packages are installed (either for acroread9 or flash
 plugin):
 suse32_base-11.3
 suse32_expat-11.3
 suse32_freetype2-11.3
 suse32_fontconfig-11.3
 suse32_libjpeg-11.3
 suse32_libpng-11.3
 suse32_libtiff-11.3
 suse32_x11-11.3
 suse32_gtk2-11.3
 suse32_openssl-11.3
 suse32_compat-11.3
 suse32_glx-11.3
 suse32_libsigc++2-11.3
 suse32_libcups-11.3
 suse32_locale-11.3
 suse32_libxml2-11.3

 Flash plugin doesn't seem to work either.
  Thomas

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 13 May 2023 18:34:51 +0000
State-Changed-Why:
Is the last set of problems still current? That seems more like a problem
with the suse packages...

(and if not, how's the linux compat working these days? though it might be
better to file new PRs and close this one)


From: Thomas Klausner <wiz@gatalith.at>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/39594 (acroread8 doesn't work in linux32 emulation)
Date: Sat, 13 May 2023 22:20:52 +0200

 On Sat, May 13, 2023 at 06:34:51PM +0000, dholland@NetBSD.org wrote:
 > Synopsis: acroread8 doesn't work in linux32 emulation
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Sat, 13 May 2023 18:34:51 +0000
 > State-Changed-Why:
 > Is the last set of problems still current? That seems more like a problem
 > with the suse packages...
 > 
 > (and if not, how's the linux compat working these days? though it might be
 > better to file new PRs and close this one)

 I haven't tried it in ages.
 Feel free to close this one.

 I still see problems with futex emulation, but that is tracked in
 another PR already.
  Thomas

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 13 May 2023 20:37:20 +0000
State-Changed-Why:
Submitter says ok to close.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.