Bug 9781 - Broken binutils build for arm uclibc
Summary: Broken binutils build for arm uclibc
Status: RESOLVED MOVED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: Other arm
: Low normal
Target Milestone: 2.2
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-15 11:38 UTC by Dmitriy Falko
Modified: 2016-11-14 17:37 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Falko 2016-06-15 11:38:54 UTC
make[4]: Entering directory '/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'
| 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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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="\"/usr/share/locale\""  -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 'config/tc-arm.c' || echo '../../gas/'`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="\"/usr/share/locale\""  -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 'config/obj-elf.c' || echo '../../gas/'`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="\"/usr/share/locale\""  -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 'config/atof-ieee.c' || echo '../../gas/'`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':
| /usr/src/debug/binutils/2.26-r0/git/gas/cond.c:395: undefined reference to `_obstack_free'
| cond.o: In function `cond_exit_macro':
| /usr/src/debug/binutils/2.26-r0/git/gas/cond.c:574: undefined reference to `_obstack_free'
| hash.o: In function `hash_die':
| /usr/src/debug/binutils/2.26-r0/git/gas/hash.c:120: undefined reference to `_obstack_free'
| hash.o: In function `hash_delete':
| /usr/src/debug/binutils/2.26-r0/git/gas/hash.c:347: undefined reference to `_obstack_free'
| stabs.o: In function `s_stab_generic':
| /usr/src/debug/binutils/2.26-r0/git/gas/stabs.c:347: undefined reference to `_obstack_free'
| collect2: error: ld returned 1 exit status
| Makefile:769: recipe for target 'as-new' failed
Comment 1 Dmitriy Falko 2016-06-15 12:11:48 UTC
obstack enabled in uclibc

UCLIBC_HAS_OBSTACK=y

but binutils can't find _obstack_free from libiberty/obstack.c

nm -g obstack.o(exported functions) is empty.
Comment 2 Dmitriy Falko 2016-06-15 13:01:45 UTC
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
Comment 3 Khem Raj 2016-06-16 20:39:22 UTC
(In reply to comment #2)
> 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

This is right fix. Can you just remove #if 0 and #endif here and send a patch for uclibc ?
Comment 4 Dmitriy Falko 2016-06-17 09:37:23 UTC
I send patch to mailing list 
[PATCH] Alias _obstack_free to fix binutils build
Comment 5 Dmitriy Falko 2016-06-17 09:38:43 UTC
Sorry wrong patch? i will resend email
Comment 6 Dmitriy Falko 2016-06-17 10:04:01 UTC
Resend write patch to mailing list
Comment 7 Khem Raj 2016-11-14 17:37:59 UTC
uclibc is no longer maintained in core.