[Kernel-janitors] [[email protected]: make buildcheck output]
Digging through some old stuff and found this went to wrong list last week.
thanks,
-chris
----- Forwarded message from Andrew Morton <[email protected]> -----
Date: Fri, 4 Jun 2004 19:21:06 -0700
From: Andrew Morton <[email protected]>
X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu)
To: [email protected]
Subject: make buildcheck output
Here's an analysis from Keith about the (extensive) amount of bugs which `make buildcheck' reports.
Most of them should be fairly simple to fix, if someone has the time.
Thanks.
Begin forwarded message:
Date: Tue, 01 Jun 2004 20:34:23 +1000
From: Keith Owens <[email protected]>
To: Andrew Morton <[email protected]>
Subject: Re: Latest reference_init.pl script
Quoted 3 lines · Andrew Morton
gad,
reference_initgenerates so much stuff I wonder if it's worth using. Are all these for real?
Apart from altinstructions, yes. Mainly because people have not been checking them.
Quoted 5 lines
perl
scripts/reference_init.pl
Finding objects, 1411 objects, ignoring 122 module(s) Finding conglomerates, ignoring 137 conglomerate(s) Scanning objects
Error:./arch/i386/kernel/apic.o.data refers to0000009cR_386_32.init.text
arch/i386/kernel/apic.c
void (*wait_timer_tick)(void) = wait_8254_wraparound; wait_8254_wraparound is __init. wait_timer_tick should be __initdata, which flows onto several other functions.
Quoted 1 line
Error:
./arch/i386/kernel/cpu/mtrr/centaur.o.data refers to 00000008R_386_32.init.text
That is real, centaur_mtrr_ops.init = centaur_mcr_init. Like a lot of this initialization code, we get away with the dangling reference because the code is only executed at boot.
Quoted 1 line
Error:
./arch/i386/kernel/cpu/mtrr/centaur.o.eh_frame refers to000000dcR_386_32.init.text
I don't see any .eh_frame references in 2.6.7-rc2 using gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7). Where are they coming from?
Quoted 1 line
Error:
./arch/i386/kernel/cpu/mtrr/cyrix.o.data refers to 00000028R_386_32.init.text
Same as centaur.
Quoted 1 line
Error:
./arch/i386/kernel/cpu/mtrr/generic.o.text refers to0000038fR_386_32.init.data
arch/i386/kernel/cpu/mtrr/generic.c generic_set_all() uses __intdata smp_changes_mask.
Quoted 1 line
Error:
./arch/i386/kernel/smpboot.o.altinstructions refers to 00000000R_386_32.init.text
altinstructions is a false positive, tweak reference_init.pl
reference_init.pl renamed from reference_init.pl.orig +1 -0
@@ -93,6 +93,7 @@ $from !~ /\.stab$/ && $from !~ /\.rodata$/ && $from !~ /\.text\.lock$/ && + $from !~ /\.altinstructions$/ && $from !~ /\.debug_/)) { printf("Error: %s %s refers to %s\n", $object, $from, $line); }
The rest of the warnings look real, apart from the strange eh_frame.
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Kernel-janitor-discuss mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kernel-janitor-discuss
----- End forwarded message -----
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 15 lines · Chris Wright
Digging through some old stuff and found this went to wrong list last week.
thanks,
-chris----- Forwarded message from Andrew Morton <[email protected]> -----
Date: Fri, 4 Jun 2004 19:21:06 -0700
From: Andrew Morton <[email protected]>
X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu)
To: [email protected]
Subject: make buildcheck output
Quoted 6 lines
Here's an analysis from Keith about the (extensive) amount of bugs which `make buildcheck' reports.
Most of them should be fairly simple to fix, if someone has the time.
Thanks.
ok thanks, added to the world visible TODO list.
a++ maks
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors