Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable precompiled dyngens until they can be rebuilt for the new addressing mode #145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions SheepShaver/src/Unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ AC_ARG_WITH(libvhd,

dnl Addressing mode
AC_ARG_ENABLE(addressing,
[ --enable-addressing=AM set the addressing mode to use [default=real]],
[ --enable-addressing=AM set the addressing mode to use [default=direct]],
[case "$enableval" in
real) WANT_ADDRESSING_MODE="real";;
direct) WANT_ADDRESSING_MODE="direct";;
direct,0x*) WANT_ADDRESSING_MODE="direct"; NATMEM_OFFSET=`echo "$enableval" | sed -n '/direct,\(0[[xX]][[0-9A-Fa-f]]*\([[UuLl]]\{1,2\}\)\?\)$/s//\1/p'`;;
esac],
[WANT_ADDRESSING_MODE="real"]
[WANT_ADDRESSING_MODE="direct"]
)

dnl SDL options.
Expand Down Expand Up @@ -1595,12 +1595,14 @@ if [[ "x$EMULATED_PPC" = "xyes" ]]; then
fi
if [[ -z "$DYNGEN_CC" -o "x$DYNGEN_CC" = "xprecompiled" ]]; then
case $host_cpu in
i?86)
ac_cv_use_dyngen_precompiled=yes
;;
x86_64)
ac_cv_use_dyngen_precompiled=yes
;;
# precompiled dyngens need rebuilds for the new default of direct addressing

#i?86)
# ac_cv_use_dyngen_precompiled=yes
# ;;
#x86_64)
# ac_cv_use_dyngen_precompiled=yes
# ;;
*)
ac_cv_use_dyngen=no
;;
Expand Down