11908 usr/src/cmd/sgs links against libraries outside the proto area
Review Request #2430 — Created Nov. 1, 2019 and updated
The avoid linking against libraries outside the proto area:
usr/src/cmd/sgs/librtld_db/demo needs to depend on
- usr/src/cmd/sgs/librtld_db/i386 (for librtld_db.so)
- usr/src/cmd/sgs/lex (for libl.so)
- usr/src/cmd/sgs/yacc (for liby.so)
usr/src/lib/libdwarf needs to depend on
usr/src/cmd/sgs/Makefile.sub (Diff revision 1)
Does extrasubdirs never have a conditional 64-bit component?
usr/src/lib/Makefile (Diff revision 1)
Why is this a FIXME? Is there something that's inherently wrong about the dependency? How did this previously work? Should the sgs Makefiles themselves be trying to ensure this? If someone did a dmake install in cmd/sgs, would we get the right thing? If not, maybe this is the wrong place to encode it?