[gcc-7] 135/354: Index: debian/changelog =================================================================== --- debian/changelog (revision 9338) +++ debian/changelog (working copy) @@ -6, 6 +6, 7 @@ PR target/79749 (sparc), PR target/79261 (PPC), PR fortran/78474, PR fortran/78331. * gcj-6: Fix ecj1 symlink on i386. Closes: #856903. + * Fix libcc1.so symlink for cross compilers. Addresses: #856875.
Ximin Luo
infinity0 at debian.org
Thu Nov 23 15:50:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository gcc-7.
commit 5208b04257e088231e21815632272833e718dbd2
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Mon Mar 6 13:57:54 2017 +0000
Index: debian/changelog
===================================================================
--- debian/changelog (revision 9338)
+++ debian/changelog (working copy)
@@ -6,6 +6,7 @@
PR target/79749 (sparc), PR target/79261 (PPC), PR fortran/78474,
PR fortran/78331.
* gcj-6: Fix ecj1 symlink on i386. Closes: #856903.
+ * Fix libcc1.so symlink for cross compilers. Addresses: #856875.
-- Matthias Klose <doko at debian.org> Sun, 05 Mar 2017 11:37:13 +0100
git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9340 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 1 +
debian/rules.d/binary-gcc.mk | 7 ++++---
debian/rules.defs | 13 +++++++++----
3 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c3704bd..a4512c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
gcc-7 (7-20170303-1) UNRELEASED; urgency=medium
* Bump binutils version requirement to 2.28.
+ * Fix libcc1.so symlink for cross compilers. Addresses: #856875.
-- Matthias Klose <doko at debian.org> Fri, 03 Mar 2017 10:14:38 +0100
diff --git a/debian/rules.d/binary-gcc.mk b/debian/rules.d/binary-gcc.mk
index ef5f840..4ee0084 100644
--- a/debian/rules.d/binary-gcc.mk
+++ b/debian/rules.d/binary-gcc.mk
@@ -42,7 +42,7 @@ files_gcc = \
$(shell test -e $(d)/$(gcc_lib_dir)/SYSCALLS.c.X \
&& echo $(gcc_lib_dir)/SYSCALLS.c.X)
-ifeq ($(with_cc1),yes)
+ifeq ($(with_libcc1_plugin),yes)
files_gcc += \
$(gcc_lib_dir)/plugin/libc[cp]1plugin.so{,.0,.0.0.0}
endif
@@ -127,9 +127,10 @@ ifeq ($(with_mpx),yes)
$(d_gcc)/$(docdir)/$(p_xbase)/mpx/changelog
endif
ifeq ($(with_cc1),yes)
- rm -f $(d)/$(usr_lib)/libcc1.so
+ rm -f $(d)/$(PF)/lib/$(DEB_HOST_MULTIARCH)/libcc1.so
dh_link -p$(p_gcc) \
- /$(usr_lib)/libcc1.so.$(CC1_SONAME) /$(gcc_lib_dir)/libcc1.so
+ /$(PF)/lib/$(DEB_HOST_MULTIARCH)/libcc1.so.$(CC1_SONAME) \
+ /$(gcc_lib_dir)/libcc1.so
endif
$(dh_compat2) dh_movefiles -p$(p_gcc) $(files_gcc)
diff --git a/debian/rules.defs b/debian/rules.defs
index 5d86994..a11d999 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -610,15 +610,20 @@ endif
with_cc1 := yes
with_cc1 := $(call envfilt, cc1, , , $(with_cc1))
+
ifeq ($(with_cc1),yes)
- ifneq ($(DEB_CROSS),yes)
- ifeq ($(with_common_libs),yes)
- with_libcc1 := yes
- endif
+ ifeq ($(with_common_libs),yes)
+ with_libcc1 := yes
endif
+ with_libcc1_plugin := yes
endif
+
ifneq (,$(with_rtlibs))
with_libcc1 := disabled for rtlibs stage
+ with_libcc1_plugin := disabled for rtlibs stage
+endif
+ifneq (,$(findstring build-cross, $(build_type)))
+ with_libcc1 := disabled for cross builds
endif
# Build all packages needed for C development
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git
More information about the Reproducible-commits
mailing list