Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44860 - dosbox and dosbox-cvs fail to compile with error reagrding core_dyn_x86.o
Summary: dosbox and dosbox-cvs fail to compile with error reagrding core_dyn_x86.o
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 46742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-16 09:34 UTC by Simon Hastie
Modified: 2004-04-09 10:49 UTC (History)
1 user (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 Simon Hastie 2004-03-16 09:34:22 UTC
When I try to emerge either dosbox or dosbox-cvs I get the same error during compile:

In file included from core_dyn_x86.cpp:143:
core_dyn_x86/cache.h:302:2: warning: no newline at end of file
{standard input}: Assembler messages:
{standard input}:655: Error: missing ')'
{standard input}:655: Error: junk `(%ebp))' after expression
{standard input}:658: Error: missing ')'
{standard input}:658: Error: junk `(%ebp))' after expression
make[4]: *** [core_dyn_x86.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src/cpu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dosbox-0.61/work/dosbox-0.61'
make: *** [all] Error 2

!!! ERROR: games-emulation/dosbox-0.61 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-mm2)
=================================================================
System uname: 2.6.4-mm2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -funroll-loops -fpic -pipe -mfpmath=sse,387
-ffast-math -msse2 -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -funroll-loops -fpic -pipe -mfpmath=sse,387
-ffast-math -msse2 -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi berkdb bonobo cdr clamav crypt cups directfb
divx dvd encode esd fbcon flac flash foomaticdb gd gd-external gdbm gif gnome
gpm gstreamer gtk gtk2 imlib java jpeg jpg libg++ libwww mad mbox mikmod motif
mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png
python quicktime readline samba sdl shn slang spell sse ssl svg svga tcltk tcpd
truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-03-16 22:57:04 UTC
Does it work if you use MAKEOPTS=-j1 ?
Comment 2 Simon Hastie 2004-03-17 00:20:59 UTC
no, doesn't help... Same error.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-03-17 03:12:20 UTC
How about with CXXFLAGS="-pipe" ?
Comment 4 Simon Hastie 2004-03-17 05:22:33 UTC
Yep, that works!
Thanks :)
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-03-17 10:46:50 UTC
I'm betting you want to take -fpic out of your C/CXXFLAGS.  I really don't
think you want to be compiling everything with that set.

Since things are working for you, I'll go ahead and close this bug.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-04 00:51:28 UTC
*** Bug 46742 has been marked as a duplicate of this bug. ***
Comment 7 Hinrik Örn Sigurðsson 2004-04-04 13:32:37 UTC
Sorry for asking, but could this bug be reopened? See bug 46742.
Comment 8 Hinrik Örn Sigurðsson 2004-04-09 10:49:58 UTC
I just reinstalled and didn't encounter any problems. The only difference is that I used the default-x86-2004.0 profile instead of hardened-x86-2004.0.