All of lore.kernel.org
 help / color / mirror / Atom feed
From: michaels@jungo.com
To: Wichert Akkerman <wichert@cistron.nl>
Cc: Ralf Baechle <ralf@oss.sgi.com>,
	"'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>,
	linux-mips <linux-mips@fnet.fr>
Subject: Re: strace package
Date: Sun, 25 Feb 2001 11:37:44 +0200	[thread overview]
Message-ID: <3A98D268.90A2D50B@jungo.com> (raw)
In-Reply-To: 20010224134121.A4925@cistron.nl

Wichert Akkerman wrote:
> 
> Previously Ralf Baechle wrote:
> > Conincidentally I today built strace-cvs for MIPS before receiving your
> > message and found it to be working just fine.
> 
> Good!
> 

I wonder whether it is my sillines, or something is wrong with strace or
my mips tools. Checked out clean version from
cvs.strace.sourceforge.net:/cvsroot/strace, run configure "NATIVELY" on
mips32 system and got a whole bunch of errors on strace.c :

gcc -Wall -DHAVE_CONFIG_H   -I. -Ilinux/mips -I./linux/mips -Ilinux
-I./linux -D_GNU_SOURCE  -c syscall.c
syscall.c: In function `sys_sysmips':
syscall.c:103: parameter `sysent0' is initialized
syscall.c:106: parameter `nsyscalls0' is initialized
syscall.c:132: parameter `errnoent0' is initialized
In file included from syscall.c:133:
linux/mips/errnoent.h:1: warning: initialization from incompatible
pointer type linux/mips/errnoent.h:2: warning: excess elements in scalar
initializer after `errnoent0'
linux/mips/errnoent.h:3: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:4: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:5: warning: excess elements in scalar initializer
after `errnoent0'
linux/mips/errnoent.h:6: warning: excess elements in scalar initializer
after `errnoent0'
... < aroud 1000 errors like these >
syscall.c:135: parameter `nerrnos0' is initialized
syscall.c:158: warning: parameter names (without types) in function
declaration
syscall.c:158: parse error before `int'
syscall.c:158: declaration for parameter `set_personality' but no such
parameter
syscall.c:154: declaration for parameter `current_personality' but no
such parameter
syscall.c:152: declaration for parameter `nerrnos' but no such parameter
syscall.c:151: declaration for parameter `errnoent' but no such
parameter
syscall.c:135: declaration for parameter `nerrnos0' but no such
parameter
syscall.c:132: declaration for parameter `errnoent0' but no such
parameter
syscall.c:123: declaration for parameter `nsyscalls' but no such
parameter
syscall.c:122: declaration for parameter `sysent' but no such parameter
syscall.c:106: declaration for parameter `nsyscalls0' but no such
parameter
syscall.c:103: declaration for parameter `sysent0' but no such parameter
linux/syscall.h:183: declaration for parameter `sys_capset' but no such
parameter
linux/syscall.h:183: declaration for parameter `sys_capget' but no such
parameter
linux/syscall.h:182: declaration for parameter `sys_utimes' but no such
parameter
linux/syscall.h:182: declaration for parameter `sys_getdtablesize' but
no such parameter
linux/syscall.h:182: declaration for parameter `sys_gethostname' but no
such parameter
linux/syscall.h:182: declaration for parameter `sys_setpgrp' but no such
parameter
syscall.c:160: `personality' undeclared (first use this function)
syscall.c:160: (Each undeclared identifier is reported only once
syscall.c:160: for each function it appears in.)

Here's the info:
[michaels@verdi strace]$ gcc --version
egcs-2.90.27 980315 (egcs-1.0.2
release)                                        
[michaels@verdi strace]$ rpm -q glibc
glibc-2.0.6-4                                                                   
[michaels@verdi strace]$ uname -a
Linux verdi.home.krftech.com 2.2.12-MIPS-01.05 #1 Thu Sep 7 11:36:42
CEST 2000 mips unknown 
[michaels@verdi strace]$ cat /proc/cpuinfo
cpu                     : MIPS
cpu model               : MIPS 5Kc V0.1
system type             : unknown unknown
BogoMIPS                : 39.94
byteorder               : big endian
unaligned accesses      : 0
wait instruction        : no
microsecond timers      : no
extra interrupt vector  : yes
hardware watchpoint     : yes
VCED exceptions         : not available
VCEI exceptions         : not
available                                         

Exactly same code compiles on i386 silently and clean.
Audience, please, what seems to be my problem?

Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D 
email: michaels@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)

  reply	other threads:[~2001-02-25  9:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-12  3:11 strace package Joe deBlaquiere
2001-01-12  3:51 ` Jun Sun
2001-01-15 20:05   ` Maciej W. Rozycki
2001-02-19 12:34   ` Wichert Akkerman
2001-01-12 14:40 ` Christoph Martin
2001-01-15 20:11   ` Maciej W. Rozycki
2001-01-16  8:12     ` Ralf Baechle
2001-01-16 11:40       ` Maciej W. Rozycki
2001-01-16 15:44         ` Ralf Baechle
2001-01-16 16:18           ` Maciej W. Rozycki
2001-01-22 19:19             ` Augusto César Radtke
2001-01-22 19:39               ` Maciej W. Rozycki
2001-02-19 12:33             ` Wichert Akkerman
2001-02-20 20:37               ` Ralf Baechle
2001-02-24 12:41                 ` Wichert Akkerman
2001-02-25  9:37                   ` michaels [this message]
2001-02-25 12:25                     ` Ralf Baechle

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=3A98D268.90A2D50B@jungo.com \
    --to=michaels@jungo.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    --cc=ralf@oss.sgi.com \
    --cc=wichert@cistron.nl \
    /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.