% emerge sys-apps/parted ... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -c ext2.c -MT ext2.lo -MD -MP -MF .deps/ext2.TPlo -fPIC -DPIC -o .libs/ext2.lo ext2.c: In function `_inode_update_size': ext2.c:358: warning: integer constant is too large for "long" type ext2.c:359: warning: integer constant is too large for "long" type make[3]: *** [ext2.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -c ext2_block_relocator.c -MT ext2_block_relocator.lo -MD -MP -MF .deps/ext2_block_relocator.TPlo -o ext2_block_relocator.o >/dev/null 2>&1 mv -f .libs/ext2_block_relocator.lo ext2_block_relocator.lo make[3]: Leaving directory `/var/tmp/portage/parted-1.6.5/work/parted-1.6.5/libparted/fs_ext2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/parted-1.6.5/work/parted-1.6.5/libparted' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/parted-1.6.5/work/parted-1.6.5' make: *** [all] Error 2 !!! ERROR: sys-apps/parted-1.6.5 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! Make failed ---------- * sys-devel/automake Latest version available: 1.7.2 Latest version installed: 1.7.2 Size of downloaded files: 2,139 kB Homepage: http://www.gnu.org/software/automake/automake.html Description: Used to generate Makefile.in from Makefile.am * sys-devel/gcc Latest version available: 3.2.2 Latest version installed: 3.3 Size of downloaded files: 19,835 kB Homepage: http://www.gnu.org/software/gcc/gcc.html Description: The GNU Compiler Collection. Includes C/C++ and java compilers * sys-libs/glibc Latest version available: 2.3.1-r4 Latest version installed: 2.3.2-r2 Size of downloaded files: 17,701 kB Homepage: http://www.gnu.org/software/libc/libc.html Description: GNU libc6 (also called glibc2) C library Reproducible: Always Steps to Reproduce:
works with gcc-3.2.3-r1 and glibc-2.3.2-r1 so I don't know if this is an issue with the newer gcc/glibc combo or what. Az?
does not work with gcc 3.3 and glibc 2.3.1-r4
Same on ppc with the following settings: Portage 2.0.48-r1 (default-ppc-1.4, gcc-3.3, glibc-2.3.1-r2,2.3.2-r1) ================================================================= System uname: 2.4.20-ben10 ppc GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss dvd xv jpeg nls gif kde png truetype ppc directfb gtkhtml gdbm berkdb readline arts tetex aalib bonobo tcltk guile mysql X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk qt motif mozilla cdr apm crypt cups dga esd fbcon gnome gnome-libs gpm gtk2 ipv6 maildir -mitshm mpeg ncurses opengl pdflib qtmt quicktime samba -slang slp spell xml xml2 xmms" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" ACCEPT_KEYWORDS="ppc ~ppc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="ccache userpriv sandbox usersandbox fixpackages cvs"
try parted-1.6.5-r1 it will build and work but I'm not sure about the sun diskslices. Please force emerge it, test and reopen the bug if something is wrong.
Err, sorry, been MIA. I am not sure that gcc-3.3 will work correctly with anything less then glibc-2.3.2-r2 with everything, but cannot say that for sure now. I already am hassiling with new issues due to cvs glibc and gcc, so cannot really remember the issues that 3.3 brought, sorry :P
I tried the newer parted as Luca suggested. This time it compiled, though my profile didn't changed (sys-devel/gcc-3.3 with sys-libs/glibc-2.3.2-r1).
*** Bug 28996 has been marked as a duplicate of this bug. ***