Bug 5529 - 2.6.14 won't compile on alpha
Summary: 2.6.14 won't compile on alpha
Status: REJECTED DUPLICATE of bug 5512
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: Alpha (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Richard Henderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 16:33 UTC by James Boddington
Modified: 2005-11-01 04:23 UTC (History)
0 users

See Also:
Kernel Version: 2.6.14
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description James Boddington 2005-10-31 16:33:55 UTC
The last kernel to work for me on alpha was 2.6.14-rc3. Using the same .config 
as I used with 2.6.14-rc3 the compilation of 2.6.14 fails with   
  
  LD      .tmp_vmlinux1  
net/built-in.o(.text+0x552a0): In function `raw_rcv_skb':  
include/asm/atomic.h:145: undefined reference to `barrier'  
net/built-in.o(.text+0x552a4):include/asm/atomic.h:145: undefined reference to  
`barrier'  
net/built-in.o(.text+0x552c4):include/asm/atomic.h:157: undefined reference to  
`barrier'  
net/built-in.o(.text+0x552c8):include/asm/atomic.h:157: undefined reference to  
`barrier'  
net/built-in.o(.text+0x5539c): In function `raw_rcv':  
include/asm/atomic.h:145: undefined reference to `barrier'  
net/built-in.o(.text+0x553a0):include/asm/atomic.h:145: more undefined  
references to `barrier' follow  
make: *** [.tmp_vmlinux1] Error 1  
  
barrier is defined in linux/compiler.h  
asm-alpha/compile.h includes linux/compiler.h  
  
I added #include <asm/compiler.h> to asm-alpha/atomic.h. The kernel now  
compiles. The alpha also boots as expected.
Comment 1 Adrian Bunk 2005-11-01 04:23:21 UTC

*** This bug has been marked as a duplicate of 5512 ***

Note You need to log in before you can comment on or make changes to this bug.