Subject: bin/4040: link.h not installed on NOPIC systems
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@vivax.bernstein.com>
List: netbsd-bugs
Date: 08/26/1997 12:28:59
>Number: 4040
>Category: bin
>Synopsis: link.h not installed on NOPIC systems
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 26 09:35:00 1997
>Last-Modified:
>Originator: maximum entropy
>Organization:
>Release: <NetBSD-current source date>19970824
>Environment:
VS3100, NetBSD-current, vax, standard libraries
System: NetBSD vivax.bernstein.com 1.2G NetBSD 1.2G (VIVAX) #1: Tue Aug 26 08:16:48 EDT 1997 root@vivax.bernstein.com:/import/tardis/usr/src/sys/arch/vax/compile/VIVAX vax
>Description:
On systems where NOPIC is defined during build, /usr/include/link.h
will not be installed and "make build" will fail:
===> usr.bin/nm
cc -O -Werror -c nm.c
nm.c:54: link.h: No such file or directory
*** Error code 1
>How-To-Repeat:
On a VAX:
rm /usr/include/link.h
cd /usr/src
make build
>Fix:
Not sure. There are two versions of link.h in the source tree:
/usr/src/gnu/usr.bin/ld/rtld/link.h
/usr/src/libexec/ld.elf_so/link.h
I was able to manually install the link.h from
/usr/src/gnu/usr.bin/ld/rtld/link.h and continue my build. But I'm not
certain this is really the right thing to do.
>Audit-Trail:
>Unformatted: