From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2100 Path: news.gmane.org!not-for-mail From: Robin Bowes Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Problems Compiling with glibc 2.12.1 Date: Mon, 13 Jun 2011 14:01:21 +0100 Message-ID: <4DF60A21.9000302@robinbowes.com> References: <20110206231209.GA10928@lasse.mail.plastictre.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307970106 922 80.91.229.12 (13 Jun 2011 13:01:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 13:01:46 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2334-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jun 13 15:01:43 2011 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 1QW6ly-0000Ew-85 for gcsg-supervision@lo.gmane.org; Mon, 13 Jun 2011 15:01:42 +0200 Original-Received: (qmail 25041 invoked by uid 76); 13 Jun 2011 13:04:17 -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 25033 invoked from network); 13 Jun 2011 13:04:17 -0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgHAPEJ9k3Unw4R/2dsb2JhbABSmBOOI3fIMYYkBJYDiw8 X-Spam-Level: * X-Spam-Status: No, hits=-0.0 required=8.0 tests=ALL_TRUSTED,RATWARE_GECKO_BUILD X-Spam-Check-By: batmobile.robinbowes.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 In-Reply-To: <20110206231209.GA10928@lasse.mail.plastictre.net> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2100 Archived-At: 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/