public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Building GCC 4.4.7
@ 2014-07-07 16:04 Filipp Andjelo
  2014-07-08  8:07 ` Filipp Andjelo
  0 siblings, 1 reply; 5+ messages in thread
From: Filipp Andjelo @ 2014-07-07 16:04 UTC (permalink / raw)
  To: crossgcc

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,

-- 

Filipp Andjelo | Sr. Software Engineer | filipp.andjelo@tomtom.com | +49 (0) 5127 408395 | www.tomtom.com

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

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

* Re: Building GCC 4.4.7
  2014-07-07 16:04 Building GCC 4.4.7 Filipp Andjelo
@ 2014-07-08  8:07 ` Filipp Andjelo
  2014-07-08  8:45   ` Filipp Andjelo
  0 siblings, 1 reply; 5+ messages in thread
From: Filipp Andjelo @ 2014-07-08  8:07 UTC (permalink / raw)
  To: crossgcc

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

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

* Re: Building GCC 4.4.7
  2014-07-08  8:07 ` Filipp Andjelo
@ 2014-07-08  8:45   ` Filipp Andjelo
  2014-07-08 14:47     ` Filipp Andjelo
  0 siblings, 1 reply; 5+ messages in thread
From: Filipp Andjelo @ 2014-07-08  8:45 UTC (permalink / raw)
  To: crossgcc

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

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

* Re: Building GCC 4.4.7
  2014-07-08  8:45   ` Filipp Andjelo
@ 2014-07-08 14:47     ` Filipp Andjelo
  2014-07-08 20:15       ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Filipp Andjelo @ 2014-07-08 14:47 UTC (permalink / raw)
  To: crossgcc

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

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

* Re: Building GCC 4.4.7
  2014-07-08 14:47     ` Filipp Andjelo
@ 2014-07-08 20:15       ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2014-07-08 20:15 UTC (permalink / raw)
  To: Filipp Andjelo; +Cc: crossgcc

Filipp, All,

On 2014-07-08 14:47 +0000, Filipp Andjelo spake thusly:
[--SNIP--]
> 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.....

This issue recently popped up on the list, and there is a pending patch:
    https://sourceware.org/ml/crossgcc/2014-06/msg00007.html
    https://sourceware.org/ml/crossgcc/2014-07/msg00008.html

Care to test this patch and report, please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

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

end of thread, other threads:[~2014-07-08 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-07 16:04 Building GCC 4.4.7 Filipp Andjelo
2014-07-08  8:07 ` Filipp Andjelo
2014-07-08  8:45   ` Filipp Andjelo
2014-07-08 14:47     ` Filipp Andjelo
2014-07-08 20:15       ` Yann E. MORIN

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).