Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119489 - ebtables-2.0.6 does not build with gcc-4.x
Summary: ebtables-2.0.6 does not build with gcc-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-18 15:17 UTC by Christoph Dwertmann
Modified: 2006-01-19 13:36 UTC (History)
3 users (show)

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 Christoph Dwertmann 2006-01-18 15:17:43 UTC
I'm using gcc version 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8) on amd64. Building ebtables fails with:

extensions/ebt_ip.c: In function ‘parse’:
extensions/ebt_ip.c:316: error: invalid lvalue in assignment
make: *** [extensions/ebt_ip.o] Error 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-19 03:45:33 UTC
Try this patch, works here...

http://svn.exactcode.de/t2/trunk/package/security/ebtables/gcc4.patch
Comment 2 solar (RETIRED) gentoo-dev 2006-01-19 07:32:47 UTC
(In reply to comment #1)
> Try this patch, works here...
> 
> http://svn.exactcode.de/t2/trunk/package/security/ebtables/gcc4.patch


Jakub, 
Where did you find this patch? Has it been submitted upstream? Did it come from upstream?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-19 10:45:11 UTC
(In reply to comment #2)
> Jakub, 
> Where did you find this patch? Has it been submitted upstream? Did it come from
> upstream?

Well, first hit in 'ebtables gcc4 patch' Google search - so, no idea whether it's been submitted upstream, but it works... :-)
Comment 4 Christoph Dwertmann 2006-01-19 10:57:24 UTC
Would the Gentoo people kindly upload this patch so I can emerge a working version?
Comment 5 solar (RETIRED) gentoo-dev 2006-01-19 11:12:27 UTC
(In reply to comment #4)
> Would the Gentoo people kindly upload this patch so I can emerge a working
> version?

Not yet. Need to find the source of the patch and contact upstream about it.

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-19 11:18:51 UTC
(In reply to comment #5)
> Not yet. Need to find the source of the patch and contact upstream about it.

Well, it comes from T2 project - see http://www.t2-project.org/packages/ebtables.html; Christian Wiese <jeru@ixplanet.org> is listed as maintainer of ebtables there.
Comment 7 solar (RETIRED) gentoo-dev 2006-01-19 13:36:31 UTC
Thanks jakub

ebtables-2.0.6-r1.ebuild ~x86 ~ppc ~amd64 commited to the tree. 
I don't really develop for gcc-4.x so I'm counting on you guys to decide 
if and when -r1 should go stable. For it to be marked stable it must continue to work for linux-2.4.x, linux-2.6.x, gcc-3.x and gcc-4.x
Previous stable markings were x86 only.