From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5895 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Bug on fstat()? Date: Mon, 25 Aug 2014 11:49:03 +0200 Message-ID: <20140825094902.GU22308@port70.net> References: <20140824210539.GT12888@brightrain.aerifal.cx> <53FA5A8A.3040503@gentoo.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1408960161 25632 80.91.229.3 (25 Aug 2014 09:49:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 09:49:21 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5901-gllmg-musl=m.gmane.org@lists.openwall.com Mon Aug 25 11:49:16 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 1XLqtn-0003jQ-Pc for gllmg-musl@plane.gmane.org; Mon, 25 Aug 2014 11:49:15 +0200 Original-Received: (qmail 29766 invoked by uid 550); 25 Aug 2014 09:49:15 -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 29756 invoked from network); 25 Aug 2014 09:49:15 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:5895 Archived-At: * piranna@gmail.com [2014-08-25 11:31:28 +0200]: > > So, is g++ mandatory for compilation? Is there any solution? I'll try > > to set CXX to musl-gcc too, but didn't see anything about this and I'm > > not sure if it would work... If it doesn't work, would I need to > > create a musl-g++ wrapper? > > Confirmed: doesn't work, it has failed just in the first C++ source > code file it has found: > musl-gcc is just a thin gcc wrapper (uses a custom spec file to locate the standard headers and other libc files) eg. it does not have a libstdc++ linked against musl so it cannot build c++ code use a musl cross compiler for your target with c++ support (eg http://musl.codu.org/ has prebuilt ones but you can build musl-cross yourself) or build on a musl based system (sabotage or alpinelinux, they probably already have node.js packaged)