NetBSD-Bugs archive

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

Re: port-sparc/44705: libc violates sparc ABI by using %g7

On Wed, Mar 09, 2011 at 08:05:00PM +0000, wrote:
> The libc source generated from src/lib/libc/arch/sparc/gen/divrem.m4 use a
> scratch register "SC", which is currently defined as %g7. This violates the
> ABI and will cause trouble with threaded programs.
> Luckily the code in question (in default installs) should only be used on
> sparc v7 machines (not seen [powered on] in the wild a lot nowadays).

Could this be the reason why some threaded programs have troubles on
my sparc IPX ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index