Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254527 - virtualbox-ose-2.1.0 from the jokey overlay fails to compile at i686
Summary: virtualbox-ose-2.1.0 from the jokey overlay fails to compile at i686
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 253388 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-11 10:42 UTC by Juergen Rose
Modified: 2009-03-11 09:27 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-01-11 10:42:19 UTC
'emerge virtualbox-ose-2.1.0' fails with gcc and i686 and gcc-4.2.4

  CXX     Drivers - {C}/src/VBox/Devices/Storage/DrvHostDVD.cpp
In file included from /usr/include/linux/byteorder/little_endian.h:13,
                 from /usr/include/asm/byteorder.h:79,
                 from /usr/include/linux/cdrom.h:16,
                 from /var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/src/VBox/Devices/Storage/DrvHostDVD.cpp:53:
/usr/include/linux/byteorder/swabb.h: In function '__u32 __fswahw32(__u32)':
/usr/include/linux/byteorder/swabb.h:94: error: ISO C++ forbids braced-groups within expressions
/usr/include/linux/byteorder/swabb.h: In function '__u32 __swahw32p(__u32*)':
/usr/include/linux/byteorder/swabb.h:99: error: ISO C++ forbids braced-groups within expressions
/usr/include/linux/byteorder/swabb.h: In function '__u32 __fswahb32(__u32)':
/usr/include/linux/byteorder/swabb.h:109: error: ISO C++ forbids braced-groups within expressions
/usr/include/linux/byteorder/swabb.h: In function '__u32 __swahb32p(__u32*)':
/usr/include/linux/byteorder/swabb.h:114: error: ISO C++ forbids braced-groups within expressions
  CXX     Drivers - {C}/src/VBox/Devices/Storage/DrvHostFloppy.cpp
kmk[2]: *** [/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/out/linux.x86/release/obj/Drivers/Storage/DrvHostDVD.o] Error 1
The failing command:
        @i686-pc-linux-gnu-g++ -c -O2 -g -pipe -pedantic -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wno-long-long -Wno-variadic-macros -march=i586 -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m32 -I/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/src/VBox/Devices -I/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/src/VBox/Devices/Network/slirp -I/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/include -I/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/out/linux.x86/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib/virtualbox-ose\" -DRTPATH_SHARED_LIBS=\"/usr/lib/virtualbox-ose\" -DRTPATH_APP_DOCS=\"\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -DIN_IDE_R3 -DVBOX_WITH_NETFLT -DVBOX_WITH_ALSA -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/out/linux.x86/release/obj/Drivers/Storage/DrvHostDVD.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/out/linux.x86/release/obj/Drivers/Storage/DrvHostDVD.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/out/linux.x86/release/obj/Drivers/Storage/DrvHostDVD.o /var/tmp/portage/app-emulation/virtualbox-ose-2.1.0/work/VirtualBox-2.1.0/src/VBox/Devices/Storage/DrvHostDVD.cpp

It works for me at a x86_64 system with gcc-4.1.2

Reproducible: Always




thinkpad ~ # emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28 i686)
=================================================================
System uname: Linux-2.6.28-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-glibc2.0
Timestamp of tree: Sat, 10 Jan 2009 12:05:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /et
c/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/
web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresd
en.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/jokey /usr/local/portage/layman/java-overlay /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo 
boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri d
s3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortra
n fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hdd
temp hdf hdf5 hlapi http iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring ladspa lame lapack la
ptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo lzw mad madwifi maildir math matroska midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm 
mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex
 ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl plotutils plugins png posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3suppor
t qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl startup-noti
fication stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis wifi win32codecs wmf 
wxwindows x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0 ac97_codec emu10k1 emu10k1x" 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_b
asic 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 de
flate 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" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                 synaptics 
              " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport g
roovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alessio Cassibba (X-Drum) 2009-01-18 21:25:47 UTC
Hi,

there are issues with virtualbox-ose-{2.0.6, 2.10} and the 2.6.28 kernel[1]
a patch to solve this issue was already added on jokey's overlay[2].

Please consider to use the updated ebuild from the overlay atm if you want
to test the patch.

[1] http://www.virtualbox.org/ticket/2936
[2] http://overlays.gentoo.org/dev/jokey
Comment 2 Alessio Cassibba (X-Drum) 2009-01-18 21:25:57 UTC
*** Bug 253388 has been marked as a duplicate of this bug. ***
Comment 3 Michael Hill 2009-02-08 01:14:36 UTC
When will a patch be put in portage for this?