[OE-core] [PATCH 1/1] gcc: libgcc-common.inc: symlink gthr-posix -> gthr-default.h

Burton, Ross ross.burton at intel.com
Tue Jan 26 12:20:43 UTC 2016


On 26 January 2016 at 11:25, Ioan-Adrian Ratiu <adrian.ratiu at ni.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160126/ed5c889e/attachment-0002.html>


More information about the Openembedded-core mailing list