blob: 2c31cec8e3e45e89daded1b8c0d6d0c2abefb659 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001Upstream-Status: Inappropriate [embedded specific]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002
3Fixes tcl target recipe build on old distros which have glibc older than 2.14
4
5| + echo 'NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install'
6| NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
7| + make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
8| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/lib
9| Installing message catalogs
10| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/share/man
11| tclsh: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/tcl8.5.11/unix/libtcl8.5.so)
12| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/bin
13| make: *** [install-msgs] Error 1
14
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500162012/04/26
17
18Index: unix/Makefile.in
19===================================================================
Andrew Geissler5f350902021-07-23 13:09:54 -040020--- a/unix.orig/Makefile.in 2013-11-10 23:38:01.787425628 -0800
21+++ b/unix/Makefile.in 2013-11-10 23:37:59.807425578 -0800
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022@@ -686,7 +686,7 @@
23 # tcltest executable gets the build directory burned into its ld search path.
24 # This keeps tcltest from picking up an already installed version of the Tcl
25 # library.
26-SHELL_ENV = @LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@} \
27+SHELL_ENV = @LD_LIBRARY_PATH_VAR@=${@LD_LIBRARY_PATH_VAR@} \
28 TCLLIBPATH="@abs_builddir@/pkgs" \
29 TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"
30
31@@ -712,7 +712,7 @@
32 $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
33
34 gdb-test: ${TCLTEST_EXE}
35- @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
36+ @echo "set env @LD_LIBRARY_PATH_VAR@=$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
37 @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run
38 @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run
39 $(GDB) ${TCLTEST_EXE} --command=gdb.run