NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/41536: Can't compile usr.sbin/crash during NetBSD/amd64 buitd with MKPIE, USE_SSP and USE_FORT enabled
>Number: 41536
>Category: port-amd64
>Synopsis: Can't compile usr.sbin/crash during NetBSD/amd64 buitd with
>MKPIE, USE_SSP and USE_FORT enabled
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 04 11:30:00 +0000 2009
>Originator: Adam Hoka
>Release: NetBSD 5.99.12
>Organization:
>Environment:
NetBSD hermiod.mshome.net 5.99.12 NetBSD 5.99.12 (GENERIC) #0: Sat May 30
07:53:01 UTC 2009
builds%b6.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/200905300000Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
amd64
>Description:
dependall ===> usr.sbin/crash
# compile crash/unsupported.o
/usr/build/tools/bin/x86_64--netbsd-gcc -O2 -fPIC -DPIC -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare -std=gnu99
-Werror -mcmodel=kernel -nostdinc -isystem
/usr/build/obj/usr/src/destdir.amd64/usr/include -D_FORTIFY_SOURCE=2 -c
/usr/src/usr.sbin/crash/unsupported.c
/usr/src/usr.sbin/crash/unsupported.c:1: sorry, unimplemented: code model
kernel not supported in PIC mode
/usr/src/usr.sbin/crash/unsupported.c:1: error: code model 'kernel' not
supported in the 64 bit mode
Clean build from sources of 2009-06-04.
>How-To-Repeat:
MKPIE=yes
USE_SSP=yes
USE_FORT=yes
./build.sh distribution
>Fix:
Home |
Main Index |
Thread Index |
Old Index