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

See crosstool-NG 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: Building GCC 4.4.7


On 08.07.2014 10:44, Filipp Andjelo wrote:
> On 08.07.2014 10:07, Filipp Andjelo wrote:
>> On 07.07.2014 18:03, Filipp Andjelo wrote:
>>> Hi guys,
>>>
>>> I have couple of older system here, where I need to use gcc-4.4.7. I'm
>>> trying to build the toolchain, but no matter which versions of
>>> GMP/MPFR/PPL/CLOOG I'm using, I always get compilation errors in ppl:
>>>
>>> [INFO]   Installing PPL for host
>>> [EXTRA]    Configuring PPL
>>> [EXTRA]    Building PPL
>>> [ERROR]   .../src/ppl-0.10.2/src/Generator_System.defs.hh:253:7: error:
>>> 'ptrdiff_t' was not declared in this scope
>>> [ERROR]    .../src/ppl-0.10.2/src/Generator_System.defs.hh:255:23:
>>> error: template argument 3 is invalid
>>> [ERROR] .../src/ppl-0.10.2/src/Grid_Generator_System.defs.hh:268:7:
>>> error: 'ptrdiff_t' was not declared in this scope
>>> [ERROR] .../src/ppl-0.10.2/src/Grid_Generator_System.defs.hh:270:28:
>>> error: template argument 3 is invalid
>>>
>>> This is very plain configuration, 2.6.32 GNU/Linux on x86_64. Does
>>> anybody know this issue? Btw. I'm using officially released  ct-ng 1.19.0
>>>
>>> Cheers,
>>>
>> Hi again,
>>
>> if I deactivate GRAPHITE optimization, then ppl/Cloog is not required
>> and the toolchain builds, but
>> GRAPHITE was AFAIK introduced for gcc-4.4.x and should work. Although,
>> I'm not sure if ppl was
>> used for optimization in 4.4.7 already. What would you say?
>> Currently, I can't switch GRAPHITE on, without to need to build ppl. Is
>> this a right behavior?
>>
>> Thank you for your help,
>> Filipp
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
> Ok, I found, that ppl-0.10.2 is not compileable with GCC 4.9, which I'm
> running on my host. I have a couple of older toolchains here (f.e.
> 4.5.2), can I somehow tell crosstool-ng to use custom gcc instead of
> systems default one?
>
> Cheers,
> Filipp
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
I updated crosstool-ng from git and seen, that there is ppl-0.11.2 patch 
against my first 'ptrdiff_t' problem. Now I can build ppl, but I can't 
come over binutils, because libfl can't be found. I really can't 
understand that, because flex is installed on my system:

[ALL  ]    libtool: link: x86_64-build_unknown-linux-gnu-gcc -W -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -O2 -g -pipe -static 
-o ar arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o 
emul_vanilla.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a 
../libiberty/libiberty.a -lfl -lz
[ALL  ]    /usr/bin/ld: cannot find -lfl
[ERROR]    collect2: error: ld returned 1 exit status
[ALL  ]    Makefile:710: recipe for target 'ar' failed

Is this because of -static? I only have shared flex libraries.....

Cheers,
Filipp

--
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]