Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 912513 Details for
Bug 926177
msp430-gcc: Does not support aarch64 in f19 and rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for rawhide
Fix-FTBFS-on-aarch64-host-926177.patch (text/plain), 3.90 KB, created by
Yaakov Selkowitz
on 2014-06-26 18:26:06 UTC
(
hide
)
Description:
Patch for rawhide
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-26 18:26:06 UTC
Size:
3.90 KB
patch
obsolete
>From c70b3c11826d468c8e01417113cbc35e144b8163 Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Thu, 26 Jun 2014 13:20:59 -0500 >Subject: [PATCH] Fix FTBFS on aarch64 host (#926177) > >--- > msp430-gcc-4.6.4-host-aarch64.patch | 65 +++++++++++++++++++++++++++++++++++++ > msp430-gcc.spec | 7 +++- > 2 files changed, 71 insertions(+), 1 deletion(-) > create mode 100644 msp430-gcc-4.6.4-host-aarch64.patch > >diff --git a/msp430-gcc-4.6.4-host-aarch64.patch b/msp430-gcc-4.6.4-host-aarch64.patch >new file mode 100644 >index 0000000..e9082be >--- /dev/null >+++ b/msp430-gcc-4.6.4-host-aarch64.patch >@@ -0,0 +1,65 @@ >+--- a/config.guess >++++ b/config.guess >+@@ -858,6 +858,13 @@ EOF >+ i*86:Minix:*:*) >+ echo ${UNAME_MACHINE}-pc-minix >+ exit ;; >++ aarch64:Linux:*:*) >++ echo ${UNAME_MACHINE}-unknown-linux-gnu >++ exit ;; >++ aarch64_be:Linux:*:*) >++ UNAME_MACHINE=aarch64_be >++ echo ${UNAME_MACHINE}-unknown-linux-gnu >++ exit ;; >+ alpha:Linux:*:*) >+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in >+ EV5) UNAME_MACHINE=alphaev5 ;; >+--- a/config.sub >++++ b/config.sub >+@@ -247,6 +247,7 @@ case $basic_machine in >+ # Some are omitted here because they have special meanings below. >+ 1750a | 580 \ >+ | a29k \ >++ | aarch64 | aarch64_be \ >+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ >+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ >+ | am33_2.0 \ >+@@ -338,6 +339,7 @@ case $basic_machine in >+ # Recognize the basic CPU types with company name. >+ 580-* \ >+ | a29k-* \ >++ | aarch64-* | aarch64_be-* \ >+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ >+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ >+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ >+--- a/gcc/config/host-linux.c >++++ b/gcc/config/host-linux.c >+@@ -84,6 +84,8 @@ >+ # define TRY_EMPTY_VM_SPACE 0x60000000 >+ #elif defined(__mc68000__) >+ # define TRY_EMPTY_VM_SPACE 0x40000000 >++#elif defined(__aarch64__) >++# define TRY_EMPTY_VM_SPACE 0x1000000000 >+ #elif defined(__ARM_EABI__) >+ # define TRY_EMPTY_VM_SPACE 0x60000000 >+ #else >+--- a/libiberty/configure.ac >++++ b/libiberty/configure.ac >+@@ -201,6 +201,7 @@ esac >+ if [[ "${shared}" = "yes" ]]; then >+ case "${host}" in >+ *-*-cygwin*) ;; >++ aarch64*-*-linux*) PICFLAG=-fPIC ;; >+ alpha*-*-linux*) PICFLAG=-fPIC ;; >+ arm*-*-*) PICFLAG=-fPIC ;; >+ hppa*-*-*) PICFLAG=-fPIC ;; >+--- a/libiberty/configure >++++ b/libiberty/configure >+@@ -4850,6 +4850,7 @@ esac >+ if [ "${shared}" = "yes" ]; then >+ case "${host}" in >+ *-*-cygwin*) ;; >++ aarch64*-*-linux*) PICFLAG=-fPIC ;; >+ alpha*-*-linux*) PICFLAG=-fPIC ;; >+ arm*-*-*) PICFLAG=-fPIC ;; >+ hppa*-*-*) PICFLAG=-fPIC ;; >diff --git a/msp430-gcc.spec b/msp430-gcc.spec >index 30402e6..9cb9f87 100644 >--- a/msp430-gcc.spec >+++ b/msp430-gcc.spec >@@ -2,7 +2,7 @@ > > Name: %{target}-gcc > Version: 4.6.4 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Cross Compiling GNU GCC targeted at %{target} > Group: Development/Languages > License: GPLv2+ >@@ -13,6 +13,7 @@ Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-core-%{version}.tar.bz2 > # This is actually against 4.6.3, but in order to build we need some fixes > # that are in 4.6.4 > Patch0: msp430-gcc-4.6.3-20120406.patch >+Patch1: msp430-gcc-4.6.4-host-aarch64.patch > > BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) > >@@ -32,6 +33,7 @@ platform. > %setup -q -c -n msp430-gcc > pushd gcc-%{version} > %patch0 -p1 >+%patch1 -p1 > popd > > # Extract %%__os_install_post into os_install_post~ >@@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT > > > %changelog >+* Thu Jun 26 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 4.6.4-3 >+- Fix FTBFS on aarch64 host (#926177) >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.4-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >1.9.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 926177
: 912513