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 867227 Details for
Bug 1058722
arm-none-eabi-newlib is missing libnosys
[?]
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]
Fix and enable libgloss build
0001-Fix-and-enable-libgloss-build.patch (text/plain), 3.10 KB, created by
Rob Gilton
on 2014-02-25 02:44:18 UTC
(
hide
)
Description:
Fix and enable libgloss build
Filename:
MIME Type:
Creator:
Rob Gilton
Created:
2014-02-25 02:44:18 UTC
Size:
3.10 KB
patch
obsolete
>From 7275e3a89b28ecab58c764027c4a3b9a7e4e2a7f Mon Sep 17 00:00:00 2001 >From: Rob Spanton <rspanton@zepler.net> >Date: Tue, 25 Feb 2014 02:37:10 +0000 >Subject: [PATCH] Fix and enable libgloss build > >libgloss is required by a bunch of things, like libopencm3. >libgloss's build was disabled, presumably because it was broken. >There is a patch upstream >(https://sourceware.org/ml/newlib/2014/msg00001.html) that fixes this >build problem. >--- > arm-none-eabi-newlib.spec | 7 +++++-- > newlib-libgloss-default.mh.patch | 35 +++++++++++++++++++++++++++++++++++ > 2 files changed, 40 insertions(+), 2 deletions(-) > create mode 100644 newlib-libgloss-default.mh.patch > >diff --git a/arm-none-eabi-newlib.spec b/arm-none-eabi-newlib.spec >index 4ceb6ca..a938555 100644 >--- a/arm-none-eabi-newlib.spec >+++ b/arm-none-eabi-newlib.spec >@@ -21,6 +21,9 @@ Source2: NEWLIB-LICENSING > BuildRequires: %{target}-binutils %{target}-gcc %{target}-gcc-c++ texinfo texinfo-tex > BuildArch: noarch > >+# This patch is already upstream >+Patch0: newlib-libgloss-default.mh.patch >+ > %description > Newlib is a C library intended for use on embedded systems. It is a > conglomeration of several library parts, all under free software licenses >@@ -28,7 +31,7 @@ that make them easily usable on embedded products. > > %prep > %setup -q -n newlib-%{version} >-rm -rf libgloss >+%patch0 -p1 > cp %{SOURCE1} . > > >@@ -37,7 +40,7 @@ CFLAGS="-g -O2" ./configure --prefix=%{_prefix} \ > --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \ > --target=%{target} --enable-interwork --enable-multilib \ > --with-gnu-as --with-gnu-ld --disable-nls --enable-newlib-io-long-long \ >- --enable-newlib-register-fini --disable-newlib-supplied-syscalls --disable-libgloss >+ --enable-newlib-register-fini --disable-newlib-supplied-syscalls > > make %{?_smp_mflags} || make > >diff --git a/newlib-libgloss-default.mh.patch b/newlib-libgloss-default.mh.patch >new file mode 100644 >index 0000000..0aaecbe >--- /dev/null >+++ b/newlib-libgloss-default.mh.patch >@@ -0,0 +1,35 @@ >+From 38e0c3e14650e11acb5e1191c42922d28339bea0 Mon Sep 17 00:00:00 2001 >+From: Rob Spanton <rspanton@zepler.net> >+Date: Tue, 25 Feb 2014 02:19:54 +0000 >+Subject: [PATCH] Fix wrong path to libgloss/config/default.mh >+ >+Based on patch from >+https://sourceware.org/ml/newlib/2014/msg00001.html >+--- >+ libgloss/arm/cpu-init/Makefile.in | 3 ++- >+ 1 file changed, 2 insertions(+), 1 deletion(-) >+ >+diff --git a/libgloss/arm/cpu-init/Makefile.in b/libgloss/arm/cpu-init/Makefile.in >+index 547c58d..d63149f 100644 >+--- a/libgloss/arm/cpu-init/Makefile.in >++++ b/libgloss/arm/cpu-init/Makefile.in >+@@ -18,6 +18,7 @@ libdir = @libdir@ >+ tooldir = $(exec_prefix)/$(target_alias) >+ >+ objtype = @objtype@ >++host_makefile_frag = $(srcdir)/../../config/default.mh >+ >+ INSTALL = @INSTALL@ >+ INSTALL_PROGRAM = @INSTALL_PROGRAM@ >+@@ -80,7 +81,7 @@ info: >+ install-info: >+ clean-info: >+ >+-Makefile: Makefile.in ../config.status @host_makefile_frag_path@ >++Makefile: Makefile.in ../config.status ${host_makefile_frag_path} >+ $(SHELL) ../config.status --file cpu-init/Makefile >+ >+ ../config.status: ../configure >+-- >+1.8.5.3 >+ >-- >1.8.5.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 1058722
: 867227