ALPHA: missing reference to barrier()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ONLY for linux ALPHA:

Please add patch to the source tree..

Hello

In the kernel source 2.6.14 from kernel.org build with the given config1, the
symbol barrier() is missing in linux/include/asm-alpha/atomic.h with gcc 4.0.1 from
FC4.

This is defined in linux/compiler.h or asm/compiler.h.

PATCH:
------------------
--- include/asm-alpha/atomic.h.orig     2005-11-03 18:45:21.000000000 +0100
+++ include/asm-alpha/atomic.h  2005-11-03 18:45:46.000000000 +0100
@@ -1,6 +1,7 @@
 #ifndef _ALPHA_ATOMIC_H
 #define _ALPHA_ATOMIC_H

+#include <asm/compiler.h>
 #include <asm/barrier.h>

 /*
-------------------

CC      fs/nfsctl.o
In file included from include/linux/file.h:8,
                 from fs/nfsctl.c:8:
include/asm/atomic.h: In function 'atomic_add_return':
include/asm/atomic.h:105: warning: implicit declaration of function 'barrier'
  CC      fs/binfmt_script.o
  CC      fs/binfmt_elf.o

 CC      net/ipv4/raw.o
In file included from net/ipv4/raw.c:43:
include/asm/atomic.h: In function 'atomic_add_return':
include/asm/atomic.h:105: warning: implicit declaration of function 'barrier'
  CC      net/ipv4/udp.o

net/built-in.o(.text+0x580e0): In function `raw_rcv_skb':
: undefined reference to `barrier'
net/built-in.o(.text+0x580e4): In function `raw_rcv_skb':
: undefined reference to `barrier'
net/built-in.o(.text+0x58104): In function `raw_rcv_skb':
: undefined reference to `barrier'
net/built-in.o(.text+0x58108): In function `raw_rcv_skb':
: undefined reference to `barrier'
net/built-in.o(.text+0x58650): In function `raw_rcv':



Attachment: config1.gz
Description: GNU Zip compressed data


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux