~ubuntu-branches/ubuntu/vivid/gccgo-5/vivid-updates

« back to all changes in this revision

Viewing changes to debian/rules.defs

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-02-28 20:31:18 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20150228203118-f8i1jc77nv6u5g2m
Tags: 5-20150228-1ubuntu1
* Update to SVN 20150228.
* Enable libsanitizer for AArch64 and POWERPC LE (asan, ubsan).
* Revert the fix for PR65150 on armel and armhf to restore bootstrap.
* Don't strip the libgo library, or some things won't work as documented,
  like runtime.Callers. Still keep the -dbg packages and check if some
  debug information can be stripped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1038
1038
# asan / sanitizer --------------------
1039
1039
with_asan :=
1040
1040
with_asan := $(call envfilt, asan, , , $(with_asan))
1041
 
asan_archs = amd64 armel armhf i386 powerpc ppc64 x32 sparc sparc64
 
1041
asan_archs = amd64 armel armhf arm64 i386 powerpc ppc64 ppc64el x32 sparc sparc64
1042
1042
ifneq (,$(filter $(DEB_TARGET_ARCH),$(asan_archs)))
1043
1043
  with_asan := yes
1044
1044
endif
1064
1064
# ubsan / sanitizer --------------------
1065
1065
with_ubsan :=
1066
1066
with_ubsan := $(call envfilt, ubsan, , , $(with_ubsan))
1067
 
ubsan_archs = amd64 armel armhf i386 powerpc ppc64 x32 sparc sparc64
 
1067
ubsan_archs = amd64 armel armhf arm64 i386 powerpc ppc64 ppc64el x32 sparc sparc64
1068
1068
ifneq (,$(filter $(DEB_TARGET_ARCH),$(ubsan_archs)))
1069
1069
  with_ubsan := yes
1070
1070
endif
1071
1071
 
1072
 
# not yet completely ported, and causing kernel crashes running the tests
1073
 
ifneq (,$(filter $(DEB_TARGET_ARCH),powerpc ppc64 ppc64el))
1074
 
  ifneq (,$(filter $(distrelease),squeeze wheezy jessie sid precise trusty utopic vivid))
1075
 
    empty_sanitizer_packages := yes
1076
 
  endif
1077
 
endif
1078
 
 
1079
1072
# libvtv --------------------
1080
1073
with_vtv :=
1081
1074
with_vtv := $(call envfilt, vtv, , , $(with_vtv))