This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] configure: check for libstdc++ and zlib, dynamic and static


On Fri, Jan 21, 2011 at 11:25 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> On Fri, Jan 21, 2011 at 8:21 PM, Anthony Foiani
> <anthony.foiani@gmail.com> wrote:
>> Bryan, greetings --
>>
>> On Fri, Jan 21, 2011 at 4:02 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
>>> configure: check for libstdc++ and zlib, dynamic and static
>>>
>>> Debian packages both static and dynamic libraries in their -dev package,
>>> but Fedora packages them seperately.
>>>
>>> Normal builds need libstdc++.a, and static toolchains require libz.a to
>>> be installed on the host.
>>>
>>> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
>
> Tony,
>
>> Sorry about the duplicate work; I just now saw your mail, right after
>> sending my patch to handle at least part of the same problem.
>
> I like seeing that there is more then one way to fix a problem. Which
> configuration did you build to need these fixes?
>
> Your change makes me ask: Do we need libstdc++.a for a certain
> configuration? Or for all?
>
> The only configuration that I have noticed it on so far was this
> powerpc-405-linux-gnu and powerpc-e500v2-linux-gnuspe. I would like to
> try a few more configurations.
>
> If we really need libstdc++.a for all toolchains, then we should add
> it to the configure file. Otherwise, we should warn about it being
> missing for this and/or other affected configurations until a better
> solution can be formed. (bug?)
>
>> Best regards,
>> Tony
>>
>
> -Bryan
>

Actually,

I'm going to start a cronjob on a local build box that I use. I'll
have it start building list-samples (with CT_LOG_SEE_TOOLS_WARN=y set)
and report on warnings, build success, and build failure. With each
build linking to the build log.

It's really hard to not have build warnings, so don't be afraid of the
number of build warnings. Lower is always better though ;-)

I'll make it update crosstool-ng's local clone between each item in
list-samples, so that if Yann's repository updates, then the build
status will update.

My build box is an quad core 2.4GHz with 4G of memory, I should be
able to do 4 builds at a time or 1 build with 4 jobs. This box runs
debian sid.

I have another "slower?" box that can run fedora 14 builds that is a
dual ht pentium4 3.2GHz with dual-channel 1.5G of memory (yea, I need
to give this box a memory upgrade...). 4 from above would be a little
less then 2 on this box (1.7 builds or 1.7 jobs, 4G of - matched -
memory on this box would probably be 2 builds at a time or 2 jobs).

I'll update again when I find a place to post the build results.

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]