pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48252: x11/rxvt-unicode invalid assembly macro for sparc
The following reply was made to PR pkg/48252; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/48252: x11/rxvt-unicode invalid assembly macro for sparc
Date: Wed, 12 Feb 2014 17:17:58 -0600 (CST)
On Fri, 7 Feb 2014, OBATA Akio wrote:
> Can you reproduce this issue in devel/libev too?
Yes.
> Here are libev upstream changes, probably related this issue:
> http://cvs.schmorp.de/libev/ev.c?r1=1.461&r2=1.462
>
> - #elif __sparc || __sparc__
> + #elif (__sparc || __sparc__) && !__sparcv8
The above is not sufficient. The NetBSD/sparc C compiler predefines only
"__sparc" and "__sparc__" when no "-mcpu=xxxx" directive is present. If,
for example, "-mcpu=v8" was specified, "__sparc_v8__" would be defined
in addition to the other macros.
It would be nice if a sparcv9-specific macro could be guaranteed defined
on sparc64 toolchains when no cpu-tuning options are given.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index