Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233796 - dev-lang/swig not compiling with gcc 4.3.1
Summary: dev-lang/swig not compiling with gcc 4.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Lowest minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 13:22 UTC by Roland Baldenhofer
Modified: 2008-08-06 08:05 UTC (History)
0 users

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


Attachments
The buld.log for swig (swig.log,13.41 KB, text/plain)
2008-08-05 18:06 UTC, Roland Baldenhofer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Baldenhofer 2008-08-03 13:22:46 UTC
Hello,

on Asus Eee PC 900 with CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer" the emerge for dev-lang/swig exits with error:
Modules/swigmod.h:20: error: redeclatation of C++ built-in type 'bool'.

Work arround:
Use i686-pc-linux-gnu-3.3.6 gcc

It will be nice to run the new gcc version.

Kind regards

Roland
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-03 16:04:51 UTC
please paste your emerge --info.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-03 16:05:08 UTC
and attach build.log
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-03 16:05:48 UTC
and which version are you trying to build
Comment 4 Roland Baldenhofer 2008-08-05 18:01:04 UTC
Hello,

sorry for the bad description and the delay.
I tried to emerge dev-land/swig-1.3.36.

Here is the emerge --info:
Portage 2.2_rc6 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoonemo i686)
=================================================================
System uname: Linux-2.6.26-gentoonemo-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-glibc2.0
Timestamp of tree: Sat, 02 Aug 2008 16:18:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 apm bzip2 cairo cli cracklib crypt cups dri firefox fortran gdbm gif gpm gtk hardened iconv imap ipv6 isdnlog jpeg kde libwww loop-aes maildir midi mudflap mysql mysqli ncurses nls nptlonly opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection sasl server session spl sqlite ssl svg sysfs tcpd tiff tk tokenizer unicode x86 xinerama 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 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" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 5 Roland Baldenhofer 2008-08-05 18:06:14 UTC
Created attachment 162285 [details]
The buld.log for swig

In the attachment you will find the build.log from swig.

Greetings

Roland
Comment 6 Roland Baldenhofer 2008-08-06 08:05:48 UTC
Hello,

sorry I found the error. It was 70cm in front of the PC (myself).
After changing the compiler, source /etc/profile and fix_libtool_files.sh everything runs fine.

Sorry for disturbing you!

Greetings

Roland