This is the mail archive of the libc-alpha@sourceware.cygnus.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 with 'sh' while archiving libc_pic.a


Hi,
  I have been working on the port of glibc (CVS snapshot) to my MIPS R4400 
based machine running SVR4.2. After a couple of hacks and other twists and 
turns the compilation progresses smoothly until the point where libc_pic.a 
is being generated where things fails citing the following problem:

------------ Clip from the build log --------------------------------------

cd /gnu/glibc/build-libc && /opt/devtools/mips-dde-sysv4.2MP/bin/ar cruv 
libc_pi
c.a `cat csu/stamp.os assert/stamp.os ctype/stamp.os locale/stamp.os 
intl/stamp.
os catgets/stamp.os math/stamp.os setjmp/stamp.os signal/stamp.os 
stdlib/stamp.o
s stdio-common/stamp.os stdio/stamp.os dlfcn/stamp.os malloc/stamp.os 
string/sta
mp.os wcsmbs/stamp.os time/stamp.os dirent/stamp.os grp/stamp.os 
pwd/stamp.os po
six/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 iconv/stamp.os 
iconvdat
a/stamp.os wctype/stamp.os manual/stamp.os shadow/stamp.os po/stamp.os 
argp/stam
p.os crypt/stamp.os nss/stamp.os localedata/stamp.os timezone/stamp.os 
rt/stamp.
os debug/stamp.os login/stamp.os elf/stamp.os stamp.os`
/bin/sh: /opt/devtools/mips-dde-sysv4.2MP/bin/ar: Arg list too long
make[2]: *** [/gnu/glibc/build-libc/libc_pic.a] Error 126
make[2]: Leaving directory `/gnu/glibc/libc/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/gnu/glibc/libc'
make: *** [all] Error 2

----------------------------------------------------------------------------

I suspected that this problem could be with 'sh'. On my system 'sh' is 'bash'
like linux systems. using the native 'sh' also did not solve the problem. I 
tried to look into sources of ar. But got no hints in that too. I am able to 
selectively archive the files.

Have anyone faced any such problem ?. Is thre any other workaround ??

Any sort of help will be appreciated.

Thanks and regards

koundinya


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