Re: Bug fix for glibc broke freebsd build in REL_11_STABLE

From: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Date: 2018-09-04 19:52:49
Message-ID: 20180904225249.4758cb43@wagner.wagner.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

В Tue, 4 Sep 2018 11:06:56 -0700
Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> пишет:

> On Tue, Sep 4, 2018 at 9:39 AM Andrew Gierth
> <andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
> >
> > >>>>> "Andres" == Andres Freund <andres(at)anarazel(dot)de> writes:
> >
> > >> However, this commit broke float8 test on 32-bit FreeBSD 11 with
> > >> clang 3.8.0 compiler. Regressions.diff follows:
> >
> > Andres> Does this happen with a newer clang version too?
> >
> > float8 test (and all other tests) passes for me on clang 3.9.1 on
> > fbsd11 on 32-bit ARM, and on -m32 builds on amd64.
> >
> > I also confirmed that without #define isinf(x) __builtin_isinf(x),
> > on both 32bit and 64bit fbsd isinf() compiles as a function call,
> > so the OP's proposed change would not be desirable.
>
> I installed FreeBSD 11.2 i386 on a virtual machine. I couldn't
> reproduce the problem with either the base cc (clang 6.0.0) or clang38
> (clang 3.8.1) installed via pkg.

Do you reproducing problem in REL_11_STABLE? It doesn't exist in master.
Also may be it might depend on some configure options. I usually
compile postgres with as much --with-something enabled as possible

Ive put my cconfigure/build/check logs to

https://wagner.pp.ru/~vitus/stuff/freebsd-i386-logs.tar.gz

Unfortunately there is a bit too much of them to attach to the list
message.

These logs are produced after I've upgraded my outdated system
to current 11.2 with clang 6.0.0. It haven't eliminated problem.

I can publish my KVM images both of old system (11.0 witth clang 3.8.0)
and new one (current 11.2 with clang 6.0.0)

>
> The OP reported clang 3.8.0, so a minor version behind what I tested.
>
> I did learn that "make check" fails in rolenames if your Unix user is
> called "user".
>

--
Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message R, Siva 2018-09-04 19:59:11 Bug in ginRedoRecompress that causes opaque data on page to be overrun
Previous Message Tom Lane 2018-09-04 19:48:24 Re: Bug fix for glibc broke freebsd build in REL_11_STABLE