public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Lars Pechan <lars.pechan@paradise.net.nz>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] GCC-3.1/KDE 3.0.1
Date: Tue, 28 May 2002 01:15:03 +1200	[thread overview]
Message-ID: <200205280115.03369.lars.pechan@paradise.net.nz> (raw)
In-Reply-To: <1022486229.28706.9.camel@sartre.shacknet.nu>

Hello,
I now have only one gcc (as built by gcc-3.1r4) and no outstanding patches. I 
did an emerge unmerge on gcc-3.1r1 since that was reported as installed by 
qpkg. Didn't make any major changes however...

Interesting about portage and 2.95.3/3.0.4 as I've built a decent chunk of my 
new system using 3.1 only and haven't had any sandbox-related problems 
(yet??).

The htdig ebuild is indeed crapping out because of gcc-3.1 complaining about 
using a deprecated header (iostream.h, fstream.h etc instead of iostream, 
fstream). The following is a workaround that will build it with gcc-3.1:

CPPFLAGS=-Wno-deprecated emerge htdig

There's still lots of noise during compilation about the same issue.  Adding 
the same flag to CFLAGS and CXXFLAGS will get rid of it.

On the fam-oss problem  I've sent a mail to the maintainer at SGI. For anyone 
interested this is the error message:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\"    -Wno-deprecated -c 
Scheduler.c++
Scheduler.c++:37: uninitialized const member `Scheduler::IOTypeInfo::iotype'
Scheduler.c++:38: uninitialized const member `Scheduler::IOTypeInfo::iotype'
make[2]: *** [Scheduler.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/fam-oss-2.6.7/work/fam-2.6.7/fam'

I shall kick off the next stage now and see what nastities we may have bumped 
into in the morning...

/Lasse

On Mon, 27 May 2002 19:57, Matthew Kennedy wrote:
> Howdy,
>
> On Sun, 2002-05-26 at 18:39, Lars Pechan wrote:
> > 1) The fam-oss library doesn't build. This is the File Alteration Monitor
> > from SGI used by both KDE and Gnome I believe. The problem relates to a
> > const member of a class not getting initialized (IIRC Scheduler.c++ lines
> > 37 and 37).
>
> Please submit a bug report on that one... it might also be related to
>
> the following though:
> > 2) HTDig (required by kdevelop) doesn't build. It craps out during
> > configure complaining about
> > missing libstdc++. I had a quick look and it looks for <fstream.h> to
> > trigger whether there's a c++ library in place or not. That file does
> > exist but possibly in a directory that isn't on the default search path.
> > C++ standards call for the header to be called <fstream> and there is
> > indeed an <fstream> in the /usr/include/g++-3.1/libstdc++ or thereabouts
> > ;-).
>
> Check that you don't have more than one gcc version installed. This
> seems to come up a lot, and the reason usually turns out to be that more
> than one gcc is installed. If it still craps out, please report in
> bugzilla.
>
> > I'm a bit surprised I haven't seen anyone else mentioning this? There
> > seems to be lots of people building gcc-3.1-systems...
>
> Please check out package.mask, there are several gcc3.1 patches in there
> which need to be tested before being unmasked.
>
> Also, use a portage compiled with gcc 3.0.4 or 2.95.3... that works
> around a known problem with sandbox/gcc3.1.
>
> Also, if you get unresolved symbol issues with fam-oss, try a "make
> mrproper" on your /sur/src/linux after backing up your .config. Then run
> "make dep clean" after restoring your .config.
>
> Keep the gcc3.1 issues coming :)
>
> Matt



      reply	other threads:[~2002-05-27 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-26 23:39 [gentoo-dev] GCC-3.1/KDE 3.0.1 Lars Pechan
2002-05-27  7:57 ` Matthew Kennedy
2002-05-27 13:15   ` Lars Pechan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200205280115.03369.lars.pechan@paradise.net.nz \
    --to=lars.pechan@paradise.net.nz \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox