[gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread walt
On 01/05/2012 08:38 AM, Nikos Chantziaras wrote:
 On 01/05/2012 05:14 PM, Peter Humphrey wrote:
 Hello list,

 For the last few days I've been unable to emerge anything that needs a C
 compiler. I've started getting this error message in the logs:

 $ grep Graphite
 /var/log/portage/perl-core:Sys-Syslog-0.290.0:20120105-150502.log

 Syslog.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
 be used
 
 Add graphite to the USE flags of sys-devel/gcc.  Then rebuild these:
 
   dev-libs/gmp
   dev-libs/mpfr
   dev-libs/mpc
   dev-libs/cloog-ppl
   dev-libs/ppl
 
 Hopefully this should make the graphite optimization flags work again.

I rebuilt only gloog-ppl and that fixed the problem for me.

In order to get that done, though, I had to remove the -floop-* flags
temporarily because cloog-ppl gave the error that Peter describes.
Once that job was done I reinstated the -floop-* flags and all is well.




Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 16:12:24 walt wrote:

 I rebuilt only gloog-ppl and that fixed the problem for me.
 
 In order to get that done, though, I had to remove the -floop-* flags
 temporarily because cloog-ppl gave the error that Peter describes.
 Once that job was done I reinstated the -floop-* flags and all is well.

I wish I'd thought of that. Much quicker than emerge -e world twice! Mind 
you, on this i5 box it takes under five hours each time to remerge the 980 
packages, including Libre Office.

Two packages didn't compile: lame (wrong file size; I'll try again tomorrow) 
and kmymoney (compiled fine when called on its own, not during -e world).

To get things compiling I removed all signs of graphite. I'm not sure 
whether it's worth the trouble of putting it back in again. Thoughts, 
anyone?

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Michael Orlitzky
On 01/06/12 11:55, Peter Humphrey wrote:
 
 To get things compiling I removed all signs of graphite. I'm not sure
 whether it's worth the trouble of putting it back in again. Thoughts,
 anyone?
 

On the one hand, it's kind of fun and educational to have something
break in a novel way so that you can figure out how to fix it.

On the other hand, those things only break when you have something
important to do.

I try to keep my laptop in good shape, and then do the unspeakable to my
desktop machine at home. If I ever need to do something urgently (fill
out a spreadsheet to apply for a scholarship) and something is broken
(libreoffice can't find libhahakissyournightgoodbye.so.1) I can always
walk into the living room and do it on the laptop.



Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Marc Joliet
Am Fri, 06 Jan 2012 08:12:24 -0800
schrieb walt w41...@gmail.com:

 On 01/05/2012 08:38 AM, Nikos Chantziaras wrote:
  On 01/05/2012 05:14 PM, Peter Humphrey wrote:
  Hello list,
 
  For the last few days I've been unable to emerge anything that needs a C
  compiler. I've started getting this error message in the logs:
 
  $ grep Graphite
  /var/log/portage/perl-core:Sys-Syslog-0.290.0:20120105-150502.log
 
  Syslog.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
  be used
  
  Add graphite to the USE flags of sys-devel/gcc.  Then rebuild these:
  
dev-libs/gmp
dev-libs/mpfr
dev-libs/mpc
dev-libs/cloog-ppl
dev-libs/ppl
  
  Hopefully this should make the graphite optimization flags work again.
 
 I rebuilt only gloog-ppl and that fixed the problem for me.
 
 In order to get that done, though, I had to remove the -floop-* flags
 temporarily because cloog-ppl gave the error that Peter describes.
 Once that job was done I reinstated the -floop-* flags and all is well.
 

FWIW, there was an update to ppl recently, whose postinst message warns of this:

 WARN: postinst
 After an upgrade of PPL it is important that you rebuild
 dev-libs/cloog-ppl.
 
 If you use gcc-config to switch to an older compiler version than
 the one PPL was built with, PPL must be rebuilt with that version.
 
 In both cases failure to do this will get you this error when
 graphite flags are used:
 
 sorry, unimplemented: Graphite loop optimizations cannot be used

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who know we
don't - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 17:18:51 Michael Orlitzky wrote:

 On the one hand, it's kind of fun and educational to have something
 break in a novel way so that you can figure out how to fix it.

Only snag, in my case, is that with passing years I'm beginning to find 
myself going round in circles, gnashing my teeth more loudly each time.

 On the other hand, those things only break when you have something
 important to do.

Now that's just paranoia! You only remember the breakages that coincide with 
inconvenience.

 I try to keep my laptop in good shape, and then do the unspeakable to my
 desktop machine at home. If I ever need to do something urgently (fill
 out a spreadsheet to apply for a scholarship) and something is broken
 (libreoffice can't find libhahakissyournightgoodbye.so.1) I can always
 walk into the living room and do it on the laptop.

My unspeakable things aren't open to discussion in this forum :-)

But I do have an 8-year-old dual-Opteron box that I can do indescribable 
things to at whim. It still shows many a younger system a clean pair of 
heels but it is rather too noisy for everyday use, not to mention overnight.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 20:57:31 Marc Joliet wrote:

 FWIW, there was an update to ppl recently, whose postinst message warns of
 this:
  WARN: postinst
  After an upgrade of PPL it is important that you rebuild
  dev-libs/cloog-ppl.
  
  If you use gcc-config to switch to an older compiler version than
  the one PPL was built with, PPL must be rebuilt with that version.
  
  In both cases failure to do this will get you this error when
  graphite flags are used:
  sorry, unimplemented: Graphite loop optimizations cannot be used

Damn. I must have missed that warning. I'm sure you're right, that it's what 
caused my problem. Thank you.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


[gentoo-user] Re: Graphite causing trouble

2012-01-05 Thread Nikos Chantziaras

On 01/05/2012 05:14 PM, Peter Humphrey wrote:

Hello list,

For the last few days I've been unable to emerge anything that needs a C
compiler. I've started getting this error message in the logs:

$ grep Graphite
/var/log/portage/perl-core:Sys-Syslog-0.290.0:20120105-150502.log

Syslog.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
be used


Add graphite to the USE flags of sys-devel/gcc.  Then rebuild these:

  dev-libs/gmp
  dev-libs/mpfr
  dev-libs/mpc
  dev-libs/cloog-ppl
  dev-libs/ppl

Hopefully this should make the graphite optimization flags work again.