From: gang.chen@asianux.com (Chen Gang)
To: linux-arm-kernel@lists.infradead.org
Subject: [Suggestion] ARM64:kernel: compiling issue for early_console.
Date: Wed, 27 Mar 2013 19:44:03 +0800 [thread overview]
Message-ID: <5152DB83.8080703@asianux.com> (raw)
Hello Maintainers:
it is a compiling issue for early_console.
the make command:
make V=1 EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig
make V=1 EXTRA_CFLAGS=-W ARCH=arm64 menuconfig
set aarch64-linux-gnu- for tool chain prefix.
make V=1 EXTRA_CFLAGS=-W ARCH=arm64
the error message:
arch/arm64/kernel/early_printk.c: At top level:
arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ?early_console?
In file included from arch/arm64/kernel/early_printk.c:20:0:
include/linux/console.h:145:24: note: previous declaration of ?early_console? was here
make[1]: *** [arch/arm64/kernel/early_printk.o] Error 1
make: *** [arch/arm64/kernel] Error 2
I guess, we can just reference the 32-bit arm implementation is ok.
(it is in arch/arm/kernel/early_printk.c line 32..44)
if really just like what I guess, may I send related patch for it ?
:-)
gchen.
WARNING: multiple messages have this Message-ID (diff)
From: Chen Gang <gang.chen@asianux.com>
To: catalin.marinas@arm.com, Will Deacon <will.deacon@arm.com>,
marc.zyngier@arm.com, anup.patel@linaro.org,
Arnd Bergmann <arnd@arndb.de>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [Suggestion] ARM64:kernel: compiling issue for early_console.
Date: Wed, 27 Mar 2013 19:44:03 +0800 [thread overview]
Message-ID: <5152DB83.8080703@asianux.com> (raw)
Hello Maintainers:
it is a compiling issue for early_console.
the make command:
make V=1 EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig
make V=1 EXTRA_CFLAGS=-W ARCH=arm64 menuconfig
set aarch64-linux-gnu- for tool chain prefix.
make V=1 EXTRA_CFLAGS=-W ARCH=arm64
the error message:
arch/arm64/kernel/early_printk.c: At top level:
arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ‘early_console’
In file included from arch/arm64/kernel/early_printk.c:20:0:
include/linux/console.h:145:24: note: previous declaration of ‘early_console’ was here
make[1]: *** [arch/arm64/kernel/early_printk.o] Error 1
make: *** [arch/arm64/kernel] Error 2
I guess, we can just reference the 32-bit arm implementation is ok.
(it is in arch/arm/kernel/early_printk.c line 32..44)
if really just like what I guess, may I send related patch for it ?
:-)
gchen.
next reply other threads:[~2013-03-27 11:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 11:44 Chen Gang [this message]
2013-03-27 11:44 ` [Suggestion] ARM64:kernel: compiling issue for early_console Chen Gang
2013-03-27 11:55 ` Catalin Marinas
2013-03-27 11:55 ` Catalin Marinas
2013-03-27 12:02 ` Chen Gang
2013-03-27 12:02 ` Chen Gang
2013-04-03 8:13 ` Chen Gang
2013-04-03 8:13 ` Chen Gang
2013-04-03 11:39 ` Christopher Covington
2013-04-03 11:39 ` Christopher Covington
2013-04-03 13:00 ` Chen Gang
2013-04-03 13:00 ` Chen Gang
2013-04-17 9:10 ` Chen Gang
2013-04-17 9:10 ` Chen Gang
2013-04-19 10:53 ` [PATCH] ARM64: kernel: compiling issue, duplicate definition of early_console Chen Gang
2013-04-19 10:53 ` Chen Gang
2013-04-19 12:15 ` Arnd Bergmann
2013-04-19 12:15 ` Arnd Bergmann
2013-04-20 1:55 ` Chen Gang
2013-04-20 1:55 ` Chen Gang
2013-04-19 12:31 ` Catalin Marinas
2013-04-19 12:31 ` Catalin Marinas
2013-04-20 1:54 ` Chen Gang
2013-04-20 1:54 ` Chen Gang
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=5152DB83.8080703@asianux.com \
--to=gang.chen@asianux.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.