<?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>9781</bug_id>
          
          <creation_ts>2016-06-15 11:38:54 +0000</creation_ts>
          <short_desc>Broken binutils build for arm uclibc</short_desc>
          <delta_ts>2016-11-14 17:37:59 +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>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitriy Falko">d.falko.work</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>62990</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-15 11:38:54 +0000</bug_when>
    <thetext>make[4]: Entering directory &apos;/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0/git/build.arm-poky-linux-uclibceabi.arm-poky-linux-uclibceabi/gas&apos;
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/app.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/as.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/atof-generic.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/compress-debug.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/cond.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/depend.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/dwarf2dbg.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/dw2gencfi.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/ecoff.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/ehopt.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/expr.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/flonum-copy.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/flonum-konst.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/flonum-mult.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/frags.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/hash.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/input-file.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/input-scrub.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/listing.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/literal.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/macro.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/messages.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/output-file.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/read.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/remap.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/sb.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/stabs.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/subsegs.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/symbols.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c ../../gas/write.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c -o tc-arm.o `test -f &apos;config/tc-arm.c&apos; || echo &apos;../../gas/&apos;`config/tc-arm.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c -o obj-elf.o `test -f &apos;config/obj-elf.c&apos; || echo &apos;../../gas/&apos;`config/obj-elf.c
| arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -DHAVE_CONFIG_H -I. -I../../gas  -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR=&quot;\&quot;/usr/share/locale\&quot;&quot;  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=  -c -o atof-ieee.o `test -f &apos;config/atof-ieee.c&apos; || echo &apos;../../gas/&apos;`config/atof-ieee.c
| /bin/bash ./arm-poky-linux-uclibceabi-libtool --tag=CC   --mode=link arm-poky-linux-uclibceabi-gcc  -march=armv7ve -marm -mfpu=neon  -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4=   -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a  -lm -ldl
| arm-poky-linux-uclibceabi-libtool: link: arm-poky-linux-uclibceabi-gcc -march=armv7ve -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 --sysroot=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/binutils/2.26-r0=/usr/src/debug/binutils/2.26-r0 -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/falko/work/poky/build/tmp/sysroots/odroid-xu4= -static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-arm.o obj-elf.o atof-ieee.o  ../opcodes/.libs/libopcodes.so ../bfd/.libs/libbfd.so -lz ../libiberty/libiberty.a -lm -ldl
| cond.o: In function `s_endif&apos;:
| /usr/src/debug/binutils/2.26-r0/git/gas/cond.c:395: undefined reference to `_obstack_free&apos;
| cond.o: In function `cond_exit_macro&apos;:
| /usr/src/debug/binutils/2.26-r0/git/gas/cond.c:574: undefined reference to `_obstack_free&apos;
| hash.o: In function `hash_die&apos;:
| /usr/src/debug/binutils/2.26-r0/git/gas/hash.c:120: undefined reference to `_obstack_free&apos;
| hash.o: In function `hash_delete&apos;:
| /usr/src/debug/binutils/2.26-r0/git/gas/hash.c:347: undefined reference to `_obstack_free&apos;
| stabs.o: In function `s_stab_generic&apos;:
| /usr/src/debug/binutils/2.26-r0/git/gas/stabs.c:347: undefined reference to `_obstack_free&apos;
| collect2: error: ld returned 1 exit status
| Makefile:769: recipe for target &apos;as-new&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62995</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-15 12:11:48 +0000</bug_when>
    <thetext>obstack enabled in uclibc

UCLIBC_HAS_OBSTACK=y

but binutils can&apos;t find _obstack_free from libiberty/obstack.c

nm -g obstack.o(exported functions) is empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62996</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-15 13:01:45 +0000</bug_when>
    <thetext>from libiberty/obstack.c:

Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself, and the installed library
supports the same library interface we do.  This code is part of the GNU
C Library, but also included in many other GNU distributions.  Compiling
and linking in this code is a waste when using the GNU C library
(especially if it is a shared library).

Seems that binutils use obstack from libc(in my case uclibc).

In uclibc i found that code:

# if 0
/* Older versions of libc used a function _obstack_free intended to be
   called by non-GCC compilers.  */
strong_alias (obstack_free, _obstack_free)
# endif

changing to # if 1 fix problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63077</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2016-06-16 20:39:22 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; from libiberty/obstack.c:
&gt; 
&gt; Comment out all this code if we are using the GNU C Library, and are not
&gt; actually compiling the library itself, and the installed library
&gt; supports the same library interface we do.  This code is part of the GNU
&gt; C Library, but also included in many other GNU distributions.  Compiling
&gt; and linking in this code is a waste when using the GNU C library
&gt; (especially if it is a shared library).
&gt; 
&gt; Seems that binutils use obstack from libc(in my case uclibc).
&gt; 
&gt; In uclibc i found that code:
&gt; 
&gt; # if 0
&gt; /* Older versions of libc used a function _obstack_free intended to be
&gt;    called by non-GCC compilers.  */
&gt; strong_alias (obstack_free, _obstack_free)
&gt; # endif
&gt; 
&gt; changing to # if 1 fix problem

This is right fix. Can you just remove #if 0 and #endif here and send a patch for uclibc ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63092</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-17 09:37:23 +0000</bug_when>
    <thetext>I send patch to mailing list 
[PATCH] Alias _obstack_free to fix binutils build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63093</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-17 09:38:43 +0000</bug_when>
    <thetext>Sorry wrong patch? i will resend email</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63095</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitriy Falko">d.falko.work</who>
    <bug_when>2016-06-17 10:04:01 +0000</bug_when>
    <thetext>Resend write patch to mailing list</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68276</commentid>
    <comment_count>7</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2016-11-14 17:37:59 +0000</bug_when>
    <thetext>uclibc is no longer maintained in core.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>