<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/bash, branch jethro</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=jethro</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=jethro'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-10-12T13:36:31+00:00</updated>
<entry>
<title>bash: Disable custom memory allocator</title>
<updated>2015-10-12T13:36:31+00:00</updated>
<author>
<name>Aníbal Limón</name>
<email>anibal.limon@linux.intel.com</email>
</author>
<published>2015-10-09T22:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=05594f86366d97975501ffd84886d37f0c72e238'/>
<id>urn:sha1:05594f86366d97975501ffd84886d37f0c72e238</id>
<content type='text'>
Bash is failing trying to allocate memory [1] using the custom
memory allocator if we disable it the issue is fixed.

The major distributions also disabled by default [2], so we
don't have a good reason to use it.

The underlying issue is due to bash’s malloc using brk() calls
to allocate memory, which fail when address randomization is
enabled in kernel. sbrk() based custom allocators are obsolete.
There may be some performance impact of this however correctness
is more important.

[YOCTO #8452]

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8452#c0
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8452#c5

(From OE-Core rev: e42d8eff9eed7d1454b4f331d96dcee6dea232df)

Signed-off-by: Aníbal Limón &lt;anibal.limon@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: append srcdir to run-ptest script</title>
<updated>2015-08-16T08:24:57+00:00</updated>
<author>
<name>Ajay M</name>
<email>ajay.gju@gmail.com</email>
</author>
<published>2015-08-12T07:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6b166891d2452aec95e0757afda734722a318ad3'/>
<id>urn:sha1:6b166891d2452aec95e0757afda734722a318ad3</id>
<content type='text'>
If srcdir is not set, we get below error while running ptest for bash
on qemu target,

-- snip --
root@qemux86:/usr/lib/bash/ptest# ./run-ptest
/bin/sh: line 0: cd: /home/ajay/Downloads/poky-fido-13.0.0/build/tmp/work/i586-poky-linux/bash/4.3-r1/bash-4.3/tests: No such file or directory
Makefile:879: recipe for target 'runtest' failed
make: *** [runtest] Error 1
root@qemux86:/usr/lib/bash/ptest# vi run-ptest
root@qemux86:/usr/lib/bash/ptest#
-- CUT --

So, set srcdir to current directory, where tests binaries exist.

[YOCTO #8145]

(From OE-Core rev: 00d94314679eb4345b5012389aa6252abe871a76)

Signed-off-by: Ajay M &lt;ajay.gju@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash_3.2.48: dont include target CFLAGS in host LDFLAGS</title>
<updated>2015-08-10T19:40:28+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2015-07-15T08:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d00f88b8ebad3064b69ad7986b4443568bb714fb'/>
<id>urn:sha1:d00f88b8ebad3064b69ad7986b4443568bb714fb</id>
<content type='text'>
Building the host tool 'mkbuiltins' will fail if the target CFLAGS
contains an option which isn't supported by the host's gcc. To prevent
the issue, define LDFLAGS_FOR_BUILD based on CFLAGS_FOR_BUILD instead
of CFLAGS.

(From OE-Core rev: 7a8ec63f38f7a387e01343fbb971b75a66e0f851)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: 4.3 -&gt; 4.3.30</title>
<updated>2015-08-10T19:40:21+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-08-03T15:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=44bbb402af75c78eb7dc25e7374ccfcfa7410034'/>
<id>urn:sha1:44bbb402af75c78eb7dc25e7374ccfcfa7410034</id>
<content type='text'>
Remove patch001 -&gt; patch030 since they are already in source, add
patch031 -&gt; patch039

(From OE-Core rev: 781ec1061306f43265f9d756a89d1b86bd5d19a0)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS</title>
<updated>2015-04-24T10:06:56+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2015-04-21T09:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3985cef24de2da3b6895e67f4d577d4806c032b0'/>
<id>urn:sha1:3985cef24de2da3b6895e67f4d577d4806c032b0</id>
<content type='text'>
If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
startup files, even if they are not interactive.

This is the behaviour of other major distros like Ubuntu and Fedora.
We also need to set it so that when executing `su -l xxx -c env' command,
/etc/profile is parsed.

[YOCTO #5359]
[YOCTO #7137]

(From OE-Core rev: 33af68d62bb427c588f5eeecb75fbc31b55f8459)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash 3.2.48: disable parallel build</title>
<updated>2015-03-10T10:47:46+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-03-04T09:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7c504b44ef593f97f5311d0d27f667e85a2eddbb'/>
<id>urn:sha1:7c504b44ef593f97f5311d0d27f667e85a2eddbb</id>
<content type='text'>
It's Makefile has the two rules:
$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
    @(cd $(DEFDIR) &amp;&amp; $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libbuiltins.a ) || exit 1

${DEFDIR}/builtext.h: $(BUILTIN_DEFS)
    @(cd $(DEFDIR) &amp;&amp; $(MAKE) $(MFLAGS) builtext.h ) || exit 1

which causes parallel issues:
mkbuiltins.o: file not recognized: File truncated
collect2: ld returned 1 exit status

I don't have any good ideas to fix the problem, so disable parallel
build for it.

(From OE-Core rev: efbee563af4ab56f93ac0a6238426d1d3eb80b98)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: enable parallel build for several recipes</title>
<updated>2015-02-15T21:58:27+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-02-13T01:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=60ae5c2eb0a06a84aa48e9ec1eaa0a619dc56629'/>
<id>urn:sha1:60ae5c2eb0a06a84aa48e9ec1eaa0a619dc56629</id>
<content type='text'>
I used a for loop to build these packages more than 520 times, these
recipes never failed.

(From OE-Core rev: 7957c5bc2771a763d26e50e716733c6335cef3c2)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: separate B and S</title>
<updated>2015-01-16T23:08:26+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-01-13T03:08:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=de6e1fa664e6cba697bc5909c2ef5ecec8fdf1d3'/>
<id>urn:sha1:de6e1fa664e6cba697bc5909c2ef5ecec8fdf1d3</id>
<content type='text'>
It works well now, and bump the PR to avoid:
x86_64-poky-linux-ar: shmatch.o: No such file or directory

(From OE-Core rev: f31f86b4c81d409b91feb77a46d362de1ad29b69)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: use EXTRA_AUTORECONF to disable autoheader</title>
<updated>2014-12-03T12:24:00+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2014-11-28T15:35:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8a21eee81b1b2034ab0975b896c769a0233263cc'/>
<id>urn:sha1:8a21eee81b1b2034ab0975b896c769a0233263cc</id>
<content type='text'>
Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead
of setting AUTOHEADER to true.

(From OE-Core rev: cdb5bf9ce2eed0c1608b33d8272e755c26e376f9)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bash: clean host path in bashbug</title>
<updated>2014-11-25T13:03:28+00:00</updated>
<author>
<name>Shiqun Lin</name>
<email>Shiqun.Lin@windriver.com</email>
</author>
<published>2014-10-21T07:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=692950eae890fbe81e433770b2040a6f04d88a0b'/>
<id>urn:sha1:692950eae890fbe81e433770b2040a6f04d88a0b</id>
<content type='text'>
* /usr/bin/bashbug

(From OE-Core rev: a745b4b790fe2550fafa731c02f33dd39a9d8651)

Signed-off-by: Shiqun Lin &lt;Shiqun.Lin@windriver.com&gt;
Signed-off-by: Wenzong Fan &lt;wenzong.fan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
