pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CFLAGS+=-m32 and lang/gcc46
Hello
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?
===> Building for gcc46-4.6.4nb3(ulimit -d `ulimit -H -d`; ulimit -s `ulimit -H -s`; cd /pkg_comp/obj/pkgsrc/lang/gcc46/default/obj && /usr/bin/env USETOOLS=no ICONVPREFIX=/usr ac_cv_func_clock_gettime=yes SHELL=/usr/pkg/bin/bash ac_cv_path_ac_cv_prog_chmod=/bin/chmod ac_cv_path_SED=/usr/bin/sed lt_cv_path_SED=/usr/bin/sed CC=gcc CFLAGS=-O2\ -m32\ -I/pkg_comp/obj/pkgsrc/lang/gcc46/default/.buildlink/include\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/pkg_comp/obj/pkgsrc/lang/gcc46/default/.buildlink/include\ -I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -m32\ -I/pkg_comp/obj/pkgsrc/lang/gcc46/default/.buildlink/include\ -I/usr/pkg/include\ -I/usr/include\ -m32 (...)
(...)
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -fkeep-inline-functions -I/pkg_comp/obj/pkgsrc/lang/gcc46/default/.buildlink/include -I/usr/pkg/include -I/usr/include -I. -I/pkg_comp/obj/pkgsrc/lang/gcc46/default/gcc-4.6.4/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic /pkg_comp/obj/pkgsrc/lang/gcc46/default/gcc-4.6.4/libiberty/physmem.c -o pic/physmem.o; \
else true; fi
/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
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index