Re: Proper way to build nanobsd with external toolchain on new CURRENT?

2014-12-31 Thread Garrett Cooper
On Dec 31, 2014, at 13:58, Lev Serebryakov l...@freebsd.org wrote:

 Signed PGP part

…

 Where XSTRIPBIN is my addition (or installworld will fail due to absent
 strip for install -s”)

Should XSTRIPBIN be STRIP_CMD? From build(7)…

 STRIP_CMDCommand to use at install time when stripping binaries.
  Be sure to add any additional tools required to run
  STRIP_CMD to the LOCAL_ITOOLS make(1) variable before
  running the distributeworld or installworld targets.
  See install(1) for more details.

This should be unnecessary though as I’ve already resolved the strip command 
not being present issue in r275867.

Cheers!


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Proper way to build nanobsd with external toolchain on new CURRENT?

2014-12-31 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01.01.2015 01:14, Garrett Cooper wrote:

 Where XSTRIPBIN is my addition (or installworld will fail due to
 absent strip for install -s”)
 
 Should XSTRIPBIN be STRIP_CMD? From build(7)…
 
 STRIP_CMDCommand to use at install time when stripping
 binaries. Be sure to add any additional tools required to run 
 STRIP_CMD to the LOCAL_ITOOLS make(1) variable before running the
 distributeworld or installworld targets. See install(1) for more
 details.
 
 This should be unnecessary though as I’ve already resolved the
 strip command not being present issue in r275867.
 After some digging ~1.5 years ago (or more?) I found, that this work
for me (conditional on filled XSTRIPBIN):

IMAKEENV+=  STRIPBIN=${XSTRIPBIN}

 Without this when I specify WITHOUT_TOOLCHAIN=yes on build stage each
installation is failed due to absent strip.

 But maybe, it is not very clean way, I don't know.

- -- 
// Lev Serebryakov AKA Black Lion
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUpHkXXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePBqYQAKAz0z6DJEso5Qlr7uTKA9D+
PDk3YcmGzboahnWq2bPmgpVsUL4zDWG8sIX77WcCPtQoMgZdnVfvh7oJPh470rLs
2+lnFv8qGGd1bqZHj1k25DuOgNdphocy+Ed9azyBt6kIRkl7Elypzew8Ai5Kp+W9
vdRwbSdZ0qXKDx8hUjTXMcKNeloS7Hb6avLylqTIys4WD4YeoWEmUQ2w+k9f1iPc
6XpXVRfAz3A3dGuLRE2dsKzMeUrJZojOJbBCfVDTT7fBgpKQ1x4mhKxAlZqyDckm
DbOafX/hssmseuffu8xj2TIw+/7XptIpf8+fhw0D4qn/thR/V9lctZOo9NWa7jQ/
g7Q+HSfg1MD78UQOQ4CiJzTSGJWpdezI/Z7pgGXCwmspjFsLGGeNWidY/crhtjPL
kBJJUydZo9hG0w21JfASh36vHDH5maWv2Vq9rNgumpSYgQXYX7SJn2uXCRp19/71
VlyQCly2Q6bTj61OL+Zj3kc79hGVtZERKEFtOoJi4Xfme+8VinAQGVe//czxlpjc
+GW0joH2MgthFZC3+kf2Wy8OYMfq/NSnlr//+5uT+vM6yXWtQIqVCCMHCtu6anjI
lHAfQ1GW9UuZ3E8R9RVD59k3be+hooxHufZHvYSrQUMNQwItmmC+bmozh6g1Hd/1
k/veiHpg1Ox55DpJkCPO
=wSqb
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Proper way to build nanobsd with external toolchain on new CURRENT?

2014-12-31 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01.01.2015 01:14, Garrett Cooper wrote:

 STRIP_CMDCommand to use at install time when stripping
 binaries. Be sure to add any additional tools required to run 
 STRIP_CMD to the LOCAL_ITOOLS make(1) variable before running the
 distributeworld or installworld targets. See install(1) for more
 details.
 
 This should be unnecessary though as I’ve already resolved the
 strip command not being present issue in r275867.
 BTW, install(1) says about STRIPBIN and not STRIP_CMD


The install utility checks for the presence of the STRIPBIN
environment
 variable and if present, uses the assigned value as the program
