Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50664 - ethereal gcc-3.4 still fails to compile
Summary: ethereal gcc-3.4 still fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 12:59 UTC by Jory A. Pratt
Modified: 2004-07-11 04:33 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 Jory A. Pratt 2004-05-10 12:59:36 UTC
ethereal 0.10.3 still fails to compile with gcc-3.4 even after being patched.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
 -pipe -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-c ../packet-iua.c -MT packet-iua.lo -MD -MP -MF .deps/packet-iua.TPlo  -fPIC
-DPIC -o packet-iua.lo
make[4]: Leaving directory
`/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3/epan'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3/epan'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3'
make: *** [all] Error 2
 
!!! ERROR: net-analyzer/ethereal-0.10.3 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! compile problem


We need to reevaluate this patch
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-05-20 03:30:28 UTC
We're missing the important bit (i.e. where the error was) - any chance of a bit more? It compiles and installs fine here.
Comment 2 Jory A. Pratt 2004-05-21 08:01:10 UTC
sorry I cant redo the emerge I redid my system due to that fact that gcc was causing alot of problems with applications I was needing. This error only seems to show up if you have bootstrapped the entire system with gcc-3.4. when i get time I will setup a test machine to recheck the problem.
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-05-24 14:15:20 UTC
I've compiled net-analyzer/ethereal-0.10.3 with gcc-3.4.0-r4. It works fine.
I think that ebuild is broken, because `gcc-fullversion` returns "3.4.0", but we check "3.4":
[ "`gcc-fullversion`" == "3.4" ] && epatch ${FILESDIR}/${PV}-gcc34.patch
should be:
[ "`gcc-fullversion`" == "3.4.0" ] && epatch ${FILESDIR}/${PV}-gcc34.patch

-- 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm avi berkdb cdr crypt cups dvd encode flash foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imap imlib ipv6 jabber jpeg libg++ libwww linguas_pl mad maildir mikmod mmx motif mpeg ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline sasl sdl slang spell sse ssl svga tcltk truetype video_cards_i830 x86 xml2 xmms xv zlib"

gcc (GCC) 3.4.0 20040519 (Gentoo Linux 3.4.0-r4, ssp-3.4-1, pie-8.7.6.2)
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.
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-06-26 12:36:22 UTC
Could you please test ethereal-0.9.16-r1?
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2004-07-05 06:21:21 UTC
Note that all the patch do is add -fno-unroll-loops.
The ebuild wasn't applying the patch, so I changed gcc-fullversion -> gcc-version.
and added the patch to 0.10.4 as well.

I couldn't replicate the compile errors, though, but my system wasn't bootstrapped with gcc3.4.

Could you test 0.10.4?
Comment 6 Eldad Zack (RETIRED) gentoo-dev 2004-07-11 04:33:41 UTC
Ok, I understand there's no feedback on this.
You can reopen it when it is relevant.

Note that 0.10.5 is in portage, and compiling it on gcc3.4 yields a clean compile.