Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita8bf2df

Browse files
committed
Well, the systemtap guys moved the goalposts again: with the latest version,
we *must* generate probes.o or the dtrace probes don't work. Revert ourworkaround for their previous bug. Details athttps://bugzilla.redhat.com/show_bug.cgi?id=557266
1 parent41a4e45 commita8bf2df

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/backend/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.140 2010/01/15 09:18:59 heikki Exp $
8+
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.141 2010/01/20 23:12:03 tgl Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -20,13 +20,13 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
2020

2121
include$(srcdir)/common.mk
2222

23-
# As of9/2009:
24-
#*The probes.o file is necessary for dtrace support on Solaris.
25-
#* OS X's dtrace doesn't use it and doesn't even recognize the -G option.
26-
#* Systemtap'sdtrace will take -G, but it produces a useless empty file.
27-
# So, build probes.oonly onSolaris.
28-
# Thiswill likely need adjustment as other platforms add dtrace support.
29-
ifeq ($(PORTNAME),solaris)
23+
# As of1/2010:
24+
# The probes.o file is necessary for dtrace support on Solaris, and on recent
25+
#versions of systemtap. (Older systemtap releases just produce an empty
26+
#file, but that'sokay.) However, OS X's dtrace doesn't use it and doesn't
27+
#even recognize the -G option.So, build probes.oexcept onDarwin.
28+
# Thismight need adjustment as other platforms add dtrace support.
29+
ifneq ($(PORTNAME),darwin)
3030
ifeq ($(enable_dtrace), yes)
3131
LOCALOBJS += utils/probes.o
3232
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp