Ran all regression tests, and the result: All 93 tests passed. No
regression.diffs created. I can forward all the results files that are
created. Just had to modify the src/include/ports/darwin.h with the
additions (+) noted:

#define __darwin__ 1

#if defined(__ppc__)
#define HAS_TEST_AND_SET
#endif

+#if defined(__i386__)
+#define HAS_TEST_AND_SET
+#endif

#if defined(__ppc__)
typedef unsigned int slock_t;

#else
typedef unsigned char slock_t;

#endif

Search Discussions

  • Tom Lane at Feb 11, 2004 at 4:40 am

    Chris Langlois writes:
    Ran all regression tests, and the result: All 93 tests passed. Cool.
    Just had to modify the src/include/ports/darwin.h with the
    additions (+) noted:
    +#if defined(__i386__)
    +#define HAS_TEST_AND_SET
    +#endif
    This should be irrelevant as of CVS tip, because Bruce did some work to
    decouple the CPU-specific spinlock assumptions from the OS-specific
    assumptions. The __i386__ spinlock code will now trigger no matter
    which OS you use. Or at least that's the theory --- can you download
    CVS tip or a nightly snapshot and confirm it works on your platform?

    regards, tom lane
  • Chris Langlois at Feb 11, 2004 at 6:03 pm
    Didn't specify in the previous message, but the version of Darwin is
    7.0.1.

    The latest nightly snapshot built successfully and, "All 94 tests
    passed.".

    Great job, Tom, Peter, Bruce, et al!

    Keep up the excellent work!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedFeb 11, '04 at 2:20a
activeFeb 11, '04 at 6:03p
posts3
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Chris Langlois: 2 posts Tom Lane: 1 post

People

Translate

site design / logo © 2022 Grokbase