Subject: CVS commit: pkgsrc/lang/g95
From: Maya Rashish
Date: 2016-09-28 17:34:54
Message id: 20160928153454.99C7BFBD2@cvs.NetBSD.org

Log Message:
lang/g95: blindly apply patch to help netbsd/mips build issues.

netbsd/mips gcc defaults to -mips1 which lacks ll/sc instructions
(or anything like them), and rejects the assembly code used here.

switch to mips3 (bare minimum for synchronization primitives) for
these instructions. this will result in runtime failures (illegal
instruction) on mips1, but we're unlikely to see any such users
(MIPS3 was released in 1992).

I'm not comfortable using the proper fix of switching to using
__sync_* because that seems to be a compiler builtin and gcc 4.1.2
might not have it.
Also, that change requires careful testing that this 'dumb' change
doesn't. Additionally, g95 is a dead end (upstream gone), so not
worth the effort.

PR pkg/44547: pkgsrc build failure for g95 on NetBSD/cobalt

Files:
RevisionActionfile
1.27modifypkgsrc/lang/g95/distinfo
1.1addpkgsrc/lang/g95/patches/patch-libf95.a-0.93_runtime_mutex.c