Re: [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- From: "H. Peter Anvin" <hpa@xxxxxxxxx>
- Date: Fri, 16 May 2008 14:32:21 -0700
Mathieu Desnoyers wrote:
It seems that include/asm-x86/immediate.h in sched-devel.git causes
this. gcc-3.4 does not seem to like the "i" (&name##__imv) constraint. I
have seen no such problem with gcc-4.1. This is weird. It seems that
relaxing the constraint helps fixing this, but it's not clear whether
fixing the code or gcc-3.4 is the correct solution... here is the fix :
Fix immediate asm constraint for gcc 3 x86_64
It might make it compile, but it's completely *wrong* for the purpose intended.
It permits gcc to present the address in a register, for example, so there is no guarantee that you end up with an immediate.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- From: Mathieu Desnoyers
- Re: [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- References:
- x86-64 build problem with tip
- From: Jeremy Fitzhardinge
- [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- From: Mathieu Desnoyers
- x86-64 build problem with tip
- Prev by Date: Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tree and add mpc5200-spi driver
- Next by Date: Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tree and add mpc5200-spi driver
- Previous by thread: [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- Next by thread: Re: [PATCH] Fix immediate asm constraint for gcc 3 x86_64
- Index(es):
Relevant Pages
|