Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2019 22:17:38 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        Gleb Popov <arrowd@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r506403 - head/lang/ghc
Message-ID:  <20190711201738.GA87486@ThinkPad-X200.g.anongoth.pl>
In-Reply-To: <20190711135108.GA93709@FreeBSD.org>
References:  <201907110944.x6B9iesR013736@repo.freebsd.org> <20190711135108.GA93709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--C91nvfamC5l/oJew
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline

On 19-07-11 13:51:08, Alexey Dokuchaev wrote:
>On Thu, Jul 11, 2019 at 09:44:40AM +0000, Gleb Popov wrote:
>> New Revision: 506403
>> URL: https://svnweb.freebsd.org/changeset/ports/506403
>>
>> Log:
>>   lang/ghc: Adjust OSVERSION checks for powerpc64.
>>
>>   Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
>>
>> Modified:
>>   head/lang/ghc/Makefile
>>
>> ...
>> @@ -139,7 +139,7 @@ _EXECUTABLES+=	${GHC_LIBDIR}/bin/ghc-iserv-dyn
>>  .include <bsd.port.options.mk>
>>
>>  .if empty(PORT_OPTIONS:MBOOT)
>> -.  if ${ARCH} == powerpc64 && ${OSVERSION} < 1300036
>> +.  if ${ARCH} == powerpc64 && ${OSVERSION} < 1300040
>
>The commit log does not explain what had changed between 1300036 and
>1300040, that is, *why* this change is needed.
>
>./danfe
>

Also, this is probably not because of this commit, but while ghc-8.6.5 built on powerpc64 elfv1, 8.6.5_2 doesn't build:
https://talos.anongoth.pl/data/powerpc64-default/2019-07-11_12h27m09s/logs/errors/ghc-8.6.5_2.log

rts/posix/OSMem.c:548:17: error:
     warning: comparison of integer expressions of different signedness: 'W_' {aka 'long unsigned int'} and 'rlim_t' {aka 'long int'} [-Wsign-compare]
             && *len > limit.rlim_cur) {
                     ^
    |
548 |         && *len > limit.rlim_cur) {

--C91nvfamC5l/oJew
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl0nmWJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM5
Q0M4ODc4RDkyNDgyODg3M0IyOEEyQjdBNTk5Qjg1MjA4MzlDOUQACgkQelmbhSCD
nJ1hlQ//SxW8aH6Cb6E4pFxVBgeSzGvae7BU+WoN0uvIivy1/9isp6UjVptZvqzi
60OQkTOa42leBiFyeJ5S3x3WucsEzmOuA1enOYpbBBecMwsoZAfFrFINs4/x0J/q
e1VT3UD6bhPUIvj/uzBqC4jO6/fREDhOdyOuKFGjpII9yLCdY0oOuvxJFv2CBUTj
yFrKhkVKtshYRoMOxTy4yHWMM5I+7HuL5olgEwCVxhuVM1lKfagKhtjtkwyRcC3W
8oLRdOEnIVIjW2QJkykPwnBjXPsqkZZhi+VzOXZnSVaP/WpLf2scAlUHf9n4R9FD
YhaNXKxg43EmaLlE7pNJCRsiwXtnru2xs43T0lUchH0/nOnupfFbg1SJVKEZgxmH
78IN23CblXERDl+cSjmotkpSC4WFsAkRCyFAAYOVzW0a5mIaSpREOk8ZozE4Xhfc
rYTkyqZ2QC17ehqOGuXQ9KMkTQiGz9tYPIM9fgYavrku3TvnSyCGaxmfDCONk5BR
G++NryU7ilS10iZXI1CQ4cDqUtA0VIUhXXrAhkEWjh02ABR2lytcGfbLmkcWTVxj
FpwKXbjK1sEUwZ60Z/SURGu/E2c4rAYEVQEZ6+NMCR6RKuPoRvEqV8NBzMLp44J1
uBMjyrt5xQRTXz5njyd9+1meeZ1VG/ZRoNaKdOhGSNMskxK3fh8=
=H2vd
-----END PGP SIGNATURE-----

--C91nvfamC5l/oJew--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190711201738.GA87486>