Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Compiling and running binaries on ARM (was Re: Undefined symbol "environ" (symnum = 9) )


I would like to verify, if this pmap breakage is OMAP specific or
generic on ARM:

Could other users of current on ARM try running some program which is
compiled on the ARM target and report if running it works or fails?

Any current kernel since August 6th and a simple hello world like this will 

# cat ./hello.c
#include <stdio.h>
int main(void){printf("hello!\n");return 0;}

A good ouput looks like:

# time cc -Wall hello.c &&  time ./a.out
        1.15 real         0.70 user         0.27 sys
        0.03 real         0.00 user         0.02 sys

And this is how a failure may look like, though the error varies a bit:

# ./a.out
./a.out: Undefined symbol "environ" (symnum = 9)

And if you see a failure, could you please do the same check with a
kernel build with current from August 5th 2008, which doesn't yet have the
big pmap change applied.

Other alternative is to try current from Oct 30th 2008 with the pmap
works reverted with patches from but
that's a bit harder to do than just checking out from August 5th.



Home | Main Index | Thread Index | Old Index