Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120123 - kernel i2c fails on to build with gcc4.1
Summary: kernel i2c fails on to build with gcc4.1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 17:52 UTC by genbug
Modified: 2006-01-25 12:30 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 genbug 2006-01-23 17:52:46 UTC
i2c-algo-bit fails to compile on any recent gcc-4.1-beta (specifically 20060120)

the following gives incomplete array element type, no longer accepted by gcc4

struct i2c_msg msg[]
Comment 1 SpanKY gentoo-dev 2006-01-23 18:05:07 UTC
deal with it, kernels in the future will fix themselves
Comment 2 genbug 2006-01-23 18:26:35 UTC
I have dealt with it thanks.

I thought the point of testing gcc-4.1 was to report bugs so I did.

I also thought Halcyon was actively interesting in working this so I'll reopen it.

You could leave it open long enough for anyone interested to see it , or not if that seems like more fun to you. I dont really give a shit.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-01-23 18:46:26 UTC
Yea, I'm interested in getting it working, but as the ebuild tells you, supply patches with bug reports.
Comment 4 SpanKY gentoo-dev 2006-01-23 18:49:30 UTC
also, we dont really patch kernels, so your fixes would be sent upstream, not to us

and as i said, upstream probably has their stuff covered
Comment 5 genbug 2006-01-23 19:13:05 UTC
OK fair enough. I didn't realise that the Gentoo interest in gcc4.1 was limitted to non kernel packages.

I dont consider myself competant to write kernel patches so I won't try.

It look like a pretty simple one so it'll probably get fixed upstream at some stage.

I'm working on gtk+ at the moment , I'm less likely to do damage in there ;)

Comment 6 genbug 2006-01-25 12:30:51 UTC
Well since ,as Halcyon pointed out, I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-02/5577.html

Even if there's no official interest it may serve someone searching on this subject.