Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 23:08:20 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org
Subject:   Re: What is clang error code 254?
Message-ID:  <18EBA0BD-B092-42FE-A165-4A26584BC9FF@yahoo.com>

next in thread | raw e-mail | index | archive | help
bob prohaska fbsd at www.zefox.net wrote on
Thu Jan 24 18:22:40 UTC 2019 :

> The pattern of clang crashes during buildworld on RPI3 continues,=20
> most consistently reporting Error code 254.
>=20
> I've looked on the web for clang error codes and find nothing.
> Even the llvm.org website isn't helpful. There are references=20
> to error 254, but nothing seems recent, and no error list is
> mentioned.

I found it traces to:

   // Return a special value to indicate that the process received an =
unhandled
   // signal during execution as opposed to failing to execute.
   WaitResult.ReturnCode =3D -2;

in /usr/src/contrib/llvm/lib/Support/Unix/Program.inc . (I did the
trace between that and main by inspection but I'll not list the details
here.)

-2 treated as an unsigned-byte is 254 for the rpi3 (and most common
FreeBSD machines [all?]).


=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?18EBA0BD-B092-42FE-A165-4A26584BC9FF>