Openembedded Core Discussions
 help / color / mirror / Atom feed
* elfutils-native-0.148 does not build on Ubuntu-13.10
@ 2013-10-28 13:42 Ulf Samuelsson
  2013-10-28 13:59 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2013-10-28 13:42 UTC (permalink / raw)
  To: openembedded-core

| 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: elfutils-native-0.148 does not build on Ubuntu-13.10
  2013-10-28 13:42 elfutils-native-0.148 does not build on Ubuntu-13.10 Ulf Samuelsson
@ 2013-10-28 13:59 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2013-10-28 13:59 UTC (permalink / raw)
  To: Ulf Samuelsson; +Cc: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 4794 bytes --]

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@lists.openembedded.org
> http://lists.openembedded.org/**mailman/listinfo/openembedded-**core<http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>

[-- Attachment #2: Type: text/html, Size: 5799 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-28 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 13:42 elfutils-native-0.148 does not build on Ubuntu-13.10 Ulf Samuelsson
2013-10-28 13:59 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox