Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge xen-3.0.2 fails [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Wed Aug 02, 2006 3:33 pm    Post subject: Emerge xen-3.0.2 fails [solved] Reply with quote

Hi everyone,
I would love to have a go at XEN but alas it will not compile.
Here is the error:
Code:

ld -O1 --sort-common -s -r -o built_in.o io.o vmcs.o vmx.o x86_32//built_in.o
make[4]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86/hvm/vmx'
ld -O1 --sort-common -s -r -o built_in.o hvm.o i8259.o intercept.o io.o platform.o vioapic.o vlapic.o svm//built_in.o vmx//built_in.o
make[3]: Entering directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86/x86_32'
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c domain_page.c -o domain_page.o
make[3]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86/hvm'
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -D__ASSEMBLY__ -c entry.S -o entry.o
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c mm.c -o mm.o
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c seg_fixup.c -o seg_fixup.o
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/include/asm-x86/mach-default -msoft-float -g -D__XEN__ -c traps.c -o traps.o
ld -O1 --sort-common -s -r -o built_in.o domain_page.o entry.o mm.o seg_fixup.o traps.o
make[3]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86/x86_32'
ld -O1 --sort-common -s -r -o built_in.o apic.o audit.o bitops.o delay.o dmi_scan.o dom0_ops.o domain.o domain_build.o e820.o extable.o flushtlb.o i387.o i8259.o io_apic.o irq.o microcode.o mm.o mpparse.o nmi.o physdev.o rwlock.o setup.o smp.o smpboot.o string.o time.o trampoline.o traps.o usercopy.o x86_emulate.o shadow32.o acpi//built_in.o cpu//built_in.o genapic//built_in.o hvm//built_in.o x86_32//built_in.o
make[2]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86'
ld -O1 --sort-common -s -T xen.lds -N \
    boot/x86_32.o /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/common/built_in.o /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/drivers/built_in.o /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86/built_in.o -o /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen-syms
nm -n /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen-syms | /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/tools/symbols >/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen-syms.S
nm: /var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen-syms: no symbols
No valid symbol.
make[1]: *** [/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen-syms] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/arch/x86'
make: *** [/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen/xen] Fehler 2
make: Leaving directory `/var/tmp/portage/xen-3.0.2/work/xen-3.0.2/xen'

!!! ERROR: app-emulation/xen-3.0.2 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  xen-3.0.2.ebuild, line 58:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



And here is my emerge --info:

Code:
Portage 2.1.1_pre4-r1 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r6Iced-Tux i686)
=================================================================
System uname: 2.6.16-gentoo-r6Iced-Tux i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
Jackass! 2006.1 Optimized Toolkit
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -msse2 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.intergenia.de"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=180"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/musicbrainz-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi aim alsa apache2 asf avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cli crypt ctype cups directfb divx4linux dlloader dri dvb dvd dvdr eds emboss encode escreen fbcon foomaticdb fortran ftp gdbm ggi gif gimpprint glx gpm gtk gtk2 icq imap imlib isdnlog jabber java jikes jpeg libg++ libwww mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar oss pam pcre pdflib perl php png posix postgres pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vhosts vorbis wmf xine xml xmms xorg xosd xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de lirc_devices_devinput userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK



Thanks in advance

iced-tux
_________________
!! The road to hell is full of good intentions !!


Last edited by Iced-Tux on Fri Aug 18, 2006 9:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Thu Aug 03, 2006 8:27 am    Post subject: Re: Emerge xen-3.0.2 fails Reply with quote

Please post emerge -pv xen


if you use the Flag >debug< switch off


R. R.
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Thu Aug 03, 2006 8:50 am    Post subject: Reply with quote

I have no debug flag set.

Here the output:
Code:
emerge -pv xen

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/xen-3.0.2  USE="-custom-cflags -debug -hardened -pae" 0 kB

Total size of downloads: 0 kB


I read that there is a bug with the debug flag, but since it is not set ....

I've tried to compile with custom-cflags but still no luck....
_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Fri Aug 04, 2006 12:29 pm    Post subject: Reply with quote

!BUMP!
_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Tue Aug 08, 2006 8:32 am    Post subject: Reply with quote

Code:
uname -r
2.6.16-gentoo-r6


Could it be possible, that there are issues with my kernel version ?

Anyone??
_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
XyryX
n00b
n00b


Joined: 24 Nov 2004
Posts: 10

PostPosted: Fri Aug 11, 2006 12:43 am    Post subject: Reply with quote

I too am getting the exact same error..

Anybody built the new 3.0.2 build and got it working ??
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Fri Aug 11, 2006 7:49 am    Post subject: Reply with quote

It seems to me there are some issues with gcc4.1, or is there anybody out there who has xen compiled with gcc4.1 ??


iced-tux
_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Tue Aug 15, 2006 3:32 am    Post subject: Reply with quote

Sorry, I do not know the cause for the error... but I do have gcc-4.1.1 & xen-3.0.2
At least you know it is possible. :D
I have not yet tried to build a domU, but dom0 works.
Code:
[ebuild   R   ] app-emulation/xen-3.0.2  USE="-custom-cflags -debug -hardened -pae" 0 kB
[ebuild   R   ] sys-devel/gcc-4.1.1  USE="gtk nls objc objc++ -bootstrap -build -doc -fortran -gcj -hardened -ip28 -ip32r10k% -mudflap -multislot -nocxx -objc-gc -test% -vanilla" 48 kB


Code:
yin-yang # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16.18-xen0-tao i686)
=================================================================
System uname: 2.6.16.18-xen0-tao i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-mp -mno-tls-direct-seg-refs -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-mp -mno-tls-direct-seg-refs -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d acl acpi alsa apache2 berkdb bitmap-fonts bzip2 cairo cdr cgi cli crypt cups curl curlwrappers cyrus dba dga dlloader dri dvd dvdr dvdread emboss encode esd ethereal expat fam fastcgi fbcon firefox foomaticdb gcc-libffi gd gdbm gif gimp gimpprint glitz gmp gphoto2 gpm gs gstreamer gtk gtk2 imagemagick imlib imlib2 isdnlog ithreads java javascript jikes jit jpeg lcd lcms lesstif libg++ libgda libwww lm_sensors logrotate mad maildir mbox md5sum mikmod mime mmx mng motif mp3 mp4live mpeg mpeg2 mplayer msn ncurses network nls nocardbus nptl nptlonly nsplugin objc objc++ odbc ogg opengl openssh oss pam pam_chroot pam_console pcre pdf pdflib perl php pic png pop pop3d posix ppds pppd prelude pwdb python quicktime readline real reflection rplay sdl session slang smp snmp sox spell spl sqlite sse sse2 ssl stroke svg svga sysfs tcpd tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode usb videos vim-with-x vorbis win32codecs wmf xchattext xinetd xml xml2 xmms xorg xpm xprint xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_evdev kernel_linux userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


You might try with the CFLAG -mno-tls-direct-seg-refs, it is in the Xen and Gentoo howto.
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Tue Aug 15, 2006 8:44 am    Post subject: Reply with quote

Thx for another tip but it didn't work out :( I tried putting in the CFLAG and changed my -march to athlon64/athlon-mp to no avail :(

Here is my config:
Code:

iced-tux ~ # emerge -pv xen-tools gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/xen-3.0.2  USE="-custom-cflags -debug -hardened -pae" 0 kB
[ebuild  N    ] net-misc/bridge-utils-1.0.6-r3  USE="-sysfs" 0 kB
[ebuild  N    ] sys-apps/iproute2-2.6.15.20060110  USE="berkdb -atm -minimal" 0 kB
[ebuild  N    ] app-emulation/xen-tools-3.0.2-r3  USE="sdl -custom-cflags -debug -doc -hardened -screen -vnc" 0 kB
[ebuild  NS   ] sys-devel/gcc-4.1.0-r1  USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj -hardened -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 37,782 kB

Total size of downloads: 37,782 kB


Code:
iced-tux ~ # emerge --info
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r6Iced-Tux i686)
=================================================================
System uname: 2.6.16-gentoo-r6Iced-Tux i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
Jackass! 2006.1 Optimized Toolkit
Last Sync: Mon, 14 Aug 2006 09:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -msse2 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.intergenia.de"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=180"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware /usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi aim alsa apache2 asf avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cli crypt ctype cups directfb divx4linux dlloader dri dvb dvd dvdr eds elibc_glibc emboss encode escreen fbcon foomaticdb fortran ftp gdbm ggi gif gimpprint glx gpm gtk gtk2 icq imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jabber java jikes jpeg kernel_linux libg++ libwww linguas_de lirc_devices_devinput mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar oss pam pcre pdflib perl php png posix postgres pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vhosts video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis wmf xine xml xmms xorg xosd xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK

_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
avalchfan
n00b
n00b


Joined: 23 Jan 2004
Posts: 16
Location: Littleton, Co

PostPosted: Fri Aug 18, 2006 9:24 pm    Post subject: Reply with quote

I've been fighting this problem for an hour or two, and narrowed it down to LDFLAGS.

Not sure which one causes a problem, but if I commented out my LDFLAGS line in /etc/make.conf, xen now compiles.
(Obvious, but remember to run env-update after editing make.conf!)

My LDFLAGS were: "-Wl, -O1 -Wl, --sort-common -s"

Hope this helps!

John.
_________________
Linux User #215549
Back to top
View user's profile Send private message
Iced-Tux
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 183
Location: Germany, Cologne

PostPosted: Fri Aug 18, 2006 9:52 pm    Post subject: Reply with quote

YEHAAA,
that did it :)
I have thought along these lines before, but all other packages compiled ... ;)

Thx

iced-tux
_________________
!! The road to hell is full of good intentions !!
Back to top
View user's profile Send private message
avalchfan
n00b
n00b


Joined: 23 Jan 2004
Posts: 16
Location: Littleton, Co

PostPosted: Fri Aug 18, 2006 9:57 pm    Post subject: Reply with quote

I added them back in after compiling xen, but then xen-tools failed also until I removed LDFLAGS again.

I have just commented out my LDFLAGS for now until I find out what is causing the problem..

John.
_________________
Linux User #215549
Back to top
View user's profile Send private message
XyryX
n00b
n00b


Joined: 24 Nov 2004
Posts: 10

PostPosted: Sat Aug 19, 2006 4:13 am    Post subject: Reply with quote

Hmm that fixed it for me as well..

I did have 3.0 compiled with those flags I am sure.. Since all I did was copy my old make file over and update for the new portage..
Back to top
View user's profile Send private message
masterdriverz
Retired Dev
Retired Dev


Joined: 28 Mar 2006
Posts: 391
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy

PostPosted: Thu Sep 28, 2006 5:31 pm    Post subject: Reply with quote

Bug! Basically take -s out of your LDFLAGS, its redundant as Portage strips binaries anyway, and having it in there breaks packages.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Thu Sep 28, 2006 5:38 pm    Post subject: Reply with quote

You might want to have a look at bug #149428
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum