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
NetBSD intrepid 5.99.6 NetBSD 5.99.6 (INTREPID.P5W) #0: Thu Jan  8 16:04:32 PST 
(Building -current as of 01/26/09)
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.

Include "STRIPFLAGS=-s" in /etc/mk.conf
Use 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)

Home | Main Index | Thread Index | Old Index