From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 8571] New: strace for ARC compile error
Date: Wed, 23 Dec 2015 20:15:31 +0000 [thread overview]
Message-ID: <bug-8571-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=8571
Bug ID: 8571
Summary: strace for ARC compile error
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: mail at waldemar-brodkorb.de
CC: buildroot at uclibc.org
Latest strace 4.11 for ARC does not compile:
/home/wbx/buildroot/output/host/usr/bin/arc-buildroot-linux-uclibc-gcc
-DHAVE_CONFIG_H -I./linux/arc -I./linux/arc -I./linux -I./linux -I. -I.
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wwrite-strings -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -matomic -Os -c -o strace-term.o `test -f 'term.c' ||
echo './'`term.c
In file included from syscall.c:34:0:
syscall.c:85:63: error: ?sys_ARCH_mmap? undeclared here (not in a function)
#define SEN(syscall_name) SEN_ ## syscall_name, SYS_FUNC_NAME(sys_ ##
syscall_name)
^
defs.h:799:51: note: in definition of macro ?MPERS_FUNC_NAME__?
#define MPERS_FUNC_NAME__(prefix, name) prefix ## name
^
defs.h:801:31: note: in expansion of macro ?MPERS_FUNC_NAME_?
#define MPERS_FUNC_NAME(name) MPERS_FUNC_NAME_(MPERS_PREFIX, name)
^
defs.h:803:37: note: in expansion of macro ?MPERS_FUNC_NAME?
#define SYS_FUNC_NAME(syscall_name) MPERS_FUNC_NAME(syscall_name)
^
syscall.c:85:49: note: in expansion of macro ?SYS_FUNC_NAME?
#define SEN(syscall_name) SEN_ ## syscall_name, SYS_FUNC_NAME(sys_ ##
syscall_name)
^
./linux/32/syscallent.h:230:24: note: in expansion of macro ?SEN?
[222] = { 6, TD|TM|SI, SEN(ARCH_mmap), "mmap2" },
^
/home/wbx/buildroot/output/host/usr/bin/arc-buildroot-linux-uclibc-gcc
-DHAVE_CONFIG_H -I./linux/arc -I./linux/arc -I./linux -I./linux -I. -I.
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall
-Wwrite-strings -Wsign-compare -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -matomic -Os -c -o strace-time.o `test -f 'time.c' ||
echo './'`time.c
In file included from syscall.c:1351:0:
./linux/arc/get_syscall_args.c: In function ?get_syscall_args?:
./linux/arc/get_syscall_args.c:5:19: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
long *arc_args = &arc_regs.scratch.r0;
^
make[3]: *** [strace-syscall.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/wbx/buildroot/output/build/strace-4.11'
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2015-12-23 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-23 20:15 bugzilla at busybox.net [this message]
2015-12-23 21:58 ` [Buildroot] [Bug 8571] strace for ARC compile error bugzilla at busybox.net
2015-12-25 21:27 ` bugzilla at busybox.net
2015-12-25 21:29 ` bugzilla at busybox.net
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=bug-8571-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.