<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4957</bug_id>
          
          <creation_ts>2013-07-30 14:03:07 +0000</creation_ts>
          <short_desc>vivante-gpu-sdk don&apos;t build hardfloat</short_desc>
          <delta_ts>2014-03-07 15:19:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-arm</component>
          <version>1.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego">diego.ml</reporter>
          <assigned_to name="Daiane">angolini</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>otavio</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35170</commentid>
    <comment_count>0</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2013-07-30 14:03:07 +0000</bug_when>
    <thetext>vivante-gpu-sdk doesn&apos;t build with hardfloat because of forced options in Makefiles.

Even removing the &quot;-mfloat-abi=softfp -mfpu=neon&quot; from the Makefiles cause an error (in a devshell):

	

    # make -j 6 -e MAKEFLAGS= -f Makefile.x11
    set -e; for d in 01_SimpleTriangle 02_VertexColors 03_VertexTransformation 04_ColoredVerticesInterpolation 05_GeometricObjects 06_Projection 07_BasicTexturing 08_Multitexturing 09_Alphablending 10_FilteringLights 11_LightingFog 12_Stencil 13_3DFonts 14_ParticlesSpritesAnimation 15_ParticleAccelerator 16_VertexBufferObjects 17_Beizer; do make -C $d -f Makefile.x11; done
    make[1]: Entering directory `/opt/yocto_builder/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/vivante-gpu-sdk/1.00-r0/vivante-gpu-sdk-1.00/Samples/GLES1.1/01_SimpleTriangle&apos;
     CC  SimpleTriangle.o
    arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/opt/yocto_builder/build/tmp/sysroots/nitrogen6x -DDEBUG -D_DEBUG -D_GNU_SOURCE -fPIC -O3 -fno-strict-aliasing -fno-optimize-sibling-calls -Wall -g  -DLINUX -DEGL_USE_X11  -I../common/inc  -MMD -c SimpleTriangle.c -o SimpleTriangle.o
    In file included from /opt/yocto_builder/build/tmp/sysroots/nitrogen6x/usr/include/features.h:388:0,
                     from /opt/yocto_builder/build/tmp/sysroots/nitrogen6x/usr/include/stdio.h:27,
                     from SimpleTriangle.c:11:
    /opt/yocto_builder/build/tmp/sysroots/nitrogen6x/usr/include/gnu/stubs.h:10:29: fatal error: gnu/stubs-hard.h: No such file or directory
     # include &lt;gnu/stubs-hard.h&gt;
                                 ^
    compilation terminated.
    make[1]: *** [SimpleTriangle.o] Error 1
    make[1]: Leaving directory `/opt/yocto_builder/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/vivante-gpu-sdk/1.00-r0/vivante-gpu-sdk-1.00/Samples/GLES1.1/01_SimpleTriangle&apos;
    make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40974</commentid>
    <comment_count>1</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2014-03-07 15:19:24 +0000</bug_when>
    <thetext>Fixed in master with new SDK package.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>