pkgsrc-Users archive

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

Re: CFLAGS+=-m32 and lang/gcc46



On Mon, Apr 06, 2015 at 09:01:17PM +0200, Emmanuel Dreyfus wrote:
> I am using pkg_comp to build pkgsrc 2015Q1 for i386 on amd64. I have
> CFLAGS+=-m32 in chroot/etc/mk.conf, and everything goes fine, except
> lang/gcc46 which seems to loose the -m32 flag (see below). Any fix known?

Don't do that. Please use ABI=32.

> /usr/include/x86/lock.h: Assembler messages:
> /usr/include/x86/lock.h:108: Error: bad register name `%sil'
> Makefile:911: recipe for target 'physmem.o' failed

That said, this was IIRC a bug in the system headers fixed at a later
point. r1.26 of that file?

Joerg


Home | Main Index | Thread Index | Old Index