Code: Select all
emerge -e systemSo far compiled glibc-2.3.5, gcc-4.0.0.ebuild and emerge -e system is on 66 of 106.kimchi_sg wrote:irf2003 and friends: Maybe it will be helpful for you guys to summarise, once and for all, the steps needed to be done for a successful run ofusing gcc 4.0.0 final? Wading through 32 pages of threads is not easy.Code: Select all
emerge -e system
Code: Select all
if i686-pc-linux-gnu-gcc -DDEFAULT_BASEDIR=\"/usr\" -DDATADIR="\"/var/lib/mysql\"" -DDEFAULT_CHARSET_HOME="\"/usr\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -O3 -DDBUG_OFF -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -fforce-addr -momit-leaf-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -MT my_port.o -MD -MP -MF ".deps/my_port.Tpo" -c -o my_port.o my_port.c; \
then mv -f ".deps/my_port.Tpo" ".deps/my_port.Po"; else rm -f ".deps/my_port.Tpo"; exit 1; fi
default.c: In function ¡®search_default_file_with_ext¡¯:
default.c:346: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1449
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
raid.cc: In member function ¡®int RaidFd::Write(const byte*, uint, myf)¡¯:
raid.cc:560: warning: minimum/maximum operators are deprecated
raid.cc: In member function ¡®int RaidFd::Read(const byte*, uint, myf)¡¯:
raid.cc:601: warning: minimum/maximum operators are deprecated
raid.cc: In member function ¡®int RaidFd::Lock(int, my_off_t, my_off_t, myf)¡¯:
raid.cc:633: warning: minimum/maximum operators are deprecated
if i686-pc-linux-gnu-gcc -DDEFAULT_BASEDIR=\"/usr\" -DDATADIR="\"/var/lib/mysql\"" -DDEFAULT_CHARSET_HOME="\"/usr\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I. -O3 -DDBUG_OFF -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -fforce-addr -momit-leaf-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -MT my_sleep.o -MD -MP -MF ".deps/my_sleep.Tpo" -c -o my_sleep.o my_sleep.c; \
then mv -f ".deps/my_sleep.Tpo" ".deps/my_sleep.Po"; else rm -f ".deps/my_sleep.Tpo"; exit 1; fi
Preprocessed source stored into /var/tmp/portage/mysql-4.1.11/temp/ccxXd9d9.out file, please attach this to your bugreport.
make[2]: *** [default.o] ´íÎó 1
make[2]: *** ÕýÔڵȴýδÍê³ÉµÄÈÎÎñ....
make[2]: Leaving directory `/var/tmp/portage/mysql-4.1.11/work/mysql-4.1.11/mysys'
make[1]: *** [all-recursive] ´íÎó 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.1.11/work/mysql-4.1.11'
make: *** [all] ´íÎó 2
!!! ERROR: dev-db/mysql-4.1.11 failed.
!!! Function src_compile, Line 177, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.Code: Select all
epatch ${FILESDIR}/fedora/gcc4-ice-hack.patch
epatch ${FILESDIR}/fedora/gcc4-gnuc-rh-release.patch
epatch ${FILESDIR}/fedora/gcc4-java-nomulti.patch
epatch ${FILESDIR}/fedora/gcc4-pr20973.patch
epatch ${FILESDIR}/fedora/gcc4-gfortran-pr13082.patch
epatch ${FILESDIR}/fedora/gcc4-gfortran-pr18824.patch
epatch ${FILESDIR}/fedora/gcc4-gfortran-pr13082-mixed.patch
epatch ${FILESDIR}/fedora/gcc4-gfortran-entry-character.patch
epatch ${FILESDIR}/fedora/gcc4-pr20768.patch
epatch ${FILESDIR}/fedora/gcc4-libstdc++-mt-alloc.patch
epatch ${FILESDIR}/fedora/gcc4-pr20991.patch
Code: Select all
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe "
CXXFLAGS=${CFLAGS}
Code: Select all
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -msse2 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -pipe "
CXXFLAGS=${CFLAGS}
Code: Select all
Mafteah:
http://overlay.mafteah.co.il/
Halcy0n (gentoo dev):
http://dev.gentoo.org/~halcy0n/
I've dumped my overlay here:
http://bugs.gentoo.org/show_bug.cgi?id=90097
dirtyepic, also has an overlay, however, not sure whether he is offering it to th public.
Could you please post the failures for these and the output of `emerge info', or better yet, email them to me as well as posting them here. They all compile fine here. Could always be an amd64 thing, I have no idea.tchak wrote:emerge -e system on my amd64 system with gcc4.0.0 from portage and glibc-2.3.5.20050418 was ok exept for :
-wget
-openssh
-e2fsprogs

Code: Select all
inherit eutils flag-o-matic toolchain-funcs
Code: Select all
src_unpack() {
append-flags -O0
Seems to be reported already: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21167irf2003 wrote:@younker,
This is a regression, you should report it.
They write patches?fuoco wrote:If gcc-4.0 has so many problems, incompaibilities and break so many stuff, how come distros, like Fedora Core, are completely built with it?
Yes, then we will hopefully benefit as well.fuoco wrote:OK, though still many binary distros include a compiler too (and even apple's OS X will sheep with gcc-4.0). But say they are writing patches - since many of the apps are GPL they have to give back the patches to the community, and by that allow to very quickly 'port' everything to gcc-4.0. I believe they will even to the same with LGPL apps and others...

Code: Select all
/lib64/libdl.so.2: undefined reference to `_rtld_global@GLIBC_PRIVATE'
/lib64/libdl.so.2: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/lib64/libdl.so.2: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE'
Code: Select all
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-4.0.0, glibc-2.3.5.20050418-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 22 2005, 18:24:59)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.8.5-r3, 1.5, 1.6.3, 1.9.4, 1.7.9-r1, 1.4_p6
sys-devel/binutils: 2.16.90.0.1
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.11
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
LINGUAS="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acpi alsa avi bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups dbus dvd dvdr encode esd ethereal fam ffmpeg firefox flac fortran gif gimpprint gmail gnome gphoto2 gstreamer gtk gtk2 hal imagemagick jp2 jpeg libcaca lzw lzw-tiff mad mikmod mozsvg mp3 mpeg ncurses nls nowin nptl nptlonly offensive ogg opengl pam pcmcia perl pic png ppds python quicktime readline real rtc scanner sox ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l2 vorbis xml2 xpm xrandr xv xvid zlib linguas_en_US.UTF-8"
Unset: ASFLAGS, CBUILD, CTARGET
yep, had it for a couple of days, emerged glibc-cvs and gcc and a few other things, but no -e system.Mafteah wrote:sys-devel/binutils-2.15.97 seems to work without any patches.