FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-14-2008, 01:36 AM
John covici
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

Hi. I am having problems compiling gcc vrsions 4.2.4 or 4.3.1-r1.
The errors are very similar -- here is what I am getting when
compiling 4.3.1-r1.


libtool: compile: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -mtune=nocona -pipe -MT mf-hooks2.lo -MD -MP -MF .deps/mf-hooks2.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c -fPIC -DPIC -o .libs/mf-hooks2.o
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c: In function '__mfwrap_getmntent':
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2082: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2082: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2083: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2083: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2084: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2084: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2085: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2085: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2086: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2090: warning: implicit declaration of function 'getmntent'
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2090: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2096: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2096: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2097: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2097: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2098: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2098: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2099: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2099: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2100: error: dereferencing pointer to incomplete type
make[4]: *** [mf-hooks2.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[1]: *** [all-target-libmudflap] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build'
make: *** [profiledbootstrap] Error 2
*
* ERROR: sys-devel/gcc-4.3.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4560: Called toolchain_src_compile
* environment, line 5075: Called gcc_src_compile
* environment, line 2924: Called gcc_do_make
* environment, line 2754: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
* The die message:
* emake failed with profiledbootstrap
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sys-devel:gcc-4.3.1-r1:20080713-202441.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
*


My emerge --info is below:

Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
================================================== ===============
System uname: 2.6.24-gentoo-r5 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Timestamp of tree: Sun, 13 Jul 2008 04:12:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
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"
ANT_HOME="/usr/share/ant-core"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
APACHE2_MPMS="prefork"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/root/.bashrc"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -mtune=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/emacs"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --color=n --verbose --nospinner"
EMERGE_WARNING_DELAY="10"
FEATURES="collision-protect cvs digest distlocks metadata-transfer multilib-strict sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://distfiles.gentoo.org"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="keyboard mouse evdev"
I_KNOW_WHAT_I_AM_DOING="yes"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36i=40;33: so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=01;05 ;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42 w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31: *.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:* .lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=0 1;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;3 1:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:* .rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*. 7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif =01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=0 1;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01; 35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;3 5:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35 :*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:* .m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.n uv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb =01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01 ;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35 :*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32: *.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:* .aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.m idi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.og g=00;36:*.ra=00;36:*.wav=00;36:"
MAIL="/var/mail/root"
MAILMAN_MAILGID="2"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/sun-jdk-1.4.2.13/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/qt/3/doc/man"
NOCOLOR="true"
OLDPWD="/usr/src/speakup"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/qt/3/bin:/root/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="covici /usr/sbin/sendmail"
PORTAGE_ELOG_SYSTEM="save mail_summary"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(alpha|alsa_cards_aoa|alsa_cards_ao a-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_harmony|alsa_c ards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|bmp|bmpx|bootstrap|bui ld|coreaudio|crosscompile_opts_.*|elibc_.*|elibc_D arwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|e libc_OpenBSD|elibc_glibc|elibc_uclibc|emul-linux-x86|hppa|ia64|ibm|infopipe|kernel_.*|kernel_Darwin |kernel_FreeBSD|kernel_linux|m68k|mips|mplayer-bin|multilib|n32|n64|pam_console|pbbuttonsd|ppc|pp c64|ppcsha1|s390|selinux|sh|sparc|sparc-fbsd|uclibc|ultra1|userland_.*|userland_BSD|userla nd_Darwin|userland_GNU|video_cards_impact|video_ca rds_newport|video_cards_sunbw2|video_cards_suncg14 |video_cards_suncg3|video_cards_suncg6|video_cards _sunffb|video_cards_sunleo|video_cards_suntcx|vis| x86|x86-fbsd|xmms)$"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="elibc_glibc kernel_linux userland_GNU x86"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/klibc"
PS1="h:w$ "
PWD="/usr/src"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.4/html/lib"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.13/bin:/opt/sun-jdk-1.4.2.13/jre/bin:/opt/sun-jdk-1.4.2.13/jre/javaws:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="linux"
USE="X accessibility acl acpi alsa apache2 berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mailwrapper midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session snmp spell spl ssl startup-notification svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xulrunner xv 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="envkg:conf:defaultskginternal:env.d "
UUCPLOCK="/var/lock/LCK.."
VIDEO_CARDS="nvidia"
VMHANDLE="sun-jdk-1.4"
_="/usr/bin/emerge"

Thanks in advance for any ideas on how to solve this one.


--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com
 
Old 07-14-2008, 01:43 AM
Nikos Chantziaras
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

John covici wrote:

Hi. I am having problems compiling gcc vrsions 4.2.4 or 4.3.1-r1.
The errors are very similar -- here is what I am getting when
compiling 4.3.1-r1.


For GCC 4.3.x you need to update sys-libs/glibc. You need at least 2.7-r2.

I'm using GCC 4.3.x on my system and it emerged fine after updating to
the latest ~arch glibc.


--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-14-2008, 01:53 AM
John covici
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

on Monday 07/14/2008 Nikos Chantziaras(realnc@arcor.de) wrote
> John covici wrote:
> > Hi. I am having problems compiling gcc vrsions 4.2.4 or 4.3.1-r1.
> > The errors are very similar -- here is what I am getting when
> > compiling 4.3.1-r1.
>
> For GCC 4.3.x you need to update sys-libs/glibc. You need at least 2.7-r2.
>
> I'm using GCC 4.3.x on my system and it emerged fine after updating to
> the latest ~arch glibc.
>
> --
> gentoo-user@lists.gentoo.org mailing list

I wonder why there is no dependency -- if this is necessary?



--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-14-2008, 02:03 AM
Nikos Chantziaras
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

John covici wrote:

on Monday 07/14/2008 Nikos Chantziaras(realnc@arcor.de) wrote
> John covici wrote:
> > Hi. I am having problems compiling gcc vrsions 4.2.4 or 4.3.1-r1.
> > The errors are very similar -- here is what I am getting when
> > compiling 4.3.1-r1.
>
> For GCC 4.3.x you need to update sys-libs/glibc. You need at least 2.7-r2.
>
> I'm using GCC 4.3.x on my system and it emerged fine after updating to
> the latest ~arch glibc.
>
> --
> gentoo-user@lists.gentoo.org mailing list


I wonder why there is no dependency -- if this is necessary?


There is such a dependency for ~amd64. I was under the impression that
this is not amd64 specific.


In other words, I'm on 64-bit and updating glibc fixed the compilation
errors. That means it might not fix anything for you if you're on 32-bit :P


--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-14-2008, 03:18 PM
Joe User
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

John covici schrieb:

Hi,

>
> [snip]
>
> Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
^^^^^^^^^^
that's your major problem...

Regards,
Joe User
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-14-2008, 03:25 PM
John covici
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

on Monday 07/14/2008 Joe User(mailinglists@rootservice.org) wrote
> John covici schrieb:
>
> Hi,
>
> >
> > [snip]
> >
> > Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
> ^^^^^^^^^^
> that's your major problem...
>

Which of those is the problem -- I am running 32-bit operating
systems.

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-14-2008, 03:34 PM
"Daniel Pielmeier"
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

2008/7/14, John covici <covici@ccs.covici.com>:
> > > Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
> > ^^^^^^^^^^
> > that's your major problem...
> >
>
> Which of those is the problem -- I am running 32-bit operating
> systems.

Maybe not to use the developer profile :-)
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-15-2008, 04:36 AM
Nikos Chantziaras
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

