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
a304b136
Unverified
Kaydet (Commit)
a304b136
authored
Nis 12, 2019
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
Nis 12, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-36618: Don't add -fmax-type-align flag to old clang (GH-12811)
üst
1e829540
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
2019-04-12-19-49-10.bpo-36618.gcI9iq.rst
...EWS.d/next/Build/2019-04-12-19-49-10.bpo-36618.gcI9iq.rst
+2
-2
configure
configure
+7
-2
configure.ac
configure.ac
+7
-2
No files found.
Misc/NEWS.d/next/Build/2019-04-12-19-49-10.bpo-36618.gcI9iq.rst
Dosyayı görüntüle @
a304b136
...
...
@@ -4,5 +4,5 @@ alignment on 16 bytes by default and so uses MOVAPS instruction which can
lead to segmentation fault. Instruct clang that Python is limited to
alignemnt on 8 bytes to use MOVUPS instruction instead: slower but don't
trigger a SIGSEGV if the memory is not aligned on 16 bytes. Sadly, the flag
must be
expected to ``CFLAGS`` and not just ``CFLAGS_NODIST``, since third
party C
extensions can have the same issue.
must be
added to ``CFLAGS`` and not just ``CFLAGS_NODIST``, since third party C
extensions can have the same issue.
configure
Dosyayı görüntüle @
a304b136
...
...
@@ -6889,9 +6889,14 @@ then
# instead: slower but don't trigger a SIGSEGV if the memory is not aligned
# on 16 bytes.
#
# Sadly, the flag must be
expect
ed to CFLAGS and not just CFLAGS_NODIST,
# Sadly, the flag must be
add
ed to CFLAGS and not just CFLAGS_NODIST,
# since third party C extensions can have the same issue.
CFLAGS
=
"
$CFLAGS
-fmax-type-align=8"
#
# Check if -fmax-type-align flag is supported (it's not supported by old
# clang versions):
if
"
$CC
"
-v
--help
2>/dev/null |grep
--
-fmax-type-align
>
/dev/null
;
then
CFLAGS
=
"
$CFLAGS
-fmax-type-align=8"
fi
fi
...
...
configure.ac
Dosyayı görüntüle @
a304b136
...
...
@@ -1540,9 +1540,14 @@ then
# instead: slower but don't trigger a SIGSEGV if the memory is not aligned
# on 16 bytes.
#
# Sadly, the flag must be
expect
ed to CFLAGS and not just CFLAGS_NODIST,
# Sadly, the flag must be
add
ed to CFLAGS and not just CFLAGS_NODIST,
# since third party C extensions can have the same issue.
CFLAGS="$CFLAGS -fmax-type-align=8"
#
# Check if -fmax-type-align flag is supported (it's not supported by old
# clang versions):
if "$CC" -v --help 2>/dev/null |grep -- -fmax-type-align > /dev/null; then
CFLAGS="$CFLAGS -fmax-type-align=8"
fi
fi
AC_SUBST(BASECFLAGS)
...
...
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