Re: PostgreSQL cannot be compiled on RISC-V

Поиск
Список
Период
Сортировка
От Richard W.M. Jones
Тема Re: PostgreSQL cannot be compiled on RISC-V
Дата
Msg-id 20161120190827.GA10709@redhat.com
обсуждение исходный текст
Ответ на Re: PostgreSQL cannot be compiled on RISC-V  ("Richard W.M. Jones" <rjones@redhat.com>)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL cannot be compiled on RISC-V
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL cannot be compiled on RISC-V