On 03/10/2017 07:13 PM, Mark Hatle wrote:
On 3/10/17 5:24 AM, Alexander Kanavin wrote:
It's a machine-specific script, which is causing conflicts
when multiple versions of bash are installed in multilib setting,
and it also does not really make sense for embedded systems anyway.
Out of curiosity what is machine specific here?
---
./tmp/work/x86_64-pokymllib64-linux/lib64-bash/4.3.30-r0/packages-split/lib64-bash-bashbug/usr/bin/bashbug
2017-03-09 16:10:27.000000000 +0200
+++
./tmp/work/i586-poky-linux/bash/4.3.30-r0/packages-split/bash-bashbug/usr/bin/bashbug
2017-03-09 16:03:49.000000000 +0200
@@ -26,14 +26,14 @@
# configuration section:
# these variables are filled in by the make target in Makefile
#
-MACHINE="x86_64"
+MACHINE="i586"
OS="linux-gnu"
-CC="x86_64-pokymllib64-linux-gcc -m64 "
-CFLAGS=" -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pokymllib64-linux-gnu'
-DCONF_VENDOR='pokymllib64' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash-4.3.30
-I../bash-4.3.30/include -I../bash-4.3.30/lib -O2 -pipe -g
-feliminate-unused-debug-types
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/x86_64-pokymllib64-linux/lib64-bash/4.3.30-r0=/usr/src/debug/lib64-bash/4.3.30-r0
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/x86_64-pokymllib64-linux/lib64-bash/4.3.30-r0/recipe-sysroot-native=
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/x86_64-pokymllib64-linux/lib64-bash/4.3.30-r0/lib64-recipe-sysroot=
-DNON_INTERACTIVE_LOGIN_SHELLS"
+CC="i586-poky-linux-gcc -m32 -march=i586 "
+CFLAGS=" -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-poky-linux-gnu'
-DCONF_VENDOR='poky' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I../bash-4.3.30 -I../bash-4.3.30/include
-I../bash-4.3.30/lib -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/i586-poky-linux/bash/4.3.30-r0=/usr/src/debug/bash/4.3.30-r0
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/i586-poky-linux/bash/4.3.30-r0/recipe-sysroot-native=
-fdebug-prefix-map=/home/ak/development/poky/build-multilib/tmp/work/i586-poky-linux/bash/4.3.30-r0/recipe-sysroot=
-DNON_INTERACTIVE_LOGIN_SHELLS"
RELEASE="4.3"
PATCHLEVEL="46"
RELSTATUS="release"
-MACHTYPE="x86_64-pokymllib64-linux-gnu"
+MACHTYPE="i586-poky-linux-gnu"
PATH=/bin:/usr/bin:/usr/local/bin:$PATH
export PATH
Alex
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core