pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/44547 CVS commit: pkgsrc/lang/g95



The following reply was made to PR pkg/44547; it has been noted by GNATS.

From: "Maya Rashish" <maya%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/44547 CVS commit: pkgsrc/lang/g95
Date: Wed, 28 Sep 2016 15:34:54 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Wed Sep 28 15:34:54 UTC 2016
 
 Modified Files:
 	pkgsrc/lang/g95: distinfo
 Added Files:
 	pkgsrc/lang/g95/patches: patch-libf95.a-0.93_runtime_mutex.c
 
 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
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/g95/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/lang/g95/patches/patch-libf95.a-0.93_runtime_mutex.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index