Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275590 - dev-libs/libpcre-7.9-r1 USE=cxx - usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_uninitialized.h:79: error: stray '`' in program
Summary: dev-libs/libpcre-7.9-r1 USE=cxx - usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 11:40 UTC by Thomas Skyt
Modified: 2009-06-27 13:35 UTC (History)
0 users

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


Attachments
emerge output, with 'cxx' use flag (with_cxx.txt,24.99 KB, text/plain)
2009-06-27 11:42 UTC, Thomas Skyt
Details
emerge output, without 'cxx' use flag (without_cxx.txt,42.98 KB, text/plain)
2009-06-27 11:45 UTC, Thomas Skyt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Skyt 2009-06-27 11:40:28 UTC
Compiling libpcre-7.9-r1 with 'cxx' use flag enable results in the compilation aborting halfway through, complaining about stray backticks.


Reproducible: Always

Steps to Reproduce:
1. set use flags for libpcre to include 'cxx'
2. emerge libpcre


Actual Results:  
The compilation stopped halfway through, noting errors.

/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_uninitialized.h:79: error: stray '`' in program

Expected Results:  
The package should just have compiled.

Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r7-i686-Intel-R-_Celeron-R-_CPU_1.70GHz-with-glibc2.0
Timestamp of tree: Sat, 27 Jun 2009 11:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.sofagang.dk/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apm berkdb bzip2 chroot cli cracklib crypt ctype cups dba dbus dri expat fam fortran ftp gd gdbm gif gmp hal iconv idn imap imlib ipv6 isdnlog javascript jpeg lcms libg++ libwww maildir memlimit mhash midi mikmod mime mmx mng motif mudflap mysql nas ncurses nls nptlonly openmp pam pcre perl php png posix pppd python readline reflection samba sdl session simplexml slang soap sockets spl sse ssl sysfs tcpd threads tiff tokenizer unicode x86 xml xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Skyt 2009-06-27 11:42:02 UTC
Created attachment 195881 [details]
emerge output, with 'cxx' use flag
Comment 2 Thomas Skyt 2009-06-27 11:45:25 UTC
Created attachment 195882 [details]
emerge output, without 'cxx' use flag
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-27 12:39:20 UTC
Could you consider switching to a newer compiler, please? It looks like you should have sys-devel/gcc-4.3.2-r3 installed. You can switch to that version using gcc-config.
Comment 4 Thomas Skyt 2009-06-27 13:35:48 UTC
Resolved by switching to gcc-4.3.2.