pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53771: digest keccak.c does not compile on IRIX with mipspro compiler
The following reply was made to PR pkg/53771; it has been noted by GNATS.
From: Alistair Crooks <agc%pkgsrc.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/53771: digest keccak.c does not compile on IRIX with mipspro compiler
Date: Mon, 14 Jan 2019 20:36:03 -0800
--000000000000960b3a057f77b312
Content-Type: text/plain; charset="UTF-8"
Any luck running the self-tests?
On Mon, 10 Dec 2018 at 13:01, Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
> Can you try to run the self tests, please? (They're for SHA3, so quote
> relevant): "digest -t"
>
> Thanks,
> Alistair
>
> On Sun, 9 Dec 2018 at 22:57, <esp%iki.fi@localhost> wrote:
>
>> >Number: 53771
>> >Category: pkg
>> >Synopsis: digest keccak.c does not compile on IRIX with mipspro
>> compiler
>> >Confidential: no
>> >Severity: non-critical
>> >Priority: medium
>> >Responsible: pkg-manager
>> >State: open
>> >Class: sw-bug
>> >Submitter-Id: net
>> >Arrival-Date: Mon Dec 10 06:45:00 +0000 2018
>> >Originator: Erno Palonheimo
>> >Release: current-20181201
>> >Organization:
>> >Environment:
>> IRIX64 arpakuutio 6.5 07202013 IP30 mips
>>
>> >Description:
>> keccak.c of digest package has this preprocessor macro:
>>
>> #define FOR5(X, STMT) do
>> \
>> {
>> \
>> (X) = 0; (STMT);
>> \
>> (X) = 1; (STMT);
>> \
>> (X) = 2; (STMT);
>> \
>> (X) = 3; (STMT);
>> \
>> (X) = 4; (STMT);
>> \
>> } while (0)
>>
>> It results in code that has a gcc-specific syntax and Mipspro won't
>> compile it.
>> >How-To-Repeat:
>> Try to build digest on IRIX using Mipspro.
>> >Fix:
>> Discussion on Freenode #pkgsrc revealed that this could possibly be
>> worked around by changing the (STMT) on the macro to {STMT} as suggested by
>> Rhialto. I changed the file manually and at least the compiler compiled it
>> and the digest command works now. If further help in testing this on IRIX
>> is needed, I can run tests on the machine.
>>
>>
--000000000000960b3a057f77b312
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: base64
PGRpdiBkaXI9Imx0ciI+QW55IGx1Y2sgcnVubmluZyB0aGUgc2VsZi10ZXN0cz88L2Rpdj48YnI+
PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPjxkaXYgZGlyPSJsdHIiPk9uIE1vbiwgMTAgRGVjIDIw
MTggYXQgMTM6MDEsIEFsaXN0YWlyIENyb29rcyAmbHQ7PGEgaHJlZj0ibWFpbHRvOmFnY0Bwa2dz
cmMub3JnIj5hZ2NAcGtnc3JjLm9yZzwvYT4mZ3Q7IHdyb3RlOjxicj48L2Rpdj48YmxvY2txdW90
ZSBjbGFzcz0iZ21haWxfcXVvdGUiIHN0eWxlPSJtYXJnaW46MHB4IDBweCAwcHggMC44ZXg7Ym9y
ZGVyLWxlZnQ6MXB4IHNvbGlkIHJnYigyMDQsMjA0LDIwNCk7cGFkZGluZy1sZWZ0OjFleCI+PGRp
diBkaXI9Imx0ciI+Q2FuIHlvdSB0cnkgdG8gcnVuIHRoZSBzZWxmIHRlc3RzLCBwbGVhc2U/IChU
aGV5JiMzOTtyZSBmb3IgU0hBMywgc28gcXVvdGUgcmVsZXZhbnQpOiAmcXVvdDtkaWdlc3QgLXQm
cXVvdDs8ZGl2Pjxicj48L2Rpdj48ZGl2PlRoYW5rcyw8L2Rpdj48ZGl2PkFsaXN0YWlyPC9kaXY+
PC9kaXY+PGJyPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj48ZGl2IGRpcj0ibHRyIj5PbiBTdW4s
IDkgRGVjIDIwMTggYXQgMjI6NTcsICZsdDs8YSBocmVmPSJtYWlsdG86ZXNwQGlraS5maSIgdGFy
Z2V0PSJfYmxhbmsiPmVzcEBpa2kuZmk8L2E+Jmd0OyB3cm90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