| Summary: | error compiling libmcrypt on k6-processor (gcc -march=k6) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jens.Rehsack <Jens.Rehsack> | ||||
| Component: | Individual Port(s) | Assignee: | Tilman Keskinoz <arved> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | rehsack | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports->arved I am researching this problem with the submitter State Changed From-To: open->closed Broken Optimization Bug reported to Author of libmcrypt. |
portupgrade libmcrypt fails unexpected, some "research" identified the array name k6 in file modules/algorithms/gost.c as the problem it seems the preprocessor defines a symbol named k6 if compiling for k6-architecture Fix: I submit a small+fast patch which seems to work (static array's, so naming doesn't matter), but further checks from maintainer or developer of libmcrypt may are required. I didn't check, but maybe using GCC3+ fix the problem. How-To-Repeat: add CPUTYPE=k6/k6-2/k6-3 to /etc/make.conf cd /usr/ports/security/libmcrypt/ make build