All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] as-needed.inc: Compile pulseaudio with --as-needed
@ 2017-06-02  4:41 Khem Raj
  2017-06-02  4:41 ` [PATCH 2/3] musl: Update to lates master Khem Raj
  2017-06-02  4:41 ` [PATCH 3/3] setuptoools.bbclass: Do not use -pie with hardening Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2017-06-02  4:41 UTC (permalink / raw)
  To: openembedded-core

This effectively reverts
commit f06e99d194eda49ee194f8ae401a23819e61b90f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/as-needed.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index 114d377eac..6a8ad9d624 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -8,7 +8,6 @@ ASNEEDED_pn-openobex = ""
 ASNEEDED_pn-icu = ""
 ASNEEDED_pn-pciutils = ""
 ASNEEDED_pn-puzzles = ""
-ASNEEDED_pn-pulseaudio = ""
 ASNEEDED_pn-rpm = ""
 
 TARGET_LDFLAGS += "${ASNEEDED}"
-- 
2.13.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/3] musl: Update to lates master
  2017-06-02  4:41 [PATCH 1/3] as-needed.inc: Compile pulseaudio with --as-needed Khem Raj
@ 2017-06-02  4:41 ` Khem Raj
  2017-06-02  4:41 ` [PATCH 3/3] setuptoools.bbclass: Do not use -pie with hardening Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-06-02  4:41 UTC (permalink / raw)
  To: openembedded-core

- towupper/towlower: fast path for ascii chars
- remove long-obsolete clang workarounds from mips* syscall_arch.h files
- fix fstatat syscall on mips64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index e84bc7531b..67095a30ea 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -3,7 +3,7 @@
 
 require musl.inc
 
-SRCREV = "f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50"
+SRCREV = "179766aa2ef06df854bc1d9616bf6f00ce49b7f9"
 
 PV = "1.1.16+git${SRCPV}"
 
-- 
2.13.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] setuptoools.bbclass: Do not use -pie with hardening
  2017-06-02  4:41 [PATCH 1/3] as-needed.inc: Compile pulseaudio with --as-needed Khem Raj
  2017-06-02  4:41 ` [PATCH 2/3] musl: Update to lates master Khem Raj
@ 2017-06-02  4:41 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-06-02  4:41 UTC (permalink / raw)
  To: openembedded-core

Fix build when PIE is turned on. It tries to build
.so file using -pie and -shared flags together because
its doing compile and link in same step CFLAGS and LDFLAGS
are combined and does not work, ending in errors e.g.

| /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/python-pygpgme/0.3-r0/recipe-sysroot/usr/l
ib/Scrt1.o: In function `_start_c':
| /usr/src/debug/musl/1.1.16+gitAUTOINC+179766aa2e-r0/git/crt/crt1.c:17: undefined reference to `main'
| collect2: error: ld returned 1 exit status

This error while cryptic is due to the fact that we are
building a shared library but also pass -pie flag to the link
step after specify LDHSARED ( which is -shared linker flags )

we can not use -pie when doing shared libs. This is true for all the python
modules inheriting setup tools

Disable the pie flags thusly for all modules using setuptools since
this setting is done in setuptools makefiles which are then used
during module compiles

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/setuptools.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
index 56343b1c73..7d0c5267d7 100644
--- a/meta/classes/setuptools.bbclass
+++ b/meta/classes/setuptools.bbclass
@@ -6,3 +6,5 @@ DISTUTILS_INSTALL_ARGS = "--root=${D} \
     --prefix=${prefix} \
     --install-lib=${PYTHON_SITEPACKAGES_DIR} \
     --install-data=${datadir}"
+
+SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
-- 
2.13.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-02  4:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-02  4:41 [PATCH 1/3] as-needed.inc: Compile pulseaudio with --as-needed Khem Raj
2017-06-02  4:41 ` [PATCH 2/3] musl: Update to lates master Khem Raj
2017-06-02  4:41 ` [PATCH 3/3] setuptoools.bbclass: Do not use -pie with hardening Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.