Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Patch included, already tested both for dietlibc 0.23 and 0.24: --- dietlibc-0.24/diet.c 2003-10-10 15:17:46.000000000 +0200 +++ dietlibc-0.24-gcc3/diet.c 2004-02-15 19:03:01.000000000 +0100 @@ -26,8 +26,8 @@ static const char* Os[] = { "i386","-Os","-mpreferred-stack-boundary=2", - "-malign-functions=1","-malign-jumps=1", - "-malign-loops=1","-fomit-frame-pointer",0, + "-falign-functions","-falign-jumps", + "-falign-loops","-fomit-frame-pointer",0, "x86_64","-Os","-fno-omit-frame-pointer",0, "sparc","-Os","-mcpu=supersparc",0, "sparc64","-Os","-m64",0, Reproducible: Always Steps to Reproduce: 1. emerge dietlibc 2. diet -Os gcc -o example example.c Actual Results: cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions Expected Results: Compile without warning. Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-gentoo- r4) ================================================================= System uname: 2.4.22-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.3.8p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apm arts avi berkdb crypt encode foomaticdb gdbm gif gnome gtk gtk2 imlib java kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Can you attach the patch as a text/plain please? That way it's easier to deal with. Thanks.
Created an attachment (id=25872) [edit] dietlibc patch to get rid of the gcc3 warnings
Fixed in CVS. I didn't bump the revision on the ebuild since I believe the newer versions of gcc will still work with the old options, but warn about them. Let me know if this isn't the case and I'll rev bump the ebuild to make people upgrade. Remerge dietlibc to get the change if you have it currently installed and want to get the patch.