First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 41763
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mr. Bones. <mr_bones_@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Frank Eibisch <feibisch@estec.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
0.24-gcc3.patch dietlibc patch to get rid of the gcc3 warnings patch Frank Eibisch 2004-02-18 12:05 0000 516 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 41763 depends on: Show dependency tree
Bug 41763 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-16 02:27 0000
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"

------- Comment #1 From Mr. Bones. 2004-02-18 03:05:01 0000 -------
Can you attach the patch as a text/plain please?   That way it's easier to
deal with.  Thanks.

------- Comment #2 From Frank Eibisch 2004-02-18 12:05:27 0000 -------
Created an attachment (id=25872) [edit]
dietlibc patch to get rid of the gcc3 warnings

------- Comment #3 From Mr. Bones. 2004-02-19 18:53:37 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug