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, 10 Dec 2018 13:01:02 -0800
--000000000000e7f0f8057cb14309
Content-Type: text/plain; charset="UTF-8"
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.
>
>
--000000000000e7f0f8057cb14309
Content-Type: text/html; charset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