[yocto] Libgfortran 6.2 doesn't compile
david bensoussan
minipada at gmail.com
Sat Nov 26 05:32:14 PST 2016
Hello,
I am trying to compile libgfortran 6.2 on Yocto (Morty version) but can't.
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 8
MULTIBUILDTOP=/var/www/toaster/openembedded-core/build-toaster-2/tmp-glibc/work/i586-oe-linux/libgf$
/bin/bash
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/mk-sik-inc.sh
'i586-oe-linux-gfort$
/bin/bash
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/mk-srk-inc.sh
'i586-oe-linux-gfort$
/bin/bash
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/mk-kinds-h.sh
'i586-oe-linux-gfort$
grep '^#' <
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/c99_protos.h
> c99_protos.inc
cp
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/config/fpu-387.h
fpu-target.h
grep '^#define GFC_FPE_' <
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/../gcc/fortran/li$
grep '^#define GFC_FPE_' <
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/libgfortran.h
>> $
grep '^#' < kinds.h > kinds.inc
make all-am
make[1]: Entering directory
`/var/www/toaster/openembedded-core/build-toaster-2/tmp-glibc/work/i586-oe-linux/libgfo$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
/bin/bash ./libtool --tag=CC --mode=compile i586-oe-linux-gcc -m32
-march=i586 --sysroot=/var/www/toaster/opene$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
libtool: compile: i586-oe-linux-gcc -m32 -march=i586
--sysroot=/var/www/toaster/openembedded-core/build-toaster-2/$
../../../../../../../../work-shared/gcc-6.2.0-r0/gcc-6.2.0/libgfortran/runtime/backtrace.c:37:33:
fatal error: back$
#include "backtrace-supported.h"
^
compilation terminated.
make[1]: *** [backtrace.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
I have default yocto configuration, I simply added:
FORTRAN_forcevariable = ",fortran"
to enable it.
Am I doing something wrong or is it unstable?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161126/6fce02a7/attachment.html>
More information about the yocto
mailing list