tech-pkg archive

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

Re: gcc46/47 error being built inside 32bit chroot on amd64 machine



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


Home | Main Index | Thread Index | Old Index