Wrong "ar" is used when crosscompiling since 2.1.6
Hi everyone,
since version 2.1.6 building will always use plain "ar" when creating static libraries. Before it used the one matching the target triplet when crosscompiling. I can circumvent this by passing "AR=foo-bar-ar" to make for the moment. I suspect it is a side effect of the libtool removal.
Regards
Eike
Signature · 13 lines
Rolf Eike Beer emlix GmbH Headquarters: Berliner Str. 12, 37073 Göttingen, Germany Phone +49 (0)551 30664-0, e-mail [email protected] District Court of Göttingen, Registry Number HR B 3160 Managing Directors: Heike Jordan, Dr. Uwe Kracke VAT ID No. DE 205 198 055 Office Berlin: Panoramastr. 1, 10178 Berlin, Germany Office Bonn: Bachstr. 6, 53115 Bonn, Germany http://www.emlix.com emlix - your embedded Linux partner
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hi,
Quoted 5 lines · Rolf Eike Beer
since version 2.1.6 building will always use plain "ar" when creating static libraries. Before it used the one matching the target triplet when crosscompiling. I can circumvent this by passing "AR=foo-bar-ar" to make for the moment. I suspect it is a side effect of the libtool removal.
this indeed seems to be the case. I patched the autoconf file to include a check for ar. I quickly verified both the broken behavior and the fix with a yocto toolchain. The fix is now pushed to mtd-utils.git master (the commit hash is 1be992db04fc71296a98303724635b2b6b0cd10d).
Thanks,
David
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/