Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8571] New: strace for ARC compile error
@ 2015-12-23 20:15 bugzilla at busybox.net
  2015-12-23 21:58 ` [Buildroot] [Bug 8571] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-12-23 20:15 UTC (permalink / raw)
  To: buildroot

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.

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

* [Buildroot] [Bug 8571] strace for ARC compile error
  2015-12-23 20:15 [Buildroot] [Bug 8571] New: strace for ARC compile error bugzilla at busybox.net
@ 2015-12-23 21:58 ` bugzilla at busybox.net
  2015-12-25 21:27 ` bugzilla at busybox.net
  2015-12-25 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-12-23 21:58 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8571

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks for the report. This has also been found by our autobuilders:
http://autobuild.buildroot.org/?reason=strace-4.11. I just mailed Alexey
Brodkin, who maintains the ARC support in Buildroot, to point him to this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8571] strace for ARC compile error
  2015-12-23 20:15 [Buildroot] [Bug 8571] New: strace for ARC compile error bugzilla at busybox.net
  2015-12-23 21:58 ` [Buildroot] [Bug 8571] " bugzilla at busybox.net
@ 2015-12-25 21:27 ` bugzilla at busybox.net
  2015-12-25 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-12-25 21:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8571

Alexey Brodkin <abrodkin@synopsys.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |abrodkin at synopsys.com

--- Comment #2 from Alexey Brodkin <abrodkin@synopsys.com> ---
Fixed by http://patchwork.ozlabs.org/patch/561060/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8571] strace for ARC compile error
  2015-12-23 20:15 [Buildroot] [Bug 8571] New: strace for ARC compile error bugzilla at busybox.net
  2015-12-23 21:58 ` [Buildroot] [Bug 8571] " bugzilla at busybox.net
  2015-12-25 21:27 ` bugzilla at busybox.net
@ 2015-12-25 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-12-25 21:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8571

--- Comment #3 from Alexey Brodkin <abrodkin@synopsys.com> ---
Just a bit of a context.

Problem introduced by
http://sourceforge.net/p/strace/code/ci/34683e3926d8c2daa368afb805da422ee7043396/

Problem fixed by
http://sourceforge.net/p/strace/code/ci/dd1a80c8d213eed95fe55b7ebcb07ee165dd8e4b/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2015-12-25 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 20:15 [Buildroot] [Bug 8571] New: strace for ARC compile error bugzilla at busybox.net
2015-12-23 21:58 ` [Buildroot] [Bug 8571] " bugzilla at busybox.net
2015-12-25 21:27 ` bugzilla at busybox.net
2015-12-25 21:29 ` bugzilla at busybox.net

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