* 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
* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
2001-04-23 21:11 compile error 2.4.4pre6: inconsistent operand constraints in an `asm' axel
@ 2001-04-23 22:58 ` Alan Cox
2001-04-24 0:25 ` Jeff Chua
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alan Cox @ 2001-04-23 22:58 UTC (permalink / raw)
To: axel; +Cc: linux-kernel
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
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>
2 siblings, 0 replies; 5+ messages in thread
From: Jeff Chua @ 2001-04-24 0:25 UTC (permalink / raw)
To: Alan Cox; +Cc: axel, linux-kernel
On Mon, 23 Apr 2001, Alan Cox wrote:
> 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.
So, should I upgrade to 2.96 from 2.95.3?
But, from http://gcc.gnu.org/gcc-2.96.html ...
Please note that both GCC 2.96 and 2.97 are development versions; we
do not recommend using them for production purposes. Binaries built
using any version of GCC 2.96 or 2.97 will not be portable to systems
based on one of our regular releases.
Does this still hold?
Thanks,
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
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>
2 siblings, 0 replies; 5+ messages in thread
From: axel @ 2001-04-24 11:51 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
How about correcting the needed gcc version in Documentation/Changes?
On Mon, 23 Apr 2001, Alan Cox wrote:
> > 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.
>
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <9c3pgm$u0$1@ns1.clouddancer.com>]
* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
[not found] ` <9c3pgm$u0$1@ns1.clouddancer.com>
@ 2001-04-24 23:07 ` Colonel
0 siblings, 0 replies; 5+ messages in thread
From: Colonel @ 2001-04-24 23:07 UTC (permalink / raw)
To: linux-kernel
In list.kernel, axel <axel@rayfun.org> wrote:
>
>How about correcting the needed gcc version in Documentation/Changes?
Linux, with up to date documention?? In your dreams perhaps.
>On Mon, 23 Apr 2001, Alan Cox wrote:
>
>> > 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.
BTW. The above attitude was fostered by informing the Changes
maintainer that the recommended NFS userspace server was on the
exploits list (back in the 2.0 kernel days when knfs was new) and
getting a "I don't use that, so what" response.
...and the documentation continued to recommend an exploitable NFS
server... in short: you must cross-check to be sure, at least in linux
you have a few more options.
^ 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