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 585215 Details for
Bug 766166
Review Request: cross-gcc - Multiple cross-build gcc
[?]
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]
enable libgcc
cross-gcc-with-libgcc.patch (text/plain), 2.91 KB, created by
Dan Horák
on 2012-05-17 13:08:07 UTC
(
hide
)
Description:
enable libgcc
Filename:
MIME Type:
Creator:
Dan Horák
Created:
2012-05-17 13:08:07 UTC
Size:
2.91 KB
patch
obsolete
>diff --git a/cross-gcc.spec b/cross-gcc.spec >index 5ba9bbe..2fb73e4 100644 >--- a/cross-gcc.spec >+++ b/cross-gcc.spec >@@ -44,6 +44,10 @@ > # not available in binutils-2.22 > %define build_unicore32 0 > >+# disabled for libgcc build issues >+%define build_ia64 0 >+%define build_tile 0 >+ > # % global DATE 20120206 > %global DATE RC-20120302 > %global SVNREV 183946 >@@ -56,7 +60,7 @@ > Summary: Cross C compiler > Name: cross-gcc > Version: %{gcc_version} >-Release: %{gcc_release}%{?dist} >+Release: %{gcc_release}%{?dist}.libgcc.1 > License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD > Group: Development/Languages > URL: http://gcc.gnu.org >@@ -82,6 +86,7 @@ Patch13: gcc47-no-add-needed.patch > Patch14: gcc47-ppl-0.10.patch > Patch15: gcc47-libitm-fno-exceptions.patch > Patch100: cross-intl-filename.patch >+Patch101: cross-libgcc.patch > > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: binutils >= 2.20.51.0.2-12 >@@ -191,6 +196,7 @@ cd %{srcdir} > %endif > %patch15 -p0 -b .libitm-fno-exceptions~ > %patch100 -p0 -b .cross-intl~ >+%patch101 -p2 -b .cross-libgcc~ > > sed -i -e 's/4\.7\.0/4.7.0/' gcc/BASE-VER > echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE >@@ -399,7 +405,7 @@ function build_target () { > STRIP_FOR_TARGET=%{_bindir}/$arch-strip \ > WINDRES_FOR_TARGET=%{_bindir}/$arch-windres \ > WINDMC_FOR_TARGET=%{_bindir}/$arch-windmc \ >- make -C $target %{_smp_mflags} tooldir=%{_prefix} all-gcc >+ make -C $target %{_smp_mflags} tooldir=%{_prefix} all-gcc all-target-libgcc > } > > for target in `cat target.list` >@@ -456,7 +462,7 @@ rm -rf %{buildroot} > > function install_bin () { > arch=$1 >- make -C $arch DESTDIR=%{buildroot} install-gcc >+ make -C $arch DESTDIR=%{buildroot} install-gcc install-target-libgcc > } > > for target in `cat target.list` >@@ -616,6 +622,9 @@ rm -rf %{buildroot} > %do_files xtensa-linux-gnu %{build_xtensa} > > %changelog >+* Thu May 17 2012 Dan Horák <dan[at]danny.cz> - 4.7.0-0.11.4.libgcc.1 >+- build also libgcc >+ > * Thu Mar 22 2012 David Howells <dhowells@redhat.com> - 4.7.0-0.11.4 > - Add missing BuildRequires > >diff --git a/cross-libgcc.patch b/cross-libgcc.patch >new file mode 100644 >index 0000000..b4bed9d >--- /dev/null >+++ b/cross-libgcc.patch >@@ -0,0 +1,11 @@ >+diff -up gcc-4.7.0-RC-20120302/gcc-4.7.0-RC-20120302/libgcc/config/m68k/linux-atomic.c.cross-libgcc gcc-4.7.0-RC-20120302/gcc-4.7.0-RC-20120302/libgcc/config/m68k/linux-atomic.c >+--- gcc-4.7.0-RC-20120302/gcc-4.7.0-RC-20120302/libgcc/config/m68k/linux-atomic.c.cross-libgcc 2012-05-17 12:24:05.462101718 +0200 >++++ gcc-4.7.0-RC-20120302/gcc-4.7.0-RC-20120302/libgcc/config/m68k/linux-atomic.c 2012-05-17 12:24:09.421038936 +0200 >+@@ -33,7 +33,6 @@ see the files COPYING3 and COPYING.RUNTI >+ using the kernel helper defined below. There is no support for >+ 64-bit operations yet. */ >+ >+-#include <asm/unistd.h> >+ #include <stdbool.h> >+ >+ #ifndef __NR_atomic_cmpxchg_32
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 766166
:
571743
|
571807
| 585215 |
606258