Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Building GLIBC 2.3.4 on MIPS
@ 2005-02-23  0:32 Jim Gifford
  2005-02-23  0:53 ` Kumba
  2005-02-23  1:02 ` David Daney
  0 siblings, 2 replies; 14+ messages in thread
From: Jim Gifford @ 2005-02-23  0:32 UTC (permalink / raw)
  To: linux-mips

I'm trying to build the current glibc with my RaQ2, everything builds 
ok, until I start compiling strace.

syscall.c: In function `dumpio':
syscall.c:449: error: `SYS_read' undeclared (first use in this function)
syscall.c:449: error: (Each undeclared identifier is reported only once
syscall.c:449: error: for each function it appears in.)
syscall.c:465: error: `SYS_write' undeclared (first use in this function)
syscall.c: In function `syscall_fixup':
syscall.c:1265: warning: unused variable `pid'
syscall.c: In function `trace_syscall':
syscall.c:2481: error: `SYS_exit' undeclared (first use in this function)
make[1]: *** [syscall.o] Error 1
make[1]: Leaving directory `/usr/src/strace-4.5.9'
make: *** [all] Error 2

Which leads me to check syscall.h, then I noticed a big difference from 
my x86 version to this version, all the SYS_ entries are missing.  Did I 
build it wrong or is this a glibc issue, due to the addition of the 
mips32 and mips64 directories.

Here is my bug report with the glibc folks for everyone's reference.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=758

-- 
----
Jim Gifford
maillist@jg555.com

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Building GLIBC 2.3.4 on MIPS
@ 2005-04-11 15:57 Daniel Laird
  2005-04-11 16:08 ` Maciej W. Rozycki
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Laird @ 2005-04-11 15:57 UTC (permalink / raw)
  To: macro; +Cc: libc-alpha, linux-mips

I am trying to build glibc-2.3.4 (gcc-3.4.3, binutils-2.15.96) with 
linux-2.6.11.6 on mips.

I am having problems with bits/syscalls.h whereas yours seem to be empty 
mine just does not exist???
Any reason for this?
I have applied your patches but they do not seem to correct this error have 
you seen this.

Its just that when i try to compile busybox i get an error as bits/syscall.h 
is missing and obviously means my cross compiler toolchain is not quite 
correct.

Hope you can help
Daniel Laird

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

end of thread, other threads:[~2005-04-13 20:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23  0:32 Building GLIBC 2.3.4 on MIPS Jim Gifford
2005-02-23  0:53 ` Kumba
2005-02-23  1:02 ` David Daney
2005-02-23  2:42   ` Jim Gifford
2005-02-23 11:38   ` Referencing the online list archive, was " Ralf Baechle
2005-02-23 14:05   ` Maciej W. Rozycki
2005-02-24 14:36     ` Kumba
2005-02-24 17:21       ` Jim Gifford
2005-02-24 19:51       ` Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
2005-04-11 15:57 Daniel Laird
2005-04-11 16:08 ` Maciej W. Rozycki
2005-04-11 16:33   ` Daniel Laird
2005-04-13 19:49   ` Daniel Laird
2005-04-13 20:01     ` Greg Weeks

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