* [gentoo-user] Graphite causing trouble
@ 2012-01-05 15:14 Peter Humphrey
2012-01-05 15:56 ` Peter Humphrey
2012-01-05 16:38 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2012-01-05 15:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
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
So I tried removing graphite by putting USE=-graphite in make.conf, removing -
floop-interchange -floop-strip-mine -floop-block from CFLAGS and CXXFLAGS, and
uninstalling ppl and cloog-ppl. I also remerged gcc, libtool and binutils, in that
order, twice.
I still get the same errors. What can I try next?
--
Rgds
Peter Linux Counter 5290, 1994-04-23
[-- Attachment #2: Type: text/html, Size: 3189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Graphite causing trouble
2012-01-05 15:14 [gentoo-user] Graphite causing trouble Peter Humphrey
@ 2012-01-05 15:56 ` Peter Humphrey
2012-01-05 16:05 ` Peter Humphrey
2012-01-05 16:38 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2012-01-05 15:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
On Thursday 05 January 2012 15:14:17 I wrote:
> $ 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
>
> So I tried removing graphite by putting USE=-graphite in make.conf,
> removing - floop-interchange -floop-strip-mine -floop-block from CFLAGS
> and CXXFLAGS, and uninstalling ppl and cloog-ppl. I also remerged gcc,
> libtool and binutils, in that order, twice.
>
> I still get the same errors. What can I try next?
What I did try was revdep-rebuild. The only package it wanted to rebuild was
krita, so I thought what-the-hell and let it try. It worked. So now emerging
is working again.
I didn't reboot, change any settings, poke around under the bonnet -
nothing. I'm mystified.
--
Rgds
Peter Linux Counter 5290, 1994-04-23
[-- Attachment #2: Type: text/html, Size: 4383 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Graphite causing trouble
2012-01-05 15:56 ` Peter Humphrey
@ 2012-01-05 16:05 ` Peter Humphrey
2012-01-05 16:14 ` Michael Orlitzky
0 siblings, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2012-01-05 16:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
On Thursday 05 January 2012 15:56:41 I wrote:
> On Thursday 05 January 2012 15:14:17 I wrote:
> > I still get the same errors. What can I try next?
>
> What I did try was revdep-rebuild. The only package it wanted to rebuild
> was krita, so I thought what-the-hell and let it try. It worked. So now
> emerging is working again.
Wait - only some things compile; others still throw up the error. I'm
confused as well now.
--
Rgds
Peter Linux Counter 5290, 1994-04-23
[-- Attachment #2: Type: text/html, Size: 2831 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Graphite causing trouble
2012-01-05 16:05 ` Peter Humphrey
@ 2012-01-05 16:14 ` Michael Orlitzky
0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2012-01-05 16:14 UTC (permalink / raw
To: gentoo-user
On 01/05/12 11:05, Peter Humphrey wrote:
> On Thursday 05 January 2012 15:56:41 I wrote:
>
>> On Thursday 05 January 2012 15:14:17 I wrote:
>> > I still get the same errors. What can I try next?
>>
>
>> What I did try was revdep-rebuild. The only package it wanted to rebuild
>> was krita, so I thought what-the-hell and let it try. It worked. So now
>> emerging is working again.
>
>
>
> Wait - only some things compile; others still throw up the error. I'm
> confused as well now.
If you just want your machine to work properly, you should probably
`emerge -e --keep-going world` until it does. Make sure graphite/lto are
disabled.
If it looks unrecoverable, you can probably unpack a stage3 over your
existing system and then update it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: Graphite causing trouble
2012-01-05 15:14 [gentoo-user] Graphite causing trouble Peter Humphrey
2012-01-05 15:56 ` Peter Humphrey
@ 2012-01-05 16:38 ` Nikos Chantziaras
2012-01-06 16:12 ` walt
1 sibling, 1 reply; 11+ messages in thread
From: Nikos Chantziaras @ 2012-01-05 16:38 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: Graphite causing trouble
2012-01-05 16:38 ` [gentoo-user] " Nikos Chantziaras
@ 2012-01-06 16:12 ` walt
2012-01-06 16:55 ` Peter Humphrey
2012-01-06 20:57 ` Marc Joliet
0 siblings, 2 replies; 11+ messages in thread
From: walt @ 2012-01-06 16:12 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: Graphite causing trouble
2012-01-06 16:12 ` walt
@ 2012-01-06 16:55 ` Peter Humphrey
2012-01-06 17:18 ` Michael Orlitzky
2012-01-06 20:57 ` Marc Joliet
1 sibling, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2012-01-06 16:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 866 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3822 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: Graphite causing trouble
2012-01-06 16:55 ` Peter Humphrey
@ 2012-01-06 17:18 ` Michael Orlitzky
2012-01-06 21:06 ` Peter Humphrey
0 siblings, 1 reply; 11+ messages in thread
From: Michael Orlitzky @ 2012-01-06 17:18 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: Graphite causing trouble
2012-01-06 16:12 ` walt
2012-01-06 16:55 ` Peter Humphrey
@ 2012-01-06 20:57 ` Marc Joliet
2012-01-06 21:08 ` Peter Humphrey
1 sibling, 1 reply; 11+ messages in thread
From: Marc Joliet @ 2012-01-06 20:57 UTC (permalink / raw
To: Gentoo-User ML
[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]
Am Fri, 06 Jan 2012 08:12:24 -0800
schrieb walt <w41ter@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: Graphite causing trouble
2012-01-06 17:18 ` Michael Orlitzky
@ 2012-01-06 21:06 ` Peter Humphrey
0 siblings, 0 replies; 11+ messages in thread
From: Peter Humphrey @ 2012-01-06 21:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 5350 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: Graphite causing trouble
2012-01-06 20:57 ` Marc Joliet
@ 2012-01-06 21:08 ` Peter Humphrey
0 siblings, 0 replies; 11+ messages in thread
From: Peter Humphrey @ 2012-01-06 21:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 4126 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-01-06 21:11 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 15:14 [gentoo-user] Graphite causing trouble Peter Humphrey
2012-01-05 15:56 ` Peter Humphrey
2012-01-05 16:05 ` Peter Humphrey
2012-01-05 16:14 ` Michael Orlitzky
2012-01-05 16:38 ` [gentoo-user] " Nikos Chantziaras
2012-01-06 16:12 ` walt
2012-01-06 16:55 ` Peter Humphrey
2012-01-06 17:18 ` Michael Orlitzky
2012-01-06 21:06 ` Peter Humphrey
2012-01-06 20:57 ` Marc Joliet
2012-01-06 21:08 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox