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

Ulf Samuelsson openembedded-core at emagii.com
Mon Oct 28 13:42:13 UTC 2013


| 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


BR
Ulf Samuelsson





More information about the Openembedded-core mailing list