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

2001-04-24 Thread Colonel


In list.kernel, axel <[EMAIL PROTECTED]> 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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-24 Thread Wayne . Brown



With the __builtin_expect patch [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> on 04/23/2001 05:58:47 PM

To:   [EMAIL PROTECTED] (axel)
cc:   [EMAIL PROTECTED] (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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-24 Thread axel

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-24 Thread axel

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.
 

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-23 Thread Jeff Chua

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-23 Thread Alan Cox

> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: compile error 2.4.4pre6: inconsistent operand constraints in an `asm'

2001-04-23 Thread Erik Mouw

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: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



compile error 2.4.4pre6: inconsistent operand constraints in an`asm'

2001-04-23 Thread axel

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



compile error 2.4.4pre6: inconsistent operand constraints in an`asm'

2001-04-23 Thread axel

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

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: compile error 2.4.4pre6: inconsistent operand constraints in an `asm'

2001-04-23 Thread Erik Mouw

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: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-23 Thread Alan Cox

 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



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

2001-04-23 Thread Jeff Chua

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

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/