svn commit: r506403 - head/lang/ghc

Piotr Kubaj pkubaj at anongoth.pl
Thu Jul 11 20:17:50 UTC 2019


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 at 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) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20190711/4b03189e/attachment.sig>


More information about the svn-ports-head mailing list