if gcc -DLIBDIR=\"/usr/lib\" -DFLASK_LINUX -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include/selinux -Os -mcpu=k6-2 -funroll-loops -pipe -MT physmem.o -MD -MP -MF ".deps/physmem.Tpo" \ -c -o physmem.o `test -f 'physmem.c' || echo './'`physmem.c; \ then mv ".deps/physmem.Tpo" ".deps/physmem.Po"; \ else rm -f ".deps/physmem.Tpo"; exit 1; \ fi physmem.c: In function `physmem_total': physmem.c:98: storage size of `pss' isn't known physmem.c: In function `physmem_available': physmem.c:202: storage size of `pss' isn't known physmem.c:203: storage size of `psd' isn't known make[3]: *** [physmem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/coreutils-5.0-r3/work/coreutils-5. 0/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/coreutils-5.0-r3/work/coreutils-5. 0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.0-r3/work/coreutils-5. 0' make: *** [all] Error 2 !!! ERROR: sys-apps/coreutils-5.0-r3 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) localhost root # emerge info Portage 2.0.49-r1 (selinux-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,2.3.1-r4, 2.4. 20-hardened-r4) ================================================================= System uname: 2.4.20-hardened-r4 i586 AMD-K6(tm) 3D processor distcc 2.10 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache userpriv" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 zlib -3dfx -3dnow aalib acl -acpi -afs -alsa -apache2 -apm -arts -atlas -avi berkdb -bonobo -canna -cdr -cjk crypt -cscope -cups -curl -directfb -doc -dvd -dvb -emacs -encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash -foomaticdb freetds -freewnn -gd -gd -gdbm -ggi -gif -gnome -gphoto2 -gpm -gps -gstreamer -gtk -gtk2 -gtkhtml -guile -icc -icc-pro -imap -imlib innodb informix ipv6 -jack -java -jikes -joystick -jpeg junit -kde -kerberos -krb4 -ladcca -lcms ldap -leim libg++ -libgda -libwww -lirc -mad maidir -matrix -mbox -mcal -mikmod memlimit mmx -motif -mozilla -mpeg mpi -mule -mysql -nas ncurses nhc98 -nls -nocardbus -nocd oci8 odbc -oggvorbis -opengl -oss pam -pcmcia -pda -ppds -pdflib perl -plotutils -png postgres -bindist prelude python -qt -quicktime readline -ruby -samba sasl -scanner -sdl slang -slp -snmp -socks5 -spell -sse ssl -svga -tcltk -tcpd -tetex -tiff -truetype -trusted -usb -videos -voodoo3 -wavelan -wmf -wxindows -X -Xaw3d -xface -xinerama -xosd xml xml2 -xmms -xv selinux"
CXXFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe" -Os with k6* could be a problem try -Os with i586
Can anybody else with selinux test this ? (Seemant, know who they are ?)
I can't reproduce this. I successfully compiled it with these flags: CFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe" CXXFLAGS="-Os -mcpu=k6-2 -funroll-loops -pipe" though it was on the selinux demo machine (p3 1ghz), not on a k6-2.
<lisa> pebenito: about that coreutils thing... i tacked -fstack-protector on the end of my cflags and there have been no problems. go fig ;) <pebenito> but then it'll fail w/o -fstack-protector? <lisa> umm i should check * lisa tries again with -Os -mcpu=k6-2 -funroll-loops -pipe <lisa> works without -fstackprotector (5-0.r3). <lisa> vooodoooooo