Subject: Re: CVS commit: src/regress/libexec/ld.elf_so/origin
To: Christos Zoulas <christos@netbsd.org>
From: Tom Spindler <dogcow@NetBSD.org>
List: source-changes
Date: 05/20/2007 07:03:06
> Modified Files:
> src/regress/libexec/ld.elf_so/origin/lib: Makefile
> src/regress/libexec/ld.elf_so/origin/prog: Makefile
This pretty much completely fails to [cross-]compile for me
for any architecture:
pts/3 dogcow@marble: ~/work/nbsrc/regress/libexec 4112 % ~/work/nbobj/tools/bin/nbmake-alpha | egrep '(==|^#)'
all ===> ld.elf_so
all ===> ld.elf_so/expand
# compile expand/expand.o
# link expand/expand
all ===> ld.elf_so/origin
all ===> ld.elf_so/origin/lib
# compile lib/foosrc.ln
# compile lib/foosrc.o
# compile lib/foosrc.po
# compile lib/foosrc.so
# build lib/libfoo.a
# build lib/libfoo_p.a
# build lib/libfoo_pic.a
# compile lib/llib-lfoo.ln
all ===> ld.elf_so/origin/prog
cp: cannot stat `/home/dogcow/work/nbobj/alfobj/home/dogcow/work/nbsrc/regress/libexec/ld.elf_so/origin/lib/libfoo.so.0': No such file or directory
# compile prog/origin.o
# link prog/origin
origin.o: In function `main':
: undefined reference to `foo'
origin.o: In function `main':
: undefined reference to `foo'
collect2: ld returned 1 exit status
In other words, lib/ only builds the static libs, and fails to build
any shlibs at all - thus causing everything else to croak.