linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* GLibC cross compile for ppc-linux
@ 2000-07-17  8:39 oliver.amft
  2000-07-17 17:00 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: oliver.amft @ 2000-07-17  8:39 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,

i'm trying to build the glibc 2.1.3 on a i686-linux machine for a powerpc-linux
embedded target. The make command works fine (...no errors) but somehow "make
check" stops in the "stdlib tests" part when it is invoking the "isomac" command
for the first time (after compiling it):

/var/powerpc-linux/obj/glibc-2.1.3/stdlib/isomac 'powerpc-linux-gcc'
'-I../include -I.. -I/var/powerpc-linux/obj/glibc-2.1.3 -I../sysdeps/powerpc/elf
 -I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic'
> /var/powerpc-linux/obj/glibc-2.1.3/stdlib/isomac.out
make[2]: *** [tests] Error 1
make[2]: Leaving directory `/var/powerpc-linux/src/glibc-2.1.3/stdlib'
make[1]: *** [stdlib/tests] Error 2
make[1]: Leaving directory `/var/powerpc-linux/src/glibc-2.1.3'
make: *** [check] Error 2


The isomac.out file contains the lines:

Tested files:
assert.h
ctype.h
errno.h
system() returned nonzero
float.h
iso646.h
limits.h
locale.h
math.h
setjmp.h
signal.h
stdarg.h
stddef.h
stdio.h
stdlib.h
string.h
time.h
wchar.h
wctype.h

I'm not sure what "isomac" does, but somehow it is intend to find "illegal macro
 definitions" in header files.
Does anyone has an idea how to fix this?

Oliver.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: GLibC cross compile for ppc-linux
  2000-07-17  8:39 GLibC cross compile for ppc-linux oliver.amft
@ 2000-07-17 17:00 ` Mark Hatle
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2000-07-17 17:00 UTC (permalink / raw)
  To: oliver.amft; +Cc: linuxppc-embedded


I've been cross-compiling glibc-2.1.3 for ppc 7xx and 8xx for a while
now.  I've yet to see any problems like that.  What if your host OS,
(i.e. RedHat, debian etc? and it's version.)  And what are you
targeting?

--Mark

oliver.amft@ch.abb.com wrote:
>
> Hi all,
>
> i'm trying to build the glibc 2.1.3 on a i686-linux machine for a powerpc-linux
> embedded target. The make command works fine (...no errors) but somehow "make
> check" stops in the "stdlib tests" part when it is invoking the "isomac" command
> for the first time (after compiling it):
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: GLibC cross compile for ppc-linux
@ 2000-07-25  9:23 oliver.amft
  0 siblings, 0 replies; 3+ messages in thread
From: oliver.amft @ 2000-07-25  9:23 UTC (permalink / raw)
  To: Mark Hatle, linuxppc-embedded


Hi Mark, hi all,

sorry for the delay!
In between i've managed to get arround this: "isomac" checks the header files
and can't find an #include <{asm,linux}/errno.h> within the errno.h it is
checking. So, two links to the linux include dir (asm,linux) will help, since
the configure switch "--with-headers=$linux-dir/include" doesn't work at this
point.

Oliver




|---------->
|          |
|          |
|---------->
  >------------------------------------------------------------------------|
  |Mark Hatle <fray@mvista.com>                                            |
  |2000-07-17 19:00                                                        |
  >------------------------------------------------------------------------|



I've been cross-compiling glibc-2.1.3 for ppc 7xx and 8xx for a while
now.  I've yet to see any problems like that.  What if your host OS,
(i.e. RedHat, debian etc? and it's version.)  And what are you
targeting?

--Mark

oliver.amft@ch.abb.com wrote:
>
> Hi all,
>
> i'm trying to build the glibc 2.1.3 on a i686-linux machine for a
powerpc-linux
> embedded target. The make command works fine (...no errors) but somehow "make
> check" stops in the "stdlib tests" part when it is invoking the "isomac"
command
> for the first time (after compiling it):
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-07-25  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-17  8:39 GLibC cross compile for ppc-linux oliver.amft
2000-07-17 17:00 ` Mark Hatle
  -- strict thread matches above, loose matches on Subject: below --
2000-07-25  9:23 oliver.amft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).