From: Robin Bowes <robin-lists@robinbowes.com>
To: supervision@list.skarnet.org
Subject: Re: Problems Compiling with glibc 2.12.1
Date: Mon, 13 Jun 2011 14:01:21 +0100 [thread overview]
Message-ID: <4DF60A21.9000302@robinbowes.com> (raw)
In-Reply-To: <20110206231209.GA10928@lasse.mail.plastictre.net>
On 02/06/2011 11:12 PM, Lasse Kliemann wrote:
> This is with Glibc 2.13. Somewhat older Glibc versions work
> alright, for instance 2.11.2. As a workaround (or fix), I changed
> src/conf-ld to call "gcc" and not "gcc -s".
I'm seeing the same problem in NexentaStor (based on OpenSolaris).
Partial output from package/install:
...
./load runit unix.a byte.a -static
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [runit] Error 1
Contents of compile/sysdeps:
sunos-5.11-nexentaos_134f-:i386-:i86pc-:genuineintel-000206c2-bfebfbff-:i86pc-
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec gcc -O2 -Wall -c ${1+"$@"}
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
exec gcc -s -o "$main" "$main".o ${1+"$@"}
-lxnet
/* sysdep: +dirent */
/* sysdep: +waitpid */
/* sysdep: +sigaction */
/* sysdep: +sigprocmask */
/* sysdep: +sysselect */
/* sysdep: -ulong64 */
/* sysdep: +poll */
/* sysdep: +mkfifo */
/* sysdep: -flock */
/* sysdep: -shortsetgroups */
/* sysdep: -std reboot */
/* sysdep: +utmpx */
Changing src/conf-ld to "gcc" instead of "gcc -s" has no effect, ie. it
still fails at the same point.
Anyone got any ideas how I can get runit built on NexentaStor/OpenSolaris ?
R.
--
"Feed that ego and you starve the soul" - Colonel J.D. Wilkes
http://www.theshackshakers.com/
next prev parent reply other threads:[~2011-06-13 13:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-09 15:29 Mike Buland
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 [this message]
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=4DF60A21.9000302@robinbowes.com \
--to=robin-lists@robinbowes.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).