* [Morty][PATCH] binutils: Fix build issue on Centos 6
@ 2017-11-23 18:05 Armin Kuster
2017-11-23 18:37 ` ✗ patchtest: failure for " Patchwork
2017-11-27 1:45 ` [Morty][PATCH] " Khem Raj
0 siblings, 2 replies; 6+ messages in thread
From: Armin Kuster @ 2017-11-23 18:05 UTC (permalink / raw)
To: akuster, openembedded-core
From: Armin Kuster <akuster@mvista.com>
Per Yocto Compatable: The following change was made to fix a build issue we are seeing on
Centos 6. Not expecting this to be merge.
binutils-cross-canadian-arm-2.27-r0.47: task do_compile:
gprof' cc1: error: unrecognized command line option "-Wstack-usage=262144"
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index ae14642..30e3bc6 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -12,6 +12,13 @@ EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VEND
# e.g. we switch between different machines with different tunes.
EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
+EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow'"
+do_configure_prepend () {
+ sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"
+ sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"
+ sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"
+}
+
do_install () {
autotools_do_install
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* ✗ patchtest: failure for binutils: Fix build issue on Centos 6
2017-11-23 18:05 [Morty][PATCH] binutils: Fix build issue on Centos 6 Armin Kuster
@ 2017-11-23 18:37 ` Patchwork
2017-11-27 1:45 ` [Morty][PATCH] " Khem Raj
1 sibling, 0 replies; 6+ messages in thread
From: Patchwork @ 2017-11-23 18:37 UTC (permalink / raw)
To: Armin Kuster; +Cc: openembedded-core
== Series Details ==
Series: binutils: Fix build issue on Centos 6
Revision: 1
URL : https://patchwork.openembedded.org/series/9938/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 33418ed064)
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Morty][PATCH] binutils: Fix build issue on Centos 6
2017-11-23 18:05 [Morty][PATCH] binutils: Fix build issue on Centos 6 Armin Kuster
2017-11-23 18:37 ` ✗ patchtest: failure for " Patchwork
@ 2017-11-27 1:45 ` Khem Raj
2017-11-28 16:07 ` Jagadeesh Krishnanjanappa
1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2017-11-27 1:45 UTC (permalink / raw)
To: Armin Kuster; +Cc: akuster, Patches and discussions about the oe-core layer
On Thu, Nov 23, 2017 at 10:05 AM, Armin Kuster <akuster808@gmail.com> wrote:
> From: Armin Kuster <akuster@mvista.com>
>
> Per Yocto Compatable: The following change was made to fix a build issue we are seeing on
> Centos 6. Not expecting this to be merge.
>
> binutils-cross-canadian-arm-2.27-r0.47: task do_compile:
>
does installing https://people.centos.org/tru/devtools-2/6/x86_64/RPMS/ help ?
> gprof' cc1: error: unrecognized command line option "-Wstack-usage=262144"
>
> Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
> Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
> Signed-off-by: Armin Kuster <akuster@mvista.com>
> ---
> meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> index ae14642..30e3bc6 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> @@ -12,6 +12,13 @@ EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VEND
> # e.g. we switch between different machines with different tunes.
> EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
>
> +EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow'"
> +do_configure_prepend () {
> + sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"
> + sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"
> + sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"
> +}
> +
> do_install () {
> autotools_do_install
>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Morty][PATCH] binutils: Fix build issue on Centos 6
2017-11-27 1:45 ` [Morty][PATCH] " Khem Raj
@ 2017-11-28 16:07 ` Jagadeesh Krishnanjanappa
2017-11-29 7:41 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Jagadeesh Krishnanjanappa @ 2017-11-28 16:07 UTC (permalink / raw)
To: Khem Raj; +Cc: akuster, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2415 bytes --]
> From: Armin Kuster <akuster@mvista.com>
> >
> > Per Yocto Compatable: The following change was made to fix a build issue
> we are seeing on
> > Centos 6. Not expecting this to be merge.
> >
> > binutils-cross-canadian-arm-2.27-r0.47: task do_compile:
> >
>
> does installing https://people.centos.org/tru/devtools-2/6/x86_64/RPMS/
> help ?
>
> The above link points to gcc rpms of v4.8.1/2, but the "-Wstack-usage"
option
was introduced in gcc v4.9.x; so I think the problem exists with the above
rpms.
Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=19854
Regards,
Jagadeesh
> gprof' cc1: error: unrecognized command line option "-Wstack-usage=262144"
> >
> > Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
> > Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
> > Signed-off-by: Armin Kuster <akuster@mvista.com>
> > ---
> > meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > index ae14642..30e3bc6 100644
> > --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > @@ -12,6 +12,13 @@ EXTRA_OECONF += "--with-sysroot=${SDKPATH}/
> sysroots/${TUNE_PKGARCH}${TARGET_VEND
> > # e.g. we switch between different machines with different tunes.
> > EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
> >
> > +EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow'"
> > +do_configure_prepend () {
> > + sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"
> > + sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"
> > + sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"
> > +}
> > +
> > do_install () {
> > autotools_do_install
> >
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 4286 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Morty][PATCH] binutils: Fix build issue on Centos 6
2017-11-28 16:07 ` Jagadeesh Krishnanjanappa
@ 2017-11-29 7:41 ` Khem Raj
2017-11-30 7:16 ` Jagadeesh Krishnanjanappa
0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2017-11-29 7:41 UTC (permalink / raw)
To: Jagadeesh Krishnanjanappa
Cc: akuster, Patches and discussions about the oe-core layer
On Tue, Nov 28, 2017 at 8:07 AM, Jagadeesh Krishnanjanappa
<jkrishnanjanappa@mvista.com> wrote:
>
>
>> From: Armin Kuster <akuster@mvista.com>
>>
>> >
>> > Per Yocto Compatable: The following change was made to fix a build issue
>> > we are seeing on
>> > Centos 6. Not expecting this to be merge.
>> >
>> > binutils-cross-canadian-arm-2.27-r0.47: task do_compile:
>> >
>>
>> does installing https://people.centos.org/tru/devtools-2/6/x86_64/RPMS/
>> help ?
>>
> The above link points to gcc rpms of v4.8.1/2, but the "-Wstack-usage"
> option
> was introduced in gcc v4.9.x; so I think the problem exists with the above
> rpms.
> Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=19854
>
Then you might need to install devtool version 6
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
> Regards,
> Jagadeesh
>
>> > gprof' cc1: error: unrecognized command line option
>> > "-Wstack-usage=262144"
>> >
>> > Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
>> > Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
>> > Signed-off-by: Armin Kuster <akuster@mvista.com>
>> > ---
>> > meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 7 +++++++
>> > 1 file changed, 7 insertions(+)
>> >
>> > diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
>> > b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
>> > index ae14642..30e3bc6 100644
>> > --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
>> > +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
>> > @@ -12,6 +12,13 @@ EXTRA_OECONF +=
>> > "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VEND
>> > # e.g. we switch between different machines with different tunes.
>> > EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
>> >
>> > +EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes
>> > -Wmissing-prototypes -Wshadow'"
>> > +do_configure_prepend () {
>> > + sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"
>> > + sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"
>> > + sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"
>> > +}
>> > +
>> > do_install () {
>> > autotools_do_install
>> >
>> > --
>> > 2.7.4
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core@lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Morty][PATCH] binutils: Fix build issue on Centos 6
2017-11-29 7:41 ` Khem Raj
@ 2017-11-30 7:16 ` Jagadeesh Krishnanjanappa
0 siblings, 0 replies; 6+ messages in thread
From: Jagadeesh Krishnanjanappa @ 2017-11-30 7:16 UTC (permalink / raw)
To: Khem Raj; +Cc: akuster, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2737 bytes --]
> > The above link points to gcc rpms of v4.8.1/2, but the "-Wstack-usage"
> > option
> > was introduced in gcc v4.9.x; so I think the problem exists with the
> above
> > rpms.
> > Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=19854
> >
>
> Then you might need to install devtool version 6
>
> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
>
> Basically, we are intentionally building binaries/libraries on
lower versions of distro; in order to make sure they (binaries/libraries)
work on higher/latest distros. Installing this devtoolset can solve the
issue,
but our purpose will not be met.
However, Thank You for the info; it would help someone in future.
Regards,
Jagadeesh
> > Regards,
> > Jagadeesh
> >
> >> > gprof' cc1: error: unrecognized command line option
> >> > "-Wstack-usage=262144"
> >> >
> >> > Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com
> >
> >> > Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
> >> > Signed-off-by: Armin Kuster <akuster@mvista.com>
> >> > ---
> >> > meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 7
> +++++++
> >> > 1 file changed, 7 insertions(+)
> >> >
> >> > diff --git a/meta/recipes-devtools/binutils/binutils-cross-
> canadian.inc
> >> > b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> >> > index ae14642..30e3bc6 100644
> >> > --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> >> > +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> >> > @@ -12,6 +12,13 @@ EXTRA_OECONF +=
> >> > "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VEND
> >> > # e.g. we switch between different machines with different tunes.
> >> > EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
> >> >
> >> > +EXTRA_OEMAKE += "WARN_CFLAGS='-W -Wall -Wstrict-prototypes
> >> > -Wmissing-prototypes -Wshadow'"
> >> > +do_configure_prepend () {
> >> > + sed -i ${S}/bfd/warning.m4 -e "/Wstack-usage/D"
> >> > + sed -i ${S}/bfd/configure -e "s/-Wstack-usage=262144//"
> >> > + sed -i ${S}/binutils/configure -e "s/-Wstack-usage=262144//"
> >> > +}
> >> > +
> >> > do_install () {
> >> > autotools_do_install
> >> >
> >> > --
> >> > 2.7.4
> >> >
> >> > --
> >> > _______________________________________________
> >> > Openembedded-core mailing list
> >> > Openembedded-core@lists.openembedded.org
> >> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >> --
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
> >
>
[-- Attachment #2: Type: text/html, Size: 4870 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-11-30 7:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-23 18:05 [Morty][PATCH] binutils: Fix build issue on Centos 6 Armin Kuster
2017-11-23 18:37 ` ✗ patchtest: failure for " Patchwork
2017-11-27 1:45 ` [Morty][PATCH] " Khem Raj
2017-11-28 16:07 ` Jagadeesh Krishnanjanappa
2017-11-29 7:41 ` Khem Raj
2017-11-30 7:16 ` Jagadeesh Krishnanjanappa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox