linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "alpha @ steudten Engineering" <alpha@steudten.com>
To: LinuxAlpha <linux-alpha@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: ALPHA: missing reference to barrier()
Date: Fri, 04 Nov 2005 11:25:52 +0100	[thread overview]
Message-ID: <436B3730.2090705@steudten.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

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 #2: config1.gz --]
[-- Type: application/x-gzip, Size: 2938 bytes --]

             reply	other threads:[~2005-11-04 10:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 10:25 alpha @ steudten Engineering [this message]
2005-11-04 13:31 ` ALPHA: missing reference to barrier() Daniel Drake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=436B3730.2090705@steudten.org \
    --to=alpha@steudten.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).