7.0BETA4 /usr/src/gnu/usr.bin/cc/cc_int Thrashes
Julian Stacey
jhs at berklix.org
Tue Dec 18 03:08:27 PST 2007
Has 7.0-BETA4 perhaps wrongly got a -pipe in the .mk macros ?
Please someone with generic 7.0BETA4 check with eg:
A single line /etc/make.conf
CFLAGS += -Dzonk=bla
~/tmp/Makefile
tst:
@echo "XX ${CFLAGS} YY"
make tst
XX -O2 -fno-strict-aliasing -pipe -Dzonk=bla YY
Is pipe coming from generic mk/ ?
Or from my local hacked version ?
Could someone test please:
My /usr/src is no longer generic, on a very slow CPU, SLIP
linked, building rest of src/ & I'm about to go away, &
will miss the 7-RELEASE date, but -pipe should not be in
generic, needs to be a host dependent choice. )
Thanks
PS
Discovered after thrashing, never getting past
/usr/src/gnu/usr.bin/cc/cc_int
cc -O2 -fno-strict-aliasing -pipe -march=i586 -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
-c ../cc_tools/insn-attrtab.c
& many
swap_pager_getswapspace(3): failed
Then I got desperate &
dd if=/dev/zero of=/var/tmp/SWAP count=200000
mdconfig -a -t vnode -f /var/tmp/SWAP
swapon /dev/md0
I've hashed out cc in src/gnu/usr.bin/Makefile to nurse it on.
Julian
--
Julian Stacey. Munich Consultant: BSD Unix Linux. http://berklix.com
Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
More information about the freebsd-stable
mailing list