to run if
 and when the -s option has been specified.


 and grep STRIP_CMD /usr/src/Makefile* /usr/share/mk/* brings nothing.

- -- 
// Lev Serebryakov AKA Black Lion
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUpHy9XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePm0EQAMJtYyBDJnxTLrzq8yAP7O2O
lLzFRqmqcx67RzBVWwww3bLwbEJcmRFlBLBgzpcCH7xW4B1vDoLXCv8vRtga8T1X
gNJNK/piYNh+GRKAk7eOi/lzGgPkq4esmOaRhr2k9C1TdqGqJ586c6VyokHzgiS/
nwF24WdRUHFYe0RaLz16R0RkLtUnDSJQCtSgduG6MYCo4zQjvcBTrLg6tLSczMyS
RxKSHEgE4GSadOtw1y6pa9bhpbvjbSefkTdjXRYAv+MWL33W/AYh5Ujl06Eu+Y1h
Kk3Q0jwdvnjCEtGsJA+cGUWPIlSSocSi2kM9lXD/Dc3X+aaBGrR7ch2zI1ETvSoF
XhszBuQkObgRdSKfyEeFLu1RsuuK7G8o94Mf3BxLELppNAlVCJY5jHn6DZE9OLFm
AZTYHZIc/M/otB7dTM2vnzUZYSlkNcqke5rzKNijaWqbyUOMxBBuKIe4zfQMX12o
KsW/YDroebFdJCQ7bsH9+bm83MedOxvipIR6CDcZUCuClg4s/BDY0sYi11AC3+F7
SEgwUZpBXsDkpr1ejE2WSARFMYkdZaSOpm1GI3a2d0/FtgFLqUgZP3bCq+ZWGQT1
Q7TMewN2u7BB0SJBnWg9AzVseeQX3+wLStKEHgg1IQsFYdNRzSFFzEArlzsLx1w0
b6AZmoBhRLFJi/lm0LE9
=ll9M
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: Proper way to build nanobsd with external toolchain on new CURRENT?

2014-12-31 Thread Garrett Cooper
On Dec 31, 2014, at 14:46, Lev Serebryakov l...@freebsd.org wrote:

 Signed PGP part
 On 01.01.2015 01:14, Garrett Cooper wrote:
 
  STRIP_CMDCommand to use at install time when stripping
  binaries. Be sure to add any additional tools required to run
  STRIP_CMD to the LOCAL_ITOOLS make(1) variable before running the
  distributeworld or installworld targets. See install(1) for more
  details.
 
  This should be unnecessary though as I’ve already resolved the
  strip command not being present issue in r275867.
 BTW, install(1) says about STRIPBIN and not STRIP_CMD
 
 
 The install utility checks for the presence of the STRIPBIN
 environment
  variable and if present, uses the assigned value as the program
 to run if
  and when the -s option has been specified.
 
 
 and grep STRIP_CMD /usr/src/Makefile* /usr/share/mk/* brings nothing.

*sigh* — you’re right, it should be STRIPBIN.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Proper way to build nanobsd with external toolchain on new CURRENT?

2014-12-31 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01.01.2015 01:14, Garrett Cooper wrote:

 This should be unnecessary though as I’ve already resolved the
 strip command not being present issue in r275867.
 It looks like this fix will not work if we do real cross-build.
Because, as far as I understand, ITOOLS are copied from host system
and in such case strip is not guaranteed to be able to strip target
binaries...

- -- 
// Lev Serebryakov AKA Black Lion
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUpH9SXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePs90QANUYMAEDQwfeWaHG/bKVe21X
Cqb/qEEnIl0PiHPUR4PpuiC7w8oZx9Z/bSKvuevTvtfVIiIJzYaVQyOmgJ6/3iZY
OWVLrF3nqpHp/8JPJ8BUGbdILzLZvu4tCEJ1NkKNiLBri16B7kO6tMjbkXuvtsnb
t81swMMUVZ4mBfmTzJmkyvxregrjjGQK00BIAcO5Gsd4+bBXC/TJ4or13cjDpaae
cu8Ux8eZ28Rgsv/igle23BVWaMWhnzZ2OX+olodknsE06TpgyHMqjBO7G/9YeqI1
9jDobSBkB8t2qIkf4gZmXE0+Ply2/ywppig2F7XdBQEJpprQG1wH4nAO8MZi15o9
wGW4YK/Ft/SjeF6tQbyb8jZjgEo6Q+HPwTsvmyh2p4luW+kKPePxvlSDoEWoVq4u
4vycodqL3LUya42Btx0gMqhGLc7ekh1Ify3FFBJtVqfZJXXUxm35DkM9W99o/E98
NhpZRpYuuLYpD84mGpEpHysNTSBZy3i8yI9Cs51MOueT4nxGY7fceKzPJIgxt9gM
I6YjnyE47tgbBBcdfpFew36f039IltSmmDW129XVYGn6OAXf7ar16lltI/0mB1Sf
K4y8MjIHpCVf0c23c21DDRSdAVYQV2rTrz/h3urHzplQG5iuV4ptZGj/Uh7NNtDp
fVKTfoJw6BbrN0VziTMS
=KVLn
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org