[Bugme-new] [Bug 16506] New: 2.6.35.0 compilation errors and excessive warnings.
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Tue Aug 3 18:06:17 PDT 2010
https://bugzilla.kernel.org/show_bug.cgi?id=16506
Summary: 2.6.35.0 compilation errors and excessive warnings.
Product: Other
Version: 2.5
Kernel Version: 2.6.35.0
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: Other
AssignedTo: other_other at kernel-bugs.osdl.org
ReportedBy: kd6lvw+software at kd6lvw.ampr.org
Regression: No
Created an attachment (id=27334)
--> (https://bugzilla.kernel.org/attachment.cgi?id=27334)
Kernel Configuration Used which generates the error
2.6.35.0 does not compile. 2.6.34.2 (on the same machine) compiles without
error and minimal warnings (below).
AS arch/x86/lib/atomic64_386_32.o
arch/x86/lib/atomic64_386_32.S: Assembler messages:
arch/x86/lib/atomic64_386_32.S:54: Error: bad expression
arch/x86/lib/atomic64_386_32.S:54: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:56: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:59: Error: bad expression
arch/x86/lib/atomic64_386_32.S:59: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:61: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:64: Error: bad expression
arch/x86/lib/atomic64_386_32.S:64: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:66: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:68: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:71: Error: bad expression
arch/x86/lib/atomic64_386_32.S:71: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:73: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:76: Error: bad expression
arch/x86/lib/atomic64_386_32.S:76: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:78: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:80: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:83: Error: bad expression
arch/x86/lib/atomic64_386_32.S:83: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:85: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:88: Error: bad expression
arch/x86/lib/atomic64_386_32.S:88: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:93: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:95: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:98: Error: bad expression
arch/x86/lib/atomic64_386_32.S:98: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:100: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:103: Error: bad expression
arch/x86/lib/atomic64_386_32.S:103: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:105: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:109: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:112: Error: bad expression
arch/x86/lib/atomic64_386_32.S:112: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:114: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:117: Error: bad expression
arch/x86/lib/atomic64_386_32.S:117: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:119: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:123: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:126: Error: bad expression
arch/x86/lib/atomic64_386_32.S:126: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:130: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:135: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:146: Error: bad expression
arch/x86/lib/atomic64_386_32.S:146: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:148: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:155: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:165: Error: bad expression
arch/x86/lib/atomic64_386_32.S:165: Error: junk at end of line, first
unrecognized character is `e'
arch/x86/lib/atomic64_386_32.S:167: Error: junk `($v)' after expression
arch/x86/lib/atomic64_386_32.S:172: Error: junk `($v)' after expression
make[1]: *** [arch/x86/lib/atomic64_386_32.o] Error 1
make: *** [arch/x86/lib] Error 2
-> Looks like every line starting with "BEGIN".
Also, warnings - for EVERY file CC'ed:
include/linux/sysfs.h:183: warning: parameter has incomplete type
/usr/src/linux-2.6.35/arch/x86/include/asm/cpufeature.h: In function
`__static_cpu_has':
/usr/src/linux-2.6.35/arch/x86/include/asm/cpufeature.h:315: warning: asm
operand 1 probably doesn't match constraints
The above errors and warnings do NOT appear on the machine when compiling
2.6.34.2.
For the record, minimal errors from 2.6.34.2 - kernel works despite warnings:
kernel/printk.c:1460: warning: duplicate `const'
kernel/perf_event.c:2854: warning: weak declaration of
`perf_arch_fetch_caller_regs' after first use results in unspecified behavior
net/core/rtnetlink.c: In function `do_setlink':
net/core/rtnetlink.c:904: warning: `err' might be used uninitialized in this
function
net/packet/af_packet.c: In function `packet_snd':
net/packet/af_packet.c:1086: warning: `vnet_hdr_len' might be used
uninitialized in this function
/usr/src/linux-2.6.34.2/arch/x86/include/asm/processor.h: In function
`native_get_debugreg':
/usr/src/linux-2.6.34.2/arch/x86/include/asm/processor.h:506: warning: asm
operand 0 probably doesn't match constraints
/usr/src/linux-2.6.34.2/arch/x86/include/asm/processor.h: In function
`native_set_debugreg':
/usr/src/linux-2.6.34.2/arch/x86/include/asm/processor.h:533: warning: asm
operand 0 probably doesn't match constraints
net/netfilter/nf_conntrack_sip.c: In function `sip_help_tcp':
net/netfilter/nf_conntrack_sip.c:1379: warning: `ret' might be used
uninitialized in this function
However, the 2.6.34.1 kernel works as expected.
Environment:
Hardware: PC-Chips 710LM Motherboard with AMD Athlon 1100MHz CPU, 1G RAM.
Software: Kernel used during compile: 2.6.34.1
GCC version 3.3.6 with posix threads
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Bugme-new
mailing list