From: Richard W.M. Jones <rjones@redhat.com>
To: pierce@hogranch.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: PostgreSQL cannot be compiled on RISC-V
Date: Sun, 20 Nov 2016 19:08:27 +0000
Message-ID: <20161120190827.GA10709@redhat.com> (raw)
In-Reply-To: <20161120103652.GN11243@redhat.com>
References: <20161119230312.GA8656@redhat.com>
<16690.1479611287@sss.pgh.pa.us>
<20161120103652.GN11243@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
(Sorry about the threading and quoting, I am not subscribed to this list)
> > This is*probably* because our kernel lacks networking support, but
> > I didn't look at this in great detail yet.
>
> wait, what?? postgres can't function at all without basic networking
> support, including at least named pipes and tcp over localhost.
What I said wasn't very precise. The emulators and hardware that we
use for RISC-V lack any external networking. As you can probably
imagine, this makes them very frustrating to use.
In addition, there are bugs in the kernel network stack on RISC-V
which seem to cause problems with localhost connections and Unix
domain sockets in some circumstances. These particularly cause test
failures in our autobuilder when the tests (of any package, not just
PostgreSQL) use the network. I have looked into this, but so far not
been able to narrow it down or make a simple reproducer. It could be
a syscall ABI problem.
The Linux kernel we are using does have networking enabled. If you
are interested in this more, then you can see our CONFIG_* settings
here:
https://github.com/rwmjones/fedora-riscv-kernel
I hope that clears things up.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: rjones@redhat.com, pierce@hogranch.com
Subject: Re: PostgreSQL cannot be compiled on RISC-V
In-Reply-To: <20161120190827.GA10709@redhat.com>
References: <20161119230312.GA8656@redhat.com> <16690.1479611287@sss.pgh.pa.us> <20161120103652.GN11243@redhat.com> <20161120190827.GA10709@redhat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox