Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=461793





--- Comment #13 from Ulrich Weigand <uweig...@de.ibm.com>  2009-07-15 09:09:40 
EDT ---
(In reply to comment #12)
> (In reply to comment #9)
> Ulrich, could you please check the spu-packages below
> http://corsepiu.fedorapeople.org/packages/
> for completeness?

Thanks for your support!

Unfortunately, while the package above does build, it results in GCC target
libraries built without all pieces that require C runtime support (for example,
libgcov.a consists solely of stubs).  The resulting compiler would be suitable
as bootstrap compiler, but not as final system compiler ...

This is because your spec file uses --with-newlib, but *not* --with-headers as
configure options.  This causes the GCC Makefile to define the "inhibit_libc"
parameter, which in turn causes all GCC target library code that requires C
runtime support to be #ifdef'd out.

Once you add --with-headers to the configure line in order to build a full set
of GCC target libraries, you run into the very same problem I've described
above -- compilation of target libraries fails because the targ-include
directory is not yet populated.

I see that you're adding patches that touch this area:

diff -Naur newlib-1.17.0.orig/newlib/Makefile.am
newlib-1.17.0/newlib/Makefile.am
--- newlib-1.17.0.orig/newlib/Makefile.am       2008-01-21 19:29:17.000000000
+0100
+++ newlib-1.17.0/newlib/Makefile.am    2009-05-05 07:11:13.000000000 +0200
@@ -81,7 +81,7 @@
        libc.a
 endif

-noinst_DATA = stmp-targ-include
+BUILT_SOURCES = stmp-targ-include

 toollib_DATA = $(CRT0) $(CRT1)

I'm not sure what exactly this is intended to achive, but apparently it does
not help to fix the top-level build order; GCC target libraries are still built
before targ-include.

Any suggestion how to fix this would certainly be appreciated!

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@redhat.com
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to