Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2018 20:46:11 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Sean Bruno <sbruno@freebsd.org>, ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: ports -r484565 : qemu-arm-static fails with: (start < end), function page_set_flags, file . . . accel/tcg/translate-all.c, line 2077
Message-ID:  <7F3A94B8-C6E9-42D5-A5DF-94BF910B1D0C@yahoo.com>
In-Reply-To: <CACNAnaG%2Bqpi5BAwL1EHPB=17Vu2Uikb_4mAC67jtoLaS%2Bv4DXA@mail.gmail.com>
References:  <783DE9B1-F1F5-45B5-8C3E-0B0D8BF4CC03@yahoo.com> <eeaa53e1-0d2c-f8d1-7d99-d82c7cffb9cb@freebsd.org> <C18EF212-7C23-4FFB-B0A0-49DAEF87705C@yahoo.com> <04F7FF99-96DE-4A51-B17F-7F2FEE667417@yahoo.com> <B680E29F-7E04-447B-8A17-D0C82B521998@yahoo.com> <CACNAnaGNUOEcSsTuZk-sb4976Y25kgQ87H8PGn9UAUGNUo97kw@mail.gmail.com> <AF2D0AA0-A1BD-4C5D-843A-3280D1BE1309@yahoo.com> <CACNAnaG%2Bqpi5BAwL1EHPB=17Vu2Uikb_4mAC67jtoLaS%2Bv4DXA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Nov-10, at 20:00, Kyle Evans <kevans at freebsd.org> wrote:

> On Sat, Nov 10, 2018 at 4:30 PM Mark Millard <marklmi at yahoo.com> =
wrote:
>>=20
>> On 2018-Nov-10, at 12:28, Kyle Evans <kevans at freebsd.org> wrote:
>>=20
>>> On Sat, Nov 10, 2018 at 11:38 AM Mark Millard via freebsd-ports
>>> <freebsd-ports@freebsd.org> wrote:
>>>>=20
>>>> Having actually installed the reverted code fist ( -r438807 ),
>>>> cmake's package stage is now well past were it was failing.
>>>>=20
>>>> So it is not the pkg vintage that matters: it is the qemu-sbruno
>>>> vintage that matters.
>>>>=20
>>>> (gcc8 getting that far is hours away: full bootstrap, so mostly
>>>> emulated.)
>>>>=20
>>>=20
>>> I find the assertion you've reported fairly bizarre, since all of =
the
>>> page_set_flags invocations we would've touched are generally of the
>>> form `page_set_flags(start, start + len, ...)` -- I'm working on
>>> reproducing locally, though.
>>=20
>> Looking at the overall sources for the two versions ( as seen via
>> -r483807 and -r484565 ) I find a possibly-significant changed file:
>>=20
>> # diff -u =
/wrkdirs/usr/ports/emulators/qemu-user-static/*work/qemu-bsd-user-*/bsd-us=
er/mmap.c | more
>> --- =
/wrkdirs/usr/ports/emulators/qemu-user-static/483807-work/qemu-bsd-user-49=
5fb3a/bsd-user/mmap.c     2018-05-25 07:28:13.000000000 -0700
>> +++ =
/wrkdirs/usr/ports/emulators/qemu-user-static/484565-work/qemu-bsd-user-2c=
b0cdd/bsd-user/mmap.c     2018-11-09 09:27:18.000000000 -0800
>>=20
>=20
> Yes, I'm familiar with this particular changeset- I wrote it. =3D)

I noticed that later when researching.

> Unfortunately, I can't reproduce this locally- neither with
> devel/cmake nor any of the other ports that I build.

Out of 200+ I only saw it for the two. Multiple bulk tests
for cmake. (I did not wait for lang/gcc8's full bootstrap
to finish.) Some uncommon (limiting?) condition, apparently.

> I think we'll
> have to wait until either we get more reports of this or portmgr@
> trips over it in a way that I can reproduce and dig in a bit.

If there is a change that would force a core dump or
backtrace or something to give context, I could try such.
(My normal builds are non-debug but with symbols enabled,
even for ports, a combination I had to add local support
for.) I did not find a core file when I looked in the
tar archive of the failure. (I've not yet checked
qemu-arm-static does something to prevent generating
host core files.)

Or I could substitute the old version of the one source in
with the rest being new, rebuild qemu-user-static, and try
again.

Such would be tomorrow, my time (US Pacific).

(The reason for tomorrow: I've got a bulk going for updating
to ports -r484652 --other than the reverted qemu-user-static.
It is done but for the full-bootstrap lang/gcc8 that will
take hours more.)



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F3A94B8-C6E9-42D5-A5DF-94BF910B1D0C>