Skip to contentSkip to conversation

elfutils-native-0.148 does not build on Ubuntu-13.10

DISCUSSION Ulf Samuelsson 2 participants 2 messages Oct 28, 2013

lore
Share & tools
lore
#0 lore raw
| 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

#1 lore raw
Quoted 74 lines · Ulf Samuelsson

| 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\"

(quoted diff) +0 -2
-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

(quoted diff) +0 -2
-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\"

(quoted diff) +0 -2
-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

(quoted diff) +0 -2
-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'

Quoted 7 lines
| 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

Quoted 10 lines

BR
Ulf Samuelsson

______________________________**_________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/**mailman/listinfo/openembedded-**core<http://lists.openembedded.org/mailman/listinfo/openembedded-core>