> I have a log from a partial run of 'make regression-tests' (I hit a bug > in kqueue which hangs indefinitely) and it showed up as failing. I went > into libexec/ld.so/randomdata and ran 'make depend regress' and it doesn't > work without that patch. > > It would get built if something called 'make' since libaa would have a > matching target then. I checked the top level /usr/src/Makefile and the > parent of randomdata and they do not call the default target. > > I just installed an i386 snapshot on a laptop (no local changes yet) and > tried it against the latest -current. I still see this behavior when > I go into the directory and run 'make depend regress'. It's working > for you?
Yes, it works for me. But I have run `make obj' first. If I don't `make obj', it will indeed fail, but not because of a missing regress target: $ make depend regress ===> libaa mkdep -a aa.c ===> prog-dynamic mkdep -a /usr/src/regress/libexec/ld.so/randomdata/prog-dynamic/../prog/prog.c ===> prog-static mkdep -a /usr/src/regress/libexec/ld.so/randomdata/prog-static/../prog/prog.c ===> prog-pie mkdep -a /usr/src/regress/libexec/ld.so/randomdata/prog-pie/../prog/prog.c ===> ld.so-cookie mkdep -a test.c ===> libaa ===> prog-dynamic cc -O2 -fstack-shuffle -pipe -c /usr/src/regress/libexec/ld.so/randomdata/prog-dynamic/../prog/prog.c Warning: target /usr/src/regress/libexec/ld.so/randomdata/prog-dynamic/../libaa/libaa.a (prerequisite of: prog) does not have any command (BUG) cc -o prog prog.o -Wl,-rpath,/usr/src/regress/libexec/ld.so/randomdata/prog-dynamic/../libaa -L/usr/src/regress/libexec/ld.so/randomdata/prog-dynamic/../libaa -laa /usr/bin/ld: cannot find -laa collect2: ld returned 1 exit status *** Error 1 in prog-dynamic (<bsd.prog.mk>:84 'prog') FAILED *** Error 1 in prog-dynamic (<bsd.regress.mk>:101 'regress') *** Error 1 in /usr/src/regress/libexec/ld.so/randomdata (<bsd.subdir.mk>:48 'regress') ... but that's a different issue, which can get fixed in Makefile.inc. And then, running `make obj', even in regress/, is recommended.
