Re: uClinux may not have dhfcn.h et.al.
Andrew Cagney <[email protected]> Thu, 10 Dec 2015 16:34:35 -0500
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <CAJeAr6uC0q+ArFYZAonn=EnJuNW9cwo9dFSAkC65V+xECuGRmg@mail.gmail.com> |
On 4 December 2015 at 15:56, Wan-Teh Chang <[email protected]> wrote: > On Fri, Dec 4, 2015 at 7:45 AM, Andrew Cagney <[email protected]> wrote: >> Hi, >> >> uClinux (which I'm treating as a linux variant) can be configured >> without shared library support (no dl*() and no dlfcn.h). The patch >> below (hopefully attached): > > I didn't get the patch. I'm afraid that you'll need to paste it > inline, or better, file a bug report and attach the patch to it. https://bugzilla.mozilla.org/show_bug.cgi?id=1231823 >> BTW, beyond a successful build, is there anything I should be looking >> for when running "make" in pr/tests (on a native Linux system, say)? > > You should run a few tests manually. I suggest the following: This is native linux: > cvar -d $ ./cvar -d . cond var wait context switch- user/user: 7.00 usec cond var wait context switch- user/kernel: 44.00 usec cond var wait context switch- kernel/kernel: 4.00 usec PASSED > cvar2 $ ./cvar2 ... PASS > perf Didn't crash. > > Then run the test harness (either runtests.sh or runtests.pl) to run > all tests. The Perl version is preferred (if your environment has > Perl) because it handles hung tests better. > > Wan-Teh