[3864] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: Arla 0.42-RC2

daemon@ATHENA.MIT.EDU (=?iso-8859-1?q?Niels_M=F6ller?=)
Wed Apr 5 11:08:19 2006

From arla-drinkers-bounces@stacken.kth.se Wed Apr 05 15:08:19 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 7425 invoked from network); 5 Apr 2006 15:08:18 -0000
Received: from mx1.kth.se (130.237.32.140)
  by charon.mit.edu with SMTP; 5 Apr 2006 15:08:18 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id D5DEB140683;
	Wed,  5 Apr 2006 17:08:17 +0200 (CEST)
Received: from mx1.kth.se ([127.0.0.1])
 by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 11387-01-58; Wed,  5 Apr 2006 17:08:15 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx1.kth.se (Postfix) with ESMTP id 10AFF140AE1;
	Wed,  5 Apr 2006 17:08:14 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id C8367534F3;
	Wed,  5 Apr 2006 17:08:13 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id D421D534F3
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed,  5 Apr 2006 17:08:11 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k35F8BbB000633; 
	Wed, 5 Apr 2006 17:08:11 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id D1720140958;
	Wed,  5 Apr 2006 17:08:10 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP
	id 26832-01-88; Wed,  5 Apr 2006 17:08:08 +0200 (CEST)
Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3])
	by mx3.kth.se (Postfix) with ESMTP id EC01E140875;
	Wed,  5 Apr 2006 17:08:07 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.lysator.liu.se (Postfix) with ESMTP id AA2B7200A307;
	Wed,  5 Apr 2006 17:08:07 +0200 (CEST)
Received: from mail.lysator.liu.se ([127.0.0.1])
	by localhost (lenin.lysator.liu.se [127.0.0.1]) (amavisd-new,
	port 10024)
	with LMTP id 31164-01-21; Wed, 5 Apr 2006 17:08:06 +0200 (CEST)
Received: from sellafield.lysator.liu.se (sellafield.lysator.liu.se
	[130.236.254.103])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.lysator.liu.se (Postfix) with ESMTP id D721B200A306;
	Wed,  5 Apr 2006 17:08:06 +0200 (CEST)
Received: from sellafield.lysator.liu.se (localhost [127.0.0.1])
	by sellafield.lysator.liu.se (8.13.4+Sun/8.13.4) with ESMTP id
	k35F8113012094; Wed, 5 Apr 2006 17:08:03 +0200 (MEST)
Received: (from nisse@localhost)
	by sellafield.lysator.liu.se (8.13.4+Sun/8.12.8/Submit) id
	k35F7wd9011944; Wed, 5 Apr 2006 17:07:59 +0200 (MEST)
X-Authentication-Warning: sellafield.lysator.liu.se: nisse set sender to
	nisse@lysator.liu.se using -f
To: Tomas Olsson <tol@stacken.kth.se>
Subject: Re: Arla 0.42-RC2
References: <lsrbqvpxoy3.fsf@kashyyyk.ite.kth.se>
	<nnpsjy8zsz.fsf@sellafield.lysator.liu.se>
	<lsry7ylu7l1.fsf@kashyyyk.ite.kth.se>
	<nnk6a58ovo.fsf@sellafield.lysator.liu.se>
	<lsrd5fxtnx9.fsf@kashyyyk.ite.kth.se>
	<nnbqvg85dd.fsf@sellafield.lysator.liu.se>
From: nisse@lysator.liu.se (=?iso-8859-1?q?Niels_M=F6ller?=)
Date: 05 Apr 2006 17:06:58 +0200
In-Reply-To: <nnbqvg85dd.fsf@sellafield.lysator.liu.se>
Message-ID: <nn7j6483jh.fsf@sellafield.lysator.liu.se>
Lines: 31
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lysator.liu.se
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level: 
Cc: arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se

nisse@lysator.liu.se (Niels M=F6ller) writes:

> It's puzzling. I also tried strace -f arlad -n, which says:
> =

>   5357  open("/lib/libgcc_s.so.1", O_RDONLY) =3D -1 ENOENT (No such file =
or directory)
>   5357  open("/usr/lib/i686/cmov/libgcc_s.so.1", O_RDONLY) =3D -1 ENOENT =
(No such file or directory)
>   5357  open("/usr/lib/i686/libgcc_s.so.1", O_RDONLY) =3D -1 ENOENT (No s=
uch file or directory)
>   5357  open("/usr/lib/libgcc_s.so.1", O_RDONLY) =3D -1 ENOENT (No such f=
ile or directory)
>   5357  write(2, "libgcc_s.so.1 must be installed "..., 59) =3D 59
>   5357  exit_group(127)                   =3D ?
> =

> The file /lib/libgcc_s.so.1 exists and is readable, so I really don't
> understand why open returns ENOENT.

ceder helped me spot the "obvious" problem. Earlier in the strace
output:

  5332  chroot("/usr/arla/cache")         =3D 0

So here we have the problem: pthread_cancel wants to use dlopen to
load libgcc_s.so.1. But by the time it calls dlopen, this file is
hidden by chroot.

I'm tempted to say it's a bug in glibc to depend on dlopen like this,
and I wouldn't be surprised if this behaviour is not POSIX-compliant.

Is there any way to force the loading of libgcc earlier? Or how to
work around this?

Regards,
/Niels
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

home help back first fref pref prev next nref lref last post