From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2064 Path: news.gmane.org!not-for-mail From: Mike Buland Newsgroups: gmane.comp.sysutils.supervision.general Subject: Problems Compiling with glibc 2.12.1 Date: Tue, 9 Nov 2010 08:29:38 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1289316587 10030 80.91.229.12 (9 Nov 2010 15:29:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 15:29:47 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2298-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Nov 09 16:29:43 2010 Return-path: Envelope-to: gcsg-supervision@lo.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1PFq8l-0007DO-0P for gcsg-supervision@lo.gmane.org; Tue, 09 Nov 2010 16:29:43 +0100 Original-Received: (qmail 23718 invoked by uid 76); 9 Nov 2010 15:31:49 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 23709 invoked from network); 9 Nov 2010 15:31:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=YhwRgdhu67P4xFRTLo1DTFvE2F8/Iz/uKXnBDWMC1TA=; b=QFnn9hHUKMU9K+qMwcQCksNzyyoHipJnzM/UppgF17Qrm/UKE2+w0I3ovj9waGVDpn tYhn2gqmaWzCq1FG0PVoltT+tRu7bMUckF7GwekyHuuVtV8ecTIZYoZSLYlIKtHH11Yu S7w+oNgHbfNUCHKDq7cJ4u5Y6FvOCnHKXdeEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Xe0r2O+1CbdEQic+vH8SyCWtQRKivHItSPdOKV+KuF2GGrR9TIrpz8MU56Ht+Xtgbv DIDONnyxx9IeuzVc4zhknrF7yjvMxu/Ff/a4UAdFCC4tk9oNInQTa/EYaAibMdSQ1bSV rzRx/4k04JoCd8/TgFeiR55NuasY8dDT5fu3c= Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2064 Archived-At: Hello, I just wanted to let everyone know that I've come across a strange problem compiling runit. The issue seems to be with glibc version 2.12.1, earlier versions did not exhibit this. I've also tried GCC 4.5.1, 4.5.0, and 4.4.5. The binutils version I'm using is 2.20.1. When compiling, the runit and runit-init programs link statically, and the result does not appear to be a valid executable program. The system complains that there is no valid entry point. Interestingly enough, I can't get this to happen with any programs that aren't runit and runit-init. Also, the problem is not evident when linking against dietlibc. The executables I made with dietlibc are fine. I don't think this is an issue for runit, actually, especially since there is a workaround, but it is a concern for the glibc developers, but who knows when they'll get around to fixing it. I thought the list in general could benefit from my somewhat limited research into the problem. I'm also in the process of figuring out if this is a new bug for the glibc devs or not so I can report it to them. Also, I'm running a 32bit x86 system, and I've tried it on a couple different processors, with a few different compile options in place while building glibc, always the same results. Hope this helps anyone else having trouble compiling against newer glibc versions. --Mike Buland