Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 1998 15:53:39 -0700
From:      John Polstra <jdp@polstra.com>
To:        sos@FreeBSD.ORG, jkh@FreeBSD.ORG
Cc:        committers@FreeBSD.ORG
Subject:   Re: cvs commit: src Makefile.inc1
Message-ID:  <199809252253.PAA08647@austin.polstra.com>
In-Reply-To: <199809250858.BAA16104@freefall.freebsd.org>
References:  <199809250858.BAA16104@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199809250858.BAA16104@freefall.freebsd.org>,
Søren Schmidt  <sos@FreeBSD.ORG> wrote:
> sos         1998/09/25 01:58:50 PDT
> 
>   Modified files:
>     .                    Makefile.inc1 
>   Log:
>   Build the LKM's both on aout & ELF systems.
>   
>   Reviewed by: jkh
>   
>   Revision  Changes    Path
>   1.21      +3 -3      src/Makefile.inc1

Uh, this seems to break a make buildworld on an ELF system:

cd /usr/src/lkm/linux; /usr/obj/elf/usr/src/tmp/usr/bin/make -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -D_BUILD_TOOLS build-tools
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
cc -c -O -pipe -DLKM -DCOMPAT_LINUX  -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi -nostdinc -I-  -I/usr/obj/elf/usr/src/lkm/linux -I/usr/obj/elf/usr/src/lkm/linux/@ -I/usr/obj/elf/usr/src/tmp/usr/include -aout -UKERNEL /usr/src/lkm/linux/../../sys/i386/linux/linux_genassym.c
cc -O -pipe -DLKM -DCOMPAT_LINUX  -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi -nostdinc -I-  -I/usr/obj/elf/usr/src/lkm/linux -I/usr/obj/elf/usr/src/lkm/linux/@ -I/usr/obj/elf/usr/src/tmp/usr/include -aout  -aout -static -o linux_genassym linux_genassym.o
/usr/obj/elf/usr/src/tmp/usr/libexec/aout/ld: /usr/obj/elf/usr/src/tmp/usr/lib/libc.a(): bad magic
*** Error code 1

This is a pristine ELF system from a day or two ago, and a straight
"make buildworld" without any special options.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809252253.PAA08647>