Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168290 - app-text/opensp-1.5.2-r1 compile fails with gcc-4.1.1
Summary: app-text/opensp-1.5.2-r1 compile fails with gcc-4.1.1
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-25 05:53 UTC by Tomas Gray
Modified: 2007-02-25 07:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Gray 2007-02-25 05:53:36 UTC
OpenSP-1.5.2-r1 fails during compilation with the following error:

-------------------------------------------------------------------
   1.
      make[3]: Entering directory `/var/tmp/portage/app-text/opensp-1.5.2-r1/work/OpenSP-1.5.2/nsgmls'
   2.
      if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic     -O2 -march=athlon-xp -MT nsgmls.o -MD -MP -MF ".deps/nsgmls.Tpo" -c -o nsgmls.o nsgmls.cxx; \
   3.
              then mv -f ".deps/nsgmls.Tpo" ".deps/nsgmls.Po"; else rm -f ".deps/nsgmls.Tpo"; exit 1; fi
   4.
      if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic     -O2 -march=athlon-xp -MT SgmlsEventHandler.o -MD -MP -MF ".deps/SgmlsEventHandler.Tpo" -c -o SgmlsEventHandler.o SgmlsEventHandler.cxx; \
   5.
              then mv -f ".deps/SgmlsEventHandler.Tpo" ".deps/SgmlsEventHandler.Po"; else rm -f ".deps/SgmlsEventHandler.Tpo"; exit 1; fi
   6.
      if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic     -O2 -march=athlon-xp -MT RastEventHandler.o -MD -MP -MF ".deps/RastEventHandler.Tpo" -c -o RastEventHandler.o RastEventHandler.cxx; \
   7.
              then mv -f ".deps/RastEventHandler.Tpo" ".deps/RastEventHandler.Po"; else rm -f ".deps/RastEventHandler.Tpo"; exit 1; fi
   8.
      if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic     -O2 -march=athlon-xp -MT StringSet.o -MD -MP -MF ".deps/StringSet.Tpo" -c -o StringSet.o StringSet.cxx; \
   9.
              then mv -f ".deps/StringSet.Tpo" ".deps/StringSet.Po"; else rm -f ".deps/StringSet.Tpo"; exit 1; fi
  10.
      if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic     -O2 -march=athlon-xp -MT nsgmls_inst.o -MD -MP -MF ".deps/nsgmls_inst.Tpo" -c -o nsgmls_inst.o nsgmls_inst.cxx; \
  11.
              then mv -f ".deps/nsgmls_inst.Tpo" ".deps/nsgmls_inst.Po"; else rm -f ".deps/nsgmls_inst.Tpo"; exit 1; fi
  12.
      /bin/sh ../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -O2 -march=athlon-xp   -o onsgmls  nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la  -lpthread  -lnsl
  13.
      mkdir .libs
  14.
      i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -o .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o  ../lib/.libs/libosp.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -lpthread -lnsl
  15.
      ../lib/.libs/libosp.so: undefined reference to `__cxa_get_exception_ptr'
  16.
      collect2: ld returned 1 exit status
  17.
      make[3]: *** [onsgmls] Error 1
  18.
      make[3]: Leaving directory `/var/tmp/portage/app-text/opensp-1.5.2-r1/work/OpenSP-1.5.2/nsgmls'
  19.
      make[2]: *** [all] Error 2
  20.
      make[2]: Leaving directory `/var/tmp/portage/app-text/opensp-1.5.2-r1/work/OpenSP-1.5.2/nsgmls'
  21.
      make[1]: *** [all-recursive] Error 1
  22.
      make[1]: Leaving directory `/var/tmp/portage/app-text/opensp-1.5.2-r1/work/OpenSP-1.5.2'
  23.
      make: *** [all] Error 2
  24.
       
  25.
      !!! ERROR: app-text/opensp-1.5.2-r1 failed.
  26.
      Call stack:
  27.
        ebuild.sh, line 1614:   Called dyn_compile
  28.
        ebuild.sh, line 971:   Called qa_call 'src_compile'
  29.
        environment, line 3266:   Called src_compile
  30.
        opensp-1.5.2-r1.ebuild, line 55:   Called die
  31.
       
  32.
      !!! Compilation failed
  33.
      !!! If you need support, post the topmost build error, and the call stack if relevant.
  34.
      !!! A complete build log is located at '/var/tmp/portage/app-text/opensp-1.5.2-r1/temp/build.log'. 
--------------------------------------------------------------------------

Version 1.5.1 compiles perfectly. Version 1.5.2-r1 compiles with gcc-3.4.6. 

/etc/make.conf:
------------------------------------------------
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"


ALSA_CARDS="emu10k1"
VIDEO_CARDS="sis"
INPUT_DEVICES="keyboard mouse"

USE="X gtk jack dri jpeg png gnome mp3 gif oss alsa flac vorbis ogg"


Reproducible: Always

Steps to Reproduce:
1.Select gcc version 4.1.1
2.emerge =app-text/opensp-1.5.2-r1
3.



Expected Results:  
Compiled successfully.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 07:48:45 UTC
http://www.gentoo.org/doc/en/gcc-upgrading.xml

*** This bug has been marked as a duplicate of bug 64615 ***