Serenity Operating System
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Meta: Make x86-64 target the default

This is a preparation to check if our users find noticeable bugs in the
x86-64 target, before we can decide if we want to remove the i686 target
for good.

authored by

Liav A and committed by
Andreas Kling
74018be7 4e0f8543

+12 -12
+1 -1
Meta/CMake/Superbuild/CMakeLists.txt
··· 32 32 SERENITY_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../.." 33 33 ABSOLUTE CACHE 34 34 ) 35 - set(SERENITY_ARCH "i686" CACHE STRING "Target architecture for SerenityOS.") 35 + set(SERENITY_ARCH "x86_64" CACHE STRING "Target architecture for SerenityOS.") 36 36 set(SERENITY_TOOLCHAIN "GNU" CACHE STRING "Compiler toolchain to use for Serenity (GNU or Clang)") 37 37 38 38 # FIXME: It is preferred to keep all the sub-build artifacts below the binary directory for the superbuild
+1 -1
Meta/analyze-qemu-coverage.sh
··· 5 5 SCRIPT_DIR="$(dirname "${0}")" 6 6 7 7 if [ -z "$SERENITY_ARCH" ]; then 8 - SERENITY_ARCH="i686" 8 + SERENITY_ARCH="x86_64" 9 9 fi 10 10 11 11 toolchain_suffix=
+1 -1
Meta/build-root-filesystem.sh
··· 41 41 chown -R 0:0 mnt/ 42 42 fi 43 43 44 - SERENITY_ARCH="${SERENITY_ARCH:-i686}" 44 + SERENITY_ARCH="${SERENITY_ARCH:-x86_64}" 45 45 LLVM_VERSION="${LLVM_VERSION:-14.0.1}" 46 46 47 47 if [ "$SERENITY_TOOLCHAIN" = "Clang" ]; then
+1 -1
Meta/check-symbols.sh
··· 9 9 # To eliminate the need for these symbols, avoid doing non-trivial construction of local statics in LibC. 10 10 11 11 FORBIDDEN_SYMBOLS="__cxa_guard_acquire __cxa_guard_release" 12 - TARGET="${SERENITY_ARCH:-"i686"}" 12 + TARGET="${SERENITY_ARCH:-"x86_64"}" 13 13 LIBC_PATH="Build/${TARGET}/Userland/Libraries/LibC/libc.a" 14 14 for forbidden_symbol in $FORBIDDEN_SYMBOLS; do 15 15 # check if there's an undefined reference to the symbol & it is not defined anywhere else in the library
+4 -4
Meta/debug-kernel.sh
··· 3 3 SCRIPT_DIR="$(dirname "${0}")" 4 4 5 5 if [ -z "$SERENITY_ARCH" ]; then 6 - SERENITY_ARCH="i686" 6 + SERENITY_ARCH="x86_64" 7 7 fi 8 8 9 9 # Set this environment variable to override the default debugger. ··· 50 50 51 51 52 52 exec $SERENITY_KERNEL_DEBUGGER \ 53 - -ex "file $SCRIPT_DIR/../Build/${SERENITY_ARCH:-i686}$toolchain_suffix/Kernel/Prekernel/$prekernel_image" \ 53 + -ex "file $SCRIPT_DIR/../Build/${SERENITY_ARCH:-x86_64}$toolchain_suffix/Kernel/Prekernel/$prekernel_image" \ 54 54 -ex "set confirm off" \ 55 - -ex "directory $SCRIPT_DIR/../Build/${SERENITY_ARCH:-i686}$toolchain_suffix/" \ 56 - -ex "add-symbol-file $SCRIPT_DIR/../Build/${SERENITY_ARCH:-i686}$toolchain_suffix/Kernel/Kernel -o $kernel_base" \ 55 + -ex "directory $SCRIPT_DIR/../Build/${SERENITY_ARCH:-x86_64}$toolchain_suffix/" \ 56 + -ex "add-symbol-file $SCRIPT_DIR/../Build/${SERENITY_ARCH:-x86_64}$toolchain_suffix/Kernel/Kernel -o $kernel_base" \ 57 57 -ex "set confirm on" \ 58 58 -ex "set arch $gdb_arch" \ 59 59 -ex "set print frame-arguments none" \
+1 -1
Meta/export-argsparser-manpages.sh
··· 29 29 30 30 if [ -z "$BUILD_DIR" ]; then 31 31 if [ -z "$SERENITY_ARCH" ]; then 32 - export SERENITY_ARCH="i686" 32 + export SERENITY_ARCH="x86_64" 33 33 echo "SERENITY_ARCH not given. Assuming ${SERENITY_ARCH}." 34 34 fi 35 35 BUILD_DIR=Build/"$SERENITY_ARCH"
+1 -1
Meta/serenity.sh
··· 91 91 if [ -n "$1" ]; then 92 92 TARGET="$1"; shift 93 93 else 94 - TARGET="${SERENITY_ARCH:-"i686"}" 94 + TARGET="${SERENITY_ARCH:-"x86_64"}" 95 95 fi 96 96 97 97 CMAKE_ARGS=()
+1 -1
Ports/.hosted_defs.sh
··· 2 2 3 3 SCRIPT="$(dirname "${0}")" 4 4 5 - export SERENITY_ARCH="${SERENITY_ARCH:-i686}" 5 + export SERENITY_ARCH="${SERENITY_ARCH:-x86_64}" 6 6 export SERENITY_TOOLCHAIN="${SERENITY_TOOLCHAIN:-GNU}" 7 7 8 8 if [ -z "${HOST_CC:=}" ]; then
+1 -1
Toolchain/BuildIt.sh
··· 9 9 10 10 echo "$DIR" 11 11 12 - ARCH=${ARCH:-"i686"} 12 + ARCH=${ARCH:-"x86_64"} 13 13 TARGET="$ARCH-pc-serenity" 14 14 PREFIX="$DIR/Local/$ARCH" 15 15 BUILD="$DIR/../Build/$ARCH"