From: Ulf Samuelsson <openembedded-core@emagii.com>
To: openembedded-core@lists.openembedded.org
Subject: elfutils-native-0.148 does not build on Ubuntu-13.10
Date: Mon, 28 Oct 2013 14:42:13 +0100 [thread overview]
Message-ID: <526E69B5.5050401@emagii.com> (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
next reply other threads:[~2013-10-28 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-28 13:42 Ulf Samuelsson [this message]
2013-10-28 13:59 ` elfutils-native-0.148 does not build on Ubuntu-13.10 Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526E69B5.5050401@emagii.com \
--to=openembedded-core@emagii.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox