Bug#732349: libgc: Add arm64 support
Package: libgc Version: 7.2d-6 Followup-For: Bug #732349 User: debian-...@lists.debian.org Usertag: arm64 This patch expands on the basic autoconf patch in the initial bug report. Aplying that patch configures for arm64 and tries to build for it, but fails due to not actually having internal support: Attached is a full patch which also adds aarch64/arm64 support to the gcconfig file, based on the ubuntu patch at: http://patches.ubuntu.com/libg/libgc/libgc_1:7.2d-5ubuntu2.patch It also enables the pthreads library as otherwise the test target fails. I'm not sure why it aparently builds on other arches without this. Something to do with defaults I guess, but some investigation has made me none the wiser. Please upload this patch as soon as you can as libgc blocks core packages like base-passwd on the arm64 port. I am happy to do an NMU for you if you prefer. -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash diff -Nru libgc-7.2d/debian/changelog libgc-7.2d/debian/changelog --- libgc-7.2d/debian/changelog 2013-12-23 11:49:36.0 + +++ libgc-7.2d/debian/changelog 2014-05-20 19:35:52.0 + @@ -1,3 +1,11 @@ +libgc (1:7.2d-6+arm64) unreleased; urgency=low + + * Non-maintainer upload. + * autoreconf to support new ports + * Add aarch64/arm64 support: gcconfig.h and symbols file + + -- Wookey woo...@debian.org Thu, 17 Apr 2014 16:25:03 + + libgc (1:7.2d-6) unstable; urgency=medium * Run full autoreconf during build diff -Nru libgc-7.2d/debian/control libgc-7.2d/debian/control --- libgc-7.2d/debian/control 2013-12-23 11:28:03.0 + +++ libgc-7.2d/debian/control 2014-05-20 19:46:58.0 + @@ -3,7 +3,8 @@ Section: libs Priority: standard Build-Depends: debhelper (= 9), - autoconf, + dh-autoreconf, + autotools-dev, libatomic-ops-dev (= 7.3~), pkg-config, pkg-kde-tools diff -Nru libgc-7.2d/debian/libgc1c2.symbols libgc-7.2d/debian/libgc1c2.symbols --- libgc-7.2d/debian/libgc1c2.symbols 2013-12-23 11:45:23.0 + +++ libgc-7.2d/debian/libgc1c2.symbols 2014-05-20 19:34:47.0 + @@ -84,7 +84,7 @@ GC_core_malloc@Base 1:7.2d GC_core_malloc_atomic@Base 1:7.2d GC_current_warn_proc@Base 1:7.2d - (arch=!kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_data_start@Base 1:7.2d + (arch=!arm64 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_data_start@Base 1:7.2d GC_debug_change_stubborn@Base 1:7.2d GC_debug_end_stubborn_change@Base 1:7.2d GC_debug_free@Base 1:7.2d @@ -159,7 +159,7 @@ GC_ext_descriptors@Base 1:7.2d GC_extend_size_map@Base 1:7.2d GC_fail_count@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_fault_handler@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_fault_handler@Base 1:7.2d (arch=alpha amd64 i386 ia64 m68k x32)GC_fault_handler_lock@Base 1:7.2d GC_finalize@Base 1:7.2d GC_finalize_all@Base 1:7.2d @@ -168,8 +168,8 @@ GC_finalizer_notifier@Base 1:7.2d GC_find_header@Base 1:7.2d GC_find_leak@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_find_limit@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_find_limit_with_bound@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_find_limit@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_find_limit_with_bound@Base 1:7.2d GC_findleak_delay_free@Base 1:7.2d GC_finish_collection@Base 1:7.2d GC_fo_entries@Base 1:7.2d @@ -265,7 +265,7 @@ GC_init_explicit_typing@Base 1:7.2d GC_init_gcj_malloc@Base 1:7.2d GC_init_headers@Base 1:7.2d - (arch=!kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_init_linux_data_start@Base 1:7.2d + (arch=!arm64 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_init_linux_data_start@Base 1:7.2d GC_init_parallel@Base 1:7.2d GC_init_size_map@Base 1:7.2d GC_init_thread_local@Base 1:7.2d @@ -286,7 +286,7 @@ GC_is_visible@Base 1:7.2d GC_is_visible_print_proc@Base 1:7.2d GC_java_finalization@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_jmp_buf@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_jmp_buf@Base 1:7.2d (arch=armel armhf hurd-i386)GC_key_create@Base 1:7.2d GC_large_alloc_warn_interval@Base 1:7.2d GC_large_alloc_warn_suppressed@Base 1:7.2d @@ -477,7 +477,7 @@ (arch=armel armhf hurd-i386)GC_remove_specific@Base 1:7.2d GC_remove_tmp_roots@Base 1:7.2d (arch=!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386)GC_repeat_read@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_reset_fault_handler@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_reset_fault_handler@Base 1:7.2d GC_reset_finalizer_nested@Base 1:7.2d GC_restart_handler@Base 1:7.2d GC_retry_signals@Base 1:7.2d @@ -515,7 +515,7 @@ GC_set_warn_proc@Base 1:7.2d
Bug#732349: libgc: Add arm64 support
Hi! Wookey woo...@wookware.org writes: It needs updated config.sub/guess autoconf files, updated symbols file and updated private config file This patch is a minimal one, which just uses dh-autotools to updated config.{sub,guess}. It would probably be better to use dh-autoreconf to do a full autotools update. See the Ubuntu patch for an example of this. I didn't do this as there is already a dh_autoreconf override in the rules file, commented out. Maybe there is a good reason for that? Yah. when I imported the ubuntu patch to fix some bug, the ubuntu changelog as well as source didn't contain any rationale for any of the changes so I only kept the ones that were immediately obvious to be right. In the meantime it has ecome clear that enabling the dh-atoreconf is probably the right thing and will likely be part of libgc as soon as I upload it again Christoph -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#732349: libgc: Add arm64 support
Source: libgc Version: 7.2d-5 Severity: normal Tags: patch User: debian-...@lists.debian.org Usertag: arm64 This package does not build for arm64. It needs updated config.sub/guess autoconf files, updated symbols file and updated private config file This patch is a minimal one, which just uses dh-autotools to updated config.{sub,guess}. It would probably be better to use dh-autoreconf to do a full autotools update. See the Ubuntu patch for an example of this. I didn't do this as there is already a dh_autoreconf override in the rules file, commented out. Maybe there is a good reason for that? The ubuntu patch also removes the need for kde-pkg-tools. That is no longer necesssary, but would be a good idea as a BUILD_PROFILE to facilitate bootstrapping. Someone will file a separate bug about that. -- System Information: Debian Release: 7.3 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash diff -Nru libgc-7.2d/debian/changelog libgc-7.2d/debian/changelog --- libgc-7.2d/debian/changelog 2013-07-03 21:14:45.0 +0100 +++ libgc-7.2d/debian/changelog 2013-12-17 04:26:02.0 + @@ -1,3 +1,13 @@ +libgc (1:7.2d-5arm64) unstable; urgency=low + + * Ensure config.{sub,guess} are up to date, for new architectures + + [Matthias Klose] + * Update symbols file for arm64. + * Backport Aarch64 changes. + + -- Wookey woo...@debian.org Tue, 17 Dec 2013 03:36:04 + + libgc (1:7.2d-5) unstable; urgency=low * Add Replaces: libgc1c3 for Ubuntu diff -Nru libgc-7.2d/debian/control libgc-7.2d/debian/control --- libgc-7.2d/debian/control 2013-07-03 21:04:58.0 +0100 +++ libgc-7.2d/debian/control 2013-12-17 03:35:54.0 + @@ -3,7 +3,7 @@ Section: libs Priority: standard Build-Depends: debhelper (= 9), - autoconf, + autoconf, autotools-dev, libatomic-ops-dev (= 7.3~), pkg-config, pkg-kde-tools diff -Nru libgc-7.2d/debian/libgc1c2.symbols libgc-7.2d/debian/libgc1c2.symbols --- libgc-7.2d/debian/libgc1c2.symbols 2013-07-03 21:10:27.0 +0100 +++ libgc-7.2d/debian/libgc1c2.symbols 2013-12-17 04:19:09.0 + @@ -84,7 +84,7 @@ GC_core_malloc@Base 1:7.2d GC_core_malloc_atomic@Base 1:7.2d GC_current_warn_proc@Base 1:7.2d - (arch=!kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_data_start@Base 1:7.2d + (arch=!arm64 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_data_start@Base 1:7.2d GC_debug_change_stubborn@Base 1:7.2d GC_debug_end_stubborn_change@Base 1:7.2d GC_debug_free@Base 1:7.2d @@ -159,7 +159,7 @@ GC_ext_descriptors@Base 1:7.2d GC_extend_size_map@Base 1:7.2d GC_fail_count@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_fault_handler@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_fault_handler@Base 1:7.2d (arch=alpha amd64 i386 ia64 m68k x32)GC_fault_handler_lock@Base 1:7.2d GC_finalize@Base 1:7.2d GC_finalize_all@Base 1:7.2d @@ -168,8 +168,8 @@ GC_finalizer_notifier@Base 1:7.2d GC_find_header@Base 1:7.2d GC_find_leak@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_find_limit@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_find_limit_with_bound@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_find_limit@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_find_limit_with_bound@Base 1:7.2d GC_findleak_delay_free@Base 1:7.2d GC_finish_collection@Base 1:7.2d GC_fo_entries@Base 1:7.2d @@ -265,7 +265,7 @@ GC_init_explicit_typing@Base 1:7.2d GC_init_gcj_malloc@Base 1:7.2d GC_init_headers@Base 1:7.2d - (arch=!kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_init_linux_data_start@Base 1:7.2d + (arch=!arm64 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !s390 !s390x !sparc !sparc64)GC_init_linux_data_start@Base 1:7.2d GC_init_parallel@Base 1:7.2d GC_init_size_map@Base 1:7.2d GC_init_thread_local@Base 1:7.2d @@ -286,7 +286,7 @@ GC_is_visible@Base 1:7.2d GC_is_visible_print_proc@Base 1:7.2d GC_java_finalization@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_jmp_buf@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_jmp_buf@Base 1:7.2d (arch=armel armhf hurd-i386)GC_key_create@Base 1:7.2d GC_large_alloc_warn_interval@Base 1:7.2d GC_large_alloc_warn_suppressed@Base 1:7.2d @@ -477,7 +477,7 @@ (arch=armel armhf hurd-i386)GC_remove_specific@Base 1:7.2d GC_remove_tmp_roots@Base 1:7.2d (arch=!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386)GC_repeat_read@Base 1:7.2d - (arch=!mips !mipsel !s390 !s390x)GC_reset_fault_handler@Base 1:7.2d + (arch=!arm64 !mips !mipsel !s390 !s390x)GC_reset_fault_handler@Base 1:7.2d GC_reset_finalizer_nested@Base 1:7.2d GC_restart_handler@Base 1:7.2d GC_retry_signals@Base 1:7.2d @@ -515,7 +515,7 @@ GC_set_warn_proc@Base 1:7.2d GC_setpagesize@Base 1:7.2d (arch=armel armhf