unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: gcc-4.9: Update to 4.9.4.
@ 2016-10-24  7:51 Carlos Sánchez de La Lama
  2016-10-24 13:16 ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: Carlos Sánchez de La Lama @ 2016-10-24  7:51 UTC (permalink / raw)
  To: guix-devel

gcc-4.9.3 has a bug in long double isinf builtin on PowerPC, which
affects glibc versions >= 2.23.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117

* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.4.
---
 gnu/packages/gcc.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c961c84..6f1b744 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -332,14 +332,14 @@ Go.  It also includes runtime support libraries for these languages.")
 
 (define-public gcc-4.9
   (package (inherit gcc-4.8)
-    (version "4.9.3")
+    (version "4.9.4")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/gcc/gcc-"
                                   version "/gcc-" version ".tar.bz2"))
               (sha256
                (base32
-                "0zmnm00d2a1hsd41g34bhvxzvxisa2l584q3p447bd91lfjv4ci3"))
+                "14l06m7nvcvb0igkbip58x59w3nq6315k6jcz3wr9ch1rn9d44bc"))
               (patches (search-patches "gcc-libvtv-runpath.patch"))))))
 
 (define-public gcc-5
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: gcc-4.9: Update to 4.9.4.
  2016-10-24  7:51 [PATCH] gnu: gcc-4.9: Update to 4.9.4 Carlos Sánchez de La Lama
@ 2016-10-24 13:16 ` Leo Famulari
  2016-10-24 14:35   ` Carlos Sánchez de La Lama
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2016-10-24 13:16 UTC (permalink / raw)
  To: Carlos Sánchez de La Lama; +Cc: guix-devel

On Mon, Oct 24, 2016 at 09:51:53AM +0200, Carlos Sánchez de La Lama wrote:
> gcc-4.9.3 has a bug in long double isinf builtin on PowerPC, which
> affects glibc versions >= 2.23.
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117
> 
> * gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.4.

Is this different from what we have on core-updates?

http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/gcc.scm?h=core-updates#n339

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: gcc-4.9: Update to 4.9.4.
  2016-10-24 13:16 ` Leo Famulari
@ 2016-10-24 14:35   ` Carlos Sánchez de La Lama
  2016-10-24 17:00     ` Marius Bakke
  2016-10-24 20:07     ` Mark H Weaver
  0 siblings, 2 replies; 6+ messages in thread
From: Carlos Sánchez de La Lama @ 2016-10-24 14:35 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

> On Mon, Oct 24, 2016 at 09:51:53AM +0200, Carlos Sánchez de La Lama wrote:
>> gcc-4.9.3 has a bug in long double isinf builtin on PowerPC, which
>> affects glibc versions >= 2.23.
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117
>> 
>> * gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.4.
>
> Is this different from what we have on core-updates?
>
> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/gcc.scm?h=core-updates#n339

Not at all. I am not tracking core-updates, so I had missed that. I
will check there in the future. Sorry about that.

BTW, is there described somewhere which kind of updates go to
core-updates first? Does everything go first to core-updates?

I am trying to understand to decide on whether I should use cote-updates
as a basis for my contributions instead of master.

Thanks!

Carlos

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: gcc-4.9: Update to 4.9.4.
  2016-10-24 14:35   ` Carlos Sánchez de La Lama
@ 2016-10-24 17:00     ` Marius Bakke
  2016-10-25  7:03       ` Carlos Sánchez de La Lama
  2016-10-24 20:07     ` Mark H Weaver
  1 sibling, 1 reply; 6+ messages in thread
From: Marius Bakke @ 2016-10-24 17:00 UTC (permalink / raw)
  To: Carlos Sánchez de La Lama, Leo Famulari; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Carlos Sánchez de La Lama <csanchezdll@gmail.com> writes:

>
> BTW, is there described somewhere which kind of updates go to
> core-updates first? Does everything go first to core-updates?

Only packages with a large impact in terms of rebuilds (as calculated by
`guix refresh -l <package-name>`). Obviously gcc is one such package.

Soon there will also be a "staging" branch for packages with a lesser
impact, but still large enough that it's worth building and testing them
on Hydra before merging to master.

See this post for more information:

http://lists.gnu.org/archive/html/guix-devel/2016-10/msg00933.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: gcc-4.9: Update to 4.9.4.
  2016-10-24 14:35   ` Carlos Sánchez de La Lama
  2016-10-24 17:00     ` Marius Bakke
@ 2016-10-24 20:07     ` Mark H Weaver
  1 sibling, 0 replies; 6+ messages in thread
From: Mark H Weaver @ 2016-10-24 20:07 UTC (permalink / raw)
  To: Carlos Sánchez de La Lama; +Cc: guix-devel

csanchezdll@gmail.com (Carlos Sánchez de La Lama) writes:

>> On Mon, Oct 24, 2016 at 09:51:53AM +0200, Carlos Sánchez de La Lama wrote:
>>> gcc-4.9.3 has a bug in long double isinf builtin on PowerPC, which
>>> affects glibc versions >= 2.23.
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117
>>> 
>>> * gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.4.
>>
>> Is this different from what we have on core-updates?
>>
>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/gcc.scm?h=core-updates#n339
>
> Not at all. I am not tracking core-updates, so I had missed that. I
> will check there in the future. Sorry about that.
>
> BTW, is there described somewhere which kind of updates go to
> core-updates first? Does everything go first to core-updates?

Most changes go to 'master' first and are later merged into
'core-updates'.  However, changes that would force a large number of
rebuilds need to be pushed to another branch, to allow our build farm to
rebuild before its merged to 'master'.

'gcc-4.9' is our default compiler, so it would force a rebuild of
_everything_.  Changes like that are precisely what 'core-updates' is
for.

> I am trying to understand to decide on whether I should use cote-updates
> as a basis for my contributions instead of master.

If you are porting to a new architecture, I would definitely recommend
basing your work on 'core-updates', which will likely be merged into
'master' in the next two weeks.  If you need gcc-4.9.4, that's another
reason to base your work on 'core-updates'.

Thanks for your efforts!

      Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: gcc-4.9: Update to 4.9.4.
  2016-10-24 17:00     ` Marius Bakke
@ 2016-10-25  7:03       ` Carlos Sánchez de La Lama
  0 siblings, 0 replies; 6+ messages in thread
From: Carlos Sánchez de La Lama @ 2016-10-25  7:03 UTC (permalink / raw)
  To: Marius Bakke, Mark H Weaver; +Cc: guix-devel

Hi Marius, Mark,

> Only packages with a large impact in terms of rebuilds (as calculated by
> `guix refresh -l <package-name>`). Obviously gcc is one such package.

> http://lists.gnu.org/archive/html/guix-devel/2016-10/msg00933.html

Thanks! That is exactly the information I was looking for.

> Most changes go to 'master' first and are later merged into
> 'core-updates'.  However, changes that would force a large number of
> rebuilds need to be pushed to another branch, to allow our build farm to
> rebuild before its merged to 'master'.

Understood, makes a lot of sense.

> If you are porting to a new architecture, I would definitely recommend
> basing your work on 'core-updates', which will likely be merged into
> 'master' in the next two weeks.  If you need gcc-4.9.4, that's another
> reason to base your work on 'core-updates'.

I am (I think) almost there, I expect to be able to succesfully build
hello on my ppc machine soon (it's a slow machine, so iterations take
time). I do not feel like changing to core-updates now (though I would
have been better had I worked there since the beggining). Once I have
bootstrapped, I will review the changes and rebase the "core" ones to
core-updates. I should be there before two weeks' time.

Thanks!

Carlos

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-25  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24  7:51 [PATCH] gnu: gcc-4.9: Update to 4.9.4 Carlos Sánchez de La Lama
2016-10-24 13:16 ` Leo Famulari
2016-10-24 14:35   ` Carlos Sánchez de La Lama
2016-10-24 17:00     ` Marius Bakke
2016-10-25  7:03       ` Carlos Sánchez de La Lama
2016-10-24 20:07     ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).