[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#260747: removing "--enable-final" allows successful compilation of arts-1.3.0



I was referring to the rules for arts-1.3.0-1, specifically, lines 73-76:

        # run configure with build tree $(objdir)
        cd $(objdir) && \
        CC=gcc-3.3 CXX=g++-3.3 ../configure $(configkde) --enable-final \
        --with-alsa

However, as you point out, gcc/g++ 3.3 is used to build the package by
default.  I removed the CC and CXX settings and rebuilt with the
default version on my system (3.4.1), and experienced the segfault in
mcopidl.

I then removed the suspicious "--enable-final" option and the package
compiled successfully with 3.4.1.  Thus in the end I replaced the
rules quoted above with:

        # run configure with build tree $(objdir)
        cd $(objdir) && \
        ../configure $(configkde) \
        --with-alsa

-David

On Sun, 15 Aug 2004 21:56:08 +0200, Matthias Klose <doko@cs.tu-berlin.de> wrote:
> the version you cite is not made by the gcc-3.4 package in unstable
> nor do I see that --enable-final is passed at configure time.
> 
>         Matthias
> 
> David Dumas writes:
> > I experienced the segfault in mcopidl when compiling arts-1.3.0 with
> > gcc 3.4.1 under debian unstable (amd64).  I looked at debian/rules and
> > found that "--enable-final" is passed to configure; this option has
> > the following description in the configure usage message:
> >
> >   --enable-final          build size optimized apps (experimental - needs lots
> >                           of memory)
> >
> > Why would the debian package optimize for size?  Anyway, removing this
> > option allowed a successful build, i.e. no segfault in mcopidl.
> >
> > -David
> >
> > $ gcc -v
> > Reading specs from /usr/lib/gcc/x86_64-linux/3.4.1/specs
> > Configured with: ../src/configure -v
> > --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
> > --prefix=/usr --libexecdir=/usr/lib
> > --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared
> > --with-system-zlib --enable-nls --without-included-gettext
> > --program-suffix=-3.4 --enable-__cxa_atexit
> > --enable-libstdcxx-allocator=mt --enable-clocale=gnu
> > --enable-libstdcxx-debug --disable-werror x86_64-linux
> > Thread model: posix
> > gcc version 3.4.1 (Debian 3.4.1-5.0.0.2.amd64)
> >



Reply to: