This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem compiling glibc-2.2.4


I am working on cross compiling glibc for a PowerPC. I am doing this under
Sequent Dynix 4.0. When I run make I getting an error from Bash that "Arg
list too long". I have experience this error before with other programs and
the other time I was able to solve it by changing a make file so that the
arguments were sent through xargs instead of just being put on the command
line. Where can I modify the makefile so that it runs "cat ... | xargs ar
cruv libc_pic.a" instead of "ar cruv libc_pic.a `cat ... ` "? I have
attached the appropriate part of the output. I am not currently subscribed
to the mailing list so I would appriciate it if any responses would copy me
directly. Thanks for your help.
Chris Donovan
Lanier Worldwide

<cut>
make -j 8 -C elf subdir_lib
make[2]: Entering directory `/u/mis/cdonovan/src/glibc-2.2.4/elf'
cd /u/mis/cdonovan/build/glibc-2.2.4 &&
/u/mis/cdonovan/tools/host/i386-sequent-sysv4/powerpc-linux/bin/ar cruv
libc_pic.a `cat csu/stamp.os iconv/stamp.os iconvdata/stamp.os
locale/stamp.os localedata/stamp.os assert/stamp.os ctype/stamp.os
intl/stamp.os catgets/stamp.os math/stamp.os setjmp/stamp.os signal/stamp.os
stdlib/stamp.os stdio-common/stamp.os libio/stamp.os dlfcn/stamp.os
malloc/stamp.os string/stamp.os wcsmbs/stamp.os timezone/stamp.os
time/stamp.os dirent/stamp.os grp/stamp.os pwd/stamp.os posix/stamp.os
io/stamp.os termios/stamp.os resource/stamp.os misc/stamp.os socket/stamp.os
sysvipc/stamp.os gmon/stamp.os gnulib/stamp.os wctype/stamp.os
manual/stamp.os shadow/stamp.os po/stamp.os argp/stamp.os crypt/stamp.os
linuxthreads/stamp.os resolv/stamp.os nss/stamp.os rt/stamp.os
conform/stamp.os debug/stamp.os linuxthreads_db/stamp.os inet/stamp.os
hesiod/stamp.os sunrpc/stamp.os nis/stamp.os nscd/stamp.os streams/stamp.os
login/stamp.os soft-fp/stamp.os elf/stamp.!
 os stamp.os`
/u/mis/cdonovan/gnu/bin/bash:
/u/mis/cdonovan/tools/host/i386-sequent-sysv4/powerpc-linux/bin/ar: Arg list
too long
make[2]: *** [/u/mis/cdonovan/build/glibc-2.2.4/libc_pic.a] Error 126
make[2]: Leaving directory `/u/mis/cdonovan/src/glibc-2.2.4/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/u/mis/cdonovan/src/glibc-2.2.4'
make: *** [all] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]