Skip to contentSkip to conversation

11/43: libtasn1: upgrade to 4.9

oe-commits Martin Jansa 3 participants 5 messages Aug 4, 2016 – Aug 5, 2016 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · On Mon, Aug 01, 2016 at 10:49:35AM +0000, [email protected] wrote:

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7ad0009d9282bd2af15b8b5d26a20a321cab0a32
Author: Maxin B. John <[email protected]>
AuthorDate: Wed Jul 27 16:02:51 2016 +0300

libtasn1: upgrade to 4.9

4.8 -> 4.9

This fails to build:

| In file included from ../../libtasn1-4.9/lib/structure.c:32:0:
| ../../libtasn1-4.9/lib/parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down': call is unlikely and code size would grow [-Werror=inline]

|  _asn1_set_down (asn1_node node, asn1_node down)
|  ^~~~~~~~~~~~~~
Quoted 33 lines
---
 meta/recipes-support/gnutls/{libtasn1_4.8.bb => libtasn1_4.9.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/gnutls/libtasn1_4.9.bb renamed from meta/recipes-support/gnutls/libtasn1_4.8.bb +2 -2
similarity index 81%
rename from meta/recipes-support/gnutls/libtasn1_4.8.bb
rename to meta/recipes-support/gnutls/libtasn1_4.9.bb
index 360d529..5ce06d8 100644
@@ -12,8 +12,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
            file://dont-depend-on-help2man.patch \
            "
 
-SRC_URI[md5sum] = "9a6767705725544f2b86670dcfb34107"
-SRC_URI[sha256sum] = "fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513"
+SRC_URI[md5sum] = "3018d0f466a32b66dde41bb122e6cab6"
+SRC_URI[sha256sum] = "4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920"
 
 inherit autotools texinfo binconfig lib_package
 
Signature · 8 lines
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
-- 
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 7 lines · Martin Jansa

| In file included from ../../libtasn1-4.9/lib/structure.c:32:0:
| ../../libtasn1-4.9/lib/parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down': call is unlikely and code size would grow [-Werror=inline]

|  _asn1_set_down (asn1_node node, asn1_node down)
|  ^~~~~~~~~~~~~~

Works for me and the AB. What sort of compiler flags do you have?

Ross

#4 lore raw
Quoted 11 lines · Ross
Quoted 7 lines · Martin Jansa

| In file included from ../../libtasn1-4.9/lib/structure.c:32:0:
| ../../libtasn1-4.9/lib/parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down': call is unlikely and code size would grow [-Werror=inline]

|  _asn1_set_down (asn1_node node, asn1_node down)
|  ^~~~~~~~~~~~~~

Works for me and the AB. What sort of compiler flags do you have?

Might be caused by -Os.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

I can confirm now that it's failing only with -Os, removing -Os helps, but older version was building fine with -Os.

Quoted 18 lines · Martin Jansa
Quoted 11 lines · Ross
Quoted 7 lines · Martin Jansa

| In file included from ../../libtasn1-4.9/lib/structure.c:32:0:
| ../../libtasn1-4.9/lib/parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down': call is unlikely and code size would grow [-Werror=inline]

|  _asn1_set_down (asn1_node node, asn1_node down)
|  ^~~~~~~~~~~~~~

Works for me and the AB. What sort of compiler flags do you have?

Might be caused by -Os.

--
Martin 'JaMa' Jansa jabber: [email protected]

#6 lore raw
In reply to Martin Jansa
Quoted 11 lines · Martin Jansa
Quoted 10 lines · On Mon, Aug 01, 2016 at 10:49:35AM +0000, [email protected] wrote:
Quoted 10 lines

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7ad0009d9282bd2af15b8b5d26a20a321cab0a32
Author: Maxin B. John <[email protected]>
AuthorDate: Wed Jul 27 16:02:51 2016 +0300

libtasn1: upgrade to 4.9

4.8 -> 4.9

Quoted 10 lines

This fails to build:

| In file included from ../../libtasn1-4.9/lib/structure.c:32:0:
| ../../libtasn1-4.9/lib/parser_aux.h:97:1: error: inlining failed in call to '_asn1_set_down': call is unlikely and code size would grow [-Werror=inline]

|  _asn1_set_down (asn1_node node, asn1_node down)
|  ^~~~~~~~~~~~~~

optimize for size is causing this, you should ignore Werror=inline with -Os, its just information at this point.