public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
@ 2001-04-24 19:54 Wayne.Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Wayne.Brown @ 2001-04-24 19:54 UTC (permalink / raw)
  To: Alan Cox; +Cc: axel, linux-kernel



With the __builtin_expect patch junio@siamese.dhis.twinsun.com posted, both
2.4.4-pre6 and 2.4.3-ac12 compile with egcs-2.91.66.  Also, 2.4.3-ac13 builds
without any further patches needed.

Wayne




Alan Cox <alan@lxorguk.ukuu.org.uk> on 04/23/2001 05:58:47 PM

To:   axel@rayfun.org (axel)
cc:   linux-kernel@vger.kernel.org (bcc: Wayne Brown/Corporate/Altec)

Subject:  Re: compile error 2.4.4pre6: inconsistent operand constraints in an



> after having had trouble with compilation due to old gcc version, i have
> updated to gcc 3.0 and received the following error:

2.4.4pre6 only builds with gcc 2.96. If you apply the __builtin_expect fixes
it builds and runs fine with 2.95. Not tried egcs. The gcc 3.0 asm constraints
one I've yet to see a fix for.
-
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/






^ permalink raw reply	[flat|nested] 5+ messages in thread
* compile error 2.4.4pre6: inconsistent operand constraints in an `asm'
@ 2001-04-23 21:11 axel
  2001-04-23 22:58 ` compile error 2.4.4pre6: inconsistent operand constraints in an Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: axel @ 2001-04-23 21:11 UTC (permalink / raw)
  To: linux-kernel

Hallo,

after having had trouble with compilation due to old gcc version, i have
updated to gcc 3.0 and received the following error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.4pre6/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i586    -DEXPORT_SYMTAB -c sys.c
sys.c: In function `sys_gethostname':
/usr/src/linux-2.4.4pre6/include/asm/rwsem.h:142: inconsistent operand
constraints in an `asm'
make[2]: *** [sys.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.4pre6/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.4pre6/kernel'
make: *** [_dir_kernel] Error 2

I'm very thankful for any help,

Regards,
Axel Siebenwirth


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-04-24 23:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-24 19:54 compile error 2.4.4pre6: inconsistent operand constraints in an Wayne.Brown
  -- strict thread matches above, loose matches on Subject: below --
2001-04-23 21:11 compile error 2.4.4pre6: inconsistent operand constraints in an `asm' axel
2001-04-23 22:58 ` compile error 2.4.4pre6: inconsistent operand constraints in an Alan Cox
2001-04-24  0:25   ` Jeff Chua
2001-04-24 11:51   ` axel
     [not found]   ` <9c3pgm$u0$1@ns1.clouddancer.com>
2001-04-24 23:07     ` Colonel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox