Summary: | linux-atm doen't compile with gcc3.4.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | metnik <metnik> |
Component: | [OLD] Library | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | net-dialup, tklauser |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | New ebuild which fixes the bug |
Description
metnik
2004-10-21 11:36:32 UTC
Please provide your emerge info output. There is already a gcc 3.4 fix in the linux-atm ebuild. Maybe this bug is not directly related to gcc. Please also check, if you compiled your libc with gcc 3.4: # /lib/libc.so* The output of the above command should say that it was compiled with gcc 3.4.x (whatever you're using) If this is not the case, try to recompile your libc (I guess you're using glibc) with gcc 3.4 and then try to recompile linux-atm with gcc 3.4 I've glibc compiled witn gcc 3.4.2-r2 # /lib/libc.so* GNU C Library 20041006 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5). Compiled on a Linux 2.6.8 system on 2004-10-15. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy The C stubs add-on version 2.1.2. BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Glibc-2.0 compatibility add-on by Cristian Gafton GNU Libidn by Simon Josefsson libthread_db work sponsored by Alpha Processor Inc Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. # emerge info Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-nitro6 i686) ================================================================= System uname: 2.6.8-nitro6 i686 Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities" CHOST="i686-pc-linux-gnu" COMPILER="" 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="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://mir.zyrianes.net/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apache2 apm atm avi berkdb bitmap-fonts bonobo bzlib cdr crypt cups divx4linux dvd dvdr eds encode esd evo f2c f77 foomaticdb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib java joystick jpeg libg++ libwww lzw-tiff mad mikmod mmx mng mono motif mozdevelop mozilla moznoirc moznomail mozsvg mozxmltermmoznoirc mpeg mysql ncurses nls oggvorbis opengl pam pda pdflib perl pic png ppds python quicktime readline ruby samba sdl sed slang spell ssl svg svga tcpd theora tiff truetype unicode userlocales x86 xivd xml xml2 xmms xprint xv zlib" Seems to be a problem with -fbranch-probabilities Without that option enabled, everything runs smoothly. I only tested the installation, I couldn't test if linux-atm runs, since I don't have any ATM hardware) inherit flag-o-matic [...] filter-flags -fbranch-probabilities in the ebuild should do the job. Created attachment 42564 [details]
New ebuild which fixes the bug
Reviewing all bugs I worked on. This one doesn't seem to have any changes since almost a month. Does the fixed ebuild work? Adding net-dialup to CC since this herd is mentioned in metadata.xml for linux-atm sorry I can't help you. don't have the hardware to test it, but I'll put that filter-flags if you want. btw, strage option to put in CFLAGS. another filter should be -ffast-math, since I've heard it is as you praying for trouble. won't fix because I didn't see such a flag filter anywhere in the tree. I guess this flag should be used only by upstreams. anyway, it is a strange flag and if users decides to break their systems, who am I to say no? |