Re: getpagesize() problems

Felix von Leitner <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Thus spake Michele Alberti ([email protected]):
> > You probably also need to link in dietlibc's start.o. Run diet with the -v
> > option to see which options are needed.
> diet -v doesn't report info related.
> BTW, I think that the problem is not in something related with symbol __start
> but with the getpagesize() that causes segfault.

I'm guessing that the glibc startup code does not actually set environ,
which is used by getpagesize.

As I said, this cannot work in the general case.

Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.