Re: ld-error on 2.4.2 and on 2.4.1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 1 Mar 2001 18:46:38 +0000 (GMT)


> gcc -E -D__KERNEL__ -I/usr/src/linux/include -D__BIG_KERNEL__
> -traditional -DSVGA_MODE=NORMAL_VGA bootsect.S -o bbootsect.s
> as -o bbootsect.o bbootsect.s
> bbootsect.s: Assembler messages:
> bbootsect.s:253: Warning: indirect lcall without `*'
> ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
> ld: cannot open binary: No such file or directory

Debian Sid currently includes a binutils that drops the option the kernel
uses. If you look through the archive you'll find a patch to do deal with
this, or you can just go back to a slightly older binutils

Also gcc 2.95.3 cvs snapshots aren't yet a recommended build tool for the
kernel. They are probably ok though. I've had no evidence to suggest they
miscompile anything.

Alan

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