Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146954 - [GCC 4.1] stabilize app-emulation/bochs-2.2.6
Summary: [GCC 4.1] stabilize app-emulation/bochs-2.2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
: 153418 (view as bug list)
Depends on:
Blocks: gcc41-stable 145032
  Show dependency tree
 
Reported: 2006-09-09 08:17 UTC by ArYiX
Modified: 2007-05-02 17:40 UTC (History)
3 users (show)

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


Attachments
compile-with-gcc-4.1.1 (bochs-2.1.1-gcc-4-patch.diff,560 bytes, patch)
2006-09-09 08:18 UTC, ArYiX
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ArYiX 2006-09-09 08:17:48 UTC
bochs fail to compile with gcc-4.1.1 on gentoo 2006.1
Comment 1 ArYiX 2006-09-09 08:18:38 UTC
Created attachment 96477 [details, diff]
compile-with-gcc-4.1.1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-09 09:14:11 UTC
Comment on attachment 96477 [details, diff]
compile-with-gcc-4.1.1

Already fixed in >=2.2.5, no need to patch this one.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-30 12:07:23 UTC
*** Bug 153418 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 06:50:47 UTC
@lu_zero - any issue w/ stabilizing 2.2.5 or something newer even?
Comment 5 ArYiX 2006-11-26 12:08:15 UTC
(In reply to comment #4)
> @lu_zero - any issue w/ stabilizing 2.2.5 or something newer even?
> 

make[1]: Entering directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/cpu'
i686-linux-gnu-g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -march=athlon-xp -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT init.cc -o init.o
make[1]: Entering directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/iodev'
i686-linux-gnu-g++ -c  -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -march=athlon-xp -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  devices.cc -o devices.o
In file included from init.cc:29:
../bochs.h:381:2: error: #error GDB stub was written for single processor support. If multiprocessor support is added, then we can remove this check.
In file included from iodev.h:32,
                 from devices.cc:30:
../bochs.h:381:2: error: #error GDB stub was written for single processor support. If multiprocessor support is added, then we can remove this check.
make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/cpu'
make: *** [cpu/libcpu.a] Error 2
make: *** Waiting for unfinished jobs....
i686-linux-gnu-g++ -c  -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -march=athlon-xp -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  pit.cc -o pit.o
In file included from iodev.h:32,
                 from pit.cc:29:
../bochs.h:381:2: error: #error GDB stub was written for single processor support. If multiprocessor support is added, then we can remove this check.
make[1]: *** [pit.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [devices.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/iodev'
make: *** [iodev/libiodev.a] Error 2

!!! ERROR: app-emulation/bochs-2.2.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  bochs-2.2.6.ebuild, line 99:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 6 Luca Barbato gentoo-dev 2006-11-26 12:19:15 UTC
I'll remove smp and check if 2.3 works with this combo...
Comment 7 Luca Barbato gentoo-dev 2006-11-26 12:46:16 UTC
2.3 doesn't work at all...
I'm removing smp support from bochs 2.2.6
Comment 8 Róbert Čerňanský 2006-12-28 04:33:38 UTC
bochs-2.2.6 builds and works here.

$ emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 28 Dec 2006 10:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -fweb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -fweb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en sk cs ru"
MAKEOPTS="-j2"
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="/opt/reserve/install/portage/hs /opt/reserve/install/portage/xmms-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex 7zip X Xaw3d a52 aac aalib acpi aim alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bash-completion bdf berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdparanoia cdr cli cracklib crypt css cups dbus dga divx dlloader dri dts dv dvd dvdr editor edl elibc_glibc emacs emboss encode ethereal exif expat fbcon ffmpeg firefox flac flash font-server foomaticdb fortran ftp gdbm gif gimpprint gmedia gphoto2 gpm gs gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jack jbig jpeg jpeg2k kernel_linux ladcca lcms leim libcaca linguas_cs linguas_en linguas_ru linguas_sk lirc lirc_devices_serial live lm_sensors lzw lzw-tiff mad maildir matroska memlimit mikmod mime mng modplug motif mozsvg mp3 mpeg mplayer msn mule musepack musicbrainz ncurses network new-login nls nocd nowin nptl nptlonly nvidia ofx ogg oggvorbis openal opengl oscar oss pam pcre pda pdf perl png pnp portaudio ppds pppd python qt3 qt4 quicktime rar readline realmedia recode reflection roe rtc samba sasl sdl server session snmp sockets sox speex spell spl ssl subtitles svg tabs tcl tcltk tcpd teamarena theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis wma wmf wmp wxgtk1 wxwindows x264 xface xml xorg xosd xpm xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2007-01-28 01:42:31 UTC
we also need this stabled so we can drop wxGTK-2.4 from portage.

/usr/portage/app-emulation/bochs/bochs-2.1.1.ebuild:	wxwindows? ( =x11-libs/wxGTK-2.4* )
Comment 10 Peter Wiersig 2007-02-07 10:56:06 UTC
I use amd64.

I tried to emerge bochs-2.1.1 this morning. That failed during ./configure. Then I accepted ~amd64 for <bochs-2.2.6 and had a successful compile.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-16 08:01:04 UTC
x86 stable
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-16 09:52:47 UTC
amd64 stable
Comment 13 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-19 13:47:52 UTC
Rolling bochs stable to ~sparc and leaving this one as ~sparc since it SIGBUS pretty inside the boot process with the gentoo x86 iso and freedos too (and we're shipping gcc4 for 2007.0).
If some adventurer soul wants to fix it they'll get a chance, i personally don't care.
Comment 14 Joe Jezak (RETIRED) gentoo-dev 2007-04-20 22:17:10 UTC
Compiles and runs okay on PPC (at least as far as I can see with FreeDOS).  Marked ppc stable.
Comment 15 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-05-02 17:40:25 UTC
Freedos seems to work fine on alpha. Stable! 

Closing.