Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5c8f5376
Kaydet (Commit)
5c8f5376
authored
Ock 24, 2019
tarafından
Jakub Kulík
Kaydeden (comit)
Łukasz Langa
Ock 24, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35520: Fix build with dtrace support on certain systems. (#11194)
üst
fd628cf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
Makefile.pre.in
Makefile.pre.in
+8
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
No files found.
Makefile.pre.in
Dosyayı görüntüle @
5c8f5376
...
...
@@ -451,8 +451,7 @@ LIBRARY_OBJS= \
# On some systems, object files that reference DTrace probes need to be modified
# in-place by dtrace(1).
DTRACE_DEPS
=
\
Python/ceval.o
# XXX: should gcmodule, etc. be here, too?
Python/ceval.o Python/import.o Modules/gcmodule.o
#########################################################################
# Rules
...
...
@@ -628,7 +627,7 @@ $(LIBRARY): $(LIBRARY_OBJS)
-
rm
-f
$@
$(AR)
$(ARFLAGS)
$@
$(LIBRARY_OBJS)
libpython$(LDVERSION).so
:
$(LIBRARY_OBJS)
libpython$(LDVERSION).so
:
$(LIBRARY_OBJS)
$(DTRACE_OBJS)
if
test
$(INSTSONAME)
!=
$(LDLIBRARY)
;
then
\
$(BLDSHARED)
-Wl
,-h
$(INSTSONAME)
-o
$(INSTSONAME)
$(LIBRARY_OBJS)
$(MODLIBS)
$(SHLIBS)
$(LIBC)
$(LIBM)
;
\
$(LN)
-f
$(INSTSONAME)
$@
;
\
...
...
@@ -640,7 +639,7 @@ libpython3.so: libpython$(LDVERSION).so
$(BLDSHARED)
$(NO_AS_NEEDED)
-o
$@
-Wl
,-h
$@
$^
libpython$(LDVERSION).dylib
:
$(LIBRARY_OBJS)
$(CC)
-dynamiclib
-Wl
,-single_module
$(PY_CORE_LDFLAGS)
-undefined
dynamic_lookup
-Wl
,-install_name,
$(prefix)
/lib/libpython
$(LDVERSION)
.dylib
-Wl
,-compatibility_version,
$(VERSION)
-Wl
,-current_version,
$(VERSION)
-o
$@
$(LIBRARY_OBJS)
$(SHLIBS)
$(LIBC)
$(LIBM)
;
\
$(CC)
-dynamiclib
-Wl
,-single_module
$(PY_CORE_LDFLAGS)
-undefined
dynamic_lookup
-Wl
,-install_name,
$(prefix)
/lib/libpython
$(LDVERSION)
.dylib
-Wl
,-compatibility_version,
$(VERSION)
-Wl
,-current_version,
$(VERSION)
-o
$@
$(LIBRARY_OBJS)
$(
DTRACE_OBJS)
$(
SHLIBS)
$(LIBC)
$(LIBM)
;
\
libpython$(VERSION).sl
:
$(LIBRARY_OBJS)
...
...
@@ -752,6 +751,7 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
$(PYTHON_OBJS)
\
$(MODULE_OBJS)
\
$(MODOBJS)
\
$(DTRACE_OBJS)
\
$(srcdir)/Modules/getbuildinfo.c
$(CC)
-c
$(PY_CORE_CFLAGS)
\
-DGITVERSION
=
"
\"
`
LC_ALL
=
C
$(GITVERSION)
`
\"
"
\
...
...
@@ -954,6 +954,10 @@ Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
sed
's/PYTHON_/PyDTrace_/'
$@
>
$@
.tmp
mv
$@
.tmp
$@
Python/ceval.o
:
Include/pydtrace.h
Python/import.o
:
Include/pydtrace.h
Modules/gcmodule.o
:
Include/pydtrace.h
Python/pydtrace.o
:
$(srcdir)/Include/pydtrace.d $(DTRACE_DEPS)
$(DTRACE)
$(DFLAGS)
-o
$@
-G
-s
$<
$(DTRACE_DEPS)
...
...
configure
Dosyayı görüntüle @
5c8f5376
...
...
@@ -11352,7 +11352,7 @@ if ${ac_cv_dtrace_link+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_cv_dtrace_link=no
echo
'BEGIN'
>
conftest.d
echo 'BEGIN
{}
' > conftest.d
"$DTRACE" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
ac_cv_dtrace_link=yes
...
...
configure.ac
Dosyayı görüntüle @
5c8f5376
...
...
@@ -3429,7 +3429,7 @@ then
AC_CACHE_CHECK([whether DTrace probes require linking],
[ac_cv_dtrace_link], [dnl
ac_cv_dtrace_link=no
echo 'BEGIN' > conftest.d
echo 'BEGIN
{}
' > conftest.d
"$DTRACE" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
ac_cv_dtrace_link=yes
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment