Re: Bug#745938: the future of sparc in unstable
On 30/04/14 15:19, Patrick Baggett wrote:
> On Wed, Apr 30, 2014 at 8:42 AM, Sébastien Bernard <sbernard@nerim.net> wrote:
> Le 30/04/2014 15:39, Patrick Baggett a écrit :
>> I tried to build the gcc-4.8-4.8.2-20 and the build is broken.
>> libstdc++ and lib64stdc++ are not build, neither are build
>> libgcc1.
>> The last good build (with the missing libraries) is 4.8.2-16.
>> Something broken on -20 and -21.
>>
>> Oh, I see what you're saying. I get lib64stdc++-dev /
>> libstdc++-dev, but not the base lib64stdc++/libstdc++
> Indeed, the last good build seems to be gcc-4.8-4.8.2-19.
> Look at the changelog for the -20 they seems to have done something
> on the sparc that blocks the generation of the libraries.
>
> Is there a direct way to view the changelog and/or diff from the web?
I don't think so. So I grabbed both versions from snapshots.d.o and
compared them with debdiff. Ignoring src/ and debian/patches/ I got the
attached diff. The relevant change for sparc is in the last hunk.
After an initial attempt in 4.8.2-19 which didn't work due to a typo,
version 4.8.2-20 disabled multilib for sparc64. I think maybe
not-building some of the packages you mention could be deliberate and/or
their names have changed.
Possibly the package's build dependencies need to be different now on
sparc and/or sparc64. (e.g. perhaps 32-bit sparc build should no longer
build-depend on lib64gcc1?)
The old packages likely also need to be de-crufted by ftpmaster
("ANAIS"?) or else the whole source package will be considered
"out-of-date" on that arch.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
diff -u gcc-4.8-4.8.2/debian/changelog gcc-4.8-4.8.2/debian/changelog
--- gcc-4.8-4.8.2/debian/changelog
+++ gcc-4.8-4.8.2/debian/changelog
@@ -1,3 +1,16 @@
+gcc-4.8 (4.8.2-20) unstable; urgency=medium
+
+ * Update to SVN 20140423 (r209678) from the gcc-4_8-branch.
+ * Explicitly configure with --disable-multilib on sparc64 when no
+ multilibs are requested (Helmut Grohne). Closes: #743342.
+ * Update powerpcspe patches for the branch (Helmut Grohne). Closes: #743718.
+ * Remove more mudflap left overs. Addresses: #742606.
+ * Adjust common_libs, libraries common to GCC 4.9.
+ * Disable running the testsuite on kfreebsd, hangs the buildds.
+ * Stop build packages built by GCC 4.9.
+
+ -- Matthias Klose <doko@debian.org> Wed, 23 Apr 2014 11:13:07 +0200
+
gcc-4.8 (4.8.2-19) unstable; urgency=medium
* Update to SVN 20140404 (r209122) from the gcc-4_8-branch.
diff -u gcc-4.8-4.8.2/debian/control gcc-4.8-4.8.2/debian/control
--- gcc-4.8-4.8.2/debian/control
+++ gcc-4.8-4.8.2/debian/control
@@ -15,7 +15,7 @@
texinfo (>= 4.3), locales, sharutils,
procps, zlib1g-dev, libantlr-java, python, libffi-dev, fastjar, libmagic-dev, libecj-java (>= 3.3.0-2), zip, libasound2-dev [ !hurd-any !kfreebsd-any], libxtst-dev, libxt-dev, libgtk2.0-dev (>= 2.4.4-2), libart-2.0-dev, libcairo2-dev, g++-4.8 [armel armhf], netbase,
libcloog-isl-dev (>= 0.18), libmpc-dev (>= 1.0), libmpfr-dev (>= 3.0.0-9~), libgmp-dev (>= 2:5.0.1~),
- dejagnu [!m68k !hurd-amd64 !hurd-i386 !hurd-alpha], autogen, realpath (>= 1.9.12), chrpath, lsb-release, quilt
+ dejagnu [!m68k !hurd-amd64 !hurd-i386 !hurd-alpha !kfreebsd-amd64 !kfreebsd-i386 !kfreebsd-alpha], autogen, realpath (>= 1.9.12), chrpath, lsb-release, quilt
Build-Depends-Indep: doxygen (>= 1.7.2), graphviz (>= 2.2), ghostscript, texlive-latex-base, xsltproc, libxml2-utils, docbook-xsl-ns,
Homepage: http://gcc.gnu.org/
XS-Vcs-Browser: http://svn.debian.org/viewsvn/gcccvs/branches/sid/gcc-4.8/
@@ -1201,107 +1201,6 @@
On architectures with multilib support, the package contains files
and dependencies for the non-default multilib architecture(s).
-Package: libgo4
-Section: libs
-Architecture: any
-Multi-Arch: same
-Pre-Depends: multiarch-support
-Provides: libgo4-armel [armel], libgo4-armhf [armhf]
-Priority: optional
-Depends: gcc-4.8-base (= ${gcc:Version}), ${shlibs:Depends}, ${misc:Depends}
-Replaces: libgo3
-Description: Runtime library for GNU Go applications
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: libgo4-dbg
-Section: debug
-Architecture: any
-Multi-Arch: same
-Provides: libgo4-dbg-armel [armel], libgo4-dbg-armhf [armhf]
-Priority: extra
-Depends: gcc-4.8-base (= ${gcc:Version}), libgo4 (= ${gcc:Version}), ${misc:Depends}
-Description: Runtime library for GNU Go applications (debug symbols)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: lib64go4
-Section: libs
-Architecture: i386 powerpc sparc s390 mips mipsel mipsn32 mipsn32el x32
-Priority: optional
-Depends: gcc-4.8-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
-Replaces: lib64go3
-Description: Runtime library for GNU Go applications (64bit)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: lib64go4-dbg
-Section: debug
-Architecture: i386 powerpc sparc s390 mips mipsel mipsn32 mipsn32el x32
-Priority: extra
-Depends: gcc-4.8-base (= ${gcc:Version}), lib64go4 (= ${gcc:Version}), ${misc:Depends}
-Description: Runtime library for GNU Go applications (64bit debug symbols)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: lib32go4
-Section: libs
-Architecture: amd64 ppc64 kfreebsd-amd64 s390x sparc64 x32 mipsn32 mipsn32el mips64 mips64el
-Priority: optional
-Depends: gcc-4.8-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
-Conflicts: ${confl:lib32}
-Replaces: lib32go3
-Description: Runtime library for GNU Go applications (32bit)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: lib32go4-dbg
-Section: debug
-Architecture: amd64 ppc64 kfreebsd-amd64 s390x sparc64 x32 mipsn32 mipsn32el mips64 mips64el
-Priority: extra
-Depends: gcc-4.8-base (= ${gcc:Version}), lib32go4 (= ${gcc:Version}), ${misc:Depends}
-Description: Runtime library for GNU Go applications (32 bit debug symbols)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: libn32go4
-Section: libs
-Architecture: mips mipsel mips64 mips64el
-Priority: optional
-Depends: gcc-4.8-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
-Replaces: libn32go3
-Description: Runtime library for GNU Go applications (n32)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: libn32go4-dbg
-Section: debug
-Architecture: mips mipsel mips64 mips64el
-Priority: extra
-Depends: gcc-4.8-base (= ${gcc:Version}), libn32go4 (= ${gcc:Version}), ${misc:Depends}
-Description: Runtime library for GNU Go applications (n32 debug symbols)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: libx32go4
-Section: libs
-Architecture: amd64 i386
-Priority: optional
-Depends: gcc-4.8-base (= ${gcc:Version}), ${dep:libcbiarch}, ${shlibs:Depends}, ${misc:Depends}
-Replaces: libx32go3
-Description: Runtime library for GNU Go applications (x32)
- Library needed for GNU Go applications linked against the
- shared library.
-
-Package: libx32go4-dbg
-Section: debug
-Architecture: amd64 i386
-Priority: extra
-Depends: gcc-4.8-base (= ${gcc:Version}), libx32go4 (= ${gcc:Version}), ${misc:Depends}
-Description: Runtime library for GNU Go applications (x32 debug symbols)
- Library needed for GNU Go applications linked against the
- shared library.
-
Package: gcj-4.8
Section: java
Architecture: any
diff -u gcc-4.8-4.8.2/debian/rules.parameters gcc-4.8-4.8.2/debian/rules.parameters
--- gcc-4.8-4.8.2/debian/rules.parameters
+++ gcc-4.8-4.8.2/debian/rules.parameters
@@ -2,14 +2,14 @@
GCC_VERSION := 4.8.2
NEXT_GCC_VERSION := 4.8.3
BASE_VERSION := 4.8
-SOURCE_VERSION := 4.8.2-19
-DEB_VERSION := 4.8.2-19
-DEB_EVERSION := 1:4.8.2-19
-DEB_GDC_VERSION := 4.8.2-19
+SOURCE_VERSION := 4.8.2-20
+DEB_VERSION := 4.8.2-20
+DEB_EVERSION := 1:4.8.2-20
+DEB_GDC_VERSION := 4.8.2-20
DEB_SOVERSION := 4.8
DEB_SOEVERSION := 1:4.8
DEB_LIBGCC_SOVERSION :=
-DEB_LIBGCC_VERSION := 1:4.8.2-19
+DEB_LIBGCC_VERSION := 1:4.8.2-20
DEB_STDCXX_SOVERSION := 4.8
DEB_GCJ_SOVERSION := 4.8
PKG_GCJ_EXT := 14
diff -u gcc-4.8-4.8.2/debian/rules.patch gcc-4.8-4.8.2/debian/rules.patch
--- gcc-4.8-4.8.2/debian/rules.patch
+++ gcc-4.8-4.8.2/debian/rules.patch
@@ -75,7 +75,6 @@
$(if $(with_linaro_branch),,arm-sanitizer) \
libgo-setcontext-config \
pr57211 \
- gcc-auto-build \
kfreebsd-unwind \
libgcc-no-limits-h \
kfreebsd-boehm-gc \
@@ -90,11 +89,13 @@
$(if $(with_linaro_branch),aarch64-call-frame-info) \
$(if $(with_linaro_branch),aarch64-abi-fix) \
fix-ffi_call_VFP-with-no-VFP-argument \
- pr58595 \
$(if $(with_linaro_branch),pr60034) \
pr60609 \
gcc-rs6000-update \
+# FIXME: still necessary for cross building the native compiler?
+# gcc-auto-build \
+
gdb_depends := $(shell dpkg -s gdb | grep '^Depends:.*libpython3')
ifneq (,$(findstring libpython3,$(gdb_depends)))
debian_patches += libstdc++-python3
diff -u gcc-4.8-4.8.2/debian/rules2 gcc-4.8-4.8.2/debian/rules2
--- gcc-4.8-4.8.2/debian/rules2
+++ gcc-4.8-4.8.2/debian/rules2
@@ -334,7 +334,7 @@
endif
endif
-ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), x86_64-linux-gnu x86_64-linux-gnux32 x86_64-kfreebsd-gnu s390x-linux-gnu sparc64-linux-gnuA))
+ifneq (,$(filter $(DEB_TARGET_GNU_TYPE), x86_64-linux-gnu x86_64-linux-gnux32 x86_64-kfreebsd-gnu s390x-linux-gnu sparc64-linux-gnu))
ifneq ($(biarch32),yes)
CONFARGS += --disable-multilib
endif
Reply to: