mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] libiberty.a has gone?


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] libiberty.a has gone?
Date: Tue, 13 Mar 2012 23:37:48 +1100

On 3 March 2012 00:15, Mark Brand <address@hidden> wrote:
>
> Nikos Chantziaras wrote:
>>
>> On 02/03/12 11:56, Nikos Chantziaras wrote:
>>>
>>> Using the current hg sources, gcc does not install
>>> "usr/i686-pc-mingw32/lib/libiberty.a" anymore. (It's needed for stuff
>>> like vasprintf() and other functions that mingw lacks.)
>>>
>>> The 2.21 release which came with GCC 4.6.0 still installs it.
>>
>>
>> Or maybe it's binutils that provides that, not GCC.  Not sure.
>>
>
> Actually, I think it was gcc. Gcc 4.6.1 was the last version that installed
> usr/i686-pc-mingw32/lib/libiberty.a. I don't know the reason for the change.
> The change seems to be in gcc itself rather than in anything that
> mingw-cross-env does.

It seems to have been fully removed in this changeset [1] without even
leaving an option to install it.

> The gcc documentation seems to recommend against installing libiberty "on
> its own" [1].

Following some of the problem reports, they do consider it a bug that
it was being installed. Maybe the mingw.org team relied on the old
behaviour and considered that they didn't need to include it with the
runtime?

> Apparently libiberty is in binutils, gcc and gdb.

The version in gcc seems to be the most recent, which makes sense
given it's a subproject.

> Any insights here regarding what mingw-cross-env should do about this, if
> anything?

To maintain the status quo, we could build it after gcc (see
attached), otherwise contacting the mingw.org project is probably the
best option.

Nikos,

Do you have the time to ask the mingw.org project their thoughts on
this issue? If they consider it part of gcc, then we can build it,
otherwise they can include it in mingwrt.

Thanks,

Tony


[1] http://gcc.gnu.org/viewcvs?view=revision&revision=175560

Attachment: gcc-libiberty.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]