NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/48627: CTFCONVERT is set depending on properties of the build host



On Mar 5, 10:33am, ozaki-r%NetBSD.org@localhost (Ryota Ozaki) wrote:
-- Subject: Re: toolchain/48627: CTFCONVERT is set depending on properties of

| Could I commit the patch? Christos?
| 
| The fix also helps my work :)

The bsd.own.mk fix is probably fine (but does not really make a difference),
but the sys.mk cannot possibly work because sys.mk is the first file to be
loaded by make:

$ cd /usr/src/usr.bin/make
$ ktrace make
$ kdump | grep NAMI
  3968      1 ktrace   NAMI  "./make"
  3968      1 ktrace   NAMI  "/usr/bin/make"
  3968      1 ktrace   NAMI  "/usr/libexec/ld.elf_so"
  3968      1 make     NAMI  "/etc/ld.so.conf"
  3968      1 make     NAMI  "/usr/lib/libutil.so.7"
  3968      1 make     NAMI  "/usr/lib/libgcc_s.so.1"
  3968      1 make     NAMI  "/usr/lib/libc.so.12"
  3968      1 make     NAMI  "/etc/malloc.conf"
  3968      1 make     NAMI  "/usr/src/usr.bin/make"
  3968      1 make     NAMI  "/usr/src/usr.bin/make"
  3968      1 make     NAMI  "/usr/src/usr.bin/make"
  3968      1 make     NAMI  "/usr/src/usr.bin/make"
  3968      1 make     NAMI  "/usr/src/usr.bin/make"
  3968      1 make     NAMI  "."
  3968      1 make     NAMI  "/usr/src/usr.bin/make/obj.amd64"
  3968      1 make     NAMI  "/usr/src/usr.bin/make/obj.amd64"
  3968      1 make     NAMI  "."
  3968      1 make     NAMI  "/usr/share/mk"
  3968      1 make     NAMI  "/usr/share/mk/sys.mk"

So, I don't think that the patch is correct. How have you tested that it works?

christos


Home | Main Index | Thread Index | Old Index