* [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
@ 2012-04-16 17:14 Doug Hunley
2012-04-16 17:20 ` Michael Mol
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Doug Hunley @ 2012-04-16 17:14 UTC (permalink / raw
To: gentoo-user
I'm currently running ~amd64 and when I ran a world update,
dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
point, gcc stops compiling. It doesn't matter what I try to compile,
whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
says to do, a recompile of gcc, or anything else. They all die with
with 'internal compiler error'. I end up having to 'emerge -k gcc' and
then masking dev-libs/ppl-0.12 to get back to a working compiler
chain.
Am I the only one facing this? How did you guys get through the mud here?
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:14 [gentoo-user] dev-libs/ppl-0.12 breaks gcc? Doug Hunley
@ 2012-04-16 17:20 ` Michael Mol
2012-04-16 17:34 ` Doug Hunley
2012-04-16 18:47 ` [gentoo-user] " Alex Schuster
2012-04-16 18:54 ` [gentoo-user] " walt
2 siblings, 1 reply; 12+ messages in thread
From: Michael Mol @ 2012-04-16 17:20 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 1:14 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
> I'm currently running ~amd64 and when I ran a world update,
> dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
> point, gcc stops compiling. It doesn't matter what I try to compile,
> whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
> says to do, a recompile of gcc, or anything else. They all die with
> with 'internal compiler error'. I end up having to 'emerge -k gcc' and
> then masking dev-libs/ppl-0.12 to get back to a working compiler
> chain.
>
> Am I the only one facing this? How did you guys get through the mud here?
Are you using ccache?
--
:wq
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:20 ` Michael Mol
@ 2012-04-16 17:34 ` Doug Hunley
2012-04-16 17:39 ` Michael Mol
0 siblings, 1 reply; 12+ messages in thread
From: Doug Hunley @ 2012-04-16 17:34 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
> Are you using ccache?
nope. no ccache, no distcc
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:34 ` Doug Hunley
@ 2012-04-16 17:39 ` Michael Mol
2012-04-16 17:53 ` Doug Hunley
0 siblings, 1 reply; 12+ messages in thread
From: Michael Mol @ 2012-04-16 17:39 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>> Are you using ccache?
>
> nope. no ccache, no distcc
What are you using for CFLAGS?
--
:wq
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:39 ` Michael Mol
@ 2012-04-16 17:53 ` Doug Hunley
2012-04-16 18:16 ` Michael Mol
2012-04-17 8:12 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 12+ messages in thread
From: Doug Hunley @ 2012-04-16 17:53 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 13:39, Michael Mol <mikemol@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
>> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>>> Are you using ccache?
>>
>> nope. no ccache, no distcc
>
> What are you using for CFLAGS?
~ $ more /etc/make.conf
# ---[Compiler Settings]---
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
-fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
-floop-block -ftree-loop-distribution -ftree-loop-linear"
CXXFLAGS="${CFLAGS} -Wabi"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu,-O1 -Wl,--as-needed
-Wl,--sort-common -Wl,--enable-new-dtags"
MAKEOPTS="-j8 -l6 --quiet"
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:53 ` Doug Hunley
@ 2012-04-16 18:16 ` Michael Mol
2012-04-17 8:12 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 0 replies; 12+ messages in thread
From: Michael Mol @ 2012-04-16 18:16 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 1:53 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 13:39, Michael Mol <mikemol@gmail.com> wrote:
>> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
>>> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>>>> Are you using ccache?
>>>
>>> nope. no ccache, no distcc
>>
>> What are you using for CFLAGS?
>
> ~ $ more /etc/make.conf
> # ---[Compiler Settings]---
> CHOST="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
> -fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
> -floop-block -ftree-loop-distribution -ftree-loop-linear"
-O2, -pipe, -march and -mtune look fine (though -mtune is implied by
-march), as does -mpopcnt and -msahf. -fomit-frame-pointer is implied
by -O2.
I don't know about the others.
> CXXFLAGS="${CFLAGS} -Wabi"
> LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu,-O1 -Wl,--as-needed
> -Wl,--sort-common -Wl,--enable-new-dtags"
Given you're updating a shared library, I'd wonder about some of these.
I'd also wonder if a depclean and revdep-rebuild prior to upgrading
ppi might reveal something.
> MAKEOPTS="-j8 -l6 --quiet"
Aside. Try:
MAKEOPTS="--jobs --load=6"
(--quiet is default for parallel builds)
Also, try:
EMERGE_DEFAULT_OPTS="--jobs --load-average=6"
--
:wq
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:14 [gentoo-user] dev-libs/ppl-0.12 breaks gcc? Doug Hunley
2012-04-16 17:20 ` Michael Mol
@ 2012-04-16 18:47 ` Alex Schuster
2012-04-16 20:00 ` Doug Hunley
2012-04-16 18:54 ` [gentoo-user] " walt
2 siblings, 1 reply; 12+ messages in thread
From: Alex Schuster @ 2012-04-16 18:47 UTC (permalink / raw
To: gentoo-user
Doug Hunley writes:
> I'm currently running ~amd64 and when I ran a world update,
> dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
> point, gcc stops compiling. It doesn't matter what I try to compile,
> whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
> says to do, a recompile of gcc, or anything else. They all die with
> with 'internal compiler error'. I end up having to 'emerge -k gcc' and
> then masking dev-libs/ppl-0.12 to get back to a working compiler
> chain.
Strange, isn't it. How can those bugs make it into the tree? It's ~arch,
but this should not mean that it hasn't been tested at all.
> Am I the only one facing this?
Nope.
> How did you guys get through the mud here?
Looking for ppl on bugs.gentoo org, finding bug #412117 [*], rebuilding
ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.
Wonko
[*] https://bugs.gentoo.org/show_bug.cgi?id=412117
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:14 [gentoo-user] dev-libs/ppl-0.12 breaks gcc? Doug Hunley
2012-04-16 17:20 ` Michael Mol
2012-04-16 18:47 ` [gentoo-user] " Alex Schuster
@ 2012-04-16 18:54 ` walt
2 siblings, 0 replies; 12+ messages in thread
From: walt @ 2012-04-16 18:54 UTC (permalink / raw
To: gentoo-user
On 04/16/2012 10:14 AM, Doug Hunley wrote:
> I'm currently running ~amd64 and when I ran a world update,
> dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
> point, gcc stops compiling. It doesn't matter what I try to compile,
> whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
> says to do, a recompile of gcc, or anything else. They all die with
> with 'internal compiler error'. I end up having to 'emerge -k gcc' and
> then masking dev-libs/ppl-0.12 to get back to a working compiler
> chain.
I can't explain why the "internal compiler error" but I'd guess it's
probably something in your CFLAGS, as the other replies suggested.
But be aware that once you finally get ppl upgraded you'll need to
rebuild cloog-ppl *without* the -floop-* flags because gcc will not
build anything *with* those flags because the old cloog-ppl will
now be broken. Until you rebuild it, of course.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 18:47 ` [gentoo-user] " Alex Schuster
@ 2012-04-16 20:00 ` Doug Hunley
2012-04-16 20:20 ` Doug Hunley
0 siblings, 1 reply; 12+ messages in thread
From: Doug Hunley @ 2012-04-16 20:00 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org> wrote:
> Looking for ppl on bugs.gentoo org, finding bug #412117 [*], rebuilding
> ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.
damn, I searched, didn't see this. thanks
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 20:00 ` Doug Hunley
@ 2012-04-16 20:20 ` Doug Hunley
2012-04-17 0:39 ` Pandu Poluan
0 siblings, 1 reply; 12+ messages in thread
From: Doug Hunley @ 2012-04-16 20:20 UTC (permalink / raw
To: gentoo-user
On Mon, Apr 16, 2012 at 16:00, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org> wrote:
>> Looking for ppl on bugs.gentoo org, finding bug #412117 [*], rebuilding
>> ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.
>
> damn, I searched, didn't see this. thanks
didn't see it cause I looked on Sat, it was filed yesterday ;)
fixed now. thanks mucho!
--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] dev-libs/ppl-0.12 breaks gcc?
2012-04-16 20:20 ` Doug Hunley
@ 2012-04-17 0:39 ` Pandu Poluan
0 siblings, 0 replies; 12+ messages in thread
From: Pandu Poluan @ 2012-04-17 0:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
On Apr 17, 2012 3:23 AM, "Doug Hunley" <doug.hunley@gmail.com> wrote:
>
> On Mon, Apr 16, 2012 at 16:00, Doug Hunley <doug.hunley@gmail.com> wrote:
> > On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org>
wrote:
> >> Looking for ppl on bugs.gentoo org, finding bug #412117 [*], rebuilding
> >> ppl and cloog-ppl without -floop* CFLAGS, then again with floop*
CFLAGS.
> >
> > damn, I searched, didn't see this. thanks
>
> didn't see it cause I looked on Sat, it was filed yesterday ;)
>
> fixed now. thanks mucho!
>
I see you're using gcc's graphite...
Welcome to the club! :-D
Oh, and glad you had the problem fixed ;-)
Rgds,
[-- Attachment #2: Type: text/html, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: dev-libs/ppl-0.12 breaks gcc?
2012-04-16 17:53 ` Doug Hunley
2012-04-16 18:16 ` Michael Mol
@ 2012-04-17 8:12 ` Nikos Chantziaras
1 sibling, 0 replies; 12+ messages in thread
From: Nikos Chantziaras @ 2012-04-17 8:12 UTC (permalink / raw
To: gentoo-user
On 16/04/12 20:53, Doug Hunley wrote:
> On Mon, Apr 16, 2012 at 13:39, Michael Mol<mikemol@gmail.com> wrote:
>> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley<doug.hunley@gmail.com> wrote:
>>> On Mon, Apr 16, 2012 at 13:20, Michael Mol<mikemol@gmail.com> wrote:
>>>> Are you using ccache?
>>>
>>> nope. no ccache, no distcc
>>
>> What are you using for CFLAGS?
>
> -O2 -pipe -march=native -mtune=native -mpopcnt -msahf
> -fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
> -floop-block -ftree-loop-distribution -ftree-loop-linear
-ftree-loop-linear is an alias for -floop-interchange. They do the same
thing.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-04-17 8:14 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 17:14 [gentoo-user] dev-libs/ppl-0.12 breaks gcc? Doug Hunley
2012-04-16 17:20 ` Michael Mol
2012-04-16 17:34 ` Doug Hunley
2012-04-16 17:39 ` Michael Mol
2012-04-16 17:53 ` Doug Hunley
2012-04-16 18:16 ` Michael Mol
2012-04-17 8:12 ` [gentoo-user] " Nikos Chantziaras
2012-04-16 18:47 ` [gentoo-user] " Alex Schuster
2012-04-16 20:00 ` Doug Hunley
2012-04-16 20:20 ` Doug Hunley
2012-04-17 0:39 ` Pandu Poluan
2012-04-16 18:54 ` [gentoo-user] " walt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox