[HEADS UP] ar(1) front-end committed. (notes for cross compile)

Kai Wang kaiwang27 at gmail.com
Thu Feb 21 16:28:33 UTC 2008


On Thu, Feb 21, 2008 at 06:16:27PM +0300, Ruslan Ermilov wrote:
> : Index: Makefile.inc1
> : ===================================================================
> : RCS file: /home/ncvs/src/Makefile.inc1,v
> : retrieving revision 1.598
> : diff -u -p -r1.598 Makefile.inc1
> : --- Makefile.inc1	5 Feb 2008 15:41:58 -0000	1.598
> : +++ Makefile.inc1	21 Feb 2008 15:11:07 -0000
> : @@ -885,8 +885,13 @@ _crunchgen=	usr.sbin/crunch/crunchgen
> :  _mklocale=	usr.bin/mklocale
> :  .endif
> :  
> : +.if ${BOOTSTRAPPING} < 800022
> : +_ar=		usr.bin/ar
> : +.endif
> : +
> :  bootstrap-tools:
> :  .for _tool in \
> : +    ${_ar} \
> :      ${_mklocale} \
> :      ${_strfile} \
> :      ${_gperf} \
> 
> Then the breakage will be gone.

Hello Ruslan,

Thanks for pointing me to the right place.

> With this change, we also bump the minimum requirement for source
> upgrades from 6.0-RELEASE to "7.0-CURRENT at some point" because
> new ar(1) requires libelf which is not available in previous
> releases of FreeBSD.

I think this requirement bump is unacceptable for now, probably
we can do this after the EOL of 6.x...

I just backed out the Makefile changes, and I plan to let 'BSD' ar
install as "bsdar", as Robert just suggested.

Thanks,
--
Kai


More information about the freebsd-current mailing list