hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure: 1. i have the following in my make.conf: .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) && exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif this should make sure that anywhere outside of /usr/src and /usr/obj gcc44 should be used instead of the base gcc. however during buidlworld i get: ===> libvers (installincludes)^M cd /usr/src/usr.bin/lex/lib; MAKEOBJDIRPREFIX=/usr/obj/lib32 _SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 VERSION="FreeBSD 9.0-CURRENT amd64 900013" MACHINE=i386 MACHINE_ARCH=i386 MACHINE_CPU="i686 mmx sse sse2" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tm /usr/obj/lib32/usr/src/usr.bin/lex/lib created for /usr/src/usr.bin/lex/lib^M cd /usr/src/lib/ncurses/ncurses; MAKEOBJDIRPREFIX=/usr/obj/lib32 /usr/obj/usr/src/make.amd64/make SSP_CFLAGS= DESTDIR= build-tools^M sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKhashsize.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps > hashsize.h^M AWK=awk sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKncurses_def.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/ncurses_defs > ncurses_def.h^M sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.h.in >curses.head -e "/_at_BROKEN_LINKER_at_/s%%0%" -e "/_at_HAVE_VSSCANF_at_/s%%1%" -e "/_at_NCURSES_CH_T_at_/s%%chtype%" -e "/_at_NCURSES_CONST_at_/s%%const%" -e "/_at_NCURSES_EXT_COLORS_at_/s%%0%" -e "/_at_NCURSES_EXT_FUNCS_at_/s cat curses.head > curses.h.new^M AWK=awk _POSIX2_VERSION=199209 sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKkey_defs.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps >> curses.h.new^M cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.tail >> curses.h.new^M mv -f curses.h.new curses.h^M sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKterm.h.awk.in >MKterm.h.awk -e "/_at_BROKEN_LINKER_at_/s%%0%" -e "/_at_NCURSES_MAJOR_at_/s%%5%" -e "/_at_NCURSES_MINOR_at_/s%%7%" -e "/_at_NCURSES_CONST_at_/s%%const%" -e "/_at_NCURSES_TPARM_VARARGS_at_/s%%1%" -e "/_at_NCURSES_SBOOL_at_/ awk -f MKterm.h.awk /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps > term.h.new^M sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/edit_cfg.sh /usr/src/lib/ncurses/ncurses/ncurses_cfg.h term.h.new^M ** edit: HAVE_TCGETATTR 1^M ** edit: HAVE_TERMIOS_H 1^M ** edit: HAVE_TERMIO_H 0^M ** edit: BROKEN_LINKER 0^M mv -f term.h.new term.h^M sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/termcap.h.in >termcap.h -e "/_at_NCURSES_MAJOR_at_/s%%5%" -e "/_at_NCURSES_MINOR_at_/s%%7%" -e "/_at_NCURSES_CONST_at_/s%%const%" -e "/_at_NCURSES_OSPEED_at_/s%%short%"^M sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/unctrl.h.in >unctrl.h -e "/_at_NCURSES_MAJOR_at_/s%%5%" -e "/_at_NCURSES_MINOR_at_/s%%7%"^M cc -o make_hash -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ awk -f /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/MKnames.awk bigstrings=1 /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps > names.c^M cc -o make_keys -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ cd /usr/src/lib/ncurses/ncursesw; MAKEOBJDIRPREFIX=/usr/obj/lib32 /usr/obj/usr/src/make.amd64/make SSP_CFLAGS= DESTDIR= build-tools^M sh /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include/MKhashsize.sh /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include/Caps > hashsize.h^M AWK=awk sh /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include/MKncurses_def.sh /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include/ncurses_defs > ncurses_def.h^M cc -o make_hash -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncursesw/../ncursesw -I/usr/src/lib/ncurses/ncursesw/../ncursesw -I/usr/src/lib/ncurses/ncursesw/../ncurses -I/usr/src/ awk -f /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/ncurses/tinfo/MKnames.awk bigstrings=1 /usr/src/lib/ncurses/ncursesw/../../../contrib/ncurses/include/Caps > names.c^M cc -o make_keys -O2 -pipe -fno-strict-aliasing -funroll-loops -march=native -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncursesw/../ncursesw -I/usr/src/lib/ncurses/ncursesw/../ncursesw -I/usr/src/lib/ncurses/ncursesw/../ncurses -I/usr/src/ cd /usr/src/lib/libmagic; MAKEOBJDIRPREFIX=/usr/obj/lib32 /usr/obj/usr/src/make.amd64/make SSP_CFLAGS= DESTDIR= build-tools^M cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/li cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/lib32 _SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 VERSION="FreeBSD 9.0-CURRENT amd64 900013" MACHINE=i386 MACHINE_ARCH=i386 MACHINE_CPU="i686 mmx sse sse2" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sb cd /usr/src; /usr/obj/usr/src/make.amd64/make -f Makefile.inc1 _prereq_libs; /usr/obj/usr/src/make.amd64/make -f Makefile.inc1 _startup_libs; /usr/obj/usr/src/make.amd64/make -f Makefile.inc1 _prebuild_libs; /usr/obj/usr/src/make.amd64/make -f Makefile.inc1 _generic_libs; ===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)^M rm -f .depend^M CC='gcc44 -m32 -march=native -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32' mkdep -f .depend -a -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libssp/libssp_nonshared/.. -I/usr/src/ /usr/bin/mkdep: gcc44: not found^M mkdep: compile failed^M *** Error code 1^M ^M Stop in /usr/src/gnu/lib/libssp/libssp_nonshared.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M ^[[1m^[[7m%^[[27m^[[1m^[[m ^M ^[[1m^[[7m%^[[27m^[[1m^[[m Script done on Sun Jun 13 14:41:41 2010 2. if i set CC=cc (or clang) CXX=c++ (or clang) CPP=cpp (or clang) in src.conf buildworld fails with this error: ===> gnu/lib/csu (obj,depend,all,install)^M /usr/obj/usr/src/make.amd64/make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h^M TARGET_CPU_DEFAULT="" HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET" /bin/sh /usr/src/gnu/lib/csu/../../../contrib/gcc/mkconfig.sh tconfig.h^M /usr/obj/usr/src/make.amd64/make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tm.h^M TARGET_CPU_DEFAULT="" HEADERS="options.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos-undef.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h i386/freebsd.h defaults.h" DEFINES="" /bin/sh /usr/src/gnu/lib/csu/../../../contrib/gcc/mkconfig.sh tm.h^M echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >> tm.h^M /usr/obj/usr/src/make.amd64/make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc options.h^M LC_ALL=C awk -f /usr/src/gnu/lib/csu/../../../contrib/gcc/opt-gather.awk /usr/src/gnu/lib/csu/../../../contrib/gcc/c.opt /usr/src/gnu/lib/csu/../../../contrib/gcc/common.opt /usr/src/gnu/lib/csu/../../../contrib/gcc/config/i386/i386.opt > optionlist^M LC_ALL=C awk -f /usr/src/gnu/lib/csu/../../../contrib/gcc/opt-functions.awk -f /usr/src/gnu/lib/csu/../../../contrib/gcc/opth-gen.awk < optionlist > options.h^M rm -f .depend^M mkdep -f .depend -a -DCRT_BEGIN -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -I/usr/src/gnu/lib/csu/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. -I/usr/src/gnu/lib/csu/../../ cc -O2 -pipe -fno-strict-aliasing -funroll-loops -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-zero-initialized-in-bss -fno-toplevel-reorder -I/usr/src/gnu/lib/csu/. cc -O2 -pipe -fno-strict-aliasing -funroll-loops -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-zero-initialized-in-bss -fno-toplevel-reorder -I/usr/src/gnu/lib/csu/. cc -O2 -pipe -fno-strict-aliasing -funroll-loops -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-zero-initialized-in-bss -fno-toplevel-reorder -I/usr/src/gnu/lib/csu/. cc -O2 -pipe -fno-strict-aliasing -funroll-loops -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-zero-initialized-in-bss -fno-toplevel-reorder -I/usr/src/gnu/lib/csu/. cc -O2 -pipe -fno-strict-aliasing -funroll-loops -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-zero-initialized-in-bss -fno-toplevel-reorder -I/usr/src/gnu/lib/csu/. sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.o /usr/obj/usr/src/lib32/usr/lib32/crtbegin.o^M sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.o /usr/obj/usr/src/lib32/usr/lib32/crtend.o^M sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbeginT.o /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o^M sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtbegin.So /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o^M sh /usr/src/tools/install.sh -o root -g wheel -m 444 crtend.So /usr/obj/usr/src/lib32/usr/lib32/crtendS.o^M ===> lib/csu/i386-elf (obj,depend,all,install)^M rm -f .depend^M mkdep -f .depend -a -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include /usr/src/lib/csu/i386-elf/crti.S /usr/src/lib/csu/i386-elf/crtn.S^M cc -O2 -pipe -fno-strict-aliasing -funroll-loops -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari cc -O2 -pipe -fno-strict-aliasing -funroll-loops -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari cc -O2 -pipe -fno-strict-aliasing -funroll-loops -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari cc -O2 -pipe -fno-strict-aliasing -funroll-loops -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari /usr/src/lib/csu/i386-elf/crt1_s.S: Assembler messages:^M /usr/src/lib/csu/i386-elf/crt1_s.S:34: Error: suffix or operands invalid for `push'^M /usr/src/lib/csu/i386-elf/crt1_s.S:37: Error: `8(%ebp)' is not a valid 64 bit base/index expression^M /usr/src/lib/csu/i386-elf/crt1_s.S:38: Error: suffix or operands invalid for `push'^M /usr/src/lib/csu/i386-elf/crt1_s.S:39: Error: `4(%ebp)' is not a valid 64 bit base/index expression^M /usr/src/lib/csu/i386-elf/crt1_s.S:40: Error: suffix or operands invalid for `push'^M *** Error code 1^M ^M Stop in /usr/src/lib/csu/i386-elf.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M *** Error code 1^M ^M Stop in /usr/src.^M ^[[1m^[[7m%^[[27m^[[1m^[[m Script done on Sun Jun 13 22:20:33 2010 cheers. alex -- Alexander BestReceived on Sun Jun 13 2010 - 18:28:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC