Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 18:09:52 GMT
From:      Hampton Finger <locnar@locnar.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/97184: Error compiling 6.1 zlib module (kernel) on 5.4 AMD64 Machine 
Message-ID:  <200605121809.k4CI9qDe065811@www.freebsd.org>
Resent-Message-ID: <200605121810.k4CIAHMC068476@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97184
>Category:       amd64
>Synopsis:       Error compiling 6.1 zlib module (kernel) on 5.4 AMD64 Machine
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 12 18:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Hampton Finger
>Release:        5.4 RELEASE
>Organization:
locnar.net
>Environment:
FreeBSD syverson.cwrl.utexas.edu 5.4-RELEASE-p12 FreeBSD 5.4-RELEASE-p12 #2: Wed Mar 8 21:09:27 CST 2006   locnar@syverson.cwrl.utexas.edu:/usr/src/sys/amd64/compile/SYVERSON  amd64
>Description:
CVSUP'ed 6.1 Release on 12 May 2006 with CVS tag RELENG_6_1
make -j6 buildworld:  completed fine
created new KERNCONF from new GENERIC from the CVSUP run
http://www2.cwrl.utexas.edu/SYVERSON is a listing of the KERNCONF
make -j4 buildkernel KERNCONF=SYVERSON:  Failed with the following errors


<snip>
===> zlib (all)
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SYVERSON/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/SYVERSON -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/zlib/../../net/zlib.c
ld  -d -warn-common -r -d -o zlib.ko.debug zlib.o
touch export_syms
awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.ko.debug  export_syms | xargs -J% objcopy % zlib.ko.debug
objcopy --strip-debug zlib.ko.debug zlib.ko
1 error
*** Error code 2
1 error
*** Error code 2
1 error

>How-To-Repeat:
simply attempt to build a kernel with make buildkernel on an AMD64 machine.

Fails in zlib module every time at the same place.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:



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