[Bug 1653] MPFR spec URL wrong
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Aug 5 06:26:21 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1653
--- Comment #4 from Chris Johns <chrisj at rtems.org> 2010-08-05 01:26:20 CDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > (In reply to comment #0)
> >
> > I am more than happy for you to handle this. If this directory does not have
> > the source I go to the location in the spec file.
> The SRPMS directory would be correct.
>
We do and we also provide http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11 and
its contents do not have a checksum. This is what I was commenting on.
> > The spec files reference some source packages that as far as I can see you do
> > not use such as mpfr etc, and I assume this is due to the host having a
> > suitable package installed so no need for the source. Is this the case ?
> The logic inside of the specs is supposed to "use the version from the distro,
> if it is sufficient for GCC and fall back to in-source-treebuilding if it is
> not".
>
> In cases "a distro's version is sufficent for GCC" side-effects are:
> * gcc is dynamically linked against the library (vs. statically linked in case
> of in-sourcetree-building)
> * the rpms are smaller (do not include the library referenced)
> * the srpm for this distro does not contain the tarball (srpms are smaller).
> ...
>
> All in all this means, the newer and more current a distro is, the more
> distro-provided libraries will be used. Conversely this also means: The older
> and outdated a distro is, the more of these in-sourcetree-built tarballs will
> be used.
>
> Example:
> Old/outdated OS (CentOS 5/RHEL 5):
> # rpm -qlp
> centos-5-i386-rtems4.11/rtems-4.11-arm-rtems4.11-gcc-4.5.1-3.el5.src.rpm
> gcc-core-4.5.1-rtems4.11-20100726.diff
> gcc-core-4.5.1.tar.bz2
> gcc-g++-4.5.1.tar.bz2
> gmp-4.3.2.tar.bz2
> mpc-0.8.1.tar.gz
> mpfr-2.4.2.tar.bz2
> newlib-1.18.0-rtems4.11-20100804.diff
> newlib-1.18.0.tar.gz
> rtems-4.11-arm-rtems4.11-gcc.spec
>
> New/current OS (Fedora 13):
> # rpm -qlp
> fedora-13-i386-rtems4.11/rtems-4.11-arm-rtems4.11-gcc-4.5.1-3.fc13.src.rpm
> gcc-core-4.5.1-rtems4.11-20100726.diff
> gcc-core-4.5.1.tar.bz2
> gcc-g++-4.5.1.tar.bz2
> newlib-1.18.0-rtems4.11-20100804.diff
> newlib-1.18.0.tar.gz
> rtems-4.11-arm-rtems4.11-gcc.spec
>
This feature of the RTEMS spec files is fantastic and why the contents of the
spec files is such valuable information. I commend you for them and the work
you do.
My issue relates to the first point about the
http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/ sources not being complete. I
could not see the source for say mpfr in
http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11 for those users who have a host
that needs to build these extra packages and do not support RPM and therefore
SRPM.
> > Please note, I have added one or more of the other sources before you raised
> > you objection. I can remove if you wish.
> Pardon, but I do not understand this remark - Could you elaborate?
I added mpc-0.8.1.tar.gz and mpfr-2.4.2.tar.bz2 to the
http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/ directory.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list