Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52202 - >=sys-apps/parted-1.6.8 fails to compile with gcc-3.4
Summary: >=sys-apps/parted-1.6.8 fails to compile with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 10:24 UTC by Tuan Van (RETIRED)
Modified: 2004-05-29 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tuan Van (RETIRED) gentoo-dev 2004-05-27 10:24:05 UTC
sys-apps/parted-1.6.8 failed at:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -march=pentium4 -pipe -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.c  -fPIC -DPIC -DPIC -o exception.o
exception.c:72: warning: conflicting types for built-in function 'log2'
make[3]: *** [exception.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
rm -f .libs/filesys.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -march=pentium4 -pipe -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -MT filesys.lo -MD -MP -MF .deps/filesys.Tpo -c filesys.c  -fPIC -DPIC -DPIC -o filesys.o
mv -f filesys.o .libs/filesys.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -march=pentium4 -pipe -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -MT filesys.lo -MD -MP -MF .deps/filesys.Tpo -c filesys.c -o filesys.o >/dev/null 2>&1
mv -f .libs/filesys.lo filesys.lo
make[3]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8/libparted'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8/libparted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8'
make: *** [all] Error 2

!!! ERROR: sys-apps/parted-1.6.8 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! Make failed

# emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.15
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux alsa apache2 apm autofs avi berkdb cdr cjk composite crypt cups directfb dnd dvd dvdr encode fam fbcon fbdev foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java javascript jpeg kde libg++ libwww mad md5sum mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl stroke svga tcltk tcpd truetype usb x86 xine xml xml2 xmms xosd xv xvid zlib"

It failed at the same spot with all sys-apps/parted-1.6.8 through sys-apps/parted-1.6.10
Switch to gcc-3.3.3; I can emerged it successfully.
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-05-29 13:49:11 UTC
fixed in cvs, give it some time to reach rsync. i just added --disable-Werror to the configure options.