From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4882 Path: news.gmane.org!not-for-mail From: John Mudd Newsgroups: gmane.linux.lib.musl.general Subject: Re: gettimeofday Date: Mon, 14 Apr 2014 22:53:56 -0400 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37aea707e7b04f70beaec X-Trace: ger.gmane.org 1397530479 13410 80.91.229.3 (15 Apr 2014 02:54:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2014 02:54:39 +0000 (UTC) To: musl Original-X-From: musl-return-4886-gllmg-musl=m.gmane.org@lists.openwall.com Tue Apr 15 04:54:32 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WZtW1-0004rr-HM for gllmg-musl@plane.gmane.org; Tue, 15 Apr 2014 04:54:29 +0200 Original-Received: (qmail 12148 invoked by uid 550); 15 Apr 2014 02:54:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12135 invoked from network); 15 Apr 2014 02:54:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gymIrT0Wc9jTHEm98qPbhWIYD+vNwBFtI4ZnHCut+z8=; b=mSiYswHWKZ3jTtN6svzIoZRRuHwiDV1slGtRcc8QAl+A/Ac0sPKP+psPAwMtujFVNq ME/5cnxtWXcwKPi+BRVKOrfHHKkwngXUdc6E4hf/evQDykxTGXHEl4FLYx0C+vrNmGzO H0uNFTZOqbsYhj9ANva1tIXqHp82L1s6KuVWGePwSqYaa4wd1YpU5ptFtkzV/aXkANOd tQ8s73SceSPi7XyHz89QTd7mNKQvZll95UQLBgxKFeW+iMv1AX67Djs1XLJ+vG03TBQt IJNQtr69z5scoaAVFMw93DQHFQy2pK7rq2EkK7/s9uduTYvdODJQ8qu4Gwq2/yaltnWe 2RuQ== X-Received: by 10.112.14.35 with SMTP id m3mr30758354lbc.3.1397530456783; Mon, 14 Apr 2014 19:54:16 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:4882 Archived-At: --001a11c37aea707e7b04f70beaec Content-Type: text/plain; charset=ISO-8859-1 Thanks for the patch! I rebuilt the musl libc, copied the lib to my old linux box and Postgres is running well now. ======================= All 136 tests passed. ======================= It's interesting that when I built Postgres on this same old Linux using the native libc but it fails to run. ============== removing existing temp installation ============== ============== creating temporary installation ============== ============== initializing database system ============== ============== starting postmaster ============== pg_regress: postmaster did not respond within 60 seconds Building with musl on a modern Linux works on an old Linux. But building Postgres on the old Linux with the native libc gives me a broken Postgres. That's why I'm interested in musl libc. On Sun, Apr 13, 2014 at 10:03 PM, John Mudd wrote: > I ran into trouble when I built Postgres using musl on a modern Linux and > tried to run it on an old Linux. The problem seemed to > involve gettimeofday() so I tried this sample program. > > > --001a11c37aea707e7b04f70beaec Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for the patch! I rebuilt the musl libc, copied= the lib to my old linux box and Postgres is running well now.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
=A0All 136 tests passed.=A0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= /div>

It's interesting that when I built = Postgres on this same old Linux using the native libc but it fails to run.<= /div>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D removin= g existing temp installation =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D creating temporary installa= tion =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D initializing database system =A0= =A0 =A0 =A0 =A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D starting postmaster =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

pg_regress: postmaster did not respond within 60 second= s


Building with musl on a modern Li= nux works on an old Linux. But building Postgres on the old Linux with the = native libc gives me a broken Postgres. That's why I'm interested i= n musl libc.



On Sun, Apr 13, 2014 at 10:03 PM, John Mudd <<= a href=3D"mailto:johnbmudd@gmail.com" target=3D"_blank">johnbmudd@gmail.com= > wrote:
I ran into trouble when I built Post= gres using musl on a modern Linux and tried to run it on an old Linux. The = problem seemed to involve=A0gettimeofday() so I tried this sample program.<= /div>



--001a11c37aea707e7b04f70beaec--