On 26 January 2016 at 11:25, Ioan-Adrian Ratiu <[email protected]> wrote:

> libgfortran needs gthr-default.h to exist (included by libgcc/gthr.h),
> but for some reason it is not symlinked in configure as defined by
> AC_CONFIG_LINKS. This patch creates it at the end of do_configure; thus
> allowing libgfortran to build without erros.
>

Are you sure?  libgfortran builds here and gthr-default.h is in the build
tree:

In
.../work/corei7-64-poky-linux/libgcc/5.3.0-r0/gcc-5.3.0/build.x86_64-poky-linux.x86_64-poky-linux/libgcc
$ ls -l gthr-default.h
lrwxrwxrwx 1 ross ross 76 Jan 25 16:20 gthr-default.h ->
/data/poky-master/tmp/work-shared/gcc-5.3.0-r0/gcc-5.3.0/libgcc/gthr-posix.h

I'll note that libgfortran actually then errors out in package QA:

ERROR: QA Issue: libgfortran: Files/directories were installed but not
shipped in any package:
  /usr/lib/gcc/x86_64-poky-linux/5.3.0/finclude
  /usr/lib/gcc/x86_64-poky-linux/5.3.0/finclude/ieee_features.mod
  /usr/lib/gcc/x86_64-poky-linux/5.3.0/finclude/ieee_arithmetic.mod
  /usr/lib/gcc/x86_64-poky-linux/5.3.0/finclude/ieee_exceptions.mod

If you actually use fortran would you be able to submit the right fix?  I'd
guess at adding those to FILES_PN would be right, but that's a guess.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to