Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125474 - at76c503a doesn't compile gcc-4 (solution)
Summary: at76c503a doesn't compile gcc-4 (solution)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-08 07:02 UTC by Maxim Grechkin
Modified: 2006-03-09 11:48 UTC (History)
0 users

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


Attachments
Patch for gcc4 support (at76-gcc4.diff,5.36 KB, patch)
2006-03-09 08:26 UTC, Maxim Grechkin
Details | Diff
New patch (for debian-7) (at76-7-gcc4.diff,4.16 KB, patch)
2006-03-09 10:46 UTC, Maxim Grechkin
Details | Diff
Ebuild that use debian-7 patch level. (at76c503a-0.12_beta23-r3.ebuild,1.74 KB, application/octet-stream)
2006-03-09 10:46 UTC, Maxim Grechkin
Details
Ebuild in text/plain (at76c503a-0.12_beta23-r3.ebuild,1.74 KB, text/plain)
2006-03-09 11:31 UTC, Maxim Grechkin
Details
patch in text/plain (at76-7-gcc4.diff,4.16 KB, text/plain)
2006-03-09 11:31 UTC, Maxim Grechkin
Details
Patch with ?correct? spacing (at76-7-gcc4.diff,4.15 KB, patch)
2006-03-09 11:37 UTC, Maxim Grechkin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Grechkin 2006-03-08 07:02:52 UTC
at76c503a doesn't work with gcc4. You should patch all source files and replace  MODULE_PARM with module_param. New version of gcc removes MODULE_PARM as unneeded.
Comment 1 Maxim Grechkin 2006-03-09 08:24:54 UTC
I made patch to fix this problem. It works for me and I think it would work with most new kernels (that support module_param). Simply add epatch ${FILESDIR}/at76-gcc4.diff to ebuild and put this patch into files. I think version bump isn't needed as it doesn't add any functionality.
Comment 2 Maxim Grechkin 2006-03-09 08:26:03 UTC
Created attachment 81774 [details, diff]
Patch for gcc4 support
Comment 3 Maxim Grechkin 2006-03-09 08:52:30 UTC
Why don't you update this to later version of debian patches ( 4 in testing and 7 in unstable)? Maybe I can help to maintance this package but there is no bugs about it... 
Comment 4 Maxim Grechkin 2006-03-09 10:46:02 UTC
Created attachment 81782 [details, diff]
New patch (for debian-7)
Comment 5 Maxim Grechkin 2006-03-09 10:46:32 UTC
Created attachment 81783 [details]
Ebuild that use debian-7 patch level.
Comment 6 Maxim Grechkin 2006-03-09 11:31:14 UTC
Created attachment 81790 [details]
Ebuild in text/plain
Comment 7 Maxim Grechkin 2006-03-09 11:31:33 UTC
Created attachment 81791 [details]
patch in text/plain
Comment 8 Maxim Grechkin 2006-03-09 11:37:04 UTC
Created attachment 81793 [details, diff]
Patch with ?correct? spacing
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-09 11:48:42 UTC
thanks, fixed