* compile error 2.4.4pre6: inconsistent operand constraints in an `asm'
@ 2001-04-23 21:11 axel
2001-04-23 21:44 ` Erik Mouw
2001-04-23 22:58 ` compile error 2.4.4pre6: inconsistent operand constraints in an Alan Cox
0 siblings, 2 replies; 7+ 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] 7+ messages in thread
* Re: compile error 2.4.4pre6: inconsistent operand constraints in an `asm'
2001-04-23 21:11 compile error 2.4.4pre6: inconsistent operand constraints in an `asm' axel
@ 2001-04-23 21:44 ` Erik Mouw
2001-04-23 22:58 ` compile error 2.4.4pre6: inconsistent operand constraints in an Alan Cox
1 sibling, 0 replies; 7+ messages in thread
From: Erik Mouw @ 2001-04-23 21:44 UTC (permalink / raw)
To: axel; +Cc: linux-kernel
On Mon, Apr 23, 2001 at 11:11:14PM +0200, axel wrote:
> after having had trouble with compilation due to old gcc version, i have
> updated to gcc 3.0 and received the following error:
Although bug reports about a kernel compiled with gcc-3.0 are welcome,
this is still not the recommended compiler. The recommended compiler is
gcc-2.91.66 (aka egcs-1.1.2), but for most people gcc-2.95.2 works as
well.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
^ permalink raw reply [flat|nested] 7+ 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 21:44 ` Erik Mouw
@ 2001-04-23 22:58 ` Alan Cox
2001-04-24 0:25 ` Jeff Chua
` (2 more replies)
1 sibling, 3 replies; 7+ 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] 7+ 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
2001-04-24 23:07 ` Colonel
2 siblings, 0 replies; 7+ 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] 7+ 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
2001-04-24 23:07 ` Colonel
2 siblings, 0 replies; 7+ 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] 7+ 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
@ 2001-04-24 23:07 ` Colonel
2 siblings, 0 replies; 7+ 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] 7+ messages in thread
* Re: compile error 2.4.4pre6: inconsistent operand constraints in an
@ 2001-04-24 19:54 Wayne.Brown
0 siblings, 0 replies; 7+ 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] 7+ messages in thread
end of thread, other threads:[~2001-04-24 23:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23 21:11 compile error 2.4.4pre6: inconsistent operand constraints in an `asm' axel
2001-04-23 21:44 ` Erik Mouw
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
2001-04-24 23:07 ` Colonel
2001-04-24 19:54 Wayne.Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®