[05/10] gobject-introspection: Disable generating static lbraries

Message ID 1fcd2f1adf3506cc8d22cbbc538ffb7e1eebbf8f.1497453168.git.raj.khem@gmail.com
State New
Headers show
Series
  • Add GCCPIE knob to configure gcc with --enable-default-pie
Related show

Commit Message

Khem Raj June 14, 2017, 3:23 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Alexander Kanavin June 15, 2017, 9:50 a.m. | #1
On 06/14/2017 06:23 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>


Why? You need to add an explanation to the commit message.

Alex

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj June 15, 2017, 4:02 p.m. | #2
On Thu, Jun 15, 2017 at 2:50 AM, Alexander Kanavin
<alexander.kanavin@linux.intel.com> wrote:
> On 06/14/2017 06:23 PM, Khem Raj wrote:

>>

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>

>

> Why? You need to add an explanation to the commit message.

>

sure, its to avoid linking with .a when using pie

> Alex

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Alexander Kanavin June 15, 2017, 8:46 p.m. | #3
On 06/15/2017 07:02 PM, Khem Raj wrote:
> On Thu, Jun 15, 2017 at 2:50 AM, Alexander Kanavin

> <alexander.kanavin@linux.intel.com> wrote:

>> On 06/14/2017 06:23 PM, Khem Raj wrote:

>>>

>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>

>>

>> Why? You need to add an explanation to the commit message.

>>

> sure, its to avoid linking with .a when using pie



Can you resend the patch please?

Alex

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj June 15, 2017, 11:27 p.m. | #4
On Thu, Jun 15, 2017 at 1:46 PM, Alexander Kanavin
<alexander.kanavin@linux.intel.com> wrote:
> On 06/15/2017 07:02 PM, Khem Raj wrote:

>>

>> On Thu, Jun 15, 2017 at 2:50 AM, Alexander Kanavin

>> <alexander.kanavin@linux.intel.com> wrote:

>>>

>>> On 06/14/2017 06:23 PM, Khem Raj wrote:

>>>>

>>>>

>>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>>

>>>

>>>

>>> Why? You need to add an explanation to the commit message.

>>>

>> sure, its to avoid linking with .a when using pie

>

>

>

> Can you resend the patch please?


Updated on pull request branch
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/hardening-fixes&id=ea442af4b3a7669485a18d57fbb043d9093189bc

>

> Alex

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch hide | download patch | download mbox

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
index 509fc5fa59..ce31097da6 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb
@@ -99,6 +99,7 @@  EOF
 # Configure target build to use native tools of itself and to use a qemu wrapper
 # and optionally to generate introspection data
 EXTRA_OECONF_class-target += "--enable-host-gi \
+                              --disable-static \
                               --enable-gi-cross-wrapper=${B}/g-ir-scanner-qemuwrapper \
                               --enable-gi-ldd-wrapper=${B}/g-ir-scanner-lddwrapper \
                               ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection-data', '--disable-introspection-data', d)} \