From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10317 Path: news.gmane.org!not-for-mail From: Jorge Almeida Newsgroups: gmane.linux.lib.musl.general Subject: Re: clockspeed Date: Wed, 13 Jul 2016 13:10:55 -0700 Message-ID: References: <20160713194227.GL15995@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1468440674 18222 80.91.229.3 (13 Jul 2016 20:11:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 20:11:14 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10330-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 13 22:11:14 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bNQUw-0002Nh-HU for gllmg-musl@m.gmane.org; Wed, 13 Jul 2016 22:11:10 +0200 Original-Received: (qmail 17655 invoked by uid 550); 13 Jul 2016 20:11:08 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17637 invoked from network); 13 Jul 2016 20:11:07 -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; bh=4rCCb88Bp7ZnUYYwxEIG8jfFQ60NrOkB5Xa0RAXFOMQ=; b=JYv1Cvi44uimUrBwtCTK61zzaNZpFtlgW6UtmcKjwuJNxV4Qq2Sj+ZP7xw45mPEdKp AGL5zHyRWNPi1L8yZt7Nmmn1qz2VoapuMWadaNHHOAou9ryW9qNJVi8jTX1DGv9wFUm+ 7fvyleA8RDlr04cOH3shaMkWD9loxSPHiu8QUNKfnrve4zDMvtWxHYfp8sG4fgp5StZN 97eWlgsJGvyPeZXJnk/+ia2Qt0pi2Va8iOZCXDoEQqQXHtTdtumuohQt6Ww33GdEyThr iHXcX59Orhsy2zFffqZYksJaEdZ699Bs0webwNh54MlXOR8BdoGd7Uw59XdkCvzUw6Nm P5lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4rCCb88Bp7ZnUYYwxEIG8jfFQ60NrOkB5Xa0RAXFOMQ=; b=Dx39gzPJSX7WYRpHfbZVuY0CoMp7PEW6nh5mXpkYNm6J84pMOphaKQG/5iTXJhBh1o ZcswsRlvcbdk3j1c7d05TEYhc3SUgvZel8nyOaJ9nZYh8Z+2CqR0YJ9lbd25YaBJ31Xe s1mdUlqdKUPZ2NKfsRWGtyP7mY2TFYvzaXevgvGHpeoJBZTj/BEQIP106+4MlyOfUdyw VSH1uyQOqXwlnByZU+jpcxFm9kfcVC8R8NxZ9SjHXES4hv1WQ4yy/6BVXGdHvDPA/GWZ hlAdt7sOf8svzLBqHv5krr4TUAycV9D2aC09N8yEN6Xq6RQq3xS5HWFgSA4m9drYpENr vc9w== X-Gm-Message-State: ALyK8tK4ZYmnfUdzWGCmB8N6BsHbMOoq5GH4i50rbzUJVdbg+KFdFXw3Z5SjsdO7d62M98WulvR7hWl4QohomQ== X-Received: by 10.25.86.209 with SMTP id k200mr5352872lfb.65.1468440656495; Wed, 13 Jul 2016 13:10:56 -0700 (PDT) In-Reply-To: <20160713194227.GL15995@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10317 Archived-At: On Wed, Jul 13, 2016 at 12:42 PM, Rich Felker wrote: > On Wed, Jul 13, 2016 at 12:04:36PM -0700, Jorge Almeida wrote: >> Has anyone compiled clockspeed against musl, in a x86_64? > > I'm guessing you mean DJB's package, Indeed. but the name is generic enough > that I can't be sure. Next time try to be more clear. I had no idea there was some other package with the same name. > >> If so, would you share conf-cc and conf-ld? > > I just did as a test and it has some obvious issues like missing and > wrong prototypes for standard functions and "extern int errno;" rather > than #include (the latter is DJB's willfully wrong code to > make a point that he likes being wrong), but it compiled "ok" after > changing error.h. No idea if it works. > > I didn't modify conf-cc or conf-ld at all because the native gcc > targets musl, but if you wanted to cross-compile it would probably > work putting the name of your cross compiler there, or the musl-gcc > wrapper even. > I'm not cross-compiling, but the distro is not musl-based. Yes, I put the wrapper in conf-cc and conf-ld. I've been using clockspeed for years (with < 5ms discrepancy relative to the NTP server, on crappy hardware). But I had it compiled against dietlibc long ago (in x86), and now it doesn't compile against dietlib nor against musl. Just wondering if x86_64 brings about some extra problem. Jorge