Bug 228008 - [MAINTAINER] math/arpack: take maintainership, switch to flang
Summary: [MAINTAINER] math/arpack: take maintainership, switch to flang
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-06 05:47 UTC by robert.ayrapetyan
Modified: 2019-02-12 07:03 UTC (History)
2 users (show)

See Also:


Attachments
necessary changes for switching to flang (832 bytes, patch)
2018-05-06 05:47 UTC, robert.ayrapetyan
no flags Details | Diff
poudriere log for a patched port (46.53 KB, text/plain)
2018-05-06 21:40 UTC, robert.ayrapetyan
no flags Details
necessary changes for switching to flang (1.11 KB, patch)
2018-05-07 06:10 UTC, robert.ayrapetyan
no flags Details | Diff
poudriere log for a patched port (47.41 KB, text/plain)
2018-05-07 06:11 UTC, robert.ayrapetyan
no flags Details
necessary changes for switching to flang (amd64) (1.14 KB, patch)
2018-05-07 07:03 UTC, robert.ayrapetyan
no flags Details | Diff
proper handling of non-supported archs (1.27 KB, patch)
2018-05-07 22:16 UTC, robert.ayrapetyan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description robert.ayrapetyan 2018-05-06 05:47:58 UTC
Created attachment 193073 [details]
necessary changes for switching to flang

There are lot of known problems with gfortran when clang is involved, e.g.:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196862

This patch switches to using flang compiler (on amd64 only) and resolves gcc linker issues.

Note:
- patched "Makefile" contains a "ditry" arch check, I believe it's the best available option now until "flang" will be set by default for all amd64 ports in fortran.mk.
Comment 1 robert.ayrapetyan 2018-05-06 21:40:58 UTC
Created attachment 193118 [details]
poudriere log for a patched port
Comment 2 robert.ayrapetyan 2018-05-07 06:10:47 UTC
Created attachment 193132 [details]
necessary changes for switching to flang

A less-destructive switch to flang (OPTION).
Comment 3 robert.ayrapetyan 2018-05-07 06:11:44 UTC
Created attachment 193133 [details]
poudriere log for a patched port
Comment 4 Yuri Victorovich freebsd_committer 2018-05-07 06:15:03 UTC
(In reply to robert.ayrapetyan from comment #3)

I will run all tests and commit the change, thanks!
Comment 5 robert.ayrapetyan 2018-05-07 07:03:53 UTC
Created attachment 193141 [details]
necessary changes for switching to flang (amd64)
Comment 6 robert.ayrapetyan 2018-05-07 22:16:06 UTC
Created attachment 193166 [details]
proper handling of non-supported archs
Comment 7 w.schwarzenfeld freebsd_triage 2019-02-11 11:38:29 UTC
ping!
Comment 8 Yuri Victorovich freebsd_committer 2019-02-12 06:59:17 UTC
Hi Robert,

Please don't attach poudriere logs in the future. Just say that the build is fine on such and such architecture.

Yuri
Comment 9 Yuri Victorovich freebsd_committer 2019-02-12 07:03:07 UTC
This port doesn't exist any more.
This was an old, unmaintained and insecure port that was deleted and replaced with a more modern math/arpack-ng.

Yuri