Remove Blackfin architecture
cover Remove Blackfin architecture
Hello,
The Blackfin architecture has for a long time been complicated to maintain, with poor support in upstream binutils/gcc. As of April 2018, the Blackfin architecture has been dropped from the upstream Linux kernel [1]. Also, the Analog Device engineer who used to be in touch with the Buildroot community also privately said we should drop the support for this architecture, which Analog Devices is no longer using, promoting and maintaining.
Therefore, it is time to remove it from Buildroot, and this patch series does exactly this.
It starts by removing the autobuilder toolchain configuration, and the only defconfig that was using Blackfin. Then it removes the Blackfin architecture option itself. The rest of the series is about removing Blackfin logic everywhere else in the toolchain and packages, including removing Blackfin-specific patches.
Thomas
Thomas Petazzoni (23):
support/config-fragments/autobuild: remove Blackfin configuration configs/gdb_bfin_bf512: remove defconfig
arch: remove Blackfin architecture
arch: drop BR2_BINFMT_FLAT_SEP_DATA support boot/uboot: remove Blackfin related code
linux: remove Blackfin related code
toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code
gcc: remove Blackfin patches
binutils: remove Blackfin patches
package: remove Blackfin related code
cairo: remove Blackfin related patch
ffmpeg: remove Blackfin related patch
gdb: remove Blackfin patch
gdb/7.10: remove Blackfin patch
graphite2: remove Blackfin related patch
icu: remove Blackfin patch
libselinux: remove Blackfin patch
libpng: remove Blackfin patch
libsemanage: remove Blackfin patch
libsepol: remove Blackfin patch
p7zip: remove Blackfin patch
wayland: remove Blackfin patch
php: remove Blackfin patch
.gitlab-ci.yml | 1 -
Config.in.legacy | 15 +
DEVELOPERS | 1 -
Makefile | 1 -
arch/Config.in | 28 +-
arch/Config.in.bfin | 102 -
board/gdb/bfin-bf512/linux.config | 87 -
board/gdb/bfin-bf512/readme.txt | 11 -
board/gdb/post-build.sh | 4 -
boot/uboot/Config.in | 4 -
boot/uboot/uboot.mk | 4 -
configs/gdb_bfin_bf512_defconfig | 33 -
linux/Config.in | 2 +-
package/Makefile.in | 6 -
package/acpitool/Config.in | 2 -
package/alsa-lib/alsa-lib.mk | 6 -
package/armadillo/Config.in | 2 -
package/atest/Config.in | 2 -
package/avrdude/Config.in | 2 -
package/binutils/2.27/0905-bfin-rofixup-bug.patch | 21 -
.../binutils/2.28.1/0905-bfin-rofixup-bug.patch | 21 -
...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 -
...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 -
package/binutils/binutils.mk | 6 -
package/busybox/Config.in | 2 -
package/cairo/0001-blackfin-build-fix.patch | 55 -
...ork-build.patch => 0001-fix-nofork-build.patch} | 0
...-49-build.patch => 0002-fix-gcc-49-build.patch} | 0
package/clapack/Config.in | 4 -
package/dvblast/Config.in | 2 -
package/elfutils/Config.in | 4 -
.../ffmpeg/0001-bfin-disable-optimization.patch | 26 -
...g-pthreads.patch => 0001-ffmpeg-pthreads.patch} | 0
...bgcc-mkmap-symver-support-skip_underscore.patch | 60 -
...ig-bfin-use-the-generic-linker-version-in.patch | 1944 --------------------
...-fix-DWARF-compilation-with-FDPIC-targets.patch | 59 -
package/gcc/6.4.0/895-bfin-define-REENTRANT.patch | 17 -
package/gcc/Config.in.host | 7 -
package/gcc/gcc-final/gcc-final.mk | 4 -
package/gcc/gcc.mk | 41 -
.../0006-Revert-sim-unify-SIM_CPU-definition.patch | 372 ----
...-Sync-proc_service-definition-with-GLIBC.patch} | 0
...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 0
...fine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} | 0
...0009-Fix-gdbserver-build-on-uClibc-noMMU.patch} | 0
...gidefs.h.patch => 0010-use-asm-sgidefs.h.patch} | 0
...-Sync-proc_service-definition-with-GLIBC.patch} | 0
...lit-out-common-mach-model-defines-into-ar.patch | 155 --
...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 0
...fine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} | 0
...0004-Fix-gdbserver-build-on-uClibc-noMMU.patch} | 0
...gidefs.h.patch => 0005-use-asm-sgidefs.h.patch} | 0
package/gdb/Config.in | 1 -
package/gdb/gdb.mk | 8 -
package/gptfdisk/Config.in | 1 -
.../graphite2/0001-disable-double-promotion.patch | 23 -
package/gstreamer/gst-plugins-bad/Config.in | 1 -
package/gstreamer1/gst1-plugins-good/Config.in | 2 -
.../icu/0003-detect-compiler-symbol-prefix.patch | 116 --
....patch => 0003-link-icudata-as-data-only.patch} | 0
...h => 0004-fix-static-linking-with-icu-uc.patch} | 0
package/iprutils/Config.in | 1 -
package/leveldb/Config.in | 3 -
package/libbsd/Config.in | 1 -
package/libev/Config.in | 2 -
package/libfreeimage/Config.in | 3 -
package/libmicrohttpd/libmicrohttpd.mk | 9 +-
package/libnspr/Config.in | 2 +-
...-prefix-to-symbol-names-in-version-script.patch | 55 -
...-musl-build.patch => 0001-fix-musl-build.patch} | 0
.../0001-workaround-blackfin-issue.patch | 24 -
...uild-follow-standard-semantics-for-DESTD.patch} | 0
...elative.patch => 0003-revert-ln-relative.patch} | 0
...uild-follow-standard-semantics-for-DESTD.patch} | 0
.../0001-workaround-blackfin-issue.patch | 25 -
...c-only.patch => 0002-support-static-only.patch} | 0
.../libsepol/0002-workaround-blackfin-issue.patch | 26 -
...elative.patch => 0003-revert-ln-relative.patch} | 0
package/libvpx/Config.in | 2 -
package/libxslt/libxslt.mk | 6 -
package/linux-tools/Config.in | 1 -
package/lua-ev/Config.in | 1 -
package/micropython/Config.in | 3 -
package/mplayer/Config.in | 2 +-
package/ncurses/Config.in | 2 -
package/p7zip/0001-bfin.patch | 19 -
package/pciutils/Config.in | 2 -
...ch => 0006-Call-apxs-with-correct-prefix.patch} | 0
package/php/0006-avoid-bfin-gcc-segfault.patch | 17 -
....c-build-empty-php_load_zend_extension_c.patch} | 0
package/poco/Config.in | 4 +-
package/powertop/Config.in | 2 -
package/ptpd2/ptpd2.mk | 6 -
package/qemu/qemu.mk | 1 -
package/riemann-c-client/riemann-c-client.mk | 5 -
package/ruby/ruby.mk | 7 -
package/sg3_utils/Config.in | 2 -
package/tvheadend/Config.in | 2 +-
package/uclibc/Config.in | 3 +-
package/uclibc/uclibc.mk | 8 -
...hitectures-with-non-empty-__USER_LABEL_PR.patch | 57 -
...01-configure-add-option-to-disable-tests.patch} | 0
package/xenomai/Config.in | 2 +-
.../config-fragments/autobuild/br-bfin-full.config | 12 -
.../autobuild/toolchain-configs.csv | 3 -
toolchain/Config.in | 1 -
toolchain/toolchain-buildroot/Config.in | 2 +-
utils/test-pkg | 2 +-
108 files changed, 30 insertions(+), 3622 deletions(-)
delete mode 100644 arch/Config.in.bfin
delete mode 100644 board/gdb/bfin-bf512/linux.config
delete mode 100644 board/gdb/bfin-bf512/readme.txt
delete mode 100755 board/gdb/post-build.sh
delete mode 100644 configs/gdb_bfin_bf512_defconfig
delete mode 100644 package/binutils/2.27/0905-bfin-rofixup-bug.patch
delete mode 100644 package/binutils/2.28.1/0905-bfin-rofixup-bug.patch
delete mode 100644 package/binutils/2.29.1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
delete mode 100644 package/binutils/2.30/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
delete mode 100644 package/cairo/0001-blackfin-build-fix.patch
rename package/cairo/{0003-fix-nofork-build.patch => 0001-fix-nofork-build.patch} (100%)
rename package/cairo/{0005-fix-gcc-49-build.patch => 0002-fix-gcc-49-build.patch} (100%)
delete mode 100644 package/ffmpeg/0001-bfin-disable-optimization.patch
rename package/ffmpeg/{0002-ffmpeg-pthreads.patch => 0001-ffmpeg-pthreads.patch} (100%)
delete mode 100644 package/gcc/6.4.0/892-libgcc-mkmap-symver-support-skip_underscore.patch
delete mode 100644 package/gcc/6.4.0/893-libgcc-config-bfin-use-the-generic-linker-version-in.patch
delete mode 100644 package/gcc/6.4.0/894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
delete mode 100644 package/gcc/6.4.0/895-bfin-define-REENTRANT.patch
delete mode 100644 package/gdb/7.10.1/0006-Revert-sim-unify-SIM_CPU-definition.patch
rename package/gdb/7.10.1/{0007-Sync-proc_service-definition-with-GLIBC.patch => 0006-Sync-proc_service-definition-with-GLIBC.patch} (100%)
rename package/gdb/7.10.1/{0008-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0007-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (100%)
rename package/gdb/7.10.1/{0009-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch => 0008-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} (100%)
rename package/gdb/7.10.1/{0010-Fix-gdbserver-build-on-uClibc-noMMU.patch => 0009-Fix-gdbserver-build-on-uClibc-noMMU.patch} (100%)
rename package/gdb/7.10.1/{0011-use-asm-sgidefs.h.patch => 0010-use-asm-sgidefs.h.patch} (100%)
rename package/gdb/7.11.1/{0002-Sync-proc_service-definition-with-GLIBC.patch => 0001-Sync-proc_service-definition-with-GLIBC.patch} (100%)
delete mode 100644 package/gdb/7.11.1/0001-sim-bfin-split-out-common-mach-model-defines-into-ar.patch
rename package/gdb/7.11.1/{0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (100%)
rename package/gdb/7.11.1/{0004-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch => 0003-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} (100%)
rename package/gdb/7.11.1/{0005-Fix-gdbserver-build-on-uClibc-noMMU.patch => 0004-Fix-gdbserver-build-on-uClibc-noMMU.patch} (100%)
rename package/gdb/7.11.1/{0006-use-asm-sgidefs.h.patch => 0005-use-asm-sgidefs.h.patch} (100%)
delete mode 100644 package/graphite2/0001-disable-double-promotion.patch
delete mode 100644 package/icu/0003-detect-compiler-symbol-prefix.patch
rename package/icu/{0004-link-icudata-as-data-only.patch => 0003-link-icudata-as-data-only.patch} (100%)
rename package/icu/{0005-fix-static-linking-with-icu-uc.patch => 0004-fix-static-linking-with-icu-uc.patch} (100%)
delete mode 100644 package/libpng/0002-Don-t-append-prefix-to-symbol-names-in-version-script.patch
rename package/libselinux/{0002-fix-musl-build.patch => 0001-fix-musl-build.patch} (100%)
delete mode 100644 package/libselinux/0001-workaround-blackfin-issue.patch
rename package/libselinux/{0003-libselinux-build-follow-standard-semantics-for-DESTD.patch => 0002-libselinux-build-follow-standard-semantics-for-DESTD.patch} (100%)
rename package/libselinux/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%)
rename package/libsemanage/{0002-libsemanage-build-follow-standard-semantics-for-DESTD.patch => 0001-libsemanage-build-follow-standard-semantics-for-DESTD.patch} (100%)
delete mode 100644 package/libsemanage/0001-workaround-blackfin-issue.patch
rename package/libsepol/{0003-support-static-only.patch => 0002-support-static-only.patch} (100%)
delete mode 100644 package/libsepol/0002-workaround-blackfin-issue.patch
rename package/libsepol/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%)
delete mode 100644 package/p7zip/0001-bfin.patch
rename package/php/{0007-Call-apxs-with-correct-prefix.patch => 0006-Call-apxs-with-correct-prefix.patch} (100%)
delete mode 100644 package/php/0006-avoid-bfin-gcc-segfault.patch
rename package/php/{0008-main-php_ini.c-build-empty-php_load_zend_extension_c.patch => 0007-main-php_ini.c-build-empty-php_load_zend_extension_c.patch} (100%)
delete mode 100644 package/wayland/0001-Support-architectures-with-non-empty-__USER_LABEL_PR.patch
rename package/wayland/{0002-configure-add-option-to-disable-tests.patch => 0001-configure-add-option-to-disable-tests.patch} (100%)
delete mode 100644 support/config-fragments/autobuild/br-bfin-full.configSignature · 1 line
2.14.3
PATCH 1/23 support/config-fragments/autobuild: remove Blackfin configuration
In preparation for the removal of the Blackfin architecture, drop the autobuilder toolchain configuration that was testing Blackfin.
--- support/config-fragments/autobuild/br-bfin-full.config | 12 ------------ support/config-fragments/autobuild/toolchain-configs.csv | 3 --- utils/test-pkg | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 support/config-fragments/autobuild/br-bfin-full.config
support/config-fragments/autobuild/br-bfin-full.config deleted +0 -12
@@ -1,12 +0,0 @@ -BR2_bfin=y -BR2_bf512=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y -BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y -BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/br-bfin-full-2017.11-rc1.tar.bz2" -BR2_TOOLCHAIN_EXTERNAL_GCC_6=y -BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13=y -BR2_TOOLCHAIN_EXTERNAL_LOCALE=y -# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set -# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL is not set -BR2_TOOLCHAIN_EXTERNAL_CXX=y
support/config-fragments/autobuild/toolchain-configs.csv +0 -3
@@ -15,9 +15,6 @@ support/config-fragments/autobuild/br-arm-cortex-m4-full.config,x86_64 # Test a musl toolchain support/config-fragments/autobuild/br-x86-64-musl.config,x86_64 -# Test a noMMU toolchain with dynamic library support -support/config-fragments/autobuild/br-bfin-full.config,x86_64 - # Test a MMU toolchain without dynamic library support support/config-fragments/autobuild/br-arm-full-static.config,x86_64
utils/test-pkg +1 -1
@@ -75,7 +75,7 @@ main() { # Default mode is to test the N first toolchains, which have been # chosen to be a good selection of toolchains. if [ ${mode} -eq 0 ] ; then - number=7 + number=6 elif [ ${mode} -gt 1 ] ; then printf "error: --all, --number and --random are mutually exclusive\n" >&2; exit 1 fi
Signature · 1 line
2.14.3
PATCH 1/23 support/config-fragments/autobuild: remove Blackfin configuration
Thomas, All,
On 2018-04-05 21:50 +0200, Thomas Petazzoni spake thusly:
Quoted 4 lines
In preparation for the removal of the Blackfin architecture, drop the autobuilder toolchain configuration that was testing Blackfin.
Signed-off-by Thomas Petazzoni <[email protected]>
[--SNIP--]
support/config-fragments/autobuild/toolchain-configs.csv support/config-fragments/autobuild/br-arm-cortex-m4-full.config,x86_64 · line 19
Quoted 10 lines
support/config-fragments/autobuild/toolchain-configs.csv +0
-2@@ -15,9 +15,6 @@ support/config-fragments/autobuild/br-arm-cortex-m4-full.config,x86_64 # Test a musl toolchain support/config-fragments/autobuild/br-x86-64-musl.config,x86_64 -# Test a noMMU toolchain with dynamic library support -support/config-fragments/autobuild/br-bfin-full.config,x86_64
Do we plan on adding back another noMMU target with dynamic library support instead of that one?
utils/test-pkg main() { · line 78
Quoted 13 lines
support/config-fragments/autobuild/toolchain-configs.csv +0
-0# Test a MMU toolchain without dynamic library support support/config-fragments/autobuild/br-arm-full-static.config,x86_64utils/test-pkg +1
-1@@ -75,7 +75,7 @@ main() { # Default mode is to test the N first toolchains, which have been # chosen to be a good selection of toolchains. if [ ${mode} -eq 0 ] ; then - number=7 + number=6
Otherwise, toolchain-configs.csv is only used in genrandconfig, and that one does not care about the number of "default" toolchains.
Regards,
Yann E. MORIN.
Quoted 10 lines
utils/test-pkg +0
-0elif [ ${mode} -gt 1 ] ; then printf "error: --all, --number and --random are mutually exclusive\n" >&2; exit 1 fiSignature · 6 lines
2.14.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/23 support/config-fragments/autobuild: remove Blackfin configuration
Hello,
Quoted 5 lines · Yann E. MORIN
support/config-fragments/autobuild/toolchain-configs.csv support/config-fragments/autobuild/br-arm-cortex-m4-full.config,x86_64 · line 19
Quoted 2 lines
support/config-fragments/autobuild/toolchain-configs.csv +0
-2-# Test a noMMU toolchain with dynamic library support -support/config-fragments/autobuild/br-bfin-full.config,x86_64Do we plan on adding back another noMMU target with dynamic library support instead of that one?
We don't have any other noMMU target that supports dynamic library support currently. FDPIC support on ARM is being worked on upstream, but I don't think it's ready yet.
Otherwise, there is FDPIC support for SH2, but we don't have support for this either.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/23 support/config-fragments/autobuild: remove Blackfin configuration
Thomas, All,
On 2018-04-05 22:38 +0200, Thomas Petazzoni spake thusly:
Quoted 11 lines · Yann E. MORIN
Quoted 6 lines
support/config-fragments/autobuild/toolchain-configs.csv support/config-fragments/autobuild/br-arm-cortex-m4-full.config,x86_64 · line 19
Quoted 3 lines
support/config-fragments/autobuild/toolchain-configs.csv +0
-2-# Test a noMMU toolchain with dynamic library support -support/config-fragments/autobuild/br-bfin-full.config,x86_64Do we plan on adding back another noMMU target with dynamic library support instead of that one?
We don't have any other noMMU target that supports dynamic library support currently. FDPIC support on ARM is being worked on upstream, but I don't think it's ready yet.
ACK.
Quoted 2 lines
Otherwise, there is FDPIC support for SH2, but we don't have support for this either.
Do we really want to revive that? ;-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 2/23 configs/gdb_bfin_bf512: remove defconfig
In reply to Thomas PetazzoniAs we are about to remove the Blackfin architecture, remove the only defconfig that was using this CPU architecture.
--- .gitlab-ci.yml | 1 - board/gdb/bfin-bf512/linux.config | 87 --------------------------------------- board/gdb/bfin-bf512/readme.txt | 11 ----- board/gdb/post-build.sh | 4 -- configs/gdb_bfin_bf512_defconfig | 33 --------------- 5 files changed, 136 deletions(-) delete mode 100644 board/gdb/bfin-bf512/linux.config delete mode 100644 board/gdb/bfin-bf512/readme.txt delete mode 100755 board/gdb/post-build.sh delete mode 100644 configs/gdb_bfin_bf512_defconfig
.gitlab-ci.yml +0 -1
@@ -139,7 +139,6 @@ freescale_t1040d4rdb_defconfig: *defconfig friendlyarm_nanopi_a64_defconfig: *defconfig friendlyarm_nanopi_neo2_defconfig: *defconfig galileo_defconfig: *defconfig -gdb_bfin_bf512_defconfig: *defconfig grinn_chiliboard_defconfig: *defconfig grinn_liteboard_defconfig: *defconfig imx23evk_defconfig: *defconfig
board/gdb/bfin-bf512/linux.config deleted +0 -87
87 lines not on this page · raw message
board/gdb/bfin-bf512/readme.txt deleted +0 -11
@@ -1,11 +0,0 @@ -Run the simulation with GDB for FDPIC: - - ./output/host/bin/bfin-buildroot-linux-uclibc-run --env operating --model bf512 output/images/vmlinux - -Run the simulation with GDB for FLAT: - - ./output/host/bin/bfin-buildroot-uclinux-uclibc-run --env operating --model bf512 output/images/vmlinux - -The login prompt will appear in the terminal that started GDB. - -Tested with GDB 7.9
board/gdb/post-build.sh deleted +0 -4
@@ -1,4 +0,0 @@ -#!/bin/sh -# no simulated network devices at the moment -rm -f ${TARGET_DIR}/etc/init.d/S40network -rm -rf ${TARGET_DIR}/etc/network/
configs/gdb_bfin_bf512_defconfig deleted +0 -33
@@ -1,33 +0,0 @@ -# Architecture -BR2_bfin=y -BR2_bf512=y - -# Filesystem -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set - -BR2_ROOTFS_POST_BUILD_SCRIPT="board/gdb/post-build.sh" - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.14" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/gdb/bfin-bf512/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyBF0" - -# use minimal busybox with hush -BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" - -# compile gdb sim -BR2_PACKAGE_HOST_GDB=y -# BR2_PACKAGE_HOST_GDB_TUI is not set -# BR2_PACKAGE_HOST_GDB_PYTHON is not set -BR2_PACKAGE_HOST_GDB_SIM=y
Signature · 1 line
2.14.3
PATCH 3/23 arch: remove Blackfin architecture
In reply to Thomas PetazzoniThe Blackfin architecture has for a long time been complicated to maintain, with poor support in upstream binutils/gcc. As of April 2018, the Blackfin architecture has been dropped from the upstream Linux kernel. Also, the Analog Device engineer who used to be in touch with the Buildroot community also privately said we should drop the support for this architecture, which Analog Devices is no longer using, promoting and maintaining.
The BR2_BINFMT_FLAT_SEP_DATA option becomes unselectable, it will be removed in a future commit.
--- Config.in.legacy | 8 +++++ DEVELOPERS | 1 - Makefile | 1 - arch/Config.in | 18 ++-------- arch/Config.in.bfin | 102 ---------------------------------------------------- 5 files changed, 10 insertions(+), 120 deletions(-) delete mode 100644 arch/Config.in.bfin
Config.in.legacy +8 -0
@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2018.05" +config BR2_bfin + bool "Blackfin architecture support removed" + select BR2_LEGACY + help + Following the removal of Blackfin support for the upstream + Linux kernel, Buildroot has removed support for this CPU + architecture. + config BR2_PACKAGE_KODI_ADSP_BASIC bool "kodi-adsp-basic package removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -1931,7 +1931,6 @@ N: Wade Berrier <[email protected]> F: package/ngrep/ N: Waldemar Brodkorb <[email protected]> -F: arch/Config.in.bfin F: arch/Config.in.m68k F: arch/Config.in.or1k F: arch/Config.in.sparc
Makefile +0 -1
@@ -431,7 +431,6 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \ -e s/arceb/arc/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/aarch64.*/arm64/ \ - -e s/bfin/blackfin/ \ -e s/or1k/openrisc/ \ -e s/parisc64/parisc/ \ -e s/powerpc64.*/powerpc/ \
arch/Config.in +2 -16
@@ -78,16 +78,6 @@ config BR2_aarch64_be http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php http://en.wikipedia.org/wiki/ARM -config BR2_bfin - bool "Blackfin" - select BR2_ARCH_HAS_FDPIC_SUPPORT - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 - help - The Blackfin is a family of 16 or 32-bit microprocessors - developed, manufactured and marketed by Analog Devices. - http://www.analog.com/ - http://en.wikipedia.org/wiki/Blackfin - config BR2_csky bool "csky" select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
@@ -400,14 +390,14 @@ config BR2_BINFMT_FLAT_SEP_DATA # big functions cannot be built in this mode. They cause build # failures such as "Tried to convert PC relative branch to # absolute jump" or "error: value -yyyyy out of range". - depends on BR2_bfin + depends on BR2_BROKEN help Allow for the data and text segments to be separated and placed in different regions of memory. config BR2_BINFMT_FLAT_SHARED bool "Shared binary" - depends on BR2_m68k || BR2_bfin + depends on BR2_m68k # Even though this really generates shared binaries, there is no libdl # and dlopen() cannot be used. So packages that require shared # libraries cannot be built. Therefore, we don't select
@@ -427,10 +417,6 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be source "arch/Config.in.arm" endif -if BR2_bfin -source "arch/Config.in.bfin" -endif - if BR2_csky source "arch/Config.in.csky" endif
arch/Config.in.bfin deleted +0 -102
102 lines not on this page · raw message
Signature · 1 line
2.14.3
PATCH 3/23 arch: remove Blackfin architecture
Thomas, All,
On 2018-04-05 21:50 +0200, Thomas Petazzoni spake thusly:
Quoted 8 lines
The Blackfin architecture has for a long time been complicated to maintain, with poor support in upstream binutils/gcc. As of April 2018, the Blackfin architecture has been dropped from the upstream Linux kernel. Also, the Analog Device engineer who used to be in touch with the Buildroot community also privately said we should drop the support for this architecture, which Analog Devices is no longer using, promoting and maintaining.
Quoted 4 lines
The
BR2_BINFMT_FLAT_SEP_DATAoption becomes unselectable, it will be removed in a future commit.Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Yann E. MORIN.
Quoted 216 lines
--- Config.in.legacy | 8 +++++ DEVELOPERS | 1 - Makefile | 1 - arch/Config.in | 18 ++-------- arch/Config.in.bfin | 102 ---------------------------------------------------- 5 files changed, 10 insertions(+), 120 deletions(-) delete mode 100644 arch/Config.in.bfinConfig.in.legacy +8
-0@@ -145,6 +145,14 @@ endif ############################################################################### comment "Legacy options removed in 2018.05" +config BR2_bfin + bool "Blackfin architecture support removed" + select BR2_LEGACY + help + Following the removal of Blackfin support for the upstream + Linux kernel, Buildroot has removed support for this CPU + architecture. + config BR2_PACKAGE_KODI_ADSP_BASIC bool "kodi-adsp-basic package removed" select BR2_LEGACYDEVELOPERS +0
-1@@ -1931,7 +1931,6 @@ N: Wade Berrier <[email protected]> F: package/ngrep/ N: Waldemar Brodkorb <[email protected]> -F: arch/Config.in.bfin F: arch/Config.in.m68k F: arch/Config.in.or1k F: arch/Config.in.sparcMakefile +0
-1@@ -431,7 +431,6 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \ -e s/arceb/arc/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/aarch64.*/arm64/ \ - -e s/bfin/blackfin/ \ -e s/or1k/openrisc/ \ -e s/parisc64/parisc/ \ -e s/powerpc64.*/powerpc/ \arch/Config.in +2
-16@@ -78,16 +78,6 @@ config BR2_aarch64_be http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php http://en.wikipedia.org/wiki/ARM -config BR2_bfin - bool "Blackfin" - select BR2_ARCH_HAS_FDPIC_SUPPORT - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 - help - The Blackfin is a family of 16 or 32-bit microprocessors - developed, manufactured and marketed by Analog Devices. - http://www.analog.com/ - http://en.wikipedia.org/wiki/Blackfin - config BR2_csky bool "csky" select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT@@ -400,14 +390,14 @@ config BR2_BINFMT_FLAT_SEP_DATA # big functions cannot be built in this mode. They cause build # failures such as "Tried to convert PC relative branch to # absolute jump" or "error: value -yyyyy out of range". - depends on BR2_bfin + depends on BR2_BROKEN help Allow for the data and text segments to be separated and placed in different regions of memory. config BR2_BINFMT_FLAT_SHARED bool "Shared binary" - depends on BR2_m68k || BR2_bfin + depends on BR2_m68k # Even though this really generates shared binaries, there is no libdl # and dlopen() cannot be used. So packages that require shared # libraries cannot be built. Therefore, we don't select@@ -427,10 +417,6 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be source "arch/Config.in.arm" endif -if BR2_bfin -source "arch/Config.in.bfin" -endif - if BR2_csky source "arch/Config.in.csky" endifarch/Config.in.bfin deleted +0
-102@@ -1,102 +0,0 @@ -choice - prompt "Target CPU" - default BR2_bf532 - depends on BR2_bfin - help - Specify target CPU -config BR2_bf512 - bool "bf512" -config BR2_bf514 - bool "bf514" -config BR2_bf516 - bool "bf516" -config BR2_bf518 - bool "bf518" -config BR2_bf522 - bool "bf522" -config BR2_bf523 - bool "bf523" -config BR2_bf524 - bool "bf524" -config BR2_bf525 - bool "bf525" -config BR2_bf526 - bool "bf526" -config BR2_bf527 - bool "bf527" -config BR2_bf531 - bool "bf531" -config BR2_bf532 - bool "bf532" -config BR2_bf533 - bool "bf533" -config BR2_bf534 - bool "bf534" -config BR2_bf536 - bool "bf536" -config BR2_bf537 - bool "bf537" -config BR2_bf538 - bool "bf538" -config BR2_bf539 - bool "bf539" -config BR2_bf542 - bool "bf542" -config BR2_bf544 - bool "bf544" -config BR2_bf547 - bool "bf547" -config BR2_bf548 - bool "bf548" -config BR2_bf549 - bool "bf549" -config BR2_bf561 - bool "bf561" -endchoice - -config BR2_ARCH - default "bfin" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_GCC_TARGET_CPU - default bf606 if BR2_bf606 - default bf607 if BR2_bf607 - default bf608 if BR2_bf608 - default bf609 if BR2_bf609 - default bf512 if BR2_bf512 - default bf514 if BR2_bf514 - default bf516 if BR2_bf516 - default bf518 if BR2_bf518 - default bf522 if BR2_bf522 - default bf523 if BR2_bf523 - default bf524 if BR2_bf524 - default bf525 if BR2_bf525 - default bf526 if BR2_bf526 - default bf527 if BR2_bf527 - default bf531 if BR2_bf531 - default bf532 if BR2_bf532 - default bf533 if BR2_bf533 - default bf534 if BR2_bf534 - default bf536 if BR2_bf536 - default bf537 if BR2_bf537 - default bf538 if BR2_bf538 - default bf539 if BR2_bf539 - default bf542 if BR2_bf542 - default bf544 if BR2_bf544 - default bf547 if BR2_bf547 - default bf548 if BR2_bf548 - default bf549 if BR2_bf549 - default bf561 if BR2_bf561 - -config BR2_GCC_TARGET_CPU_REVISION - string "Target CPU revision" - help - Specify a target CPU revision, which will be appended to the - value of the -mcpu option. For example, if the selected CPU is - bf609, and then selected CPU revision is "0.0", then gcc will - receive the -mcpu=bf609-0.0 option. - -config BR2_READELF_ARCH_NAME - default "Analog Devices Blackfin"Signature · 6 lines
2.14.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 4/23 arch: drop BR2_BINFMT_FLAT_SEP_DATA support
In reply to Thomas PetazzoniThis was only used by Blackfin, so there's no good reason to keep it.
--- Config.in.legacy | 7 +++++++ arch/Config.in | 12 ------------ package/Makefile.in | 6 ------ package/uclibc/uclibc.mk | 8 -------- 4 files changed, 7 insertions(+), 26 deletions(-)
Config.in.legacy +7 -0
@@ -145,6 +145,13 @@ endif ############################################################################### comment "Legacy options removed in 2018.05" +config BR2_BINFMT_FLAT_SEP_DATA + bool "binfmt FLAT with separate code and data removed" + select BR2_LEGACY + help + This FLAT binary format was only used on Blackfin, which has + been removed. + config BR2_bfin bool "Blackfin architecture support removed" select BR2_LEGACY
arch/Config.in +0 -12
@@ -383,18 +383,6 @@ config BR2_BINFMT_FLAT_ONE help All segments are linked into one memory region. -config BR2_BINFMT_FLAT_SEP_DATA - bool "Separate data and code region" - # this FLAT binary type technically exists on m68k, but fails - # to build numerous packages: due to architecture limitation, - # big functions cannot be built in this mode. They cause build - # failures such as "Tried to convert PC relative branch to - # absolute jump" or "error: value -yyyyy out of range". - depends on BR2_BROKEN - help - Allow for the data and text segments to be separated and - placed in different regions of memory. - config BR2_BINFMT_FLAT_SHARED bool "Shared binary" depends on BR2_m68k
package/Makefile.in +0 -6
@@ -189,12 +189,6 @@ TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0 TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0 TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0 endif -ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y) -TARGET_LDFLAGS += -msep-data -TARGET_CFLAGS += -msep-data -TARGET_FCFLAGS += -msep-data -TARGET_CXXFLAGS += -msep-data -endif ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
package/uclibc/uclibc.mk +0 -8
@@ -68,14 +68,6 @@ define UCLIBC_BINFMT_CONFIG $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config) endef endif -ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y) -define UCLIBC_BINFMT_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config) - $(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA,$(@D)/.config) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT,$(@D)/.config) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config) -endef -endif ifeq ($(BR2_BINFMT_FLAT_SHARED),y) define UCLIBC_BINFMT_CONFIG $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
Signature · 1 line
2.14.3
PATCH 5/23 boot/uboot: remove Blackfin related code
In reply to Thomas Petazzoni--- boot/uboot/Config.in | 4 ---- boot/uboot/uboot.mk | 4 ---- 2 files changed, 8 deletions(-)
boot/uboot/Config.in +0 -4
@@ -202,10 +202,6 @@ config BR2_TARGET_UBOOT_FORMAT_KWB bool "u-boot.kwb (Marvell)" depends on BR2_arm -config BR2_TARGET_UBOOT_FORMAT_LDR - bool "u-boot.ldr" - depends on BR2_bfin - config BR2_TARGET_UBOOT_FORMAT_ELF bool "u-boot.elf"
boot/uboot/uboot.mk +0 -4
@@ -61,10 +61,6 @@ UBOOT_BINS += u-boot.ais UBOOT_MAKE_TARGET += u-boot.ais endif -ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y) -UBOOT_BINS += u-boot.ldr -endif - ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y) UBOOT_BINS += u-boot-nand.bin endif
Signature · 1 line
2.14.3
PATCH 6/23 linux: remove Blackfin related code
In reply to Thomas Petazzoni--- linux/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
linux/Config.in +1 -1
@@ -194,7 +194,7 @@ choice config BR2_LINUX_KERNEL_UIMAGE bool "uImage" - depends on BR2_arc || BR2_arm || BR2_armeb || BR2_bfin || \ + depends on BR2_arc || BR2_arm || BR2_armeb || \ BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ BR2_sh || BR2_mips || BR2_mipsel || \ BR2_mips64 || BR2_mips64el || BR2_xtensa
Signature · 1 line
2.14.3
PATCH 7/23 toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code
In reply to Thomas PetazzoniThis commit removes Blackfin related code from all toolchain code and components.
--- package/binutils/binutils.mk | 6 ----- package/gcc/Config.in.host | 7 ------ package/gcc/gcc-final/gcc-final.mk | 4 ---- package/gcc/gcc.mk | 41 --------------------------------- package/gdb/Config.in | 1 - package/gdb/gdb.mk | 8 ------- package/uclibc/Config.in | 3 +-- toolchain/Config.in | 1 - toolchain/toolchain-buildroot/Config.in | 2 +- 9 files changed, 2 insertions(+), 71 deletions(-)
package/binutils/binutils.mk +0 -6
@@ -65,12 +65,6 @@ HOST_BINUTILS_CONF_ENV += MAKEINFO=true HOST_BINUTILS_MAKE_OPTS += MAKEINFO=true HOST_BINUTILS_INSTALL_OPTS += MAKEINFO=true install -# gcc bug with Os/O1/O2/O3, PR77311 -# error: unable to find a register to spill in class 'CCREGS' -ifeq ($(BR2_bfin),y) -BINUTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" -endif - # Workaround a build issue with -Os for ARM Cortex-M cpus. # (Binutils 2.25.1 and 2.26.1) # https://sourceware.org/bugzilla/show_bug.cgi?id=20552
package/gcc/Config.in.host +0 -7
@@ -63,13 +63,6 @@ config BR2_GCC_VERSION_7_X endchoice -# Indicates if GCC for architecture supports --with-{arch,cpu,..} to -# set default CFLAGS, otherwise values will be used by toolchain -# wrapper. -config BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS - bool - default y if !BR2_bfin - config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE bool default y
package/gcc/gcc-final/gcc-final.mk +0 -4
@@ -76,10 +76,6 @@ HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4a,m4a-nofpu" HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* endif -ifeq ($(BR2_bfin),y) -HOST_GCC_FINAL_CONF_OPTS += --disable-symvers -endif - # libcilkrts does not support v8 ifeq ($(BR2_sparc),y) HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts
package/gcc/gcc.mk +0 -41
59 lines not on this page · raw message
package/gdb/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_GDB_ARCH_SUPPORTS bool default y depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) - depends on !BR2_bfin depends on !BR2_microblaze depends on !BR2_nios2 depends on !BR2_or1k
package/gdb/gdb.mk +0 -8
@@ -215,16 +215,8 @@ else HOST_GDB_CONF_OPTS += --without-python endif -# workaround a bug if in-tree build is used for bfin sim -define HOST_GDB_BFIN_SIM_WORKAROUND - $(RM) $(@D)/sim/common/tconfig.h -endef - ifeq ($(BR2_PACKAGE_HOST_GDB_SIM),y) HOST_GDB_CONF_OPTS += --enable-sim -ifeq ($(BR2_bfin),y) -HOST_GDB_PRE_CONFIGURE_HOOKS += HOST_GDB_BFIN_SIM_WORKAROUND -endif else HOST_GDB_CONF_OPTS += --disable-sim endif
package/uclibc/Config.in +1 -2
@@ -53,7 +53,7 @@ config BR2_PTHREADS_NATIVE config BR2_PTHREADS bool "linuxthreads" - depends on BR2_bfin || BR2_m68k || BR2_microblaze || BR2_or1k || BR2_arm || BR2_armeb || BR2_xtensa + depends on BR2_m68k || BR2_microblaze || BR2_or1k || BR2_arm || BR2_armeb || BR2_xtensa select BR2_TOOLCHAIN_HAS_THREADS config BR2_PTHREADS_NONE
@@ -95,7 +95,6 @@ config BR2_UCLIBC_TARGET_ARCH string default "arc" if BR2_arcle || BR2_arceb default "arm" if BR2_arm || BR2_armeb - default "bfin" if BR2_bfin default "m68k" if BR2_m68k default "microblaze" if BR2_microblaze default "mips" if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
toolchain/Config.in +0 -1
@@ -426,7 +426,6 @@ config BR2_TOOLCHAIN_HAS_MNAN_OPTION config BR2_TOOLCHAIN_HAS_SYNC_1 bool default y - depends on !BR2_bfin depends on !BR2_m68k_cf depends on !BR2_microblaze depends on !BR2_sparc
toolchain/toolchain-buildroot/Config.in +1 -1
@@ -29,7 +29,7 @@ config BR2_TOOLCHAIN_BUILDROOT_UCLIBC bool "uClibc-ng" depends on BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || \ BR2_arm || BR2_armeb || \ - BR2_bfin || BR2_i386 || BR2_m68k || BR2_microblaze || \ + BR2_i386 || BR2_m68k || BR2_microblaze || \ BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \ BR2_or1k || BR2_powerpc || BR2_sh2a || BR2_sh4 || \ BR2_sh4eb || BR2_sparc || BR2_xtensa || BR2_x86_64
Signature · 1 line
2.14.3
PATCH 8/23 gcc: remove Blackfin patches
In reply to Thomas Petazzoni--- ...bgcc-mkmap-symver-support-skip_underscore.patch | 60 - ...ig-bfin-use-the-generic-linker-version-in.patch | 1944 -------------------- ...-fix-DWARF-compilation-with-FDPIC-targets.patch | 59 - package/gcc/6.4.0/895-bfin-define-REENTRANT.patch | 17 - 4 files changed, 2080 deletions(-) delete mode 100644 package/gcc/6.4.0/892-libgcc-mkmap-symver-support-skip_underscore.patch delete mode 100644 package/gcc/6.4.0/893-libgcc-config-bfin-use-the-generic-linker-version-in.patch delete mode 100644 package/gcc/6.4.0/894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch delete mode 100644 package/gcc/6.4.0/895-bfin-define-REENTRANT.patch
package/gcc/6.4.0/892-libgcc-mkmap-symver-support-skip_underscore.patch deleted +0 -60
@@ -1,60 +0,0 @@ -From ae9c3e354440c4a0f105a9eabfb2f77be085ebc1 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Thu, 18 Aug 2016 17:59:16 +0200 -Subject: [PATCH] libgcc/mkmap-symver: support skip_underscore - -Some platforms, such as Blackfin, have a special prefix for assembly -symbols as opposed to C symbols. For this reason, a function named -"foo()" in C will in fact be visible as a symbol called "_foo" in the -ELF binary. - -The current linker version script logic in libgcc doesn't take into -account this situation properly. The Blackfin specific -libgcc/config/bfin/libgcc-glibc.ver has an additional "_" in front of -every symbol so that it matches the output of "nm" (which gets parsed to -produce the final linker version script). But due to this additional -"_", ld no longer matches with the symbols since "ld" does the matching -with the original symbol name, not the one prefixed with "_". - -Due to this, none of the symbols in libgcc/config/bfin/libgcc-glibc.ver -are actually matched with symbols in libgcc. This causes all libgcc -symbols to be left as "LOCAL", which causes lots of "undefined -reference" whenever some C or C++ code that calls a function of libgcc -is compiled. - -To address this, this commit introduces a "skip_underscore" variable to -the mkmap-symver script. It tells mkmap-symver to ignore the leading -underscore from the "nm" output. - -Note that this new argument is different from the existing -"leading_underscore" argument, which *adds* an additional underscore to -the generated linker version script. - -Having this functionality paves the way to using the generic linker -version information for Blackfin, instead of using a custom one. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - libgcc/mkmap-symver.awk | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/libgcc/mkmap-symver.awk b/libgcc/mkmap-symver.awk -index 266832a..30bb179 100644 ---- a/libgcc/mkmap-symver.awk -+++ b/libgcc/mkmap-symver.awk -@@ -47,7 +47,11 @@ state == "nm" && ($1 == "U" || $2 == "U") { - - state == "nm" && NF == 3 { - split ($3, s, "@") -- def[s[1]] = 1; -+ if (skip_underscore) -+ symname = substr(s[1], 2); -+ else -+ symname = s[1]; -+ def[symname] = 1; - sawsymbol = 1; - next; - } --- -2.7.4 -
package/gcc/6.4.0/893-libgcc-config-bfin-use-the-generic-linker-version-in.patch deleted +0 -1944
1,944 lines not on this page · raw message
package/gcc/6.4.0/894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch deleted +0 -59
59 lines not on this page · raw message
package/gcc/6.4.0/895-bfin-define-REENTRANT.patch deleted +0 -17
@@ -1,17 +0,0 @@ -enable _REENTRANT when -lpthread is used - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur gcc-6.2.0.orig/gcc/config/bfin/linux.h gcc-6.2.0/gcc/config/bfin/linux.h ---- gcc-6.2.0.orig/gcc/config/bfin/linux.h 2016-01-04 15:30:50.000000000 +0100 -+++ gcc-6.2.0/gcc/config/bfin/linux.h 2016-09-30 20:48:17.446636819 +0200 -@@ -38,6 +38,9 @@ - "%{static:--start-group} %{mfast-fp:-lbffastfp} %G %L %{static:--end-group} \ - %{!static:%{mfast-fp:-lbffastfp} %G}" - -+#undef CPP_SPEC -+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" -+ - #undef LINK_SPEC - #define LINK_SPEC "\ - %{mfdpic: -m elf32bfinfd -z text} %{shared} %{pie} \
Signature · 1 line
2.14.3
PATCH 9/23 binutils: remove Blackfin patches
In reply to Thomas Petazzoni--- package/binutils/2.27/0905-bfin-rofixup-bug.patch | 21 --------------- .../binutils/2.28.1/0905-bfin-rofixup-bug.patch | 21 --------------- ...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 ---------------------- ...LINKER-BUG-.rofixup-section-size-mismatch.patch | 31 ---------------------- 4 files changed, 104 deletions(-) delete mode 100644 package/binutils/2.27/0905-bfin-rofixup-bug.patch delete mode 100644 package/binutils/2.28.1/0905-bfin-rofixup-bug.patch delete mode 100644 package/binutils/2.29.1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch delete mode 100644 package/binutils/2.30/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch
package/binutils/2.27/0905-bfin-rofixup-bug.patch deleted +0 -21
@@ -1,21 +0,0 @@ -Fixes: LINKER BUG: .rofixup section size mismatch - -Workaround from adi-toolchain commit: -af414ec1fb628ddb1562f062f3db49823ca14ca2 -[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur binutils-2.26.1.orig/bfd/elf32-bfin.c binutils-2.26.1/bfd/elf32-bfin.c ---- binutils-2.26.1.orig/bfd/elf32-bfin.c 2015-11-13 09:27:40.000000000 +0100 -+++ binutils-2.26.1/bfd/elf32-bfin.c 2016-07-31 00:50:48.357995132 +0200 -@@ -4879,7 +4879,8 @@ - - case R_BFIN_FUNCDESC: - picrel->fd++; -- picrel->relocsfd++; -+ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) -+ picrel->relocsfd++; - break; - - /* This relocation describes the C++ object vtable hierarchy.
package/binutils/2.28.1/0905-bfin-rofixup-bug.patch deleted +0 -21
@@ -1,21 +0,0 @@ -Fixes: LINKER BUG: .rofixup section size mismatch - -Workaround from adi-toolchain commit: -af414ec1fb628ddb1562f062f3db49823ca14ca2 -[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur binutils-2.26.1.orig/bfd/elf32-bfin.c binutils-2.26.1/bfd/elf32-bfin.c ---- binutils-2.26.1.orig/bfd/elf32-bfin.c 2015-11-13 09:27:40.000000000 +0100 -+++ binutils-2.26.1/bfd/elf32-bfin.c 2016-07-31 00:50:48.357995132 +0200 -@@ -4845,7 +4845,8 @@ - - case R_BFIN_FUNCDESC: - picrel->fd++; -- picrel->relocsfd++; -+ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) -+ picrel->relocsfd++; - break; - - /* This relocation describes the C++ object vtable hierarchy.
package/binutils/2.29.1/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb <[email protected]> -Date: Sat, 29 Jul 2017 14:08:20 +0200 -Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch - -Workaround from adi-toolchain commit: -af414ec1fb628ddb1562f062f3db49823ca14ca2 -[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. - -Signed-off-by: Waldemar Brodkorb <[email protected]> ---- - bfd/elf32-bfin.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c -index b3e09bd..660eec5 100644 ---- a/bfd/elf32-bfin.c -+++ b/bfd/elf32-bfin.c -@@ -4845,7 +4845,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info, - - case R_BFIN_FUNCDESC: - picrel->fd++; -- picrel->relocsfd++; -+ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) -+ picrel->relocsfd++; - break; - - /* This relocation describes the C++ object vtable hierarchy. --- -2.9.4 -
package/binutils/2.30/0006-Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From c3bd478ac1b7e83765230505eb08a0acf2fe3867 Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb <[email protected]> -Date: Sat, 29 Jul 2017 14:08:20 +0200 -Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch - -Workaround from adi-toolchain commit: -af414ec1fb628ddb1562f062f3db49823ca14ca2 -[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. - -Signed-off-by: Waldemar Brodkorb <[email protected]> ---- - bfd/elf32-bfin.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c -index 478b8d4731..a38519b585 100644 ---- a/bfd/elf32-bfin.c -+++ b/bfd/elf32-bfin.c -@@ -4655,7 +4655,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info, - - case R_BFIN_FUNCDESC: - picrel->fd++; -- picrel->relocsfd++; -+ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) -+ picrel->relocsfd++; - break; - - /* This relocation describes the C++ object vtable hierarchy. --- -2.14.3 -
Signature · 1 line
2.14.3
PATCH 10/23 package: remove Blackfin related code
In reply to Thomas Petazzoni--- package/acpitool/Config.in | 2 -- package/alsa-lib/alsa-lib.mk | 6 ------ package/armadillo/Config.in | 2 -- package/atest/Config.in | 2 -- package/avrdude/Config.in | 2 -- package/busybox/Config.in | 2 -- package/clapack/Config.in | 4 ---- package/dvblast/Config.in | 2 -- package/elfutils/Config.in | 4 ---- package/gptfdisk/Config.in | 1 - package/gstreamer/gst-plugins-bad/Config.in | 1 - package/gstreamer1/gst1-plugins-good/Config.in | 2 -- package/iprutils/Config.in | 1 - package/leveldb/Config.in | 3 --- package/libbsd/Config.in | 1 - package/libev/Config.in | 2 -- package/libfreeimage/Config.in | 3 --- package/libmicrohttpd/libmicrohttpd.mk | 9 ++++----- package/libnspr/Config.in | 2 +- package/libvpx/Config.in | 2 -- package/libxslt/libxslt.mk | 6 ------ package/linux-tools/Config.in | 1 - package/lua-ev/Config.in | 1 - package/micropython/Config.in | 3 --- package/mplayer/Config.in | 2 +- package/ncurses/Config.in | 2 -- package/pciutils/Config.in | 2 -- package/poco/Config.in | 4 ++-- package/powertop/Config.in | 2 -- package/ptpd2/ptpd2.mk | 6 ------ package/qemu/qemu.mk | 1 - package/riemann-c-client/riemann-c-client.mk | 5 ----- package/ruby/ruby.mk | 7 ------- package/sg3_utils/Config.in | 2 -- package/tvheadend/Config.in | 2 +- package/xenomai/Config.in | 2 +- 36 files changed, 10 insertions(+), 91 deletions(-)
package/acpitool/Config.in +0 -2
@@ -1,6 +1,5 @@ config BR2_PACKAGE_ACPITOOL bool "acpitool" - depends on !BR2_bfin depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP
@@ -11,6 +10,5 @@ config BR2_PACKAGE_ACPITOOL http://acpitool.sourceforge.net comment "acpitool needs a toolchain w/ threads, C++, dynamic library" - depends on !BR2_bfin depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_INSTALL_LIBSTDCPP
package/alsa-lib/alsa-lib.mk +0 -6
@@ -62,12 +62,6 @@ else ALSA_LIB_CONF_OPTS += --disable-python endif -ifeq ($(BR2_bfin),y) -# blackfin external toolchains don't have versionsort. Fake it using alphasort -# instead -ALSA_LIB_CFLAGS += -Dversionsort=alphasort -endif - ALSA_LIB_CONF_ENV = \ CFLAGS="$(ALSA_LIB_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS) -lm"
package/armadillo/Config.in +0 -2
@@ -2,7 +2,6 @@ comment "armadillo needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) depends on !BR2_powerpc - depends on !BR2_bfin depends on !BR2_m68k_cf comment "armadillo needs a glibc toolchain w/ C++"
@@ -14,7 +13,6 @@ config BR2_PACKAGE_ARMADILLO depends on BR2_INSTALL_LIBSTDCPP depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC # clapack - depends on !BR2_bfin # clapack depends on !BR2_m68k_cf # clapack select BR2_PACKAGE_CLAPACK help
package/atest/Config.in +0 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_ATEST bool "atest" depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib - depends on !BR2_bfin # libev select BR2_PACKAGE_ALSA_LIB select BR2_PACKAGE_LIBEV help
@@ -11,5 +10,4 @@ config BR2_PACKAGE_ATEST https://github.com/amouiche/atest comment "atest needs a toolchain w/ threads" - depends on !BR2_bfin depends on !BR2_TOOLCHAIN_HAS_THREADS
package/avrdude/Config.in +0 -2
@@ -3,7 +3,6 @@ config BR2_PACKAGE_AVRDUDE depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR # elfutils depends on !BR2_STATIC_LIBS # elfutils - depends on !BR2_bfin # elfutils depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils select BR2_PACKAGE_ELFUTILS select BR2_PACKAGE_LIBUSB
@@ -18,4 +17,3 @@ config BR2_PACKAGE_AVRDUDE comment "avrdude needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) - depends on !BR2_bfin
package/busybox/Config.in +0 -2
@@ -59,7 +59,6 @@ config BR2_PACKAGE_BUSYBOX_SELINUX config BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES bool "Individual binaries" depends on !BR2_STATIC_LIBS - depends on !BR2_bfin # libbusybox.so link issue help By default (i.e with this option disabled), Busybox is installed as a single binary in /bin/busybox and all applets
@@ -70,7 +69,6 @@ config BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES comment "Busybox individual binaries need a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS - depends on !BR2_bfin config BR2_PACKAGE_BUSYBOX_WATCHDOG bool "Install the watchdog daemon startup script"
package/clapack/Config.in +0 -4
@@ -8,10 +8,6 @@ config BR2_PACKAGE_CLAPACK # _fpu_control is used on PowerPC, but not available with # uClibc or musl depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC - # disable clapack on blackfin, it triggers "undefined symbol" failure - # because of the "_" symbol prefix: - # http://autobuild.buildroot.net/results/a28df0ba10803e6e54c2f8160bbd8190cba4d690/ - depends on !BR2_bfin # assembler: Error: value out of range depends on !BR2_m68k_cf help
package/dvblast/Config.in +0 -2
@@ -1,6 +1,5 @@ config BR2_PACKAGE_DVBLAST bool "dvblast" - depends on !BR2_bfin # libev depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() select BR2_PACKAGE_BITSTREAM select BR2_PACKAGE_LIBEV
@@ -12,5 +11,4 @@ config BR2_PACKAGE_DVBLAST http://www.videolan.org/projects/dvblast.html comment "dvblast needs a toolchain w/ NPTL" - depends on !BR2_bfin # libev depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
package/elfutils/Config.in +0 -4
@@ -1,5 +1,4 @@ comment "elfutils needs a uClibc or glibc toolchain w/ wchar, dynamic library" - depends on !BR2_bfin depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
@@ -9,9 +8,6 @@ config BR2_PACKAGE_ELFUTILS depends on !BR2_STATIC_LIBS # Only glibc and uClibc implement the myriad of required GNUisms depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC - # build issue caused by the _ prefix used on blackfin for - # assembly symbols - depends on !BR2_bfin select BR2_PACKAGE_ZLIB select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC help
package/gptfdisk/Config.in +0 -1
@@ -38,7 +38,6 @@ config BR2_PACKAGE_GPTFDISK_SGDISK config BR2_PACKAGE_GPTFDISK_CGDISK bool "ncurses cgdisk" depends on BR2_USE_WCHAR # ncurses wchar - depends on !(BR2_bfin && BR2_BINFMT_FLAT) # ncurses wchar support select BR2_PACKAGE_NCURSES select BR2_PACKAGE_NCURSES_WCHAR # needed because of UTF-16 help
package/gstreamer/gst-plugins-bad/Config.in +0 -1
@@ -318,7 +318,6 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VCD config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_VP8 bool "vp8" - depends on !BR2_bfin # libvpx select BR2_PACKAGE_LIBVPX config BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR
package/gstreamer1/gst1-plugins-good/Config.in +0 -2
@@ -359,14 +359,12 @@ comment "taglib needs a toolchain w/ C++, wchar" config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX bool "vpx (webm)" - depends on !BR2_bfin # libvpx depends on BR2_TOOLCHAIN_HAS_THREADS # libvpx select BR2_PACKAGE_LIBVPX help VP8 plugin comment "libvpx needs a toolchain w/ threads" - depends on !BR2_bfin depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK
package/iprutils/Config.in +0 -1
@@ -1,7 +1,6 @@ config BR2_PACKAGE_IPRUTILS bool "iprutils" depends on BR2_USE_MMU # fork() - depends on !BR2_bfin # pciutils select BR2_PACKAGE_NCURSES select BR2_PACKAGE_LIBSYSFS select BR2_PACKAGE_PCIUTILS
package/leveldb/Config.in +0 -3
@@ -1,7 +1,5 @@ config BR2_PACKAGE_LEVELDB bool "leveldb" - # Missing/broken atomic pointer support - depends on !BR2_bfin depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_SNAPPY
@@ -13,5 +11,4 @@ config BR2_PACKAGE_LEVELDB https://github.com/google/leveldb comment "leveldb needs a toolchain w/ C++, threads" - depends on !BR2_bfin depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/libbsd/Config.in +0 -1
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_microblaze depends on !BR2_arc depends on !BR2_xtensa - depends on !BR2_bfin config BR2_PACKAGE_LIBBSD bool "libbsd"
package/libev/Config.in +0 -2
@@ -1,7 +1,5 @@ config BR2_PACKAGE_LIBEV bool "libev" - # needs memory fences - depends on !BR2_bfin help Userspace library for handling asynchronous notifications
package/libfreeimage/Config.in +0 -3
@@ -5,8 +5,6 @@ config BR2_PACKAGE_LIBFREEIMAGE depends on BR2_USE_WCHAR # compiler issue: "Error: invalid register number `63'" depends on !BR2_arc - # Numerous build issues - depends on !BR2_bfin help FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG,
@@ -17,5 +15,4 @@ config BR2_PACKAGE_LIBFREEIMAGE comment "libfreeimage needs a toolchain w/ C++, dynamic library, wchar" depends on !BR2_arc - depends on !BR2_bfin depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
package/libmicrohttpd/libmicrohttpd.mk +4 -5
@@ -11,11 +11,10 @@ LIBMICROHTTPD_INSTALL_STAGING = YES LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -# gcc on arc and bfin doesn't define _REENTRANT when -pthread is -# passed while it should. Compensate this deficiency here otherwise -# libmicrohttpd configure script doesn't find that thread support is -# enabled. -ifeq ($(BR2_arc)$(BR2_bfin),y) +# gcc on arc doesn't define _REENTRANT when -pthread is passed while +# it should. Compensate this deficiency here otherwise libmicrohttpd +# configure script doesn't find that thread support is enabled. +ifeq ($(BR2_arc),y) LIBMICROHTTPD_CFLAGS += -D_REENTRANT endif
package/libnspr/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT def_bool y - depends on !BR2_arc && !BR2_xtensa && !BR2_bfin + depends on !BR2_arc && !BR2_xtensa if BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
package/libvpx/Config.in +0 -2
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LIBVPX bool "libvpx" - depends on !BR2_bfin depends on BR2_TOOLCHAIN_HAS_THREADS help A high-quality, open video format that's freely available to
@@ -9,5 +8,4 @@ config BR2_PACKAGE_LIBVPX http://webmproject.org comment "libvpx needs a toolchain w/ threads" - depends on !BR2_bfin depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libxslt/libxslt.mk +0 -6
@@ -19,12 +19,6 @@ LIBXSLT_CONF_OPTS = \ LIBXSLT_CONFIG_SCRIPTS = xslt-config LIBXSLT_DEPENDENCIES = libxml2 -# GCC bug with Os/O2/O3, PR77311 -# error: unable to find a register to spill in class 'CCREGS' -ifeq ($(BR2_bfin),y) -LIBXSLT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O1" -endif - # If we have enabled libgcrypt then use it, else disable crypto support. ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) LIBXSLT_DEPENDENCIES += libgcrypt
package/linux-tools/Config.in +0 -1
@@ -7,7 +7,6 @@ config BR2_PACKAGE_LINUX_TOOLS config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER bool "cpupower" - depends on !BR2_bfin # pciutils select BR2_PACKAGE_LINUX_TOOLS select BR2_PACKAGE_PCIUTILS help
package/lua-ev/Config.in +0 -1
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LUA_EV bool "lua-ev" depends on BR2_PACKAGE_HAS_LUAINTERPRETER - depends on !BR2_bfin # libev select BR2_PACKAGE_LIBEV help Get access to the libev library from Lua.
package/micropython/Config.in +0 -3
@@ -2,8 +2,6 @@ config BR2_PACKAGE_MICROPYTHON bool "micropython" depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS - # libffi doesn't provide the closure implementation on Blackfin - depends on !BR2_bfin select BR2_PACKAGE_LIBFFI help Micro Python is a lean and fast implementation of the Python
@@ -14,4 +12,3 @@ config BR2_PACKAGE_MICROPYTHON comment "micropython needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - depends on !BR2_bfin
package/mplayer/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS bool default y # Those architectures are not supported by MPlayer - depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \ + depends on !(BR2_sh2a || BR2_sh4a || BR2_sh4aeb \ || BR2_m68k || BR2_microblaze || BR2_nios2 || BR2_or1k) # Broken support for <ARMv5 depends on !BR2_ARM_CPU_ARMV4
package/ncurses/Config.in +0 -2
@@ -13,8 +13,6 @@ if BR2_PACKAGE_NCURSES config BR2_PACKAGE_NCURSES_WCHAR bool "enable wide char support" depends on BR2_USE_WCHAR - # Build broken @ curses.priv.h with bad declarations - depends on !(BR2_bfin && BR2_BINFMT_FLAT) help Enable wide char & UTF-8 support in ncurses libraries
package/pciutils/Config.in +0 -2
@@ -1,7 +1,5 @@ config BR2_PACKAGE_PCIUTILS bool "pciutils" - # PCI not supported on Blackfin - depends on !BR2_bfin help Various utilities dealing with the PCI bus. Provides things like setpci and lspci.
package/poco/Config.in +2 -2
@@ -5,7 +5,7 @@ config BR2_PACKAGE_POCO # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on !BR2_STATIC_LIBS # dlopen() - depends on !(BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel \ + depends on !(BR2_arc || BR2_microblaze || BR2_mipsel \ || BR2_or1k || BR2_xtensa) select BR2_PACKAGE_ZLIB select BR2_PACKAGE_PCRE
@@ -82,5 +82,5 @@ endif # BR2_PACKAGE_POCO comment "poco needs a toolchain w/ wchar, NPTL, C++, dynamic library" depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \ || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - depends on !(BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel \ + depends on !(BR2_arc || BR2_microblaze || BR2_mipsel \ || BR2_or1k || BR2_xtensa)
package/powertop/Config.in +0 -2
@@ -1,6 +1,5 @@ config BR2_PACKAGE_POWERTOP bool "powertop" - depends on !BR2_bfin # pciutils depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR
@@ -14,6 +13,5 @@ config BR2_PACKAGE_POWERTOP https://01.org/powertop/ comment "powertop needs a toolchain w/ C++, threads, wchar" - depends on !BR2_bfin depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_USE_WCHAR
package/ptpd2/ptpd2.mk +0 -6
@@ -24,12 +24,6 @@ else PTPD2_CONF_OPTS += --disable-snmp endif -# GCC bug with Os/O1/O2/O3 -# internal compiler error: in gen_add2_insn,@optabs.c:4454 -ifeq ($(BR2_bfin),y) -PTPD2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" -endif - define PTPD2_INSTALL_INIT_SYSV $(INSTALL) -m 755 -D package/ptpd2/S65ptpd2 \ $(TARGET_DIR)/etc/init.d/S65ptpd2
package/qemu/qemu.mk +0 -1
@@ -22,7 +22,6 @@ HOST_QEMU_DEPENDENCIES = host-pkgconf host-python host-zlib host-libglib2 host-p # ------- ---- # arm arm # armeb armeb -# bfin not supported # i486 i386 # i586 i386 # i686 i386
package/riemann-c-client/riemann-c-client.mk +0 -5
@@ -16,9 +16,4 @@ RIEMANN_C_CLIENT_DEPENDENCIES = \ $(if $(BR2_PACKAGE_GNUTLS),gnutls) \ $(if $(BR2_PACKAGE_JSON_C),json-c) -ifeq ($(BR2_bfin),y) -# ld symbol versioning not working on bfin -RIEMANN_C_CLIENT_CONF_ENV += ac_cv_prog_ld_version_script=no -endif - $(eval $(autotools-package))
package/ruby/ruby.mk +0 -7
@@ -40,13 +40,6 @@ RUBY_CONF_ENV += \ ac_cv_func_isnan=yes endif -ifeq ($(BR2_bfin),y) -RUBY_CONF_ENV += ac_cv_func_dl_iterate_phdr=no -# Blackfin doesn't have FFI closure support, needed by the fiddle -# extension. -RUBY_CONF_OPTS += --with-out-ext=fiddle -endif - ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) RUBY_CONF_ENV += stack_protector=no endif
package/sg3_utils/Config.in +0 -2
@@ -1,6 +1,5 @@ config BR2_PACKAGE_SG3_UTILS bool "sg3-utils" - depends on !BR2_bfin # symbol prefixing problems depends on BR2_TOOLCHAIN_HAS_THREADS help Low level utilities for devices that use a SCSI command set.
@@ -16,5 +15,4 @@ config BR2_PACKAGE_SG3_UTILS_PROGS endif comment "sg3-utils needs a toolchain w/ threads" - depends on !BR2_bfin depends on !BR2_TOOLCHAIN_HAS_THREADS
package/tvheadend/Config.in +1 -1
@@ -37,7 +37,7 @@ config BR2_PACKAGE_TVHEADEND_TRANSCODING select BR2_PACKAGE_FFMPEG_AVRESAMPLE select BR2_PACKAGE_FFMPEG_GPL # needed for x264 support select BR2_PACKAGE_FFMPEG_SWSCALE - select BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx + select BR2_PACKAGE_LIBVPX select BR2_PACKAGE_X264 help Enable transcoding support.
package/xenomai/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS bool default y depends on BR2_i386 || BR2_x86_64 || (BR2_arm && !BR2_ARM_CPU_ARMV7M) || \ - BR2_bfin || BR2_powerpc + BR2_powerpc comment "xenomai needs an glibc or uClibc toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
Signature · 1 line
2.14.3
PATCH 11/23 cairo: remove Blackfin related patch
In reply to Thomas PetazzoniAnd renumber the remaining patches.
---
package/cairo/0001-blackfin-build-fix.patch | 55 ----------------------
...ork-build.patch => 0001-fix-nofork-build.patch} | 0
...-49-build.patch => 0002-fix-gcc-49-build.patch} | 0
3 files changed, 55 deletions(-)
delete mode 100644 package/cairo/0001-blackfin-build-fix.patch
rename package/cairo/{0003-fix-nofork-build.patch => 0001-fix-nofork-build.patch} (100%)
rename package/cairo/{0005-fix-gcc-49-build.patch => 0002-fix-gcc-49-build.patch} (100%)package/cairo/0001-blackfin-build-fix.patch deleted +0 -55
@@ -1,55 +0,0 @@ -Fix build on platforms where __USER_LABEL_PREFIX__ is not empty - -On most platforms, a C language symbol and its assembly equivalent are -identical. However, on the Blackfin architecture, this isn't the case, -the corresponding C language symbol in assembly is prepended with a -"_". Blackfin therefore has __USER_LABEL_PREFIX__ defined to "_". - -Cairo already has some code to cope with __USER_LABEL_PREFIX__, but -this code isn't completely correct: it prepends both assembly symbols -and C symbols with __USER_LABEL_PREFIX__, which cannot work. - -This patch fixes that by using the existing slim_hidden_asmname() to -define assembly symbols, and introduce a new slim_hidden_realname() -for C symbols. - -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: b/src/cairo-compiler-private.h -=================================================================== ---- a/src/cairo-compiler-private.h -+++ b/src/cairo-compiler-private.h -@@ -93,12 +93,13 @@ - __asm__ (slim_hidden_asmname (internal)) - # define slim_hidden_def1(name, internal) \ - extern __typeof (name) EXT_##name __asm__(slim_hidden_asmname(name)) \ -- __attribute__((__alias__(slim_hidden_asmname(internal)))) -+ __attribute__((__alias__(slim_hidden_realname(internal)))) - # define slim_hidden_ulp slim_hidden_ulp1(__USER_LABEL_PREFIX__) - # define slim_hidden_ulp1(x) slim_hidden_ulp2(x) - # define slim_hidden_ulp2(x) #x - # define slim_hidden_asmname(name) slim_hidden_asmname1(name) - # define slim_hidden_asmname1(name) slim_hidden_ulp #name -+# define slim_hidden_realname(name) #name - #else - # define slim_hidden_proto(name) int _cairo_dummy_prototype(void) - # define slim_hidden_proto_no_warn(name) int _cairo_dummy_prototype(void) -Index: b/util/cairo-script/cairo-script-private.h -=================================================================== ---- a/util/cairo-script/cairo-script-private.h -+++ b/util/cairo-script/cairo-script-private.h -@@ -109,12 +109,13 @@ - __asm__ (slim_hidden_asmname (internal)) - # define slim_hidden_def1(name, internal) \ - extern __typeof (name) EXT_##name __asm__(slim_hidden_asmname(name)) \ -- __attribute__((__alias__(slim_hidden_asmname(internal)))) -+ __attribute__((__alias__(slim_hidden_realname(internal)))) - # define slim_hidden_ulp slim_hidden_ulp1(__USER_LABEL_PREFIX__) - # define slim_hidden_ulp1(x) slim_hidden_ulp2(x) - # define slim_hidden_ulp2(x) #x - # define slim_hidden_asmname(name) slim_hidden_asmname1(name) - # define slim_hidden_asmname1(name) slim_hidden_ulp #name -+# define slim_hidden_realname(name) #name - #else - # define slim_hidden_proto(name) int _csi_dummy_prototype(void) - # define slim_hidden_proto_no_warn(name) int _csi_dummy_prototype(void)
package/cairo/0001-fix-nofork-build.patch renamed from package/cairo/0003-fix-nofork-build.patch +0 -0
package/cairo/0002-fix-gcc-49-build.patch renamed from package/cairo/0005-fix-gcc-49-build.patch +0 -0
Signature · 1 line
2.14.3
PATCH 12/23 ffmpeg: remove Blackfin related patch
In reply to Thomas PetazzoniAnd renumber remaining patches.
---
.../ffmpeg/0001-bfin-disable-optimization.patch | 26 ----------------------
...g-pthreads.patch => 0001-ffmpeg-pthreads.patch} | 0
2 files changed, 26 deletions(-)
delete mode 100644 package/ffmpeg/0001-bfin-disable-optimization.patch
rename package/ffmpeg/{0002-ffmpeg-pthreads.patch => 0001-ffmpeg-pthreads.patch} (100%)package/ffmpeg/0001-bfin-disable-optimization.patch deleted +0 -26
@@ -1,26 +0,0 @@ -Fix bfin compile error - -See gcc bug report: -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77311 - -Signed-off-by: Waldemar Brodkorb <[email protected]> - -diff -Nur ffmpeg-2.8.7.orig/libavcodec/hevcdsp_template.c ffmpeg-2.8.7/libavcodec/hevcdsp_template.c ---- ffmpeg-2.8.7.orig/libavcodec/hevcdsp_template.c 2016-03-29 04:25:16.000000000 +0200 -+++ ffmpeg-2.8.7/libavcodec/hevcdsp_template.c 2016-08-12 21:32:36.728178969 +0200 -@@ -1517,7 +1517,14 @@ - #define TQ2 pix[2 * xstride + 3 * ystride] - #define TQ3 pix[3 * xstride + 3 * ystride] - --static void FUNC(hevc_loop_filter_luma)(uint8_t *_pix, -+// Blackfin gcc 6.1.x fails with -+// unable to find a register to spill in class CCREGS -+#if defined(__bfin__) -+#define disable_opt __attribute__ ((optimize("O1"))) -+#else -+#define disable_opt -+#endif -+static void disable_opt FUNC(hevc_loop_filter_luma)(uint8_t *_pix, - ptrdiff_t _xstride, ptrdiff_t _ystride, - int beta, int *_tc, - uint8_t *_no_p, uint8_t *_no_q)
package/ffmpeg/0001-ffmpeg-pthreads.patch renamed from package/ffmpeg/0002-ffmpeg-pthreads.patch +0 -0
Signature · 1 line
2.14.3
PATCH 13/23 gdb: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patches.
---
...-Sync-proc_service-definition-with-GLIBC.patch} | 0
...lit-out-common-mach-model-defines-into-ar.patch | 155 ---------------------
...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 0
...fine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} | 0
...0004-Fix-gdbserver-build-on-uClibc-noMMU.patch} | 0
...gidefs.h.patch => 0005-use-asm-sgidefs.h.patch} | 0
6 files changed, 155 deletions(-)
rename package/gdb/7.11.1/{0002-Sync-proc_service-definition-with-GLIBC.patch => 0001-Sync-proc_service-definition-with-GLIBC.patch} (100%)
delete mode 100644 package/gdb/7.11.1/0001-sim-bfin-split-out-common-mach-model-defines-into-ar.patch
rename package/gdb/7.11.1/{0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (100%)
rename package/gdb/7.11.1/{0004-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch => 0003-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} (100%)
rename package/gdb/7.11.1/{0005-Fix-gdbserver-build-on-uClibc-noMMU.patch => 0004-Fix-gdbserver-build-on-uClibc-noMMU.patch} (100%)
rename package/gdb/7.11.1/{0006-use-asm-sgidefs.h.patch => 0005-use-asm-sgidefs.h.patch} (100%)package/gdb/7.11.1/0001-Sync-proc_service-definition-with-GLIBC.patch renamed from package/gdb/7.11.1/0002-Sync-proc_service-definition-with-GLIBC.patch +0 -0
package/gdb/7.11.1/0001-sim-bfin-split-out-common-mach-model-defines-into-ar.patch deleted +0 -155
155 lines not on this page · raw message
package/gdb/7.11.1/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from package/gdb/7.11.1/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +0 -0
package/gdb/7.11.1/0003-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch renamed from package/gdb/7.11.1/0004-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch +0 -0
package/gdb/7.11.1/0004-Fix-gdbserver-build-on-uClibc-noMMU.patch renamed from package/gdb/7.11.1/0005-Fix-gdbserver-build-on-uClibc-noMMU.patch +0 -0
package/gdb/7.11.1/0005-use-asm-sgidefs.h.patch renamed from package/gdb/7.11.1/0006-use-asm-sgidefs.h.patch +0 -0
Signature · 1 line
2.14.3
PATCH 14/23 gdb/7.10: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patches
---
.../0006-Revert-sim-unify-SIM_CPU-definition.patch | 372 ---------------------
...-Sync-proc_service-definition-with-GLIBC.patch} | 0
...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 0
...fine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} | 0
...0009-Fix-gdbserver-build-on-uClibc-noMMU.patch} | 0
...gidefs.h.patch => 0010-use-asm-sgidefs.h.patch} | 0
6 files changed, 372 deletions(-)
delete mode 100644 package/gdb/7.10.1/0006-Revert-sim-unify-SIM_CPU-definition.patch
rename package/gdb/7.10.1/{0007-Sync-proc_service-definition-with-GLIBC.patch => 0006-Sync-proc_service-definition-with-GLIBC.patch} (100%)
rename package/gdb/7.10.1/{0008-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0007-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (100%)
rename package/gdb/7.10.1/{0009-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch => 0008-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch} (100%)
rename package/gdb/7.10.1/{0010-Fix-gdbserver-build-on-uClibc-noMMU.patch => 0009-Fix-gdbserver-build-on-uClibc-noMMU.patch} (100%)
rename package/gdb/7.10.1/{0011-use-asm-sgidefs.h.patch => 0010-use-asm-sgidefs.h.patch} (100%)package/gdb/7.10.1/0006-Revert-sim-unify-SIM_CPU-definition.patch deleted +0 -372
@@ -1,372 +0,0 @@ -From 4d913bb73965fdb9c756e8d5916a829b60aa3a44 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Thu, 4 Aug 2016 23:44:24 +0200 -Subject: [PATCH] Revert "sim: unify SIM_CPU definition" - -This reverts commit 20bca71d82598a015de0991196e45f0b5f7ead81. - -This change causes a redefinition of SIM_CPU on the Blackfin -architecture, as it is defined in both the common sim/common/sim-base.h -and the architecture specific sim/bfin/sim-main.h. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - sim/arm/sim-main.h | 3 +++ - sim/avr/sim-main.h | 2 ++ - sim/bfin/sim-main.h | 2 -- - sim/common/sim-base.h | 2 -- - sim/cr16/sim-main.h | 2 ++ - sim/cris/sim-main.h | 5 +++++ - sim/d10v/sim-main.h | 2 ++ - sim/frv/sim-main.h | 10 ++++++++++ - sim/ft32/sim-main.h | 2 ++ - sim/h8300/sim-main.h | 3 +++ - sim/iq2000/sim-main.h | 5 +++++ - sim/lm32/sim-main.h | 5 +++++ - sim/m32r/sim-main.h | 5 +++++ - sim/m68hc11/sim-main.h | 3 +++ - sim/mcore/sim-main.h | 2 ++ - sim/microblaze/sim-main.h | 3 +++ - sim/mips/sim-main.h | 3 +++ - sim/mn10300/sim-main.h | 2 ++ - sim/moxie/sim-main.h | 3 +++ - sim/msp430/sim-main.h | 3 +++ - sim/sh/sim-main.h | 3 +++ - sim/sh64/sim-main.h | 5 +++++ - sim/v850/sim-main.h | 3 +++ - 23 files changed, 74 insertions(+), 4 deletions(-) - -diff --git a/sim/arm/sim-main.h b/sim/arm/sim-main.h -index 9a37b98..ae622bd 100644 ---- a/sim/arm/sim-main.h -+++ b/sim/arm/sim-main.h -@@ -20,6 +20,9 @@ - #define SIM_MAIN_H - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/avr/sim-main.h b/sim/avr/sim-main.h -index e0cac22..52904e3 100644 ---- a/sim/avr/sim-main.h -+++ b/sim/avr/sim-main.h -@@ -23,6 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - extern unsigned int pc; - -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - - struct _sim_cpu { -diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h -index 806fe15..53e1774 100644 ---- a/sim/bfin/sim-main.h -+++ b/sim/bfin/sim-main.h -@@ -24,8 +24,6 @@ - #include "sim-basics.h" - #include "sim-signal.h" - --/* TODO: Delete this. Need to convert bu32/etc... to common sim types -- and unwind the bfin-sim.h/machs.h include below first though. */ - typedef struct _sim_cpu SIM_CPU; - - #include "bfin-sim.h" -diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h -index 21f61f4..e90e07c 100644 ---- a/sim/common/sim-base.h -+++ b/sim/common/sim-base.h -@@ -72,8 +72,6 @@ typedef address_word sim_cia; - #define INVALID_INSTRUCTION_ADDRESS ((address_word)0 - 1) - #endif - --/* TODO: Probably should just delete SIM_CPU. */ --typedef struct _sim_cpu SIM_CPU; - typedef struct _sim_cpu sim_cpu; - - #include "sim-module.h" -diff --git a/sim/cr16/sim-main.h b/sim/cr16/sim-main.h -index a63b93e..1a80229 100644 ---- a/sim/cr16/sim-main.h -+++ b/sim/cr16/sim-main.h -@@ -24,6 +24,8 @@ - typedef long int word; - typedef unsigned long int uword; - -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/cris/sim-main.h b/sim/cris/sim-main.h -index 4dc04a2..fec0039 100644 ---- a/sim/cris/sim-main.h -+++ b/sim/cris/sim-main.h -@@ -24,6 +24,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #ifndef SIM_MAIN_H - #define SIM_MAIN_H - -+#define USING_SIM_BASE_H -+ -+struct _sim_cpu; -+typedef struct _sim_cpu SIM_CPU; -+ - #include "symcat.h" - #include "sim-basics.h" - #include "cgen-types.h" -diff --git a/sim/d10v/sim-main.h b/sim/d10v/sim-main.h -index 0b87811..a7d59dd 100644 ---- a/sim/d10v/sim-main.h -+++ b/sim/d10v/sim-main.h -@@ -24,6 +24,8 @@ - typedef long int word; - typedef unsigned long int uword; - -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h -index d5a67cb..fd12c4f 100644 ---- a/sim/frv/sim-main.h -+++ b/sim/frv/sim-main.h -@@ -19,6 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - /* Main header for the frv. */ - -+#define USING_SIM_BASE_H /* FIXME: quick hack */ -+ -+struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -+typedef struct _sim_cpu SIM_CPU; -+ -+/* Set the mask of unsupported traces. */ -+#define WITH_TRACE \ -+ (~(TRACE_alu | TRACE_decode | TRACE_memory | TRACE_model | TRACE_fpu \ -+ | TRACE_branch | TRACE_debug)) -+ - /* sim-basics.h includes config.h but cgen-types.h must be included before - sim-basics.h and cgen-types.h needs config.h. */ - #include "config.h" -diff --git a/sim/ft32/sim-main.h b/sim/ft32/sim-main.h -index b27a690..a270a5d 100644 ---- a/sim/ft32/sim-main.h -+++ b/sim/ft32/sim-main.h -@@ -25,6 +25,8 @@ - #include "sim-base.h" - #include "bfd.h" - -+typedef struct _sim_cpu SIM_CPU; -+ - #include "ft32-sim.h" - - struct _sim_cpu { -diff --git a/sim/h8300/sim-main.h b/sim/h8300/sim-main.h -index 6dbc1ac..e95c4d9 100644 ---- a/sim/h8300/sim-main.h -+++ b/sim/h8300/sim-main.h -@@ -87,6 +87,9 @@ enum h8_typecodes { - }; - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - - /* Structure used to describe addressing */ -diff --git a/sim/iq2000/sim-main.h b/sim/iq2000/sim-main.h -index 992520a..ce3baba 100644 ---- a/sim/iq2000/sim-main.h -+++ b/sim/iq2000/sim-main.h -@@ -4,6 +4,11 @@ - #ifndef SIM_MAIN_H - #define SIM_MAIN_H - -+#define USING_SIM_BASE_H /* FIXME: quick hack */ -+ -+struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -+typedef struct _sim_cpu SIM_CPU; -+ - /* sim-basics.h includes config.h but cgen-types.h must be included before - sim-basics.h and cgen-types.h needs config.h. */ - #include "config.h" -diff --git a/sim/lm32/sim-main.h b/sim/lm32/sim-main.h -index 4894e8d..210bb8b 100644 ---- a/sim/lm32/sim-main.h -+++ b/sim/lm32/sim-main.h -@@ -23,6 +23,11 @@ - #ifndef SIM_MAIN_H - #define SIM_MAIN_H - -+#define USING_SIM_BASE_H /* FIXME: quick hack */ -+ -+struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "symcat.h" - #include "sim-basics.h" - #include "cgen-types.h" -diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h -index cd39e98..74bb513 100644 ---- a/sim/m32r/sim-main.h -+++ b/sim/m32r/sim-main.h -@@ -3,6 +3,11 @@ - #ifndef SIM_MAIN_H - #define SIM_MAIN_H - -+#define USING_SIM_BASE_H /* FIXME: quick hack */ -+ -+struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "symcat.h" - #include "sim-basics.h" - #include "cgen-types.h" -diff --git a/sim/m68hc11/sim-main.h b/sim/m68hc11/sim-main.h -index d1fc582..4f41db9 100644 ---- a/sim/m68hc11/sim-main.h -+++ b/sim/m68hc11/sim-main.h -@@ -25,6 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #define SIM_HANDLES_LMA 1 - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-signal.h" - #include "sim-base.h" - -diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h -index be50ec1..25698c1 100644 ---- a/sim/mcore/sim-main.h -+++ b/sim/mcore/sim-main.h -@@ -24,6 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - typedef long int word; - typedef unsigned long int uword; - -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/microblaze/sim-main.h b/sim/microblaze/sim-main.h -index 6781374..6b7b776 100644 ---- a/sim/microblaze/sim-main.h -+++ b/sim/microblaze/sim-main.h -@@ -20,6 +20,9 @@ - - #include "microblaze.h" - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - - /* The machine state. -diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h -index 8d698ad..9729804 100644 ---- a/sim/mips/sim-main.h -+++ b/sim/mips/sim-main.h -@@ -29,6 +29,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR)) - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/mn10300/sim-main.h b/sim/mn10300/sim-main.h -index 847506e..2ddbfb9 100644 ---- a/sim/mn10300/sim-main.h -+++ b/sim/mn10300/sim-main.h -@@ -42,6 +42,8 @@ - #include "itable.h" - #include "idecode.h" - -+typedef struct _sim_cpu SIM_CPU; -+ - #define WITH_WATCHPOINTS 1 - - #define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \ -diff --git a/sim/moxie/sim-main.h b/sim/moxie/sim-main.h -index b1a64fc..c60437e 100644 ---- a/sim/moxie/sim-main.h -+++ b/sim/moxie/sim-main.h -@@ -21,6 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #define SIM_MAIN_H - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - #include "bfd.h" - -diff --git a/sim/msp430/sim-main.h b/sim/msp430/sim-main.h -index 19c8cca..37bb42d 100644 ---- a/sim/msp430/sim-main.h -+++ b/sim/msp430/sim-main.h -@@ -23,6 +23,9 @@ - - #include "sim-basics.h" - #include "sim-signal.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "msp430-sim.h" - #include "sim-base.h" - -diff --git a/sim/sh/sim-main.h b/sim/sh/sim-main.h -index e67df28..e2e17d7 100644 ---- a/sim/sh/sim-main.h -+++ b/sim/sh/sim-main.h -@@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #define SIM_MAIN_H - - #include "sim-basics.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - - typedef struct -diff --git a/sim/sh64/sim-main.h b/sim/sh64/sim-main.h -index 7b24ab0..8fb595e 100644 ---- a/sim/sh64/sim-main.h -+++ b/sim/sh64/sim-main.h -@@ -3,6 +3,11 @@ - #ifndef SIM_MAIN_H - #define SIM_MAIN_H - -+#define USING_SIM_BASE_H /* FIXME: quick hack */ -+ -+struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -+typedef struct _sim_cpu SIM_CPU; -+ - /* sim-basics.h includes config.h but cgen-types.h must be included before - sim-basics.h and cgen-types.h needs config.h. */ - #include "config.h" -diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h -index 5127d28..16cbd97 100644 ---- a/sim/v850/sim-main.h -+++ b/sim/v850/sim-main.h -@@ -16,6 +16,9 @@ - #include "sim-basics.h" - #include "sim-signal.h" - #include "sim-fpu.h" -+ -+typedef struct _sim_cpu SIM_CPU; -+ - #include "sim-base.h" - - #include "simops.h" --- -2.7.4 -
package/gdb/7.10.1/0006-Sync-proc_service-definition-with-GLIBC.patch renamed from package/gdb/7.10.1/0007-Sync-proc_service-definition-with-GLIBC.patch +0 -0
package/gdb/7.10.1/0007-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch renamed from package/gdb/7.10.1/0008-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +0 -0
package/gdb/7.10.1/0008-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch renamed from package/gdb/7.10.1/0009-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch +0 -0
package/gdb/7.10.1/0009-Fix-gdbserver-build-on-uClibc-noMMU.patch renamed from package/gdb/7.10.1/0010-Fix-gdbserver-build-on-uClibc-noMMU.patch +0 -0
package/gdb/7.10.1/0010-use-asm-sgidefs.h.patch renamed from package/gdb/7.10.1/0011-use-asm-sgidefs.h.patch +0 -0
Signature · 1 line
2.14.3
PATCH 15/23 graphite2: remove Blackfin related patch
In reply to Thomas Petazzoni--- .../graphite2/0001-disable-double-promotion.patch | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 package/graphite2/0001-disable-double-promotion.patch
package/graphite2/0001-disable-double-promotion.patch deleted +0 -23
@@ -1,23 +0,0 @@ -Don't use -Wdouble-promotion gcc option - -The warning flag isn't recognized for older GCC versions (blackfin), -so just disable it. - -Signed-off-by: Gustavo Zacarias <[email protected]> -[Gustavo: update for 1.3.5] -Signed-off-by: Bernd Kuhls <[email protected]> -[Bernd: update for 1.3.10] - -diff -Nura graphite2-1.3.5.orig/src/CMakeLists.txt graphite2-1.3.5/src/CMakeLists.txt ---- graphite2-1.3.5.orig/src/CMakeLists.txt 2016-02-15 11:46:45.941906112 -0300 -+++ graphite2-1.3.5/src/CMakeLists.txt 2016-02-15 11:46:54.237194222 -0300 -@@ -111,9 +111,6 @@ - if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86") - add_definitions(-mfpmath=sse -msse2) - endif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86") -- if (CMAKE_COMPILER_IS_GNUCXX) -- add_definitions(-Wdouble-promotion) -- endif (CMAKE_COMPILER_IS_GNUCXX) - message(STATUS "Compiler ID is: ${CMAKE_CXX_COMPILER_ID}") - if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") - add_definitions(-Wimplicit-fallthrough)
Signature · 1 line
2.14.3
PATCH 16/23 icu: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patches.
---
.../icu/0003-detect-compiler-symbol-prefix.patch | 116 ---------------------
....patch => 0003-link-icudata-as-data-only.patch} | 0
...h => 0004-fix-static-linking-with-icu-uc.patch} | 0
3 files changed, 116 deletions(-)
delete mode 100644 package/icu/0003-detect-compiler-symbol-prefix.patch
rename package/icu/{0004-link-icudata-as-data-only.patch => 0003-link-icudata-as-data-only.patch} (100%)
rename package/icu/{0005-fix-static-linking-with-icu-uc.patch => 0004-fix-static-linking-with-icu-uc.patch} (100%)package/icu/0003-detect-compiler-symbol-prefix.patch deleted +0 -116
@@ -1,116 +0,0 @@ -detect and add compiler symbol prefix to the assembly code - -Some compiler, such as Blackfin GNU compiler, prefix a charater to any -C symbol in generated assembly code. If any assembly symbol is invoked -from C code, it needs to be prefixed as well. - -Note: since autoreconf doesn't work with this package because automake -isn't support - -[Ryan: add information about why patching configure is ok] -[Gustavo: update for ICU4C 54.1] - -Signed-off-by: Sonic Zhang <[email protected]> -Signed-off-by: Ryan Barnett <[email protected]> -Signed-off-by: Gustavo Zacarias <[email protected]> - -diff -Nura icu.orig/source/configure icu/source/configure ---- icu.orig/source/configure 2014-12-18 15:49:43.038628644 -0300 -+++ icu/source/configure 2014-12-18 15:56:05.793832186 -0300 -@@ -637,6 +637,7 @@ - ICUDATA_CHAR - SAMPLES_TRUE - TESTS_TRUE -+SYMBOL_PREFIX - ICULIBSUFFIXCNAME - U_HAVE_LIB_SUFFIX - ICULIBSUFFIX -@@ -7414,6 +7415,17 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5 - $as_echo "$CHECK_UTF16_STRING_RESULT" >&6; } - -+# Check compiler generated symbol profix -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5 -+$as_echo "checking for symbol prefix... " >&6; } -+ SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \ -+ | ${CPP-${CC-gcc} -E} - 2>&1 \ -+ | ${EGREP-grep} "^PREFIX=" \ -+ | sed -e "s:^PREFIX=::" -e "s:__USER_LABEL_PREFIX__::"` -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5 -+$as_echo "$SYMBOL_PREFIX" >&6; } -+ - # Enable/disable extras - # Check whether --enable-extras was given. - if test "${enable_extras+set}" = set; then : -diff -Nura icu.orig/source/data/Makefile.in icu/source/data/Makefile.in ---- icu.orig/source/data/Makefile.in 2014-12-18 15:49:42.908624160 -0300 -+++ icu/source/data/Makefile.in 2014-12-18 16:01:32.751110913 -0300 -@@ -182,11 +182,11 @@ - packagedata: icupkg.inc $(PKGDATA_LIST) build-local - ifneq ($(ENABLE_STATIC),) - ifeq ($(PKGDATA_MODE),dll) -- $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) -m static $(PKGDATA_VERSIONING) $(PKGDATA_LIST) -+ $(PKGDATA_INVOKE) $(PKGDATA) -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) -m static $(PKGDATA_VERSIONING) $(PKGDATA_LIST) - endif - endif - ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES) -- $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(PKGDATA_LIBNAME) $(PKGDATA_LIST) -+ $(PKGDATA_INVOKE) $(PKGDATA) -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(PKGDATA_LIBNAME) $(PKGDATA_LIST) - else - $(INSTALL_DATA) $(ICUDATA_SOURCE_ARCHIVE) $(OUTDIR) - endif -@@ -209,11 +209,11 @@ - endif - ifneq ($(ENABLE_STATIC),) - ifeq ($(PKGDATA_MODE),dll) -- $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) $(PKGDATA_LIST) -I $(ICUPKGDATA_INSTALL_LIBDIR) -+ $(PKGDATA_INVOKE) $(PKGDATA) -m static -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) $(PKGDATA_LIST) -I $(ICUPKGDATA_INSTALL_LIBDIR) - endif - endif - ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES) -- $(PKGDATA_INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBNAME) $(PKGDATA_LIST) -I $(ICUPKGDATA_INSTALL_DIR) -+ $(PKGDATA_INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBNAME) $(PKGDATA_LIST) -I $(ICUPKGDATA_INSTALL_DIR) - else - $(INSTALL_DATA) $(ICUDATA_SOURCE_ARCHIVE) $(DESTDIR)$(ICUPKGDATA_DIR) - endif -@@ -224,7 +224,7 @@ - #### 390 support - install390: package390 - $(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(libdir) -- $(INVOKE) $(PKGDATA) -s $(BUILDDIR)$(STUB_SUFFIX) -T $(OUTTMPDIR_390STUB) -p $(ICUDATA_NAME)$(STUB_SUFFIX) $(PKGDATA_LIBNAME)$(STUB_SUFFIX) -e $(ICUDATA_ENTRY_POINT) $(OS390LIST) -m dll $(PKGDATA_VERSIONING) -I $(DESTDIR)$(ICUPKGDATA_DIR) -+ $(INVOKE) $(PKGDATA) -s $(BUILDDIR)$(STUB_SUFFIX) -T $(OUTTMPDIR_390STUB) -p $(ICUDATA_NAME)$(STUB_SUFFIX) $(PKGDATA_LIBNAME)$(STUB_SUFFIX) -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) $(OS390LIST) -m dll $(PKGDATA_VERSIONING) -I $(DESTDIR)$(ICUPKGDATA_DIR) - ifeq ($(PKGDATA_MODE),dll) - $(INSTALL-L) $(ICUPKGDATA_OUTDIR)/$(FINAL_IMPORT_LIB) $(DESTDIR)$(ICUPKGDATA_DIR)/$(FINAL_IMPORT_LIB) - endif -@@ -232,7 +232,7 @@ - #### $(LIB_ICUDATA_NAME)$(STUB_SUFFIX) is the subset data for batch mode - package390: $(OUTTMPDIR)/icudata390.lst $(PKGDATA_LIST) ./icupkg.inc packagedata - ln -s $(ICUDATA_NAME) $(OUTDIR)/build/$(ICUDATA_NAME)$(STUB_SUFFIX) -- $(INVOKE) $(PKGDATA) -s $(BUILDDIR)$(STUB_SUFFIX) -T $(OUTTMPDIR_390STUB) -p $(ICUDATA_NAME)$(STUB_SUFFIX) $(PKGDATA_LIBNAME)$(STUB_SUFFIX) -e $(ICUDATA_ENTRY_POINT) $(OS390LIST) -m dll $(PKGDATA_VERSIONING) -+ $(INVOKE) $(PKGDATA) -s $(BUILDDIR)$(STUB_SUFFIX) -T $(OUTTMPDIR_390STUB) -p $(ICUDATA_NAME)$(STUB_SUFFIX) $(PKGDATA_LIBNAME)$(STUB_SUFFIX) -e @SYMBOL_PREFIX@$(ICUDATA_ENTRY_POINT) $(OS390LIST) -m dll $(PKGDATA_VERSIONING) - cp $(ICUPKGDATA_OUTDIR)/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX).$(SO) $(top_builddir)/stubdata/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX).$(SO) - - -diff -Nura icu.orig/source/extra/uconv/Makefile.in icu/source/extra/uconv/Makefile.in ---- icu.orig/source/extra/uconv/Makefile.in 2014-12-18 15:49:42.986626850 -0300 -+++ icu/source/extra/uconv/Makefile.in 2014-12-18 15:57:40.558101179 -0300 -@@ -58,7 +58,8 @@ - ## Static mode - ifeq ($(UCONVMSG_MODE),static) - DEFS += -DUCONVMSG_LINK=$(MSGNAME) --UCONVMSG_LIB = $(RESDIR)/$(LIBPREFIX)$(STATIC_PREFIX_WHEN_USED)$(MSGNAME).$(A) -+UCONVMSG_LIB = $(RESDIR)/$(LIBPREFIX)$(STATIC_PREFIX_WHEN_USED)@SYMBOL_PREFIX@$(MSGNAME).$(A) -+ - LIBS += $(UCONVMSG_LIB) - PKGMODE=static - INSTALLTO=$(libdir) -@@ -152,7 +153,7 @@ - endif - - $(UCONVMSG_LIB): $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc -- $(INVOKE) $(PKGDATA_INVOKE_OPTS) $(TOOLBINDIR)/pkgdata -p $(MSGNAME) $(PKGDATA_OPTS) -m $(PKGMODE) -s $(RESDIR) -d $(RESDIR) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst -+ $(INVOKE) $(PKGDATA_INVOKE_OPTS) $(TOOLBINDIR)/pkgdata -p @SYMBOL_PREFIX@$(MSGNAME) $(PKGDATA_OPTS) -m $(PKGMODE) -s $(RESDIR) -d $(RESDIR) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst - - $(RESDIR)/$(RESDIR).lst: Makefile $(srcdir)/resfiles.mk - @-$(RMV) $@
package/icu/0003-link-icudata-as-data-only.patch renamed from package/icu/0004-link-icudata-as-data-only.patch +0 -0
package/icu/0004-fix-static-linking-with-icu-uc.patch renamed from package/icu/0005-fix-static-linking-with-icu-uc.patch +0 -0
Signature · 1 line
2.14.3
PATCH 17/23 libselinux: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber the remaining patches.
---
...-musl-build.patch => 0001-fix-musl-build.patch} | 0
.../0001-workaround-blackfin-issue.patch | 24 ----------------------
...uild-follow-standard-semantics-for-DESTD.patch} | 0
...elative.patch => 0003-revert-ln-relative.patch} | 0
4 files changed, 24 deletions(-)
rename package/libselinux/{0002-fix-musl-build.patch => 0001-fix-musl-build.patch} (100%)
delete mode 100644 package/libselinux/0001-workaround-blackfin-issue.patch
rename package/libselinux/{0003-libselinux-build-follow-standard-semantics-for-DESTD.patch => 0002-libselinux-build-follow-standard-semantics-for-DESTD.patch} (100%)
rename package/libselinux/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%)package/libselinux/0001-fix-musl-build.patch renamed from package/libselinux/0002-fix-musl-build.patch +0 -0
package/libselinux/0001-workaround-blackfin-issue.patch deleted +0 -24
@@ -1,24 +0,0 @@ -Do not make symbols hidden on Blackfin - -The libselinux logic to hide internal symbols from the DSO doesn't -work properly on Blackfin due to the USER_LABEL_PREFIX not being -handled properly. A real fix is not that simple, so this patch simply -disables the internal symbol hiding mechanism. This means that those -symbols are visible in the final DSO, which is not a problem for -proper execution, it just isn't as clean. - -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: b/src/dso.h -=================================================================== ---- a/src/dso.h -+++ b/src/dso.h -@@ -1,7 +1,7 @@ - #ifndef _SELINUX_DSO_H - #define _SELINUX_DSO_H 1 - --#ifdef SHARED -+#if defined(SHARED) && !defined(__bfin__) - # define hidden __attribute__ ((visibility ("hidden"))) - # define hidden_proto(fct) __hidden_proto (fct, fct##_internal) - # define __hidden_proto(fct, internal) \
package/libselinux/0002-libselinux-build-follow-standard-semantics-for-DESTD.patch renamed from package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch +0 -0
package/libselinux/0003-revert-ln-relative.patch renamed from package/libselinux/0004-revert-ln-relative.patch +0 -0
Signature · 1 line
2.14.3
PATCH 18/23 libpng: remove Blackfin patch
In reply to Thomas Petazzoni--- ...-prefix-to-symbol-names-in-version-script.patch | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 package/libpng/0002-Don-t-append-prefix-to-symbol-names-in-version-script.patch
package/libpng/0002-Don-t-append-prefix-to-symbol-names-in-version-script.patch deleted +0 -55
@@ -1,55 +0,0 @@ -From 473fdecd9a580b45251480b8ccbbb1927c598310 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias <[email protected]> -Date: Thu, 26 May 2016 16:27:13 -0300 -Subject: [PATCH] Don't append prefix to symbol names in version script - -Even if Blackfin GNU toolchain add prefix '_' to all symbols, -symbol prefix is not accepted in the link flag --version-script. -Don't append prefix in the symbols in the version script file. - -Original patch by: Sonic Zhang <[email protected]> - -[Gustavo: update for 1.6.22] -Signed-off-by: Gustavo Zacarias <[email protected]> - -[Julien: update for 1.6.25] -Signed-off-by: Julien Boibessot <[email protected]> - -[Bernd: update for 1.6.29] -Signed-off-by: Bernd Kuhls <[email protected]> - -Signed-off-by: Gustavo Zacarias <[email protected]> ---- - Makefile.am | 2 +- - Makefile.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 3430dca..db6a7a2 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -245,7 +245,7 @@ contrib/tools/pngfix.o: pnglibconf.h - # interfering with the symbol file format. - SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG at PNGLIB_MAJOR@@PNGLIB_MINOR at _0'\ - -DPNGLIB_VERSION='@PNGLIB_VERSION@'\ -- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)'\ -+ -DSYMBOL_PREFIX=''\ - -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE - - if DO_PNG_PREFIX -diff --git a/Makefile.in b/Makefile.in -index 4e67782..5f468d9 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -766,7 +766,7 @@ SUFFIXES = .chk .out - # interfering with the symbol file format. - SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG at PNGLIB_MAJOR@@PNGLIB_MINOR at _0' \ - -DPNGLIB_VERSION='@PNGLIB_VERSION@' \ -- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \ -+ -DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS \ - -DPNG_BUILDING_SYMBOL_TABLE $(am__append_9) - - # EXT_LIST is a list of the possibly library directory extensions, this exists --- -2.7.3 -
Signature · 1 line
2.14.3
PATCH 19/23 libsemanage: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber the remaining patch.
---
...uild-follow-standard-semantics-for-DESTD.patch} | 0
.../0001-workaround-blackfin-issue.patch | 25 ----------------------
2 files changed, 25 deletions(-)
rename package/libsemanage/{0002-libsemanage-build-follow-standard-semantics-for-DESTD.patch => 0001-libsemanage-build-follow-standard-semantics-for-DESTD.patch} (100%)
delete mode 100644 package/libsemanage/0001-workaround-blackfin-issue.patchpackage/libsemanage/0001-libsemanage-build-follow-standard-semantics-for-DESTD.patch renamed from package/libsemanage/0002-libsemanage-build-follow-standard-semantics-for-DESTD.patch +0 -0
package/libsemanage/0001-workaround-blackfin-issue.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Do not make symbols hidden on Blackfin - -The libselinux logic to hide internal symbols from the DSO doesn't -work properly on Blackfin due to the USER_LABEL_PREFIX not being -handled properly. A real fix is not that simple, so this patch simply -disables the internal symbol hiding mechanism. This means that those -symbols are visible in the final DSO, which is not a problem for -proper execution, it just isn't as clean. - -Signed-off-by: Thomas Petazzoni <[email protected]> -Signed-off-by: Adam Duskett <[email protected]> - -Index: b/src/dso.h -=================================================================== ---- a/src/dso.h -+++ b/src/dso.h -@@ -1,7 +1,7 @@ - #ifndef _SEPOL_DSO_H - #define _SEPOL_DSO_H 1 - --#ifdef SHARED -+#if defined(SHARED) && !defined(__bfin__) - # define hidden __attribute__ ((visibility ("hidden"))) - # define hidden_proto(fct) __hidden_proto (fct, fct##_internal) - # define __hidden_proto(fct, internal) \
Signature · 1 line
2.14.3
PATCH 20/23 libsepol: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patches.
---
...c-only.patch => 0002-support-static-only.patch} | 0
.../libsepol/0002-workaround-blackfin-issue.patch | 26 ----------------------
...elative.patch => 0003-revert-ln-relative.patch} | 0
3 files changed, 26 deletions(-)
rename package/libsepol/{0003-support-static-only.patch => 0002-support-static-only.patch} (100%)
delete mode 100644 package/libsepol/0002-workaround-blackfin-issue.patch
rename package/libsepol/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%)package/libsepol/0002-support-static-only.patch renamed from package/libsepol/0003-support-static-only.patch +0 -0
package/libsepol/0002-workaround-blackfin-issue.patch deleted +0 -26
@@ -1,26 +0,0 @@ -Do not make symbols hidden on Blackfin - -The libselinux logic to hide internal symbols from the DSO doesn't -work properly on Blackfin due to the USER_LABEL_PREFIX not being -handled properly. A real fix is not that simple, so this patch simply -disables the internal symbol hiding mechanism. This means that those -symbols are visible in the final DSO, which is not a problem for -proper execution, it just isn't as clean. - -Signed-off-by: Thomas Petazzoni <[email protected]> -Signed-off-by: Adam Duskett <[email protected]> - -Index: b/src/dso.h -=================================================================== ---- a/src/dso.h -+++ b/src/dso.h -@@ -5,7 +5,7 @@ - #define DISABLE_SYMVER 1 - #endif - --#ifdef SHARED -+#if defined(SHARED) && !defined(__bfin__) - # define hidden __attribute__ ((visibility ("hidden"))) - # define hidden_proto(fct) __hidden_proto (fct, fct##_internal) - # define __hidden_proto(fct, internal) \ -
package/libsepol/0003-revert-ln-relative.patch renamed from package/libsepol/0004-revert-ln-relative.patch +0 -0
Signature · 1 line
2.14.3
PATCH 21/23 p7zip: remove Blackfin patch
In reply to Thomas Petazzoni--- package/p7zip/0001-bfin.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 package/p7zip/0001-bfin.patch
package/p7zip/0001-bfin.patch deleted +0 -19
@@ -1,19 +0,0 @@ -Add support for blackfin arch. - -Fixes compilation error: -../../../../CPP/myWindows/mySplitCommandLine.cpp:99:8: error: #error ENDIANNESS - -Signed-off-by: Bernd Kuhls <[email protected]> -(Patch sent upstream: https://sourceforge.net/p/p7zip/patches/33/ - -diff -uNr p7zip_15.14.1.org/C/CpuArch.h p7zip_15.14.1/C/CpuArch.h ---- p7zip_15.14.1.org/C/CpuArch.h 2016-02-17 07:27:16.000000000 +0100 -+++ p7zip_15.14.1/C/CpuArch.h 2016-06-08 19:47:49.000000000 +0200 -@@ -66,6 +66,7 @@ - || defined(__MIPSEL__) \ - || defined(__MIPSEL) \ - || defined(_MIPSEL) \ -+ || defined(__BFIN__) \ - || (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)) - #define MY_CPU_LE - #endif
Signature · 1 line
2.14.3
PATCH 22/23 wayland: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patch.
---
...hitectures-with-non-empty-__USER_LABEL_PR.patch | 57 ----------------------
...01-configure-add-option-to-disable-tests.patch} | 0
2 files changed, 57 deletions(-)
delete mode 100644 package/wayland/0001-Support-architectures-with-non-empty-__USER_LABEL_PR.patch
rename package/wayland/{0002-configure-add-option-to-disable-tests.patch => 0001-configure-add-option-to-disable-tests.patch} (100%)package/wayland/0001-Support-architectures-with-non-empty-__USER_LABEL_PR.patch deleted +0 -57
@@ -1,57 +0,0 @@ -From 0a337328411d5b3f37b169a83b6fee3f1726130f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Thu, 26 May 2016 15:57:33 +0200 -Subject: [PATCH] Support architectures with non-empty __USER_LABEL_PREFIX__ - -On some architectures (like Blackfin), a C symbol does not directly -match with assembly symbols. The C symbol references are in fact all -prefixed by a so-called "user label prefix". So when a symbol defined -in an assembly file needs to be referenced from C, this symbol should -be prefixed by the "user label prefix". - -This commit updates dtddata.S to take into account -__USER_LABEL_PREFIX__ when it exists. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - src/dtddata.S | 19 +++++++++++++------ - 1 file changed, 13 insertions(+), 6 deletions(-) - -diff --git a/src/dtddata.S b/src/dtddata.S -index ce51133..ad2a4db 100644 ---- a/src/dtddata.S -+++ b/src/dtddata.S -@@ -30,17 +30,24 @@ - - /* from: http://www.linuxjournal.com/content/embedding-file-executable-aka-hello-world-version-5967#comment-348129 */ - -+#ifdef __USER_LABEL_PREFIX__ -+#define CONCAT1(a, b) CONCAT2(a, b) -+#define CONCAT2(a, b) a ## b -+#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x) -+#else -+#endif -+ - .macro binfile name file - .p2align 2 -- .globl \name\()_begin --\name\()_begin: -+ .globl SYM(\name\()_begin) -+SYM(\name\()_begin): - .incbin "\file" --\name\()_end: -+SYM(\name\()_end): - .byte 0 - .p2align 2 -- .globl \name\()_len --\name\()_len: -- .int (\name\()_end - \name\()_begin) -+ .globl SYM(\name\()_len) -+SYM(\name\()_len): -+ .int (SYM(\name\()_end) - SYM(\name\()_begin)) - .endm - - .section .rodata --- -2.7.4 -
package/wayland/0001-configure-add-option-to-disable-tests.patch renamed from package/wayland/0002-configure-add-option-to-disable-tests.patch +0 -0
Signature · 1 line
2.14.3
PATCH 23/23 php: remove Blackfin patch
In reply to Thomas PetazzoniAnd renumber remaining patches.
---
...x.patch => 0006-Call-apxs-with-correct-prefix.patch} | 0
package/php/0006-avoid-bfin-gcc-segfault.patch | 17 -----------------
...p_ini.c-build-empty-php_load_zend_extension_c.patch} | 0
3 files changed, 17 deletions(-)
rename package/php/{0007-Call-apxs-with-correct-prefix.patch => 0006-Call-apxs-with-correct-prefix.patch} (100%)
delete mode 100644 package/php/0006-avoid-bfin-gcc-segfault.patch
rename package/php/{0008-main-php_ini.c-build-empty-php_load_zend_extension_c.patch => 0007-main-php_ini.c-build-empty-php_load_zend_extension_c.patch} (100%)package/php/0006-Call-apxs-with-correct-prefix.patch renamed from package/php/0007-Call-apxs-with-correct-prefix.patch +0 -0
package/php/0006-avoid-bfin-gcc-segfault.patch deleted +0 -17
@@ -1,17 +0,0 @@ -Avoid gcc segmentation fault - -Signed-off-by: Waldemar Brodkorb <[email protected]> -Signed-off-by: Adam Duskett <[email protected]> -[aduskett at gmail.com: Update for 7.2.2] -diff -Nur php-7.0.12.orig/Zend/zend_portability.h php-7.0.12/Zend/zend_portability.h ---- php-7.0.12.orig/Zend/zend_portability.h 2016-10-13 16:04:17.000000000 +0200 -+++ php-7.0.12/Zend/zend_portability.h 2016-11-08 02:49:39.118388999 +0100 -@@ -95,7 +95,7 @@ - - #if defined(ZEND_WIN32) && !defined(__clang__) - # define ZEND_ASSUME(c) __assume(c) --#elif ((defined(__GNUC__) && ZEND_GCC_VERSION >= 4005) || __has_builtin(__builtin_unreachable)) && PHP_HAVE_BUILTIN_EXPECT -+#elif ((defined(__GNUC__) && ZEND_GCC_VERSION >= 4005) || __has_builtin(__builtin_unreachable)) && PHP_HAVE_BUILTIN_EXPECT && !defined(__bfin__) - # define ZEND_ASSUME(c) do { \ - if (__builtin_expect(!(c), 0)) __builtin_unreachable(); \ - } while (0)
package/php/0007-main-php_ini.c-build-empty-php_load_zend_extension_c.patch renamed from package/php/0008-main-php_ini.c-build-empty-php_load_zend_extension_c.patch +0 -0
Signature · 1 line
2.14.3