NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/40492: STRIPFLAGS causes Alpha build to fail



>Number:         40492
>Category:       install
>Synopsis:       STRIPFLAGS causes Alpha build to fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 27 00:30:00 +0000 2009
>Originator:     Scott Ellis
>Release:        -current 01/08/09
>Organization:
>Environment:
NetBSD intrepid 5.99.6 NetBSD 5.99.6 (INTREPID.P5W) #0: Thu Jan  8 16:04:32 PST 
2009  
scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.P5W
 amd64
(Building -current as of 01/26/09)
>Description:
If /etc/mk.conf contains "STRIPFLAGS=-s" (to cause binaries to be stripped), a 
build of NetBSD/Alpha fails in stand/boot because "boot" isn't something that 
can be stripped (so strips fails with "unrecognized file type").

Oddly, this works on x86_64 (whose /usr/mdec/boot is also not an ELF binary!).  
I don't suspect this is a cross-building problem, but perhaps it is.

>How-To-Repeat:
Include "STRIPFLAGS=-s" in /etc/mk.conf
Use build.sh to build NetBSD/Alpha -current
Note the build stops in /usr/src/sys/arch/alpha/stand/ (error from 'strip' when 
alpha--netbsd-install is called)
>Fix:



Home | Main Index | Thread Index | Old Index