<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/mkelfimage, branch halstead/hashclient</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=halstead%2Fhashclient</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=halstead%2Fhashclient'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-01-02T17:24:37+00:00</updated>
<entry>
<title>mkelfimage: Remove un-needed recipe</title>
<updated>2018-01-02T17:24:37+00:00</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2017-12-05T01:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9de82270e4b2706429c02679ba4ff61690ac5328'/>
<id>urn:sha1:9de82270e4b2706429c02679ba4ff61690ac5328</id>
<content type='text'>
As we are removing the ELF image type, we can now removed this older
mkelfimage recipe also, we reach back 3+ years in the coreboot git repo
to retrieve the source.  This tool needs updating everything we change
binutils, which would normally be done by the upstream, but that is now
gone.

[YOCTO #11967]

(From OE-Core rev: 003056db591ebee6464b51d29f706779936fcd83)

Signed-off-by: Saul Wold &lt;sgw@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>mkelfimage: Add update convert.bin.c file</title>
<updated>2017-09-01T23:52:10+00:00</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2017-08-31T22:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d69a8766521c0cdac509cde61f5c201c92a9f8ba'/>
<id>urn:sha1:d69a8766521c0cdac509cde61f5c201c92a9f8ba</id>
<content type='text'>
This is a compile code fragment that has an elf signature, it needs to be
updated for the newer tools.

After 2.4 we will be removing the elf Image type as it has been expunged
from the coreboot repo since 2014.

[YOCTO #11967]

(From OE-Core rev: 66f7ec30a05639739208bb921b689e94b2c880a3)

Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mkelfimage: Make -fno-stack-protector effective</title>
<updated>2017-08-18T09:40:26+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-08-16T21:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ba1a7556b9b190c540519080ffe215f23c037fc7'/>
<id>urn:sha1:ba1a7556b9b190c540519080ffe215f23c037fc7</id>
<content type='text'>
mkelfimage uses different flags to compile as freestanding binary
it does not pour CFLAGS into them during configure as a result
-fno-stack-protector was never used. Which failed to build with
compilers configured to build with ssp by default. It worked with
gcc since we do not configure our toolchain to default to ssp

Fixes errors e.g.
| objdir/linux-i386/convert_params.o: In function `convert_params':
| linux-i386/convert_params.c:(.text+0x9f4): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `compute_checksum':
| linux-i386/convert_params.c:(.text+0xa71): undefined reference to `__stack_chk_fail'
| objdir/linux-i386/convert_params.o: In function `printf':
| linux-i386/convert_params.c:(.text+0xcc7): undefined reference to `__stack_chk_fail'
| make: *** [linux-i386/Makefile:24: objdir/linux-i386/convert] Error 1

(From OE-Core rev: f6ed82482838e34202721be8f40ca1cc340c325e)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mkelfimage: Fix build on x86_64 with hardening</title>
<updated>2017-07-24T08:13:30+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-07-19T02:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=37ec69301a602791b2a36b0d3d2b1cad59ca1426'/>
<id>urn:sha1:37ec69301a602791b2a36b0d3d2b1cad59ca1426</id>
<content type='text'>
We get linking errors on some hosts like
| ld -static --warn-multiple-gp --warn-common -T linux-i386/convert.lds -o objdir/linux-i386/convert ob
jdir/linux-i386/head.o objdir/linux-i386/convert_params.o
| objdir/linux-i386/convert_params.o: In function `printf':
| convert_params.c:(.text+0x1fd): undefined reference to `__stack_chk_fail_local'

This is because the build system is defaulting to host linker when building
32bit binaries and it may not have same defaults as OE toolchain and issue
gets highlighted.

fix it by using cross linker for 32bit links when building on x86_64

(From OE-Core rev: 470c8a0fb5f51a626a194c8fd3aabd448b50ebfa)

Signed-off-by: Khem Raj &lt;raj.khem@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>mkelfimage: Fix broken patch when building native</title>
<updated>2017-06-09T16:12:13+00:00</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2017-06-05T22:47:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a9a5b6267f86f430c0c95c19fd41c1551baff627'/>
<id>urn:sha1:a9a5b6267f86f430c0c95c19fd41c1551baff627</id>
<content type='text'>
A change occured about a year ago that broke the native build, fix
that patch

[YOCTO #11590]

(From OE-Core rev: eb441e047498be42af9c8bf69edb1164360a61f1)

Signed-off-by: Saul Wold &lt;sgw@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>mkelfimage: fix compile issues</title>
<updated>2016-05-25T06:50:17+00:00</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2016-05-23T21:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8a97d9ef923355956ec08be0aff9428a1573884d'/>
<id>urn:sha1:8a97d9ef923355956ec08be0aff9428a1573884d</id>
<content type='text'>
This fixes a couple issues introduced by the previous patch. There were
a couple spots where HOST_CFLAGS needed changing to CFLAGS. This fixes builds
with security_flags.

(From OE-Core rev: 72792a2fd900fe86d18bd8e330bc0535e2eeb80d)

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mkelfimage: obey LDFLAGS, sort out HOST_ flags</title>
<updated>2016-05-21T21:24:56+00:00</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2016-05-20T17:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fe70c063c5d468bf9ddadebafe709b4c21f49100'/>
<id>urn:sha1:fe70c063c5d468bf9ddadebafe709b4c21f49100</id>
<content type='text'>
We weren't consistent in the HOST_ (aka BUILD_) and non-HOST_ flags, so we
were using BUILD_CPPFLAGS to compile target stuff, for example. Sort that out,
and make sure we obey LDFLAGS.

(From OE-Core rev: 3ba4fd81f99b5479830d1fb18e6b8f2f6edb7839)

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mkelfimage: fix target cflags leaks to host</title>
<updated>2016-01-31T13:29:48+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2016-01-29T17:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=770d9ffb58546b4e3223cdbd4a5c870af7e473cf'/>
<id>urn:sha1:770d9ffb58546b4e3223cdbd4a5c870af7e473cf</id>
<content type='text'>
The patch fix-makefile-to-find-libz.patch fixed native
compile failure; for target compile, it incorrectly
leaks CFLAGS to HOST_CFLAGS.

[YOCTO #3547]

(From OE-Core rev: bdd8d79671b9a9fd90d427c9e95ab08af85c394a)

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mkelfimage: fix owner for /usr/sbin/mkelfImage</title>
<updated>2015-09-18T08:05:27+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-09-16T06:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=94d280f6526b909151567acb2564b00eed0ce43e'/>
<id>urn:sha1:94d280f6526b909151567acb2564b00eed0ce43e</id>
<content type='text'>
Fixed:
packages-split/mkelfimage/usr/sbin/mkelfImage is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

This is because its Makefile uses cp -a to install mkelfImage.

(From OE-Core rev: c842d8b07b5c172a406f741881608d857549000e)

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>mkelfimage: add RECIPE_NO_UPDATE_REASON</title>
<updated>2015-09-04T15:23:54+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2015-09-03T15:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ff100fd614caa5288d789aa5ad9449788e6defd6'/>
<id>urn:sha1:ff100fd614caa5288d789aa5ad9449788e6defd6</id>
<content type='text'>
(From OE-Core rev: 592f8c745ca9d103a3d70f5fef29be1f4953cc05)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
