Skip to content

Commit 8df5625

Browse files
committed
First test of Darwin port with POSIX semaphore code.
1 parent 3e48c66 commit 8df5625

File tree

4 files changed

+8
-407
lines changed

4 files changed

+8
-407
lines changed

src/backend/port/darwin/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# Makefile for port/darwin
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/port/darwin/Makefile,v 1.2 2001/11/08 04:24:03 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/port/darwin/Makefile,v 1.3 2002/05/05 01:03:26 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
subdir = src/backend/port/darwin
1212
top_builddir = ../../../..
1313
include $(top_builddir)/src/Makefile.global
1414

15-
OBJS = sem.o system.o
15+
OBJS = system.o
1616

1717
all: SUBSYS.o
1818

src/backend/port/darwin/README

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,11 @@ Radar Bug#s 2767956, 2683531, 2805147. One hopes we can retire this
1616
kluge in the not too distant future.
1717

1818

19-
As of PostgreSQL 7.2 and Mac OS X 10.1, one should expect warnings
19+
As of PostgreSQL 7.3 and Mac OS X 10.1, one should expect warnings
2020
like these while linking the backend:
2121

2222
/usr/bin/ld: warning unused multiple definitions of symbol _system
2323
port/SUBSYS.o definition of _system in section (__TEXT,__text)
2424
/usr/lib/libm.dylib(system.o) unused definition of _system
25-
/usr/bin/ld: warning unused multiple definitions of symbol _semctl
26-
port/SUBSYS.o definition of _semctl in section (__TEXT,__text)
27-
/usr/lib/libm.dylib(semctl.o) unused definition of _semctl
28-
/usr/bin/ld: warning unused multiple definitions of symbol _semget
29-
port/SUBSYS.o definition of _semget in section (__TEXT,__text)
30-
/usr/lib/libm.dylib(semget.o) unused definition of _semget
31-
/usr/bin/ld: warning unused multiple definitions of symbol _semop
32-
port/SUBSYS.o definition of _semop in section (__TEXT,__text)
33-
/usr/lib/libm.dylib(semop.o) unused definition of _semop
3425

35-
The first of these shows us overriding system() per the above-described
36-
hack. The rest show sem.c overriding the nonfunctional semaphore stubs
37-
in libc. (Perhaps sem.c can also be retired someday, but semget support
38-
is reportedly not high on Apple's to-do list.)
26+
These are due to overriding system() per the above-described hack.

0 commit comments

Comments
 (0)