Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
56
sources/poky/meta/recipes-extended/newt/files/cross_ar.patch
Normal file
56
sources/poky/meta/recipes-extended/newt/files/cross_ar.patch
Normal file
@@ -0,0 +1,56 @@
|
||||
Fix cross link using autoconf detected AR
|
||||
|
||||
If building on 32bit host and creating 64bit libraries, the target
|
||||
package builds should not invoke the 32bit hosts's ar. Specifically
|
||||
you will get an error message like:
|
||||
|
||||
x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang
|
||||
libnewt.a: could not read symbols: Archive has no index; run ranlib to add one
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
Makefile.in | 3 ++-
|
||||
configure.ac | 4 ++++
|
||||
2 files changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: newt-0.52.20/Makefile.in
|
||||
===================================================================
|
||||
--- newt-0.52.20.orig/Makefile.in
|
||||
+++ newt-0.52.20/Makefile.in
|
||||
@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
|
||||
GNU_LD = @GNU_LD@
|
||||
+AR = @AR@
|
||||
|
||||
VERSION = @VERSION@
|
||||
TAG = r$(subst .,-,$(VERSION))
|
||||
@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNE
|
||||
$(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS)
|
||||
|
||||
$(LIBNEWT): $(LIBOBJS)
|
||||
- ar rv $@ $^
|
||||
+ $(AR) rv $@ $^
|
||||
|
||||
newt.o $(SHAREDDIR)/newt.o: newt.c Makefile
|
||||
|
||||
Index: newt-0.52.20/configure.ac
|
||||
===================================================================
|
||||
--- newt-0.52.20.orig/configure.ac
|
||||
+++ newt-0.52.20/configure.ac
|
||||
@@ -15,6 +15,10 @@ AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_GREP
|
||||
AC_SYS_LARGEFILE
|
||||
+AN_MAKEVAR([AR], [AC_PROG_AR])
|
||||
+AN_PROGRAM([ar], [AC_PROG_AR])
|
||||
+AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
|
||||
+AC_PROG_AR
|
||||
|
||||
AC_CHECK_SIZEOF([long])
|
||||
AC_CHECK_SIZEOF([long long])
|
||||
Reference in New Issue
Block a user