Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309425 - =sys-kernel/gentoo-sources-2.6.33 fails to build with ALPHA_UAC_SYSCTL enabled
Summary: =sys-kernel/gentoo-sources-2.6.33 fails to build with ALPHA_UAC_SYSCTL enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-14 23:32 UTC by marty rosenberg
Modified: 2010-04-25 00:23 UTC (History)
4 users (show)

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


Attachments
alpha uac patch (4400_alpha-sysctl-uac.patch,4.58 KB, patch)
2010-03-15 18:31 UTC, Mike Pagano
Details | Diff
UAC Alpha patch (4400_alpha-sysctl-uac.patch,4.55 KB, patch)
2010-03-15 18:49 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marty rosenberg 2010-03-14 23:32:07 UTC
CC      arch/alpha/kernel/traps.o
arch/alpha/kernel/traps.c:116: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:116: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
arch/alpha/kernel/traps.c:124: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:132: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:139: error: unknown field 'ctl_name' specified in initializer
make[1]: *** [arch/alpha/kernel/traps.o] Error 1

as the error states, ctl_name is not a field in the structure.

supposedly, there is a patch thta will fix this issue, but it was not applied evidently

Reproducible: Always

Steps to Reproduce:
1. enable ALPHA_UAC_SYSCTL in the config
2. make
3.

Actual Results:  
  CC      arch/alpha/kernel/traps.o
arch/alpha/kernel/traps.c:116: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:116: error: 'CTL_UNNUMBERED' undeclared here (not in a function)
arch/alpha/kernel/traps.c:124: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:132: error: unknown field 'ctl_name' specified in initializer
arch/alpha/kernel/traps.c:139: error: unknown field 'ctl_name' specified in initializer
make[1]: *** [arch/alpha/kernel/traps.o] Error 1


Expected Results:  
successful compile
Comment 1 Matt Turner gentoo-dev 2010-03-15 00:16:01 UTC
The reporter misunderstood what I told him on IRC. (He thought I meant that were was a patch to fix the problem, but what I said was that the code causing the compiler error was added by a Gentoo patch.)

More specifically, 4400_alpha-sysctl-uac.patch.

This might apply to other kernel versions as well.
Comment 2 Mike Pagano gentoo-dev 2010-03-15 18:31:46 UTC
Created attachment 223763 [details, diff]
alpha uac patch

Please test this patch. Thanks.
Comment 3 Mike Pagano gentoo-dev 2010-03-15 18:33:39 UTC
nevermind, still a problem
Comment 4 Mike Pagano gentoo-dev 2010-03-15 18:49:50 UTC
Created attachment 223767 [details, diff]
UAC Alpha patch

ok, sorry about that, please test this one
Comment 5 Matthew Kern 2010-04-01 23:39:21 UTC
(In reply to comment #4)
> Created an attachment (id=223767) [details]
> UAC Alpha patch
> 
> ok, sorry about that, please test this one
> 

nope, for me at least, still a problem. I'll look further at it tonight.
Comment 6 Matt Turner gentoo-dev 2010-04-02 22:00:13 UTC
(In reply to comment #4)
> Created an attachment (id=223767) [details]
> UAC Alpha patch
> 
> ok, sorry about that, please test this one
> 

No, sorry. It's the _exact_ same error as before, actually.

It's the lines like this that cause the compilation error, and they weren't changed in the new patch:
+               .ctl_name       = CTL_UNNUMBERED,
Comment 7 Mike Pagano gentoo-dev 2010-04-25 00:23:28 UTC
patch removed from genpatches