[OE-core] elfutils-native-0.148 does not build on Ubuntu-13.10

Khem Raj raj.khem at gmail.com
Mon Oct 28 13:59:37 UTC 2013


On Monday, October 28, 2013, Ulf Samuelsson wrote:

> | gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home2/Angstrom/**
> build/tmp-angstrom_v2012_12-**eglibc/sysroots/i686-linux/**usr/share/locale"'
> -DDEBUGPRED=0 -DSRCDIR=\"/home2/Angstrom/**build/tmp-angstrom_v2012_12-**
> eglibc/work/i686-linux/**elfutils-native-0.148-r11/**elfutils-0.148/src\"
> -DOBJDIR=\"/home2/Angstrom/**build/tmp-angstrom_v2012_12-**
> eglibc/work/i686-linux/**elfutils-native-0.148-r11/**elfutils-0.148/src\"
> -I. -I.. -I. -I. -I../lib -I.. -I./../libelf -I./../libebl -I./../libdw
> -I./../libdwfl -I./../libasm -isystem/home2/Angstrom/build/**
> tmp-angstrom_v2012_12-eglibc/**sysroots/i686-linux/usr/**include
> -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -fgnu89-inline
> -Wformat=2 -isystem/home2/Angstrom/build/**tmp-angstrom_v2012_12-eglibc/**
> sysroots/i686-linux/usr/**include -O2 -pipe -c ranlib.c
> | addr2line.c: In function 'handle_address':
> | addr2line.c:450:7: error: format '%a' expects argument of type 'float
> *', but argument 3 has type 'char **' [-Werror=format=]| gcc -D_GNU_SOURCE
> -DHAVE_CONFIG_H -DLOCALEDIR='"/home2/Angstrom/**
> build/tmp-angstrom_v2012_12-**eglibc/sysroots/i686-linux/**usr/share/locale"'
> -DDEBUGPRED=0 -DSRCDIR=\"/home2/Angstrom/**build/tmp-angstrom_v2012_12-**
> eglibc/work/i686-linux/**elfutils-native-0.148-r11/**elfutils-0.148/src\"
> -DOBJDIR=\"/home2/Angstrom/**build/tmp-angstrom_v2012_12-**
> eglibc/work/i686-linux/**elfutils-native-0.148-r11/**elfutils-0.148/src\"
> -I. -I.. -I. -I. -I../lib -I.. -I./../libelf -I./../libebl -I./../libdw
> -I./../libdwfl -I./../libasm -isystem/home2/Angstrom/build/**
> tmp-angstrom_v2012_12-eglibc/**sysroots/i686-linux/usr/**include
> -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -fgnu89-inline
> -Wformat=2 -isystem/home2/Angstrom/build/**tmp-angstrom_v2012_12-eglibc/**
> sysroots/i686-linux/usr/**include -O2 -pipe -c ranlib.c
> | addr2line.c: In function 'handle_address':
> | addr2line.c:450:7: error: format '%a' expects argument of type 'float
> *', but argument 3 has type 'char **' [-Werror=format=]
> |        if (sscanf (string, "(%a[^)])%" PRIiMAX "%n", &name, &addr, &i)
> == 2
> |        ^
> | addr2line.c:453:7: error: format '%a' expects argument of type 'float
> *', but argument 3 has type 'char **' [-Werror=format=]
> |        switch (sscanf (string, "%a[^-+]%n%" PRIiMAX "%n", &name, &i,
> &addr, &j))
> |        ^
> | cc1: all warnings being treated as errors
> | make[2]: *** [addr2line.o] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | rm i386_ld.o
> | make[2]: Leaving directory `/home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/elfutils-0.148/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/elfutils-0.148'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see /home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/temp/log.do_compile.**1845 for further information)
>
> |        if (sscanf (string, "(%a[^)])%" PRIiMAX "%n", &name, &addr, &i)
> == 2
> |        ^
> | addr2line.c:453:7: error: format '%a' expects argument of type 'float
> *', but argument 3 has type 'char **' [-Werror=format=]
> |        switch (sscanf (string, "%a[^-+]%n%" PRIiMAX "%n", &name, &i,
> &addr, &j))
> |        ^
> | cc1: all warnings being treated as errors
> | make[2]: *** [addr2line.o] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | rm i386_ld.o
> | make[2]: Leaving directory `/home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/elfutils-0.148/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/elfutils-0.148'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (see /home2/Angstrom/build/tmp-**
> angstrom_v2012_12-eglibc/work/**i686-linux/elfutils-native-0.**
> 148-r11/temp/log.do_compile.**1845 for further information)
>
> but this is OK, on Ubuntu-12.10


Apply
http://permalink.gmane.org/gmane.comp.handhelds.openembedded.scm/66625


>
> BR
> Ulf Samuelsson
>
>
> ______________________________**_________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/**mailman/listinfo/openembedded-**core<http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20131028/fc89a3d6/attachment-0002.html>


More information about the Openembedded-core mailing list