From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10305 Path: news.gmane.org!not-for-mail From: Masanori Ogino Newsgroups: gmane.linux.lib.musl.general,gmane.comp.hardware.lowrisc.devel Subject: Re: Weekly Report of Porting musl to RISC-V Project #5 Date: Wed, 6 Jul 2016 16:37:33 +0900 Message-ID: References: <20160703142445.GF19691@port70.net> 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 1467790675 7351 80.91.229.3 (6 Jul 2016 07:37:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 07:37:55 +0000 (UTC) To: musl@lists.openwall.com, lowrisc-dev@lists.lowrisc.org Original-X-From: musl-return-10318-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 06 09:37:50 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 1bKhP4-0008Mi-G9 for gllmg-musl@m.gmane.org; Wed, 06 Jul 2016 09:37:50 +0200 Original-Received: (qmail 32159 invoked by uid 550); 6 Jul 2016 07:37:48 -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 32137 invoked from network); 6 Jul 2016 07:37:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=2Q7nX2qrvMVfn27N4TFm6togCEfrhz6NLAR6wmLtpvk=; b=vDMyD6z8xX+442U2UJzlSRHdzAf1pQ9ID8ht/uI3j62pJWfGlC0dz0hJmuvvxAt3qX MEspE4GMUzhp+OdJks+l23iAOkussuVltxgHSm3PnXdjzJAcG30zfKiPhEQQrLCH94fZ aY2dBlrUhs+OId2H84WCf3XxhDmvNHdC6+EerSGwvK6tbYjEwHmUuXPDNwEd4eX8UZNg LwUA2NZGoEiL1ctm+17gmNSTAPepP+Gf3erXaHbqibdJafWqYELWzPB5p6hm4Fcx2oZU HHdL5VacndNp0DKbo6BO4PAlfV420OBb44I122uWu9Q2qJJ8c5ZpwmoeWsoHOjA0Twxe uymA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=2Q7nX2qrvMVfn27N4TFm6togCEfrhz6NLAR6wmLtpvk=; b=U51SwiXV7ii7oltrAijBWGDS+aIztVb/IfOrCFbrTD3qT9trdmCDgp9ekrD2CARUM3 9buq/QURiGbf3zkZDxlk2ucyZBJu+xTRmaeOLAkyKM8AoW0IAw6Cdiln4gEjc/FJCGOu 9qpR/xYD2RQL/J26zWpKum2UnfYyw0cglQBlPr6PpZ7m9HfMUf6UOOa4uKJse+j3a71g BtEhhW5P/dgEw5CbqEnlnHtdIh58kffTihir+yXI2vgsoulkFMr0vszyk3zD/LyL3xsi sL62VWAokO2sRoPuD/26uULs7Zt7gjgEwY8J19WkvaOZKLt22e1OtIpUWT22i70M3l8Q 4ReA== X-Gm-Message-State: ALyK8tJBQ7I7w5AGOKgPFt7ScYhf5+Fwt/gIZr8xUnOpIBM+hRl83pPzyRH7PcyRXuN0yWHSaD6kyBoY+84AWg== X-Received: by 10.157.49.125 with SMTP id v58mr12645239otd.97.1467790654690; Wed, 06 Jul 2016 00:37:34 -0700 (PDT) Original-Sender: masanoriogino@gmail.com In-Reply-To: <20160703142445.GF19691@port70.net> X-Google-Sender-Auth: Dm5vOtCI_bcb9iqdcitfZ-qfhC0 Xref: news.gmane.org gmane.linux.lib.musl.general:10305 gmane.comp.hardware.lowrisc.devel:430 Archived-At: Hello, 2016-07-03 23:24 GMT+09:00 Szabolcs Nagy : > * Masanori Ogino [2016-07-03 09:42:00 +0900]: >> Some failures are expected since musl on x86_64 also does the same >> ones (e.g. errors in src/api/fcntl.c), but there are some unexpected >> errors too. I guess that the "warning: is >> shorter than expected" warning indicates bugs in arch-dependent part >> of I/O functions or system calls (or kernel?) and it causes syntax >> errors in the same compilation unit. > > try to figure out this error: > > cc1: warning: src/regression/printf-fmt-g-zeros.c is shorter than expected > In file included from src/regression/printf-fmt-g-zeros.c:3:0: > /usr/include/stdio.h:8:22: warning: /usr/include/features.h is shorter than expected > #include > ^ > In file included from /usr/include/stdio.h:22:0, > from src/regression/printf-fmt-g-zeros.c:3: > /usr/include/bits/alltypes.h:46:19: error: missing ')' after "defined" > #if defined(__NEED_suseconds_t) && !defined(__DEFINED_suseconds_t) > ^ > > is this a native toolchain? Yes. > i thought you would cross compile things first > (although libc-test is not set up to easily run > the tests in a simulator after cross compiling) > > it might be some filesystem issue if there are > truncated files. Sure. I am trying to do cross-compiled tests. -- Masanori Ogino