All of lore.kernel.org
 help / color / mirror / Atom feed
* Wrong "ar" is used when crosscompiling since 2.1.6
@ 2024-02-14 11:06 Rolf Eike Beer
  2024-02-14 13:37 ` David Oberhollenzer
  0 siblings, 1 reply; 2+ messages in thread
From: Rolf Eike Beer @ 2024-02-14 11:06 UTC (permalink / raw)
  To: linux-mtd


[-- Attachment #1.1: Type: text/plain, Size: 763 bytes --]

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
-- 
Rolf Eike Beer

emlix GmbH
Headquarters: Berliner Str. 12, 37073 Göttingen, Germany
Phone +49 (0)551 30664-0, e-mail info@emlix.com
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

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 144 bytes --]

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Wrong "ar" is used when crosscompiling since 2.1.6
  2024-02-14 11:06 Wrong "ar" is used when crosscompiling since 2.1.6 Rolf Eike Beer
@ 2024-02-14 13:37 ` David Oberhollenzer
  0 siblings, 0 replies; 2+ messages in thread
From: David Oberhollenzer @ 2024-02-14 13:37 UTC (permalink / raw)
  To: Rolf Eike Beer, linux-mtd

Hi,

On 2/14/24 12:06, Rolf Eike Beer wrote:
> 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-14 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 11:06 Wrong "ar" is used when crosscompiling since 2.1.6 Rolf Eike Beer
2024-02-14 13:37 ` David Oberhollenzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.