John covici wrote:

on Monday 07/14/2008 Joe User(mailinglists@rootservice.org) wrote
> John covici schrieb:
>
> Hi,
>
> >
> > [snip]
> >
> > Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)

> ^^^^^^^^^^
> that's your major problem...
>


Which of those is the problem -- I am running 32-bit operating
systems.


I failed to see it in your first post. I've read it as
"default/linux/x86/2008.0/desktop". Probably because it also begins
with a "d" :P


The developer profile is *not* like "developer" installations of other
distros (meaning installations that include compilers, IDEs and such).
It's an environment designed for Gentoo devs. Don't use it unless you
have been told to use it.


--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-15-2008, 07:29 AM
John covici
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

on Tuesday 07/15/2008 Nikos Chantziaras(realnc@arcor.de) wrote
> John covici wrote:
> > on Monday 07/14/2008 Joe User(mailinglists@rootservice.org) wrote
> > > John covici schrieb:
> > >
> > > Hi,
> > >
> > > >
> > > > [snip]
> > > >
> > > > Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
> > > ^^^^^^^^^^
> > > that's your major problem...
> > >
> >
> > Which of those is the problem -- I am running 32-bit operating
> > systems.
>
> I failed to see it in your first post. I've read it as
> "default/linux/x86/2008.0/desktop". Probably because it also begins
> with a "d" :P
>
> The developer profile is *not* like "developer" installations of other
> distros (meaning installations that include compilers, IDEs and such).
> It's an environment designed for Gentoo devs. Don't use it unless you
> have been told to use it.
>

