Re: [Bugme-new] [Bug 7602] New: Failure on compilation: include/asm/bitops.h:122: error: inconsistent operand constraints in an `asm' in nfs_access_add_cache()



On Thu, 30 Nov 2006 13:18:53 -0800
bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:


http://bugzilla.kernel.org/show_bug.cgi?id=7602

Summary: Failure on compilation: include/asm/bitops.h:122: error:
inconsistent operand constraints in an `asm' in
nfs_access_add_cache()
Kernel Version: 2.6.19
Status: NEW
Severity: high
Owner: trond.myklebust@xxxxxxxxxx
Submitter: mjw99@xxxxxxxx


Most recent kernel where this bug did *NOT* occur:
2.6.18.3

Distribution:
RHEL4-U2 AS

Hardware Environment:
8 CPU Dual Core Opteron box with 32Gb of ram
http://www.iwill.net/product_2.asp?p_id=90&sp=Y

Software Environment:
RHEL4-U2
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

Problem Description:

Compilation fails with the error message:
....
CC fs/nfs/client.o
CC fs/nfs/dir.o
fs/nfs/dir.c: In function `nfs_access_add_cache':
include/asm/bitops.h:122: error: inconsistent operand constraints in an `asm'

Seems that this:

static __inline__ int __test_and_set_bit(int nr, volatile void * addr)
{
int oldbit;

__asm__(
"btsl %2,%1\n\tsbbl %0,%0"
:"=r" (oldbit),"+m" (ADDR)
:"dIr" (nr));
return oldbit;
}

explodes with gcc-3.4.4.


-
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/



Relevant Pages

  • PATA DMA problem leading to kernel panic on reading movie DVDs
    ... DMA capabilities, leading either to DMA being disabled or a kernel ... DVD drive: ... The error message with 2.6.23.14 was: ...
    (Linux-Kernel)
  • Re: Stop 0x0000000a error debug analysis
    ... You receive a "Stop 0x0000000A" error message in Windows XP ... I've posted the full trace below (note the path to ntoskrnl.exe points ... Mini Kernel Dump File: Only registers and stack trace are available ... faulty as, as mentioned above, it's rock solid in safe mode. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Multiple BSODs
    ... You may find the degree of diffulty for my next suggestion too much You can use a Kernel Debugger to examine the 0x0000000A: ... You receive a "Stop 0x0000000A" error message in Windows XP ... Requested data was not in memory. ... Event Source: Service Control Manager ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Stop 0x0000000a error debug analysis
    ... process or driver tried to access a memory location to which it did not ... You receive a "Stop 0x0000000A" error message in Windows XP ... I've posted the full trace below (note the path to ntoskrnl.exe points ... Mini Kernel Dump File: Only registers and stack trace are available ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: X Display unable to start under Fedora Core 2
    ... The upgrade went fine and everything worked OK for the next 2 ... > kernel gives the same problem. ... times that .Xauthority ownership changed while sudoing k3b to root ... Also suggest googling the complete error message if you diff Xorg.0.log to ...
    (comp.os.linux.hardware)