<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-initramfs/recipes-devtools/klibc, branch warrior</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=warrior</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=warrior'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2019-10-05T14:45:32+00:00</updated>
<entry>
<title>klibc: Disable bcmp builtin for clang on glibc as well</title>
<updated>2019-10-05T14:45:32+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-17T19:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=73c59ca02131bf1332f059808423af49324a249f'/>
<id>urn:sha1:73c59ca02131bf1332f059808423af49324a249f</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
(cherry picked from commit 806fbbf81788648e567dc79c2bea98de69f79cc0)
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc: Pass -fno-builtin-bcmp with musl/clang combo</title>
<updated>2019-10-05T14:45:32+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-08-06T19:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c38f20e428297104dfa6953a99201d0ca374c83b'/>
<id>urn:sha1:c38f20e428297104dfa6953a99201d0ca374c83b</id>
<content type='text'>
clang would emit bcmp built-in for musl bases system
but here we do not link in musl C library, so its best
to disable it

Fixes
git/usr/klibc/memmem.c:38: undefined reference to `bcmp'

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Andrea Adami &lt;andrea.adami@gmail.com&gt;
(cherry picked from commit 11bc2775af3e47399ac268a2e6fbd63185e478ef)
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc: Upgrade to 2.0.6 release</title>
<updated>2019-03-14T14:24:03+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-03-12T20:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=9d8943fd2ec43868a1ca76712fd15dcc144f75ff'/>
<id>urn:sha1:9d8943fd2ec43868a1ca76712fd15dcc144f75ff</id>
<content type='text'>
Drop staging related patches which are not needed anymore

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Andrea Adami &lt;andrea.adami@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-initramfs: remove True option to getVar calls (again)</title>
<updated>2019-01-13T18:28:01+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-13T10:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=88f2b979caf24fad736b8e378cf9daa142ae0567'/>
<id>urn:sha1:88f2b979caf24fad736b8e378cf9daa142ae0567</id>
<content type='text'>
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc: Fix build with clang</title>
<updated>2018-12-10T00:53:16+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-12-10T00:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=2a3c90d2ab095b5181de7066963c3b63e990f2a3'/>
<id>urn:sha1:2a3c90d2ab095b5181de7066963c3b63e990f2a3</id>
<content type='text'>
Newer versions of clang optimize the calls to use unlocked variants of
these functions

Fixes
| capabilities.c:(.text+0xb4): undefined reference to `fread_unlocked'
| arm-yoe-linux-gnueabi-ld.bfd: capabilities.c:(.text+0x11a): undefined
reference to `fwrite_unlocked'

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Andrea Adami &lt;andrea.adami@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc: fix build for mipsel and mips64el with security flags enabled</title>
<updated>2018-12-05T01:51:35+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-12-04T15:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=981aa87a2350f7838e0573fde2aab7dc7670080e'/>
<id>urn:sha1:981aa87a2350f7838e0573fde2aab7dc7670080e</id>
<content type='text'>
Fix relocations like:
| mipsel-oe-linux-musl-ld.bfd: usr/klibc/libc.a(kill.o):
 relocation R_MIPS_26 against `__syscall_common' can not be used when making a shared object; recompile with -fPIC

Signed-off-by: Andrea Adami &lt;andrea.adami@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc-static-utils: really fix build for x86 with security flags enabled</title>
<updated>2018-10-10T15:49:36+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-10-09T23:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=aa19346e44472d59944c6e66c6187c7b5d5822f4'/>
<id>urn:sha1:aa19346e44472d59944c6e66c6187c7b5d5822f4</id>
<content type='text'>
There were some shared binaries built together with the static ones and this
was leading to the infamous:

 i586-oe-linux-musl-ld.bfd: discarded output section: `.got.plt'

Fix this by purging the Kbuild files.

Signed-off-by: Andrea Adami &lt;andrea.adami@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc.inc: lazy assign GCCPIE in case security_flags.inc was not included</title>
<updated>2018-09-26T05:24:15+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-09-25T20:27:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=db89a0df16bf0dbf9b565c844a5f4202ffb1aad7'/>
<id>urn:sha1:db89a0df16bf0dbf9b565c844a5f4202ffb1aad7</id>
<content type='text'>
fix build error (GCCPIE is unset):

EXTRA_KLIBCAFLAGS=${SECURITY_CFLAGS} -Wa,--noexecstack
EXTRA_KLIBCLDFLAGS=${@-z relro -z now -pie if  else } -z noexecstack
| make: invalid option -- 'z'
| make: invalid option -- ' '

Signed-off-by: Andrea Adami &lt;andrea.adami@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc-utils: remove the two static binaries (kinit and gzip)</title>
<updated>2018-09-18T05:21:42+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-09-17T23:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=94f4f52101db6d6a45f88ea40240dd5ea3330ff3'/>
<id>urn:sha1:94f4f52101db6d6a45f88ea40240dd5ea3330ff3</id>
<content type='text'>
The shared utils can be built with security flags enabled.
This breaks however build of kinit and gzipm both static.

Remove them from this recipe.

Fix QA Issue:
 'klibc-utils-gzip/bin/gzip' has relocations in .text [textrel]
 'klibc-utils-kinit/bin/kinit' has relocations in .text [textrel]

Signed-off-by: Andrea Adami &lt;andrea.adami@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc-static-utils: fix textrel, disable security flags for the static utils</title>
<updated>2018-09-18T05:21:36+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-09-17T22:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ed34bf11ab49a522d008676496a6f10e14ca1625'/>
<id>urn:sha1:ed34bf11ab49a522d008676496a6f10e14ca1625</id>
<content type='text'>
Fix
WARNING: klibc-static-utils-2.0.4-r0 do_package_qa:
 QA Issue: ELF binary 'X' has relocations in .text [textrel]

Signed-off-by: Andrea Adami &lt;andrea.adami@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
