all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add libiberty.
Date: Mon, 29 Jun 2015 10:33:18 +0200	[thread overview]
Message-ID: <87fv5ark1d.fsf@gnu.org> (raw)
In-Reply-To: <87h9prxc48.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 29 Jun 2015 08:27:51 +0200")

Ricardo Wurmus <rekado@elephly.net> skribis:

>>>>> +(define-public libiberty
>>>>> +  (make-libiberty gcc))
>>>>
>>>> s/gcc/gcc-4.8/ if 4.8 is the last package installing it.
>>>
>>> I wanted to provide a default libiberty package for the default “gcc”.
>>> Otherwise any change to the default GCC version would require packages
>>> to update their libiberty input.
>>>
>>> GCC 4.8 actually installs libiberty somewhere in the “lib” output of
>>> gcc-4.8, but GCC 4.9 does not, nor does GCC 5.1.  Is there a problem
>>> with “libiberty” as defined above, following whatever GCC version is set
>>> as the default?
>>
>> Oh you mean that 4.9 and 5.1 install it as well, just not in the “lib”
>> output, right?
>
> No, I mean that although 4.9 and 5.1 include the sources of libiberty
> neither of them install it as a library in *any* of their outputs.
>
> With 4.8 a package depending on libiberty could add
>
>   ("gcc" ,gcc-4.8 "lib")
>
> as an input, but with 4.9 and 5.1 there does not seem to be any way to
> get libiberty but to explicitly install it.  This is what the new
> “libiberty” package is supposed to do.

OK.

> Following the GCC version automatically dependent on whatever value the
> variable "gcc" has is just a bonus to simplify upgrades to the default
> version of GCC (as the recent move from 4.8 to 4.9).

I don’t get it.  If we use ‘gcc’ instead of ‘gcc-4.8’, it doesn’t work,
because ‘gcc’ is currently an alias for ‘gcc-4.9’.

This is why I suggested using ‘gcc-4.8’ explicitly: We know it’s the
last version that installs libiberty.

Thanks,
Ludo’.

  reply	other threads:[~2015-06-29  8:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-27  9:49 [PATCH] Add libiberty Ricardo Wurmus
2015-06-28  9:06 ` Ludovic Courtès
2015-06-28 10:31   ` Ricardo Wurmus
2015-06-28 20:24     ` Ludovic Courtès
2015-06-29  6:27       ` Ricardo Wurmus
2015-06-29  8:33         ` Ludovic Courtès [this message]
2015-06-29  8:47           ` Ricardo Wurmus
2015-06-29 12:00             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fv5ark1d.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.