Bug 5512

Summary: regression: "undefined reference to `barrier'" during build
Product: Platform Specific/Hardware Reporter: R. Scott Bailey (scott.bailey)
Component: AlphaAssignee: Dominik Brodowski (linux)
Status: CLOSED CODE_FIX    
Severity: blocking CC: aiken, linuxgeek
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.14 Subsystem:
Regression: --- Bisected commit-id:

Description R. Scott Bailey 2005-10-28 07:03:51 UTC
Most recent kernel where this bug did not occur: 2.6.14-rc5
Distribution: Debian testing/unstable (with a kernel.org kernel)
Hardware Environment: Alphaserver 4100 5/466, 3 CPUs, 4GB
Software Environment: gcc "4.0.2 (Debian 4.0.2-2", binutils from unstable
Problem Description: kernel build fails with:
[...]
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `kcopyd_exit':
: undefined reference to `barrier'
drivers/built-in.o: In function `kcopyd_exit':
: undefined reference to `barrier'
drivers/built-in.o: In function `kcopyd_exit':
: undefined reference to `barrier'
drivers/built-in.o: In function `kcopyd_exit':
: undefined reference to `barrier'
drivers/built-in.o: In function `kcopyd_exit':
: undefined reference to `barrier'
drivers/built-in.o:: more undefined references to `barrier' follow
make[2]: *** [.tmp_vmlinux1] Error 1
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2

Steps to reproduce:
tar xjf linux-2.6.14.tar.bz2
cd linux-2.6.14
zcat /proc/config.gz > .config # This is my 2.6.14-rc5 configuration
make oldconfig
fakeroot make deb-pkg
Comment 1 Adrian Bunk 2005-10-29 02:51:02 UTC
*** Bug 5515 has been marked as a duplicate of this bug. ***
Comment 2 Adrian Bunk 2005-11-01 04:23:25 UTC
*** Bug 5529 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Cort 2005-11-01 08:08:18 UTC
Fix here: http://lkml.org/lkml/2005/10/26/43
It has been merged into 2.6.14-git
Comment 4 Dominik Brodowski 2005-11-17 14:04:14 UTC
see comment #3 -> closing