Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis of build results for 2018-08-17
Date: Sun, 19 Aug 2018 00:37:24 +0200	[thread overview]
Message-ID: <20180819003724.04856da3@gmx.net> (raw)
In-Reply-To: <20180818215603.04843f8d@windsurf>

Hello Thomas,

On Sat, 18 Aug 2018 21:56:03 +0200, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> Hello,
> 
> Hollis, Fabrice, Chris, Peter, there are some issues/questions for you
> below.
> 
> On Sat, 18 Aug 2018 08:00:19 +0200 (CEST), Thomas Petazzoni wrote:
> 

[...]

> 
> >         or1k |                 qt5base-5.11.1 | NOK | http://autobuild.buildroot.net/results/a3535cdf5e91df011a59a4b9f60d69195f5efdcb |       
> 
> Missing "double conversion" logic for OpenRISC. Peter (Seiderer),
> perhaps you could have a look ? At
> https://github.com/google/double-conversion/issues/73, the upstream
> maintainer was OK with testing happening in Qemu.

	$ cat div.c 
double Div_double(double x, double y) { return x / y; }

	$ cat main.c
#include <stdio.h>

double Div_double(double x, double y);

int main(int argc, char** argv) {
  double result = Div_double(89255.0, 1e22);
  if (result == 89255e-22) {
    printf("correct result %e\n", result);
    return 1;
  } else {
    printf("wrong result %e\n", result);
    return 0;
  }
}

	$ ./build_qemu_or1k_001/host/bin/or1k-buildroot-linux-uclibc-gcc -c main.c
	$ ./build_qemu_or1k_001/host/bin/or1k-buildroot-linux-uclibc-gcc -c div.c
	$ ./build_qemu_or1k_001/host/bin/or1k-buildroot-linux-uclibc-gcc -o main main.o div.o

	$ ./qemu-3.0.0-or1k-install/bin/qemu-or1k -L build_qemu_or1k_001/staging main
correct result 8.925500e-18

Double-conversion test passed for or1k, buildroot qt5base patch will follow...

Regards,
Peter

  parent reply	other threads:[~2018-08-18 22:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18  6:00 [Buildroot] [autobuild.buildroot.net] Build results for 2018-08-17 Thomas Petazzoni
2018-08-18 19:56 ` [Buildroot] Analysis of build " Thomas Petazzoni
2018-08-18 20:40   ` Chris Packham
2018-08-18 20:56     ` Thomas Petazzoni
2018-08-18 22:37   ` Peter Seiderer [this message]
2018-08-19 18:59   ` Peter Korsgaard
2018-08-19 19:26     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180819003724.04856da3@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox