[3865] in arla-drinkers

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

Re: Arla 0.42-RC2

daemon@ATHENA.MIT.EDU (Jeffrey Hutzelman)
Wed Apr 5 11:20:16 2006

From arla-drinkers-bounces@stacken.kth.se Wed Apr 05 15:20:16 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 8038 invoked from network); 5 Apr 2006 15:20:16 -0000
Received: from mx1.kth.se (130.237.32.140)
  by charon.mit.edu with SMTP; 5 Apr 2006 15:20:16 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id 02DE3140C78;
	Wed,  5 Apr 2006 17:20:14 +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 14428-01-16; Wed,  5 Apr 2006 17:20:13 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx1.kth.se (Postfix) with ESMTP id CEA3E140AC1;
	Wed,  5 Apr 2006 17:20:12 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 86660534F3;
	Wed,  5 Apr 2006 17:20:12 +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 3102B534F3
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed,  5 Apr 2006 17:20:10 +0200 (CEST)
Received: from mx2.kth.se (mx2.kth.se [130.237.48.98])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k35FK9bB000769; 
	Wed, 5 Apr 2006 17:20:09 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx2.kth.se (Postfix) with ESMTP id E8EA5140550;
	Wed,  5 Apr 2006 17:20:08 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
	by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP
	id 13008-01-17; Wed,  5 Apr 2006 17:20:07 +0200 (CEST)
Received: from crunchberry.srv.cs.cmu.edu (CRUNCHBERRY.SRV.CS.CMU.EDU
	[128.2.203.75]) by mx2.kth.se (Postfix) with ESMTP id D2F86140B54;
	Wed,  5 Apr 2006 17:20:06 +0200 (CEST)
Received: from mariner.pc.cs.cmu.edu
	(IDENT:U2FsdGVkX18NkAYlI8yO9bTGPzduRPJPcAtVKH/vTzM@MARINER.PC.CS.CMU.EDU
	[128.2.200.130]) (authenticated bits=0)
	by crunchberry.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id
	k35FJrso007122
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 5 Apr 2006 11:19:58 -0400 (EDT)
Date: Wed, 05 Apr 2006 11:19:49 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: =?ISO-8859-1?Q?Niels_M=F6ller?= <nisse@lysator.liu.se>,
	Tomas Olsson <tol@stacken.kth.se>
Subject: Re: Arla 0.42-RC2
Message-ID: <0CDCD31E14039E724DA4C746@mariner.pc.cs.cmu.edu>
In-Reply-To: <nn7j6483jh.fsf@sellafield.lysator.liu.se>
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>
	<nn7j6483jh.fsf@sellafield.lysator.liu.se>
Originator-Info: login-token=Mulberry:01F5l/uYEB9C1j5Pc6ShevKK4LtuSezfiEDq0eTRk=;
	token_authority=postmaster@andrew.cmu.edu
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Disposition: inline
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: Jeffrey Hutzelman <jhutz@cmu.edu>, 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



On Wednesday, April 05, 2006 05:06:58 PM +0200 Niels M=F6ller =

<nisse@lysator.liu.se> wrote:

> 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 such
>>   file or directory) 5357  open("/usr/lib/libgcc_s.so.1", O_RDONLY) =3D =
-1
>>   ENOENT (No such file 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?

You could try linking arlad against libgcc explicitly.
You could also use LD_PRELOAD to get it loaded early.

-- Jeff
_______________________________________________
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