Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276536 - dev-libs/glib-2.18.4-r1: make failed
Summary: dev-libs/glib-2.18.4-r1: make failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-05 07:07 UTC by Sean
Modified: 2009-09-25 16:13 UTC (History)
0 users

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


Attachments
build log for glib (build.log,133.57 KB, text/plain)
2009-07-05 07:11 UTC, Sean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean 2009-07-05 07:07:29 UTC
Trying to emerge syslog-ng, glib is a dependency and fails to compile.  Log file is attached.

Reproducible: Always

Steps to Reproduce:
emerge glib
Comment 1 Sean 2009-07-05 07:11:19 UTC
Created attachment 196712 [details]
build log for glib
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-05 07:23:15 UTC
emerge --info please.
Comment 3 Sean 2009-07-05 07:29:37 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.03-std120-amd64 x86_64)
=================================================================
System uname: Linux-2.6.29.03-std120-amd64-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-glibc2.2.5
Timestamp of tree: Sat, 04 Jul 2009 14:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  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="amd64"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirrors.cs.wmich.edu/gentoo ftp://lug.mtu.edu/gentoo/ "
LANG="en_US.UTF-8"
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 apache2 apm bash-completion berkdb branding bzip2 cdr cli cracklib crypt cups dri dvd dvdr encode fbcon fortran ftp gdbm gif gnome gpm gtk hal hddtemp iconv ieee1394 ipod ipv6 isdnlog java jpeg jpeg2k libcaca lm_sensors mad midi mmx mmxext mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly openal opengl openmp pam pcre perl php png pppd python quicktime readline reflection samba session spl sse sse2 ssl symlink sysfs syslog tcpd tiff truetype unicode usb vnc wmf xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-06 11:54:31 UTC
you might be having trouble with your gcc, please try with gcc-4.3.2-r2 or even gcc-4.3.3-r2. One of the earler gcc 4.3.2 revision generated by assembly in some cases iirc.
Comment 5 Wormo (RETIRED) gentoo-dev 2009-07-09 23:37:38 UTC
Please let us know if upgrading your compiler worked -- it definitely looks like a compiler bug.
Comment 6 Dario 2009-09-20 11:02:12 UTC


Using the latest autobuild (20090915) i got the same error during the installation.

This is my Emerge --info 

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 20 Sep 2009 10:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="3dnow X acl alsa bash-completion berkdb bzip2 cjk cli cracklib crypt cups dri emacs flac fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog mmx mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode vorbis x86 xcb xorg 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" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


i tryed doing emerge gcc but, after a while, i got this:

{standard input}: Assembler messages:
{standard input}:20: Error: bad register name `%rdx'
{standard input}:21: Error: bad register name `%rdx'
{standard input}:24: Error: bad register name `%rdi'
{standard input}:28: Error: bad register name `%rsi'
/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libgcc/../gcc/libgcc2.c:560: Error: bad register name `%rdx'
{standard input}:40: Error: bad register name `%rcx'
{standard input}:43: Error: bad register name `%rax'
{standard input}:44: Error: bad register name `%rdx'
{standard input}:45: Error: bad register name `%rsp)'
{standard input}:46: Error: bad register name `%rsp)'
{standard input}:48: Error: bad register name `%rax'
{standard input}:49: Error: bad register name `%rdx'
{standard input}:51: Error: bad register name `%r8'
{standard input}:54: Error: bad register name `%rcx'
{standard input}:57: Error: bad register name `%rdi'
{standard input}:58: Error: bad register name `%rsp)'
{standard input}:59: Error: bad register name `%rsp)'
make[3]: *** [_muldi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:19: Error: bad register name `%rsi'
{standard input}:22: Error: bad register name `%rdi'
{standard input}:25: Error: bad register name `%rdi'
{standard input}:26: Error: bad register name `%rax'
{standard input}:27: Error: bad register name `%rdi'
{standard input}:28: Error: bad register name `%rsi'
{standard input}:29: Error: bad register name `%rsp)'
{standard input}:30: Error: bad register name `%rsp)'
make[3]: *** [_negdi2.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/x86_64-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make: *** [bootstrap-lean] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: sys-devel/gcc-4.3.2-r3 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 4840:  Called toolchain_src_compile
 [31;01m*[0m             environment, line 5366:  Called gcc_src_compile
 [31;01m*[0m             environment, line 3066:  Called gcc_do_make
 [31;01m*[0m             environment, line 2856:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed with bootstrap-lean
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 [31;01m*[0m 


let me know if u need other info
Comment 7 Dario 2009-09-25 16:13:20 UTC
That's ok, it was my fault.
I put a wrong CHOST value.

I'm sorry
Regards, 
Dario