Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186426 - dev-libs/libpcre-6.6 fails to compile
Summary: dev-libs/libpcre-6.6 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 06:40 UTC by Ed Davison
Modified: 2007-07-24 06:53 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 Ed Davison 2007-07-24 06:40:01 UTC
libpcre fails to compile correctly

Reproducible: Always

Steps to Reproduce:
1. compile libpcre
2.
3.

Actual Results:  
...
(cd .libs && rm -f libpcrecpp.so.0 && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so.0)
(cd .libs && rm -f libpcrecpp.so && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so)
ar cru .libs/libpcrecpp.a  pcrecpp.o pcre_scanner.o pcre_stringpiece.o
ranlib .libs/libpcrecpp.a
creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && ln -s ../libpcrecpp.la libpcrecpp.la)
g++ -c -O3 -march=i686 -funroll-loops -pipe -fPIC -I. -I. -DSUPPORT_UTF8  \
	 ./pcrecpp_unittest.cc
/bin/sh ./libtool --mode=link g++   -I. -I.   -o pcrecpp_unittest \
	pcrecpp_unittest.o \
	libpcrecpp.la libpcreposix.la
g++ -I. -I. -o .libs/pcrecpp_unittest pcrecpp_unittest.o  -L/var/tmp/portage/libpcre-6.6/work/pcre-6.6/.libs ./.libs/libpcrecpp.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../.. ./.libs/libpcreposix.so /var/tmp/portage/libpcre-6.6/work/pcre-6.6/.libs/libpcre.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make: *** [pcrecpp_unittest] Error 1

!!! ERROR: dev-libs/libpcre-6.6 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
compile and emerge libpcre

Portage 2.0.51.22 (default-linux/x86/2006.1, gcc-3.3.4, glibc-2.3.2-r3, 2.4.20-gentoo-r9 i686)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 AMD Duron(tm) Processor
Gentoo Base System release 1.12.9
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 0.2.8
dev-lang/python:     2.2.3-r5, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.7.5-r2, 1.10
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/gcc-config: 1.3.6-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.4.19, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog libg++ midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_r128 video_cards_radeon video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


(cd .libs && rm -f libpcrecpp.so.0 && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so.0)
(cd .libs && rm -f libpcrecpp.so && ln -s libpcrecpp.so.0.0.0 libpcrecpp.so)
ar cru .libs/libpcrecpp.a  pcrecpp.o pcre_scanner.o pcre_stringpiece.o
ranlib .libs/libpcrecpp.a
creating libpcrecpp.la
(cd .libs && rm -f libpcrecpp.la && ln -s ../libpcrecpp.la libpcrecpp.la)
g++ -c -O3 -march=i686 -funroll-loops -pipe -fPIC -I. -I. -DSUPPORT_UTF8  \
	 ./pcrecpp_unittest.cc
/bin/sh ./libtool --mode=link g++   -I. -I.   -o pcrecpp_unittest \
	pcrecpp_unittest.o \
	libpcrecpp.la libpcreposix.la
g++ -I. -I. -o .libs/pcrecpp_unittest pcrecpp_unittest.o  -L/var/tmp/portage/libpcre-6.6/work/pcre-6.6/.libs ./.libs/libpcrecpp.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../.. ./.libs/libpcreposix.so /var/tmp/portage/libpcre-6.6/work/pcre-6.6/.libs/libpcre.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
make: *** [pcrecpp_unittest] Error 1

!!! ERROR: dev-libs/libpcre-6.6 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-24 06:53:18 UTC
gcc-3.3.x is EOL-ed and completely unsupported.

http://www.gentoo.org/doc/en/gcc-upgrading.xml