This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: vi and glibc 2.12: Assertion `_rtld_global_ro._dl_pagesize != 0
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Arkadiusz Miskiewicz <arekm at maven dot pl>
- Cc: libc-alpha at sourceware dot org, "H.J. Lu" <hjl dot tools at gmail dot com>, libc-help at sourceware dot org
- Date: Sat, 22 May 2010 18:11:29 +0200
- Subject: Re: vi and glibc 2.12: Assertion `_rtld_global_ro._dl_pagesize != 0
- References: <201005132108.47735.arekm@maven.pl><201005212042.01247.arekm@maven.pl><AANLkTimwbqfiz9lY8ncTdsKIdwraAI_unaNK2CkTBEU3@mail.gmail.com><201005220851.29312.arekm__48573.0371474803$1274544373$gmane$org@maven.pl>
Arkadiusz Miskiewicz <arekm@maven.pl> writes:
>> > [arekm@carme-pld ~]$ gcc a.c -static
>> > /home/users/arekm/tmp/ccedPM2o.o: In function `main':
>> > a.c:(.text+0xa): warning: Using 'getpwnam' in statically linked
>> > applications requires at runtime the shared libraries from the glibc
>> > version used for linking
> a.out built in 1) and 2) environments works in these but fails on my glibc
> 2.12 env.
See above, you must run the statically linked binary in the same
environment that you used for linking.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."