kernel error when compiling kernel on 4-stable (after make dep, during make)

kernel error when compiling kernel on 4-stable (after make dep, during make)

Post by AB » Mon, 17 Jul 2000 04:00:00



Hi,

This is what I get on 2 machines when compiling my kernel on a freebsd
4-stable (cvsupped this morning, and yesterday and bothn have the same
problem) system:

cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
opt_global.h -elf  -mpreferred-stack-boundary=2
../../i386/i386/bioscall.s
/tmp/ccO81277.s: Assembler messages:
/tmp/ccO81277.s:776: Error: operands given don't match any known 386
instruction
/tmp/ccO81277.s:841: Error: operands given don't match any known 386
instruction
*** Error code 1

Stop in /usr/src/sys/compile/MYKERNEL

What is going wrong ?

AB

--
                                         ____            ___  _______
 Aernoudt Bottemanne                    / __/______ ___ / _ )/ __/ _ \
 aernoudt at wanadoo.nl                / _// __/ -_) -_) _  |\ \/ // /
                                      /_/ /_/  \__/\__/____/___/____/
 Dutch FreeBSD User Group:            ----- The Power to Serve -----
 http://www.nlfug.nl                      http://www.freebsd.org

 
 
 

kernel error when compiling kernel on 4-stable (after make dep, during make)

Post by Philipp Mergenthale » Mon, 17 Jul 2000 04:00:00



> This is what I get on 2 machines when compiling my kernel on a freebsd
> 4-stable (cvsupped this morning, and yesterday and bothn have the same
> problem) system:
[...]
> ../../i386/i386/bioscall.s
> /tmp/ccO81277.s: Assembler messages:
> /tmp/ccO81277.s:776: Error: operands given don't match any known 386
> instruction

The binutils (which include the assembler) have been updated and some
assembler files (extension .s) have been adapted some days ago.
I.e. you'd have to make and install the binutils before building
a kernel from the new sources. You may want to do a full "make world".

There's now a procedure for making world and kernel that will make
sure that new tools get used to build the kernel. It has been
announced on the -stable mailing list and can be found here:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=124003+0+archive/2000/fr...

Beware, right now this procedure installs the new kernel not as /kernel
but with the name of your kernel configuration file. I think this may
be changed, but for now you'll probably have to copy it by hand or
have
bootfile="your_kernel_name,kernel,kernel.old"
in /boot/loader.conf or /boot/loader.conf.local .

Bye, Philip

--
http://www.uni-karlsruhe.de/~un1i/                          (,.)
                                                          \\\00 )
                                                            \= )
                                                            cc_|\_,^

 
 
 

kernel error when compiling kernel on 4-stable (after make dep, during make)

Post by Michael Kagalen » Wed, 19 Jul 2000 04:00:00



]> This is what I get on 2 machines when compiling my kernel on a freebsd
]> 4-stable (cvsupped this morning, and yesterday and bothn have the same
]> problem) system:
][...]
]> ../../i386/i386/bioscall.s
]> /tmp/ccO81277.s: Assembler messages:
]> /tmp/ccO81277.s:776: Error: operands given don't match any known 386
]> instruction
]
]The binutils (which include the assembler) have been updated and some
]assembler files (extension .s) have been adapted some days ago.
]I.e. you'd have to make and install the binutils before building
]a kernel from the new sources. You may want to do a full "make world".

 This must be the reason why vmstat and top are broken in 4.0-RELEASE

 
 
 

1. kernel error when compiling kernel on 4-stable (after make dep, d

The binutils (which include the assembler) have been updated and some
assembler files (extension .s) have been adapted some days ago.
I.e. you'd have to make and install the binutils before building
a kernel from the new sources. You may want to do a full "make world".

There's now a procedure for making world and kernel that will make
sure that new tools get used to build the kernel. It has been
announced on the -stable mailing list and can be found here:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=124003+0+archive/2000/fr...

Beware, right now this procedure installs the new kernel not as /kernel
but with the name of your kernel configuration file. I think this may
be changed, but for now you'll probably have to copy it by hand or
have
bootfile="your_kernel_name,kernel,kernel.old"
in /boot/loader.conf or /boot/loader.conf.local .

Bye, Philip

--
http://www.uni-karlsruhe.de/~un1i/                          (,.)
                                                          \\\00 )
                                                            \= )
                                                            cc_|\_,^

2. how do i Load perl module?

3. kernel error when compiling kernel on 4-stable (after make dep, durin

4. print UTF8 char in solaris

5. cvsup'ed to 4-stable and have kernel error

6. Mail on a SLIP account

7. Making a new kernel - CVSuped, not made world yet.

8. Error message

9. Compile errors during making modules for a ATM Nicstar 77211Card

10. Problem upgrading kernel and making initial ramdisk & kernel.

11. Can't get the kernel source for making Sawtooth kernel

12. Kernel compile: 'make dep' errors: .h files are not being found...

13. Make dep errors on compiling kernel 2.2.12