This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: functions statically linked on x86_64 while i386 uses glibc functions
- From: Andi Kleen <ak at suse dot de>
- To: Jim Meyering <jim at meyering dot net>
- Cc: bug-coreutils at gnu dot org, libc-alpha at sourceware dot org
- Date: Tue, 30 Jan 2007 05:27:22 +0100
- Subject: Re: functions statically linked on x86_64 while i386 uses glibc functions
- References: <200701290740.22303.ak@suse.de> <87hcuacg8q.fsf@rho.meyering.net>
> [*] Can you even get a 2GB-long string into expr?
At least on Linux you can't, the kernel limits arguments and environments
to 128K or so. There are some patches floating around to enlarge that
limit, but I don't think it will be ever 2GB because it would be
too risky to pin that much memory unswappable.
I think the others can only get regexprs from command line options too.
It would only make sense if you have a option to input the regexpr
from a file, which neither expr nor nl nor tac have.
So I guess at least on Linux this doesn't make sense.
-Andi