From tech-pkg - any thoughts on PR45673? Cheers, Patrick On Tue, Aug 21, 2012 at 02:36:34PM +0200, Ignatios Souvatzis wrote: > On Tue, Aug 21, 2012 at 01:21:26PM +0100, Patrick Welche wrote: > > On Tue, Aug 21, 2012 at 01:51:03PM +0200, is%netbsd.org@localhost wrote: > > > > > /usr/include/x86/lock.h:108: Error: bad register name `%sil' > > > > > gcc -c -DHAVE_CONFIG_H -g -fkeep-inline-functions > > > -I/pkg_comp/obj/pkgsrc/lang/ > > ^^ > > Removing the -g should help. Unfortunately this makes debugging more > > interesting... > > > > http://gnats.netbsd.org/45673 > > I read that fixing the asm call helps, as this ensures that no %sil > can be used for that access (which doesn't exist, at least not for > memory transfers). > > -is