[yocto] gcc enable-languages

Edward Vidal vidal.develone at gmail.com
Fri Apr 5 14:02:08 PDT 2013


Thanks now I get
Summary: 1 task failed:
  /home/vidal/POKY/build032713/poky/meta/recipes-devtools/gcc/
gcc-runtime_4.7.bb, do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
In the log this is what I see
ERROR: This autoconf log indicates errors, it looked at host include and/or
library paths while determining system capabilities.
Rerun configure task after fixing this. The path was
'/home/vidal/POKY/build032713/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-runtime/4.7.2-r19/gcc-4.7.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/arm-poky-linux-gnueabi/libgfortran'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
/home/vidal/POKY/build032713/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-runtime/4.7.2-r19/temp/log.do_configure.10792
NOTE: recipe gcc-runtime-4.7.2-r19: task do_configure: Failed
ERROR: Task 766
(/home/vidal/POKY/build032713/poky/meta/recipes-devtools/gcc/
gcc-runtime_4.7.bb, do_configure) failed with exit code '1'
Processing files:
kernel-modules-3.4.36+git0+80b4b5110dca5184b57e85f1e775fb006a2e85ad_c994390cfa28339cbc1ec3b56eeec83a5fa75bb7-r4.3.beagleboard
Processing files:
kernel-module-mailbox-mach-3.4.36+git0+80b4b5110dca5184b57e85f1e775fb006a2e85ad_c994390cfa28339cbc1ec3b56eeec83a5fa75bb7-r4.3.beagleboard
MACHINE=beaglebone bitbake -c clean gcc-runtime
Now I running MACHINE=beaglebone bitbake core-image-sato-sdk-ex -vDD




On Fri, Apr 5, 2013 at 11:00 AM, Khem Raj <raj.khem at gmail.com> wrote:

>
> On Apr 5, 2013, at 8:51 AM, Edward Vidal <vidal.develone at gmail.com> wrote:
>
> Hello,
> I want to add support for FORTRAN in my image.
> On target gcc -v shows --enable-languages=c,c++
> This needs to --enable-languages=c,c++,fortran.based on my host system.
> How does the variable FORTRAN in
> /home/vidal/POKY/build032813_panda/poky/meta/recipes-devtools/gcc/gcc-configure-common.inc
> get set?  Can this be done in the local.conf file?
> Does the FORTRAN ?= ",f77" this need to be FORTRAN ?= ",fortran" since we
> are building gcc4.7?
>
>
>
> yes thats a bug, I think you can submit a patch for that. in order to
> enable it fully you also need to change gcc-configure-runtime.inc
> add libgfortran to RUNTIMETARGET it would be nice if both knobs were
> turned on or off by one switch so you don't have to do it in two
> different places but such is life
>
>
> /home/vidal/POKY/build032713_panda/poky/meta/recipes-devtools/gcc/gcc-configure-common.inc
> I changed the following
>
> < LANGUAGES ?= "c,c++,fortran${JAVA}"
>
> ---
>
> > LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
> I am currently testing on a build for the  beagleboard and beaglebone
> Any and all help will be appreciated.
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130405/26f08361/attachment.html>


More information about the yocto mailing list