login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
15
Re: [PATCH 2.6.27-rc1] x86: fix readb() et al compile error with gcc-3.2.3
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Mikael Pettersson <mikpe@...>
Cc: <mingo@...>, <hpa@...>, <linux-kernel@...>, <tglx@...>
Subject:
Re: [PATCH 2.6.27-rc1] x86: fix readb() et al compile error with gcc-3.2.3
Date: Friday, August 15, 2008 - 8:31 am
* Mikael Pettersson <mikpe@it.uu.se> wrote:
quoted text
> Building 2.6.27-rc1 on x86 with gcc-3.2.3 fails with: > > In file included from include/asm/dma.h:12, > from include/linux/bootmem.h:8, > from init/main.c:26: > include/asm/io.h: In function `readb': > include/asm/io.h:32: syntax error before string constant > include/asm/io.h: In function `readw': > include/asm/io.h:33: syntax error before string constant > include/asm/io.h: In function `readl': > include/asm/io.h:34: syntax error before string constant > include/asm/io.h: In function `__readb': > include/asm/io.h:36: syntax error before string constant > include/asm/io.h: In function `__readw': > include/asm/io.h:37: syntax error before string constant > include/asm/io.h: In function `__readl': > include/asm/io.h:38: syntax error before string constant > make[1]: *** [init/main.o] Error 1 > make: *** [init] Error 2 > > Starting with 2.6.27-rc1 readb() et al are generated by a > build_mmio_read() macro, which generates asm() statements with > output register constraints like "=" "q", i.e. as two adjacent > string literals. This doesn't work with the old gcc-3.2.3. > > Fixed by moving the "=" part into the callers' reg parameter > (as suggested by Ingo). > > Build and boot-tested with gcc-3.2.3 on 32 and 64-bit x86. > > Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
applied to tip/x86/urgent - thanks Mikael. Ingo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 2.6.27-rc1] x86: fix readb() et al compile error with...
, Mikael Pettersson
, (Wed Jul 30, 8:44 am)
Re: [PATCH 2.6.27-rc1] x86: fix readb() et al compile error ...
, Ingo Molnar
, (Fri Aug 15, 8:31 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Jarek Poplawski
[PATCH iproute2] Re: HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
577 guests
online.
Online users
strcmp
Syndicate