gcc-6.3: Fix libgfortran build
PATCH v2 1/3 gcc-6.3: Fix libgfortran build
Without this patch libbacktrace cannot be included/link during libgfortran build.
libbtool: link: cannot find the library ../libbacktrace/libbacktrace.la' or unhandled argument ../libbacktrace/libbacktrace.la'
--- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/0099-Fix-gfortran-build.patch | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-6.3/0099-Fix-gfortran-build.patch
meta/recipes-devtools/gcc/gcc-6.3.inc +1 -0
@@ -74,6 +74,7 @@ SRC_URI = "\ file://0047-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0048-sync-gcc-stddef.h-with-musl.patch \ file://0054_all_nopie-all-flags.patch \ + file://0099-Fix-gfortran-build.patch \ ${BACKPORTS} \ " BACKPORTS = "\
meta/recipes-devtools/gcc/gcc-6.3/0099-Fix-gfortran-build.patch new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH v2 2/3 libgfortran: Add missing dependency gcc-cross
Due to the fact that the recipe uses INHIBIT_DEFAULT_DEPS, we need to manually add the cross compiler as a dependency.
--- meta/recipes-devtools/gcc/libgfortran.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/gcc/libgfortran.inc +1 -1
@@ -37,7 +37,7 @@ do_install () { } INHIBIT_DEFAULT_DEPS = "1" -DEPENDS = "gcc-runtime" +DEPENDS = "gcc-runtime gcc-cross-${TARGET_ARCH}" BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.11.0
PATCH v2 3/3 libgfortran: Add missing fincludes
In reply to Ricardo Ribalda DelgadoERROR: libgfortran-6.3.0-r0 do_package: QA Issue: libgfortran:
Files/directories were installed but not shipped in any package:/usr/lib/gcc/x86_64-poky-linux/6.3.0/finclude /usr/lib/gcc/x86_64-poky-linux/6.3.0/finclude/ieee_features.mod /usr/lib/gcc/x86_64-poky-linux/6.3.0/finclude/ieee_arithmetic.mod /usr/lib/gcc/x86_64-poky-linux/6.3.0/finclude/ieee_exceptions.mod
--- meta/recipes-devtools/gcc/libgfortran.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/gcc/libgfortran.inc +1 -0
@@ -54,6 +54,7 @@ FILES_${PN}-dev = "\ ${libdir}/libgfortran.la \ ${libdir}/gcc/${TARGET_SYS}/${BINV}/libgfortranbegin.* \ ${libdir}/gcc/${TARGET_SYS}/${BINV}/libcaf_single* \ + ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude/ \ " FILES_${PN}-staticdev = "${libdir}/libgfortran.a"
Signature · 1 line
2.11.0
On 30 June 2017 at 10:25, Ricardo Ribalda Delgado <[email protected]
meta/recipes-devtools/gcc/gcc-6.3.inc
Quoted 5 lines
wrote:
meta/recipes-devtools/gcc/gcc-6.3.inc +0
-0
Is this fixed in gcc 7 (in which case the upstream-status is backport), or is gcc 7.1 still broken?
Ross
Hi Ross
Quoted 11 lines · Ross
meta/recipes-devtools/gcc/gcc-6.3.inc
Quoted 3 lines · Ricardo Ribalda Delgado
meta/recipes-devtools/gcc/gcc-6.3.inc +0
-0Is this fixed in gcc 7 (in which case the upstream-status is backport), or is gcc 7.1 still broken?
I do not know, at qtec we are following yocto, and currently it is at version 6.3.
I could try to build it with gcc7 during this week. and send another patch
if needed.
Regards!
Quoted 3 lines
Ross
Quoted 10 lines · Ross
meta/recipes-devtools/gcc/gcc-6.3.inc
Quoted 3 lines · Ricardo Ribalda Delgado
meta/recipes-devtools/gcc/gcc-6.3.inc +0
-0Is this fixed in gcc 7 (in which case the upstream-status is backport), or is gcc 7.1 still broken?
this in needed on gcc 7.1 as well.
Quoted 9 lines
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core