From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9727 Path: news.gmane.org!not-for-mail From: Lei Zhang Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl + libc++ Date: Tue, 22 Mar 2016 20:05:29 +0800 Message-ID: <2C455331-61AF-4818-BB41-B95F911B3F48@gmail.com> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1458648567 22570 80.91.229.3 (22 Mar 2016 12:09:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2016 12:09:27 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9740-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 22 13:09:27 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 1aiL5O-00076i-SG for gllmg-musl@m.gmane.org; Tue, 22 Mar 2016 13:06:58 +0100 Original-Received: (qmail 32037 invoked by uid 550); 22 Mar 2016 12:06:55 -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 32019 invoked from network); 22 Mar 2016 12:06:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Uiv3qLyHQjf0CVgU4HkeQQorX0u5PTake85tGjrjYJ4=; b=BpqQ6VLjySzPxcYkHn6doAXRsyo5E2rlLO6HRZVy+RGOOOR7TvI5intFbiHX2Me4eO SihrRtDVF9In4iiEBsNeL6CbikOoEDa8STP6e2QJkOUxhffel5XmsMCD/qjAO/PzHYA0 qruzqnBaZ1E0UkFAuW84WokRYFFYjA7Q+alp31aoGL6cAK1ct3/5Yqdq+t5V3wDZWUti EE8iqD5QmmF7oUQsnAvx4BFu9XdiO9cyt/F1z94569xFPSCb4TVlMDlf9f7difZzDhZg kiJXGzrMLcH+aOJU/KLYg9vtqUjsvKWwUlhfEfQCxx7G/skjRvOubpWX1bxcVzztg6FO EJlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Uiv3qLyHQjf0CVgU4HkeQQorX0u5PTake85tGjrjYJ4=; b=cq97lkRRZXkWdoOjUKQcV3cphXX2Kvx8yzk+SpT9IocY04+1xsOgR882RnQMjtSvnL 9EmDn+gCCEKDoYnBnLTTZgxqprUXLI+8+IgH2uFWfN4U0S7kHEryPTi2rCS9IsSZHDIT ezFt8efk2x24YJt4MaJZKkvPXu8atysuFfz8im28rsmsWVp1UrJ342IOVKHF5JvVCV9O BfEk1lgCWWJOvOlMc58b9z0VG9RIl0yrSeuHGbBNzHRDJzBAtKT67GGJ2dohD1SA9jgQ Xwx+KzLBTj9fAxv8E0QobMf/lILA1OtpWpbZBLUdtjjRcn35GQ0NI//N713L/qVllEnM LDDw== X-Gm-Message-State: AD7BkJJLnBDiG4FlbbHKvnhiwoecnQCxhFqAtFeyU4I9FJqTDGU+1ScqLEv2aqjpRlqYxw== X-Received: by 10.66.244.233 with SMTP id xj9mr53640464pac.19.1458648402902; Tue, 22 Mar 2016 05:06:42 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3124) Xref: news.gmane.org gmane.linux.lib.musl.general:9727 Archived-At: On Mar 22, 2016, at 7:48 PM, Luca Barbato wrote: >=20 > On 22/03/16 04:43, Lei Zhang wrote: >> 2016-03-22 7:39 GMT+08:00 Hayden Livingston : >>=20 >>> Have folks gotten around using musl + libc++ (from the llvm = project)? >>>=20 >>> I'm trying to get a setup where all my dependencies can be moved to >>> musl and libc++ to build static executables. >>>=20 >>=20 >> I've tried to do about the same thing before and failed because = libc++ >> depends on some functions not implemented in musl yet, like = strtoll_l() >> and __printf_chk() IIRC. >=20 > Nothing should directly use __printf_chk() how did you get that symbol > there?. Well, I manually linked a toy C++ program with musl and libc++, and when = I ran the program the dynamic linker complained about not finding a = bunch of symbols, including strtoll_l, __printf_chk, etc. Perhaps I = mistakenly messed musl with glibc somehow... Lei=