<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-initramfs/recipes-devtools, branch thud-next</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=thud-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=thud-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2019-02-05T05:36:35+00:00</updated>
<entry>
<title>klibc: Fix build with clang</title>
<updated>2019-02-05T05:36:35+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=bf514cd81b96b47ad7721d68db5213e3c0572dbb'/>
<id>urn:sha1:bf514cd81b96b47ad7721d68db5213e3c0572dbb</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;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>klibc: fix build for mipsel and mips64el with security flags enabled</title>
<updated>2019-02-05T05:25:58+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=61d159eb11cdef3d24a7aa58d07fc1e1b4f9191f'/>
<id>urn:sha1:61d159eb11cdef3d24a7aa58d07fc1e1b4f9191f</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;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dracut: 048-&gt;049</title>
<updated>2018-10-17T04:23:47+00:00</updated>
<author>
<name>Hong Liu</name>
<email>hongl.fnst@cn.fujitsu.com</email>
</author>
<published>2018-10-17T00:42:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=d6bd1edc2be73ce14005a0aa5db68961a1615da4'/>
<id>urn:sha1:d6bd1edc2be73ce14005a0aa5db68961a1615da4</id>
<content type='text'>
Upgrade dracut from 048 to 049.

Signed-off-by: Hong Liu &lt;hongl.fnst@cn.fujitsu.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>
<entry>
<title>klibc: fix build with GCC and -pie for mips, mips64, aarch64</title>
<updated>2018-09-15T14:37:11+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-09-15T14:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a06c29be2f5bc204f965ee07298c34232c5c39fc'/>
<id>urn:sha1:a06c29be2f5bc204f965ee07298c34232c5c39fc</id>
<content type='text'>
The MCONFIG makefiles for mips/mips64 do disable pic so we do not insist
linking it with -pie.

For aarch64 we have to readd the -Os optimization to avoid

 | usr/dash/shell.h:103:25: error:
 '-mgeneral-regs-only' is incompatible with floating-point argument

as committed (c296fb707ae3 klibc: Pass Optimization with KLIBCOPTFLAGS)
but reverted (76bc58e9329 klibc: Fix build with security flags) trying to
fix the i386 build (see ld.bfd: discarded output section: `.got.plt').
This latter issue was fixed for i386 passing -pie to the linker.

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: fix build on i386 with GCC and security flags enabled</title>
<updated>2018-09-15T14:36:21+00:00</updated>
<author>
<name>Andrea Adami</name>
<email>andrea.adami@gmail.com</email>
</author>
<published>2018-09-14T18:02:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a95dde286863dc80da375265c4b3d35f246e1258'/>
<id>urn:sha1:a95dde286863dc80da375265c4b3d35f246e1258</id>
<content type='text'>
ld fails if distro's security-flags are enabled:
Inject the SECURITY_XFLAGS if security_flags.inc was included.

Fix on i386: ld: discarded output section: `.got.plt'

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: Fix build with security flags</title>
<updated>2018-09-12T05:48:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2018-09-12T00:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=76bc58e93290544cc8c0e3322e777626a35a6eb1'/>
<id>urn:sha1:76bc58e93290544cc8c0e3322e777626a35a6eb1</id>
<content type='text'>
Drop -Os which is also causing the relro
Fixes
| x86_64-bec-linux-musl-ld.bfd: discarded output section: `.got.plt'

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