Re: OBJLINK=yes breaks make buildworld

1999-02-04 Thread Bruce Evans
 I don't have a fix.  I never use OBJLINK.  As far as I'm concerned, a
 suitable fix would be to eliminate that option altogether.

As far as I'm concerned, and speaking as the author of that hack,
I agree with you! :-)  Kill it.  Kill it dead.

I use it a lot for working in individual directories.  It shouldn't be
killed until the separate object tree is killed.  `make's search path
should be set on the command line (default .) so that obj subdirectories,
obj links, and /usr/obj/ can be ignored.

Bruce

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


OBJLINK=yes breaks make buildworld

1999-02-03 Thread John Polstra
Make buildworld is broken for the OBJLINK=yes case, and it may have
been broken for quite some time.  When the a.out legacy libraries are
built, the object files end up in the source tree, because the obj
links no longer point to the right place.  Furthermore, these object
files don't get removed when you do a make clean or a make cleandir.

I don't have a fix.  I never use OBJLINK.  As far as I'm concerned, a
suitable fix would be to eliminate that option altogether.

This is the cause of one kind of libpam build failure, namely the
one that ends like this:

/usr/src/lib/libpam/libpam/../modules/pam_cleartext_pass_ok/libpam_cleartext_pas
s_ok.a: object /usr/src/lib/libpam/libpam/../mo
dules/pam_cleartext_pass_ok/libpam_cleartext_pass_ok.a(pam_cleartext_pass_ok.o)
in archive is not object
*** Error code 1

Thanks to Jon Hamilton for suggesting the OBJLINK connection.

John
---
  John Polstra   j...@polstra.com
  John D. Polstra  Co., Inc.Seattle, Washington USA
  Nobody ever went broke underestimating the taste of the American public.
-- H. L. Mencken

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: OBJLINK=yes breaks make buildworld

1999-02-03 Thread Jordan K. Hubbard
 Make buildworld is broken for the OBJLINK=yes case, and it may have
 been broken for quite some time.  When the a.out legacy libraries are
 built, the object files end up in the source tree, because the obj
 links no longer point to the right place.  Furthermore, these object
 files don't get removed when you do a make clean or a make cleandir.
 
 I don't have a fix.  I never use OBJLINK.  As far as I'm concerned, a
 suitable fix would be to eliminate that option altogether.

As far as I'm concerned, and speaking as the author of that hack,
I agree with you! :-)  Kill it.  Kill it dead.

- Jordan

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message