Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175313 - sys-devel/gcc-3.4.6-r2 can't compile wireshark svn version
Summary: sys-devel/gcc-3.4.6-r2 can't compile wireshark svn version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 07:35 UTC by Toralf Förster
Modified: 2007-05-19 03:36 UTC (History)
0 users

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


Attachments
patch for gcc (wireshark.patch,2.06 KB, text/plain)
2007-04-20 17:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2007-04-20 07:35:32 UTC
As discussed here http://www.wireshark.org/lists/wireshark-dev/200704/msg00250.html and here http://www.wireshark.org/lists/wireshark-dev/200704/msg00276.html it seems that gcc has a bug which prevents someone to compile the current wireshark svn version.

Is there any fix available for this issue of gcc ?

Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-20 12:05:47 UTC
(In reply to comment #0)
> Is there any fix available for this issue of gcc ?

Afaik the toolchain team doens't support gcc 3.x anymore.
Comment 2 SpanKY gentoo-dev 2007-04-20 12:16:48 UTC
if you can rip out a small patch against gcc and verify it works, i'll probably merge it ... start here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157308

otherwise, as Carsten said ...
Comment 3 Toralf Förster gentoo-dev 2007-04-20 12:34:42 UTC
Ok, do you think about including this patch (http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01541.html) ?
Comment 4 SpanKY gentoo-dev 2007-04-20 12:56:44 UTC
*cough* ... and verify it works *cough*
Comment 5 Toralf Förster gentoo-dev 2007-04-20 17:57:56 UTC
Created attachment 116841 [details]
patch for gcc

Creating a local overlay ebuild (see diff below) emerge of gcc was done succesfully and now wiresharks vompiles and runs fine :-)

n22 /usr/local/portage/sys-devel/gcc # diff -u /usr/portage/sys-devel/gcc/gcc-3.4.6-r2.ebuild  gcc-3.4.6-r3.ebuild
--- /usr/portage/sys-devel/gcc/gcc-3.4.6-r2.ebuild      2007-03-09 23:36:01.000000000 +0100
+++ gcc-3.4.6-r3.ebuild 2007-04-20 16:53:45.000000000 +0200
@@ -137,4 +137,6 @@
                        fi
                        ;;
        esac
+
+       epatch "${FILESDIR}"/wireshark.patch
 }
Comment 6 Toralf Förster gentoo-dev 2007-04-20 17:58:35 UTC
patch available
Comment 7 Toralf Förster gentoo-dev 2007-04-22 11:04:27 UTC
BTW, in addition I compiled the current linux kernel with this compiler as well as util-linux and other packages to see, whether there are side effects or not. Until now I didn't observed any problems with this patch.
Comment 8 SpanKY gentoo-dev 2007-05-19 03:36:16 UTC
added 3.4.6-r2