supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Mike Buland <xagafinelle@gmail.com>
To: supervision@list.skarnet.org
Subject: Problems Compiling with glibc 2.12.1
Date: Tue, 9 Nov 2010 08:29:38 -0700	[thread overview]
Message-ID: <AANLkTi=0WNSQAgqYrPOG0ixMweNUrpeVzHnah-9pkWXL@mail.gmail.com> (raw)

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


             reply	other threads:[~2010-11-09 15:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 15:29 Mike Buland [this message]
2011-02-06 23:12 ` Lasse Kliemann
2011-02-07  0:50   ` Laurent Bercot
2011-02-07  2:09     ` Charlie Brady
2011-02-07  7:56       ` Laurent Bercot
2011-02-08  0:16     ` Lasse Kliemann
2011-06-13 13:01   ` Robin Bowes
2011-06-13 13:38     ` Laurent Bercot
2011-06-13 17:19       ` Robin Bowes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=0WNSQAgqYrPOG0ixMweNUrpeVzHnah-9pkWXL@mail.gmail.com' \
    --to=xagafinelle@gmail.com \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).