So, I changed the link in /etc/make.profile to desktop instead of
developer and I am getting the same results as before -- it stops on
the same error like this:

if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -mtune=nocona -pipe -MT mf-hooks2.lo -MD -MP -MF ".deps/mf-hooks2.Tpo" -c -o mf-hooks2.lo /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c;
then mv -f ".deps/mf-hooks2.Tpo" ".deps/mf-hooks2.Plo"; else rm -f ".deps/mf-hooks2.Tpo"; exit 1; fi
libtool: compile: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -mtune=nocona -pipe -MT mf-hooks2.lo -MD -MP -MF .deps/mf-hooks2.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c -fPIC -DPIC -o .libs/mf-hooks2.o
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c: In function '__mfwrap_getmntent':
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2082: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2082: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2083: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2083: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2084: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2084: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2085: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2085: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2086: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2090: warning: implicit declaration of function 'getmntent'
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2090: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2096: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2096: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2097: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2097: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2098: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2098: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2099: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2099: error: dereferencing pointer to incomplete type
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libmudflap/mf-hooks2.c:2100: error: dereferencing pointer to incomplete type
make[4]: *** [mf-hooks2.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libmudflap'
make[1]: *** [all-target-libmudflap] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build'
make: *** [profiledbootstrap] Error 2
*
* ERROR: sys-devel/gcc-4.3.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4557: Called toolchain_src_compile
* environment, line 5072: Called gcc_src_compile
* environment, line 2921: Called gcc_do_make
* environment, line 2751: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
* The die message:
* emake failed with profiledbootstrap
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sys-devel:gcc-4.3.1-r1:20080715-064502.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
*

--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?

John Covici
covici@ccs.covici.com
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-15-2008, 07:46 AM
Nikos Chantziaras
 
Default Problems compiling gcc 4.2.4 and 4.3.1-r1

John covici wrote:

on Tuesday 07/15/2008 Nikos Chantziaras(realnc@arcor.de) wrote
> John covici wrote:
> > on Monday 07/14/2008 Joe User(mailinglists@rootservice.org) wrote
> > > John covici schrieb:
> > > > [snip]
> > > > Portage 2.1.4.4 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r5 i686)
> > > ^^^^^^^^^^
> > > that's your major problem...
> >
> > Which of those is the problem -- I am running 32-bit operating

> > systems.
>
> The developer profile is *not* like "developer" installations of other
> distros (meaning installations that include compilers, IDEs and such).
> It's an environment designed for Gentoo devs. Don't use it unless you
> have been told to use it.


So, I changed the link in /etc/make.profile to desktop instead of
developer and I am getting the same results as before -- it stops on
the same error


Did you try updating glibc even though it's not a dependency with x86?

--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 10:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org